x86-32, smap: Add STAC/CLAC instructions to 32-bit kernel entry
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 20:58:10 +0000 (13:58 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 21:04:27 +0000 (14:04 -0700)
commite59d1b0a24199db01978e6c1e89859eda93ce683
tree02d19c4a79b612869812fc95edeb733d9fcd3f0a
parent5e88353d8b5f483bc1c873ad24ac2b59a6b66c73
x86-32, smap: Add STAC/CLAC instructions to 32-bit kernel entry

The changes to entry_32.S got missed in checkin:

63bcff2a x86, smap: Add STAC and CLAC instructions to control user space access

The resulting kernel was largely functional but SMAP protection could
have been bypassed.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1348256595-29119-9-git-send-email-hpa@linux.intel.com
arch/x86/kernel/entry_32.S