diff options
| author | Mickaël Salaün <mic@digikod.net> | 2026-11-18 15:52:05 +0100 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2026-11-19 11:55:26 +0100 |
| commit | 591bdbafeead9ae8458687cd873e277e6a87949a (patch) | |
| tree | b62f1a2c497f9b9d359c595536490096e0b2395f /tools/perf/scripts/python/bin | |
| parent | 57493c3b7f449a60d1c43322158671b98684f9b1 (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/bin')
0 files changed, 0 insertions, 0 deletions
