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
..
2022-01-10 11:58:12 -08:00
2021-05-07 00:26:35 -07:00
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2021-11-25 10:13:56 -08:00
2022-01-22 08:33:38 +02:00
2022-01-15 16:30:28 +02:00
2022-02-25 09:36:06 +01:00
2022-01-22 08:33:38 +02:00
2021-11-10 11:29:30 -08:00
2022-02-25 09:36:06 +01:00
2021-06-05 20:43:15 +00:00
2022-01-23 06:20:44 +02:00
2021-05-07 00:26:35 -07:00
2021-04-16 16:10:37 -07:00
2022-01-22 08:33:38 +02:00
2022-01-18 06:40:47 +02:00
2022-01-22 08:33:38 +02:00
2022-01-15 16:30:30 +02:00
2022-01-15 16:30:31 +02:00