| commit | de161bb7b9111bef5b76a5736cc611eb9c908586 | [log] [tgz] |
|---|---|---|
| author | Arnd Bergmann <arnd@arndb.de> | Fri Feb 11 21:42:45 2022 +0100 |
| committer | Arnd Bergmann <arnd@arndb.de> | Mon Feb 14 22:31:54 2022 +0100 |
| tree | b5b7b191801947b4a9ab2aa8f4ef9651beb6f540 | |
| parent | fdb836c92eaab5b93ed4bcaa44ed696feb72fc98 [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>