[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45c38d92-8d7c-466c-833d-0c2aa389eeda@linux.ibm.com>
Date: Fri, 21 Jun 2024 13:42:42 +0530
From: Anjali K <anjalik@...ux.ibm.com>
To: Michael Ellerman <mpe@...erman.id.au>, Kees Cook <kees@...nel.org>
Cc: linuxppc-dev@...ts.ozlabs.org, npiggin@...il.com, naveen@...nel.org,
christophe.leroy@...roup.eu, gustavoars@...nel.org,
linux-hardening@...r.kernel.org, vishalc@...ux.ibm.com
Subject: Re: [PATCH] powerpc/pseries: Whitelist dtl slub object for copying to
userspace
Hi Michael
On 18/06/24 12:41, Michael Ellerman wrote:
> I guess there isn't a kmem_cache_create_user_readonly() ?
Thank you for your review.
My understanding of the question is whether there's a way to whitelist a
region such that it can be copied to userspace, but not written to using
copy_from_user().
No, we don't have a function to whitelist only for copy_to_user() and not
copy_from_user().
Thank you
Anjali K
Powered by blists - more mailing lists