1CAPNG_CLEAR(3) Libcap-ng API CAPNG_CLEAR(3)
2
3
4
6 capng_clear - clear chosen capabilities set
7
9 #include <cap-ng.h>
10
11 void capng_clear(capng_select_t set);
12
13
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, CAPNG_SELECT_BOTH if clearing
18 both is desired, CAPNG_SELECT_AMBIENT if only operating on the ambient
19 capabilities, or CAPNG_SELECT_ALL if clearing all is desired.
20
21
23 None.
24
25
27 capabilities(7)
28
29
31 Steve Grubb
32
33
34
35Red Hat Sept 2020 CAPNG_CLEAR(3)