aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFenghua Yu <[email protected]>2011-05-17 18:44:26 -0700
committerH. Peter Anvin <[email protected]>2011-05-17 20:56:59 -0700
commitd0281a257f370b09c410e466571858b4e12869c9 (patch)
tree87d48822fbbf0325fdd140d1bcd868ad8c230456 /tools/perf/util/scripting-engines/trace-event-python.c
parent724a92ee45c04cb9d82884a856b03b1e594d9de1 (diff)
x86, cpufeature: Add cpufeature flag for SMEP
Add support for newly documented SMEP (Supervisor Mode Execution Protection) CPU feature flag. SMEP prevents the CPU in kernel-mode to jump to an executable page that has the user flag set in the PTE. This prevents the kernel from executing user-space code accidentally or maliciously, so it for example prevents kernel exploits from jumping to specially prepared user-mode shell code. [ hpa: added better description by Ingo Molnar ] Signed-off-by: Fenghua Yu <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions