Re: [PATCH 1/8] powerpc/uaccess: Add unsafe_copy_from_user

2020-10-16 Thread Christophe Leroy
Le 16/10/2020 à 08:54, Christoph Hellwig a écrit : On Thu, Oct 15, 2020 at 10:01:52AM -0500, Christopher M. Riedl wrote: Implement raw_copy_from_user_allowed() which assumes that userspace read access is open. Use this new function to implement raw_copy_from_user(). Finally, wrap the new func

Re: [PATCH 1/8] powerpc/uaccess: Add unsafe_copy_from_user

2020-10-15 Thread Christoph Hellwig
On Thu, Oct 15, 2020 at 10:01:52AM -0500, Christopher M. Riedl wrote: > Implement raw_copy_from_user_allowed() which assumes that userspace read > access is open. Use this new function to implement raw_copy_from_user(). > Finally, wrap the new function to follow the usual "unsafe_" convention > of