summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-03 17:22:40 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-09-09 05:21:36 +0300
commit47058bb54b57962b3958a936ddbc59355e4c5504 (patch)
treeb1399d96916177ef63b8a86bf30daceb35508959 /fs/read_write.c
parenta1d826d475aafe63775b910e86ccd1bcf1e5a6e1 (diff)
downloadlinux-47058bb54b57962b3958a936ddbc59355e4c5504.tar.xz
x86: remove address space overrides using set_fs()
Stop providing the possibility to override the address space using set_fs() now that there is no need for that any more. To properly handle the TASK_SIZE_MAX checking for 4 vs 5-level page tables on x86 a new alternative is introduced, which just like the one in entry_64.S has to use the hardcoded virtual address bits to escape the fact that TASK_SIZE_MAX isn't actually a constant when 5-level page tables are enabled. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions