Debian Codegraph @

docs/capng_clear.3

raw
1 .TH "CAPNG_CLEAR" "3" "Sept 2020" "Red Hat" "Libcap-ng API"
2 .SH NAME
3 capng_clear \- clear chosen capabilities set
4 .SH "SYNOPSIS"
5 .B #include <cap-ng.h>
6 .sp
7 void capng_clear(capng_select_t set);
8
9 .SH "DESCRIPTION"
10
11 capng_clear sets to 0 all bits in the selected POSIX capabilities set. The options are CAPNG_SELECT_CAPS for the traditional capabilities, CAPNG_SELECT_BOUNDS for the bounding set, CAPNG_SELECT_BOTH if clearing both is desired, CAPNG_SELECT_AMBIENT if only operating on the ambient capabilities, or CAPNG_SELECT_ALL if clearing all is desired.
12
13 .SH "RETURN VALUE"
14
15 None.
16
17 .SH "SEE ALSO"
18
19 .BR capabilities (7)
20
21 .SH AUTHOR
22 Steve Grubb