summaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-09-21 15:43:13 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2012-09-21 15:45:27 -0400
commit52b6179ac87d33c2eeaff5292786a10fe98cff64 (patch)
tree6ec59d41c4840844031c5030c6fbbd4cdd40819d /Documentation/kernel-parameters.txt
parent63bcff2a307b9bcc712a8251eb27df8b2e117967 (diff)
x86, smap: Turn on Supervisor Mode Access Prevention
If Supervisor Mode Access Prevention is available and not disabled by the user, turn it on. Also fix the expansion of SMEP (Supervisor Mode Execution Prevention.) Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Link: http://lkml.kernel.org/r/1348256595-29119-10-git-send-email-hpa@linux.intel.com
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index ad7e2e5088c1..49c5c41b07e1 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1812,8 +1812,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
1812 noexec=on: enable non-executable mappings (default) 1812 noexec=on: enable non-executable mappings (default)
1813 noexec=off: disable non-executable mappings 1813 noexec=off: disable non-executable mappings
1814 1814
1815 nosmap [X86]
1816 Disable SMAP (Supervisor Mode Access Prevention)
1817 even if it is supported by processor.
1818
1815 nosmep [X86] 1819 nosmep [X86]
1816 Disable SMEP (Supervisor Mode Execution Protection) 1820 Disable SMEP (Supervisor Mode Execution Prevention)
1817 even if it is supported by processor. 1821 even if it is supported by processor.
1818 1822
1819 noexec32 [X86-64] 1823 noexec32 [X86-64]