linux/arch
Arnd Bergmann 967747bbc0 uaccess: remove CONFIG_SET_FS
There are no remaining callers of set_fs(), so CONFIG_SET_FS
can be removed globally, along with the thread_info field and
any references to it.

This turns access_ok() into a cheaper check against TASK_SIZE_MAX.

As CONFIG_SET_FS is now gone, drop all remaining references to
set_fs()/get_fs(), mm_segment_t, user_addr_max() and uaccess_kernel().

Acked-by: Sam Ravnborg <sam@ravnborg.org> # for sparc32 changes
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Tested-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com> # for arc changes
Acked-by: Stafford Horne <shorne@gmail.com> # [openrisc, asm-generic]
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-02-25 09:36:06 +01:00
..
alpha uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
arc uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
arm uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
arm64 uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
csky uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
h8300 uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
hexagon uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
ia64 ia64: remove CONFIG_SET_FS support 2022-02-25 09:36:06 +01:00
m68k uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
microblaze uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
mips uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
nds32 uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
nios2 uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
openrisc uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
parisc uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
powerpc uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
riscv uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
s390 uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
sh sh: remove CONFIG_SET_FS support 2022-02-25 09:36:06 +01:00
sparc uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
um uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
x86 uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
xtensa uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
.gitignore
Kconfig uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00