capng_get_caps_process

Langue: en

Autres versions - même langue

Version: 347827 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

capng_get_caps_process - get the capabilities from a process

SYNOPSIS

#include <cap-ng.h>

int capng_get_caps_process(void);

DESCRIPTION

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.

RETURN VALUE

This returns 0 on success and -1 on failure.

SEE ALSO

capng_setpid(3), capabilities(7)

AUTHOR

Steve Grubb