diff options
author | Borislav Petkov <bp@suse.de> | 2022-01-27 12:56:25 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-04 10:17:03 +0200 |
commit | 76ea0025a214cdf0d2c204f4c21cbffa9fb57c32 (patch) | |
tree | 643870c8255bf50443d394dec8d148e786b77de9 /arch/x86/include/asm/proto.h | |
parent | x86/cpu: Remove "nosmep" (diff) | |
download | linux-76ea0025a214cdf0d2c204f4c21cbffa9fb57c32.tar.xz linux-76ea0025a214cdf0d2c204f4c21cbffa9fb57c32.zip |
x86/cpu: Remove "noexec"
It doesn't make any sense to disable non-executable mappings -
security-wise or else.
So rip out that switch and move the remaining code into setup.c and
delete setup_nx.c
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220127115626.14179-6-bp@alien8.de
Diffstat (limited to 'arch/x86/include/asm/proto.h')
-rw-r--r-- | arch/x86/include/asm/proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h index feed36d44d04..0f899c8d7a4e 100644 --- a/arch/x86/include/asm/proto.h +++ b/arch/x86/include/asm/proto.h @@ -35,7 +35,6 @@ void xen_entry_INT80_compat(void); #endif void x86_configure_nx(void); -void x86_report_nx(void); extern int reboot_force; |