summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2026-11-18 15:52:05 +0100
committerMickaël Salaün <mic@digikod.net>2026-11-19 11:55:26 +0100
commit591bdbafeead9ae8458687cd873e277e6a87949a (patch)
treeb62f1a2c497f9b9d359c595536490096e0b2395f /tools/perf/scripts/python
parent57493c3b7f449a60d1c43322158671b98684f9b1 (diff)
landlock: Factor out capability denial checks
commoncap also makes capability decisions from LSM hooks other than capable, and the following commits add Landlock counterparts for them. Move the check and its denial logging from hook_capable() into check_cap() so that these hooks share it. No functional change. Cc: Günther Noack <gnoack@google.com> Acked-by: Serge Hallyn (AMD) <sergeh@kernel.org> Reviewed-by: Günther Noack <gnoack@google.com> Link: https://patch.msgid.link/20261118145217.2551053-2-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions