]> git.baikalelectronics.ru Git - kernel.git/commit
x86, smap: Turn on Supervisor Mode Access Prevention
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 19:43:13 +0000 (12:43 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 19:45:27 +0000 (12:45 -0700)
commit5c4d2932ca2652186ead1a0515f59e72b802ee8c
tree6ec59d41c4840844031c5030c6fbbd4cdd40819d
parent2922bcf67908685a5d6ec2b9e8a0ef0b933a1f4c
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
Documentation/kernel-parameters.txt
arch/x86/kernel/cpu/common.c