| 1 |
.TH "CAPNG_FILL" "3" "March 2026" "Red Hat" "Libcap-ng API" |
| 2 |
.SH NAME |
| 3 |
capng_fill \- fill chosen capabilities set |
| 4 |
.SH "SYNOPSIS" |
| 5 |
.B #include <cap-ng.h> |
| 6 |
.sp |
| 7 |
void capng_fill(capng_select_t set); |
| 8 |
|
| 9 |
.SH "DESCRIPTION" |
| 10 |
|
| 11 |
capng_fill sets all bits to a 1 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 filling both is desired, CAPNG_SELECT_AMBIENT if only operating on the ambient capabilities, or CAPNG_SELECT_ALL if filling all is desired. |
| 12 |
|
| 13 |
.SH "RETURN VALUE" |
| 14 |
|
| 15 |
None. |
| 16 |
|
| 17 |
.SH NOTES |
| 18 |
|
| 19 |
During capng_apply, bits in the bounding set can only be dropped. You cannot set them. |
| 20 |
|
| 21 |
.SH "SEE ALSO" |
| 22 |
|
| 23 |
.BR capng_apply (3), |
| 24 |
.BR capabilities (7) |
| 25 |
|
| 26 |
.SH AUTHOR |
| 27 |
Steve Grubb |