summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2026-09-18 20:50:25 +0200
committerMickaël Salaün <mic@digikod.net>2026-09-20 11:08:01 +0200
commit0de33ca344fbf983d380d78db6eeb6fe312d5a5e (patch)
tree1b3a5d296b1055e0fdd4ee70f3b61c12c92e6a28 /tools/perf/scripts/python/task-analyzer.py
parentf71ecaece401cef287cdca12aad785fec809cb9e (diff)
downloadlinux-next-0de33ca344fbf983d380d78db6eeb6fe312d5a5e.tar.gz
linux-next-0de33ca344fbf983d380d78db6eeb6fe312d5a5e.zip
landlock: Fix filesystem denial blocker reporting
Filesystem topology denials are rendered with an empty blockers value because their blocker is identified by the request type instead of an access mask. Introduce the private struct landlock_blockers to carry the request type and final missing access mask to filesystem and network denial tracepoints. Copy both members into named trace-record fields, then use the type to print change_topology for topology denials while preserving symbolic access masks for ordinary denials. The request type lets typed BPF consumers distinguish topology denials from access denials. Keeping the native access mask in a pointer-reached field also lets CO-RE adjust existing programs' load width if access_mask_t grows. Cc: Günther Noack <gnoack@google.com> Cc: Steven Rostedt <rostedt@goodmis.org> Fixes: 01ce260f5ccf ("landlock: Add landlock_deny_access_fs and landlock_deny_access_net") Link: https://patch.msgid.link/20260918185036.608651-3-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions