[PATCH] powerpc/pseries: Whitelist dtl slub object for copying to userspace
Anjali K
anjalik at linux.ibm.com
Fri Jun 21 18:12:42 AEST 2024
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
More information about the Linuxppc-dev
mailing list