Re: [PATCH 10/11] powerpc: use non-set_fs based maccess routines

2020-08-17 Thread Christophe Leroy
Le 17/08/2020 à 09:32, Christoph Hellwig a écrit : Provide __get_kernel_nofault and __put_kernel_nofault routines to implement the maccess routines without messing with set_fs and without opening up access to user space. __get_user_size() opens access to user space. You have to use __get_us

[PATCH 10/11] powerpc: use non-set_fs based maccess routines

2020-08-17 Thread Christoph Hellwig
Provide __get_kernel_nofault and __put_kernel_nofault routines to implement the maccess routines without messing with set_fs and without opening up access to user space. Signed-off-by: Christoph Hellwig --- arch/powerpc/include/asm/uaccess.h | 16 1 file changed, 16 insertions(+