| 1 |
.TH PSCAP: "8" "March 2026" "Red Hat" "System Administration Utilities" |
| 2 |
.SH NAME |
| 3 |
pscap \- a program to see capabilities |
| 4 |
.SH SYNOPSIS |
| 5 |
.B pscap [ \-a ] [ \-p pid ] [ \-\-tree ] |
| 6 |
.SH DESCRIPTION |
| 7 |
\fBpscap\fP is a program that prints out a report of process capabilities. If the application has any capabilities, it will be in the report. By giving a pid with the \-p command line option, only the process specified with the pid is reported. If a process is not in the report, it has dropped all capabilities. If the process has partial capabilities, it is further examined to see if it has an open-ended bounding set. If this is found to be true, a '+' symbol is added. If the process has ambient capabilities, an '@' symbol is added. |
| 8 |
|
| 9 |
The command name in the output may be followed by an asterisk mark (*). This mark denotes processes which run in child user namespaces (relative to the user namespace of pscap itself). |
| 10 |
|
| 11 |
The \fB\-\-tree\fP option causes the output of the program to be mapped into a tree structure so that the relationships between processes can be studied to see what capabilities might be leaked to child processes. |
| 12 |
In tree mode, each process label is shown as command(pid:account). |
| 13 |
|
| 14 |
.SH "SEE ALSO" |
| 15 |
.BR netcap (8), |
| 16 |
.BR filecap (8), |
| 17 |
.BR capabilities (7), |
| 18 |
.BR ps (8). |
| 19 |
|
| 20 |
.SH AUTHOR |
| 21 |
Steve Grubb |