| commit | 8cd424e87a3c5ae57102a6c6f1e5f0934b612466 | [log] [tgz] |
|---|---|---|
| author | Arnd Bergmann <arnd@arndb.de> | Fri Feb 11 21:42:45 2022 +0100 |
| committer | Arnd Bergmann <arnd@arndb.de> | Wed Feb 16 13:50:41 2022 +0100 |
| tree | d8e1aaba509fc6a4bd62f339357c36343ec2ea4c | |
| parent | 62bc45dcd7a03b9c1c95c98a9abdf7afa87fa67b [diff] |
uaccess: drop maining CONFIG_SET_FS users 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>