]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
tracing: dynevent: Add a missing lockdown check on dynevent
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 19 Sep 2025 01:15:56 +0000 (10:15 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 23 Sep 2025 15:02:14 +0000 (11:02 -0400)
commit1da3f145ede481607a93472d2a1f597d6e998eb4
tree3e2bd05ae2881b7c36c45a497a77614a4b854cfa
parenta2501032de0d1bc7971b2e43c03da534ac10ee9b
tracing: dynevent: Add a missing lockdown check on dynevent

Since dynamic_events interface on tracefs is compatible with
kprobe_events and uprobe_events, it should also check the lockdown
status and reject if it is set.

Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/175824455687.45175.3734166065458520748.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_dynevent.c