1CAPNG_FILL(3) Libcap-ng API CAPNG_FILL(3)
2
3
4
6 capng_fill - fill chosen capabilities set
7
9 #include <cap-ng.h>
10
11 void capng_fill(capng_select_t set);
12
13
15 capng_fill sets all bits to a 1 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 filling
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 During capng_apply, bits in the bounding set can only be dropped. You
28 cannot set them.
29
30
32 capabilities(7),capng_apply(3)
33
34
36 Steve Grubb
37
38
39
40Red Hat Sept 2020 CAPNG_FILL(3)