1CAPNG_SET_ROOTID(3)              Libcap-ng API             CAPNG_SET_ROOTID(3)
2
3
4

NAME

6       capng_set_rootid - set namespace root id
7

SYNOPSIS

9       #include <cap-ng.h>
10
11       int capng_set_rootid(int rootid);
12
13

DESCRIPTION

15       capng_set_rootid  sets  the rootid for capabilities operations. This is
16       only applicable for file system operations.
17
18

RETURN VALUE

20       On success, it returns 0. It returns -1 if there is an  internal  error
21       or the kernel does not suppor V3 filesystem capabilities.
22
23

SEE ALSO

25       capng_set_caps_fd(3), capabilities(7)
26
27

AUTHOR

29       Steve Grubb
30
31
32
33Red Hat                            Sept 2020               CAPNG_SET_ROOTID(3)
Impressum