diff options
author | Borislav Petkov <bp@suse.de> | 2022-01-27 14:56:25 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-04 11:17:03 +0300 |
commit | 76ea0025a214cdf0d2c204f4c21cbffa9fb57c32 (patch) | |
tree | 643870c8255bf50443d394dec8d148e786b77de9 /Documentation/admin-guide | |
parent | 385d2ae0a1b5efacb30e13a0f0e521490441d9bb (diff) | |
download | linux-76ea0025a214cdf0d2c204f4c21cbffa9fb57c32.tar.xz |
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 'Documentation/admin-guide')
-rw-r--r-- | Documentation/admin-guide/kernel-parameters.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 39ac2c14dd71..a2299b2ff2c8 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3456,11 +3456,6 @@ noexec [IA-64] - noexec [X86] - On X86-32 available only on PAE configured kernels. - noexec=on: enable non-executable mappings (default) - noexec=off: disable non-executable mappings - nosmap [PPC] Disable SMAP (Supervisor Mode Access Prevention) even if it is supported by processor. |