www.LinuxHowtos.org
CAPNG_SETPID
Section: Libcap-ng API (3)Updated: June 2009
Index Return to Main Contents
NAME
capng_setpid - set working pidSYNOPSIS
#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.
RETURN VALUE
None.
SEE ALSO
capng_get_caps_process(3), capabilities(7)
AUTHOR
Steve Grubb