File: capng_fill.3

package info (click to toggle)
libcap-ng 0.8.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: ansic: 2,790; makefile: 138; python: 59; sh: 24
file content (27 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH "CAPNG_FILL" "3" "Sept 2020" "Red Hat" "Libcap-ng API"
.SH NAME
capng_fill \- fill chosen capabilities set
.SH "SYNOPSIS"
.B #include <cap-ng.h>
.sp
void capng_fill(capng_select_t set);

.SH "DESCRIPTION"

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 clearing all is desired..

.SH "RETURN VALUE"

None.

.SH NOTES

During capng_apply, bits in the bounding set can only be dropped. You cannot set them.

.SH "SEE ALSO"

.BR capng_apply (3),
.BR capabilities (7)

.SH AUTHOR
Steve Grubb