linux-stable/net/bpfilter
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
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
bpfilter_kern.c uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
bpfilter_umh_blob.S bpfilter: Move bpfilter_umh back into init data 2020-07-04 09:35:50 -05:00
Kconfig net: remove redundant 'depends on NET' 2021-01-27 17:04:12 -08:00
main.c bpfilter: Specify the log level for the kmsg message 2021-06-25 13:13:50 +02:00
Makefile bpfilter: Allow to build bpfilter_umh as a module without static library 2020-07-14 12:37:06 -07:00
msgfmt.h