]> Git Repo - linux.git/commit
x86: remove address space overrides using set_fs()
authorChristoph Hellwig <[email protected]>
Thu, 3 Sep 2020 14:22:40 +0000 (16:22 +0200)
committerAl Viro <[email protected]>
Wed, 9 Sep 2020 02:21:36 +0000 (22:21 -0400)
commit47058bb54b57962b3958a936ddbc59355e4c5504
treeb1399d96916177ef63b8a86bf30daceb35508959
parenta1d826d475aafe63775b910e86ccd1bcf1e5a6e1
x86: remove address space overrides using set_fs()

Stop providing the possibility to override the address space using
set_fs() now that there is no need for that any more.  To properly
handle the TASK_SIZE_MAX checking for 4 vs 5-level page tables on
x86 a new alternative is introduced, which just like the one in
entry_64.S has to use the hardcoded virtual address bits to escape
the fact that TASK_SIZE_MAX isn't actually a constant when 5-level
page tables are enabled.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Al Viro <[email protected]>
arch/x86/Kconfig
arch/x86/ia32/ia32_aout.c
arch/x86/include/asm/processor.h
arch/x86/include/asm/thread_info.h
arch/x86/include/asm/uaccess.h
arch/x86/kernel/asm-offsets.c
arch/x86/lib/getuser.S
arch/x86/lib/putuser.S
This page took 0.058519 seconds and 4 git commands to generate.