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

NAME

6       capng_clear - clear chosen capabilities set
7

SYNOPSIS

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

DESCRIPTION

15       capng_clear  sets to 0 all bits in the selected posix capabilities set.
16       The options are CAPNG_SELECT_CAPS  for  the  traditional  capabilities,
17       CAPNG_SELECT_BOUNDS  for  the  bounding  set,  or  CAPNG_SELECT_BOTH if
18       clearing both is desired.
19
20

RETURN VALUE

22       None.
23
24

SEE ALSO

26       capabilities(7)
27
28

AUTHOR

30       Steve Grubb
31
32
33
34Red Hat                            June 2009                    CAPNG_CLEAR(3)
Impressum