Centos-kernel-stream-9/net/bpfilter
Chris von Recklinghausen ea2fa2fb80 uaccess: remove CONFIG_SET_FS
Conflicts: in arch/, only keep changes to arch/Kconfig and
	arch/arm64/kernel/traps.c. All other arch files in the upstream version
	of this patch are dropped.

Bugzilla: https://bugzilla.redhat.com/2120352

commit 967747bbc084b93b54e66f9047d342232314cd25
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Fri Feb 11 21:42:45 2022 +0100

    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 ch
anges
    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>

Signed-off-by: Chris von Recklinghausen <crecklin@redhat.com>
2022-10-12 07:27:45 -04:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig net: remove redundant 'depends on NET' 2021-01-27 17:04:12 -08:00
Makefile bpfilter: Allow to build bpfilter_umh as a module without static library 2020-07-14 12:37:06 -07:00
bpfilter_kern.c uaccess: remove CONFIG_SET_FS 2022-10-12 07:27:45 -04:00
bpfilter_umh_blob.S bpfilter: Move bpfilter_umh back into init data 2020-07-04 09:35:50 -05:00
main.c bpfilter: Specify the log level for the kmsg message 2021-06-25 13:13:50 +02:00
msgfmt.h