linux/arch
Arnd Bergmann 34737e2698 uaccess: add generic __{get,put}_kernel_nofault
Nine architectures are still missing __{get,put}_kernel_nofault:
alpha, ia64, microblaze, nds32, nios2, openrisc, sh, sparc32, xtensa.

Add a generic version that lets everything use the normal
copy_{from,to}_kernel_nofault() code based on these, removing the last
use of get_fs()/set_fs() from architecture-independent code.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-02-25 09:36:05 +01:00
..
alpha bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
arc bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
arm uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
arm64 uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
csky uaccess: fix integer overflow on access_ok() 2022-02-14 22:30:53 +01:00
h8300 bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
hexagon uaccess: fix integer overflow on access_ok() 2022-02-14 22:30:53 +01:00
ia64 ia64: make IA64_MCA_RECOVERY bool instead of tristate 2022-01-30 09:56:58 +02:00
m68k uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
microblaze uaccess: fix nios2 and microblaze get_user_8() 2022-02-25 09:36:00 +01:00
mips uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
nds32 nds32: fix access_ok() checks in get/put_user 2022-02-25 09:36:05 +01:00
nios2 nios2: drop access_ok() check from __put_user() 2022-02-25 09:36:05 +01:00
openrisc bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
parisc uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
powerpc uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
riscv uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
s390 uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
sh bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
sparc uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
um uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
x86 uaccess: add generic __{get,put}_kernel_nofault 2022-02-25 09:36:05 +01:00
xtensa bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00