]> 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)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 24 Sep 2025 15:22:46 +0000 (00:22 +0900)
commit456c32e3c4316654f95f9d49c12cbecfb77d5660
tree4d3c3a49ac3c050e8ce8624d337386525f25e7da
parentc539feff3c8f8c86213eee2b237410714712c326
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.

Link: https://lore.kernel.org/all/175824455687.45175.3734166065458520748.stgit@devnote2/
Fixes: 17911ff38aa5 ("tracing: Add locked_down checks to the open calls of files created for tracefs")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Cc: stable@vger.kernel.org
kernel/trace/trace_dynevent.c