1CAPNG_HAVE_CAPABILITIES(3)       Libcap-ng API      CAPNG_HAVE_CAPABILITIES(3)
2
3
4

NAME

6       capng_have_capabilities - general check for capabilities
7

SYNOPSIS

9       #include <cap-ng.h>
10
11       capng_results_t capng_have_capabilities(capng_select_t set);
12
13

DESCRIPTION

15       capng_have_capabilities  will  check the selected internal capabilities
16       sets to see what the status is. The capabilities sets  must  be  previ‐
17       ously setup with calls to capng_get_caps_process, capng_get_caps_fd, or
18       in some other way setup. The options are CAPNG_SELECT_CAPS for the tra‐
19       ditional  capabilities,  CAPNG_SELECT_BOUNDS  for  the bounding set, or
20       CAPNG_SELECT_BOTH if clearing both is desired.
21
22

RETURN VALUE

24       This funtion will return one of the  following  four  self  explanatory
25       values: CAPNG_FAIL, CAPNG_NONE, CAPNG_PARTIAL, CAPNG_FULL.
26
27

SEE ALSO

29       capng_get_caps_process(3),   capng_get_caps_fd(3),  capng_have_capabil‐
30       ity(3), capabilities(7)
31
32

AUTHOR

34       Steve Grubb
35
36
37
38Red Hat                            June 2009        CAPNG_HAVE_CAPABILITIES(3)
Impressum