capable.bt(8) | System Manager's Manual | capable.bt(8) |
capable.bt - Trace security capability checks (cap_capable()).
capable.bt
This traces security capability checks in the kernel, and prints details for each call. This can be useful for general debugging, and also security enforcement: determining a white list of capabilities an application needs.
Since this uses BPF, only the root user can use this tool.
CONFIG_BPF, bpftrace.
This adds low-overhead instrumentation to capability checks, which are expected to be low frequency, however, that depends on the application. Test in a lab environment before use.
This is from bpftrace.
Also look in the bpftrace distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.
This is a bpftrace version of the bcc tool of the same name. The bcc tool provides options to customize the output.
Linux
Unstable - in development.
Brendan Gregg
2018-09-08 | USER COMMANDS |