CentOS 7.0 - man page for capng_get_caps_process (centos section 3)
|Linux & Unix Commands - Search Man Pages
CAPNG_GET_CAPS_PROCESS(3) Libcap-ng API CAPNG_GET_CAPS_PROCESS(3)
capng_get_caps_process - get the capabilities from a process
capng_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.
This returns 0 on success and -1 on failure.
If you are doing multi-threaded programming, calling this function will only get capabili-
ties 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.
Red Hat June 2009 CAPNG_GET_CAPS_PROCESS(3)
All times are GMT -4. The time now is 03:18 PM.