aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-06-18 16:18:24 +0200
committerBorislav Petkov <[email protected]>2021-06-22 10:51:23 +0200
commit9301982c424a003c0095bf157154a85bf5322bd0 (patch)
treef96f40f5010ecdb6218364ddaff74f24b2f0852e /tools/perf/scripts/python/Perf-Trace-Util/lib
parent13311e74253fe64329390df80bed3f07314ddd61 (diff)
x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
sanitize_restored_user_xstate() preserves the supervisor states only when the fx_only argument is zero, which allows unprivileged user space to put supervisor states back into init state. Preserve them unconditionally. [ bp: Fix a typo or two in the text. ] Fixes: 5d6b6a6f9b5c ("x86/fpu/xstate: Update sanitize_restored_xstate() for supervisor xstates") Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions