Commit Graph
1 Commits
Author SHA1 Message Date
Jordan Rome d48da4d5ed security: add trace event for cap_capable
In cases where we want a stable way to observe/trace
cap_capable (e.g. protection from inlining and API updates)
add a tracepoint that passes:
- The credentials used
- The user namespace of the resource being accessed
- The user namespace in which the credential provides the
capability to access the targeted resource
- The capability to check for
- The return value of the check

Signed-off-by: Jordan Rome <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Paul Moore <[email protected]>
Reviewed-by: Serge Hallyn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Serge Hallyn <[email protected]>
2024-12-04 20:59:21 -06:00