Skip to content
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment