capng_setpid man page

capng_setpid — set working pid

Synopsis

#include <cap-ng.h>

void capng_setpid(int pid);

Description

capng_pid sets the working pid for capabilities operations. This is useful if you want to get the capabilities of a different process.

See Also

capng_get_caps_process(3), capabilities(7)

Author

Steve Grubb

Referenced By

capng_get_caps_process(3).

June 2009 Red Hat Libcap-ng API