summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2026-09-18 20:50:30 +0200
committerMickaël Salaün <mic@digikod.net>2026-09-20 11:08:05 +0200
commitc6dea91d846f192eb6ddbd44f5fd873035b8b285 (patch)
treebc1de88c6c48452ccda49776de2ec947505e2f97 /tools/perf/scripts/python/stackcollapse.py
parent0889db596a25ecde210e66fa0db70bc6a6d91f6c (diff)
downloadlinux-next-c6dea91d846f192eb6ddbd44f5fd873035b8b285.tar.gz
linux-next-c6dea91d846f192eb6ddbd44f5fd873035b8b285.zip
selftests/landlock: Test filesystem denial blockers
Filesystem denial traces identify the policy change needed to allow a request, so require exact blocker values rather than merely nonempty output. Pin a READ_DIR denial to exactly one event with blockers=read_dir. Pin a REFER-only mount denial to EPERM and exactly one event with blockers=change_topology. The mount child retains CAP_SYS_ADMIN so Landlock is the only expected source of EPERM. This prevents a later capability failure from masking a Landlock regression; the trace-collecting parent remains unsandboxed. Cc: Günther Noack <gnoack@google.com> Cc: Steven Rostedt <rostedt@goodmis.org> Link: https://patch.msgid.link/20260918185036.608651-8-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions