Thread (75 messages) 75 messages, 14 authors, 2022-02-25

Re: [PATCH v2 18/18] uaccess: drop maining CONFIG_SET_FS users

From: Sergey Matyukevich <geomatsi@gmail.com>
Date: 2022-02-18 10:18:13
Also in: linux-alpha, linux-api, linux-arch, linux-m68k, linux-mips, linux-riscv, linux-s390, linux-um, linuxppc-dev, lkml, sparclinux

Hi Arnd,
From: Arnd Bergmann <arnd@arndb.de>

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.

With CONFIG_SET_FS gone, so drop all remaining references to
set_fs()/get_fs(), mm_segment_t and uaccess_kernel().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Sergey Matyukevich <redacted> # for arc changes

Regards,
Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help