aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorMisono Tomohiro <[email protected]>2021-01-27 21:24:56 +0900
committerBorislav Petkov <[email protected]>2021-01-27 19:06:47 +0100
commit02a16aa13574c8526beadfc9ae8cc9b66315fa2d (patch)
tree36bcd705c1ceaa52cb9bcebab2192acbd079fcd0 /tools/perf/scripts/python/Perf-Trace-Util/lib
parent443121b3ebb9025fd99ff11851d3537cb756d456 (diff)
x86/MSR: Filter MSR writes through X86_IOC_WRMSR_REGS ioctl too
Commit a7e1f67ed29f ("x86/msr: Filter MSR writes") introduced a module parameter to disable writing to the MSR device file and tainted the kernel upon writing. As MSR registers can be written by the X86_IOC_WRMSR_REGS ioctl too, the same filtering and tainting should be applied to the ioctl as well. [ bp: Massage commit message and space out statements. ] Fixes: a7e1f67ed29f ("x86/msr: Filter MSR writes") Signed-off-by: Misono Tomohiro <[email protected]> Signed-off-by: Borislav Petkov <[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