diff options
author | David Howells <[email protected]> | 2019-08-19 17:17:58 -0700 |
---|---|---|
committer | James Morris <[email protected]> | 2019-08-19 21:54:16 -0700 |
commit | a94549dd87f5ea4ca50fee493df08a2dc6256b53 (patch) | |
tree | 37a2c9cbe4da7ed515a8009e49672a3853b48c67 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 02e935bf5b34edcc4cb0dc532dd0e1a1bfb33b51 (diff) |
lockdown: Lock down tracing and perf kprobes when in confidentiality mode
Disallow the creation of perf and ftrace kprobes when the kernel is
locked down in confidentiality mode by preventing their registration.
This prevents kprobes from being used to access kernel memory to steal
crypto data, but continues to allow the use of kprobes from signed
modules.
Reported-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: Naveen N. Rao <[email protected]>
Cc: Anil S Keshavamurthy <[email protected]>
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions