linux/arch
Christoph Hellwig bfe00c5bbd syscalls: use uaccess_kernel in addr_limit_user_check
Patch series "clean up address limit helpers", v2.

In preparation for eventually phasing out direct use of set_fs(), this
series removes the segment_eq() arch helper that is only used to implement
or duplicate the uaccess_kernel() API, and then adds descriptive helpers
to force the kernel address limit.

This patch (of 6):

Use the uaccess_kernel helper instead of duplicating it.

[hch@lst.de: arm: don't call addr_limit_user_check for nommu]
  Link: http://lkml.kernel.org/r/20200721045834.GA9613@lst.de

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/20200714105505.935079-1-hch@lst.de
Link: http://lkml.kernel.org/r/20200710135706.537715-1-hch@lst.de
Link: http://lkml.kernel.org/r/20200710135706.537715-2-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-12 10:57:58 -07:00
..
alpha asm-generic: pgalloc: provide generic pgd_free() 2020-08-07 11:33:26 -07:00
arc Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-09 13:33:54 -07:00
arm syscalls: use uaccess_kernel in addr_limit_user_check 2020-08-12 10:57:58 -07:00
arm64 mm/memory_hotplug: introduce default dummy memory_add_physaddr_to_nid() 2020-08-12 10:57:57 -07:00
c6x Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
csky Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
h8300 Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
hexagon Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-09 13:33:54 -07:00
ia64 mm/memory_hotplug: introduce default dummy memory_add_physaddr_to_nid() 2020-08-12 10:57:57 -07:00
m68k Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
microblaze mm/sparse: cleanup the code surrounding memory_present() 2020-08-07 11:33:27 -07:00
mips Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00
nds32 Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
nios2 Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-09 13:33:54 -07:00
openrisc Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-09 13:33:54 -07:00
parisc A set of locking fixes and updates: 2020-08-10 19:07:44 -07:00
powerpc Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00
riscv Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
s390 Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00
sh sh/mm: drop unused MAX_PHYSADDR_BITS 2020-08-12 10:57:57 -07:00
sparc sparc: drop unused MAX_PHYSADDR_BITS 2020-08-12 10:57:57 -07:00
um Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00
x86 mm/memory_hotplug: introduce default dummy memory_add_physaddr_to_nid() 2020-08-12 10:57:57 -07:00
xtensa Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00
.gitignore
Kconfig Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00