Set working pid
#include <cap-ng.h>
void capng_setpid(int pid);
capng_pid sets the working pid for capabilities operations. This is useful if you want to get the capabilities of a different process.
None.
capng_get_caps_process(3), capabilities(7)
Steve Grubb