System Grab Bag

View all man pages from libcap (or from all projects)

Name

getpcaps - display process capabilities

Synopsis

getpcaps " [optional args]"pid ...

Description

getpcaps displays the capabilities on the processes indicated by the pid value(s) given on the command line. A pid of 0 displays the capabilities of the process that is running getpcaps itself.

The capabilities are displayed in the cap_from_text(3) format.

Optional arguments:

--help " or " --usageDisplays usage information and exits.

--ugly " or " --legacyDisplays output in a somewhat ugly legacy format.

--verbose Displays usage in a legacy-like format but not quite so ugly in modern default terminal fonts.

--iab Displays IAB tuple capabilities from the process. The output format here is the text format described in cap_iab(3). Double quotes encase the regular process capabilities and square brackets encase the IAB tuple. This format is also used by captree(8).

Reporting Bugs

Please report bugs via:

https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1090757

See Also

  1. capsh(1),
  2. cap_from_text(3),
  3. cap_iab(3),
  4. capabilities(7),
  5. captree(8),
  6. getcap(8),
  7. and
  8. setcap(8).

Author

This manual page was originally written by Robert Bihlmeyer <[email protected]>, for the Debian GNU/Linux system (but may be used by others).

Other Projects

This man page is also found in other projects: