Nick Kralevich | 1d1011a | 2012-09-06 10:14:03 -0700 | [diff] [blame] | 1 | .TH "CAPNG_CLEAR" "3" "June 2009" "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, or CAPNG_SELECT_BOTH if clearing both 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 |