Skip to content
Snippets Groups Projects
Commit ccbd54ff authored by Matthew Garrett's avatar Matthew Garrett Committed by James Morris
Browse files

tracefs: Restrict tracefs when the kernel is locked down


Tracefs may release more information about the kernel than desirable, so
restrict it when the kernel is locked down in confidentiality mode by
preventing open().

(Fixed by Ben Hutchings to avoid a null dereference in
default_file_open())

Signed-off-by: default avatarMatthew Garrett <mjg59@google.com>
Reviewed-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 5496197f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment