Man Page: capng_get_caps_process
Operating Environment: debian
Section: 3
CAPNG_GET_CAPS_PROCESS(3) Libcap-ng API CAPNG_GET_CAPS_PROCESS(3)NAMEcapng_get_caps_process - get the capabilities from a processSYNOPSIS#include <cap-ng.h> int capng_get_caps_process(void);DESCRIPTIONcapng_get_caps_process will get the capabilities and bounding set of the pid stored inside libcap-ng's state table. The default is the pid of the running process. This can be changed by using the capng_setpid function.RETURN VALUEThis returns 0 on success and -1 on failure.NOTESIf you are doing multi-threaded programming, calling this function will only get capabilities on the calling thread. If you want to get overall capabilities for a multi-threaded process, you can only do that before creating any threads. Afterwards, threads may be able to independantly set capabilities.SEE ALSOcapng_setpid(3), capabilities(7)AUTHORSteve Grubb Red Hat June 2009 CAPNG_GET_CAPS_PROCESS(3)
| Related Man Pages |
|---|
| capng_change_id(3) - centos |
| captest(8) - linux |
| captest(8) - freebsd |
| captest(8) - php |
| captest(8) - plan9 |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| awk or sed - Convert 2 lines to 1 line |
| Introduction |
| One instance of comparing grep and awk |
| A (ksh) Library For and From UNIX.com |