Thread (9 messages) 9 messages, 5 authors, 2024-06-24

Re: [PATCH] powerpc/pseries: Whitelist dtl slub object for copying to userspace

From: Anjali K <hidden>
Date: 2024-06-21 08:13:49
Also in: linux-hardening

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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help