commit | 5e6e9852d6f76e01b2e6803c74258afa5b432bc5 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Sep 03 16:22:35 2020 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 08 22:21:32 2020 -0400 |
tree | 3b5f33348ea6302f3d6878f1c96e1631c4df9b0f | |
parent | 36e2c7421f02a22f71c9283e55fdb672a9eb58e7 [diff] |
uaccess: add infrastructure for kernel builds with set_fs() Add a CONFIG_SET_FS option that is selected by architecturess that implement set_fs, which is all of them initially. If the option is not set stubs for routines related to overriding the address space are provided so that architectures can start to opt out of providing set_fs. 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>