CAPTREE(8) | System Manager's Manual | CAPTREE(8) |
captree - display tree of process capabilities
captree [OPTIONS] [(pid|glob-name) ...]
captree displays the capabilities on the mentioned processes indicated by pid or glob-name value(s) given on the command line. If no pid etc values are supplied, pid=1 is implied. A pid value of 0 displays all the processes known to the kernel.
The POSIX.1e capabilities are displayed in double quotes in the cap_from_text(3) format. The IAB tuple of capabilities is displayed between square brackets in the text format described in cap_iab(3). Note, the IAB tuple text is omitted if it contains empty A and B components. This is because the regular POSIX.1e text contains information about the Inheritable flag already. This behavior can be overridden with the --verbose command line argument.
Optional arguments (which must precede the list of pid|glob-name values):
If the supplied target cannot be found the exit status is 1. Should an unrecognized option be provided, the exit status is 2. Otherwise, captree exits with status 0.
Please report bugs via:
cap_from_text(3), capabilities(7), and cap_iab(3).
There is a longer article about captree, which includes some examples, here:
https://sites.google.com/site/fullycapable/captree
Andrew G. Morgan <morgan@kernel.org>
2022-04-11 |