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

NAME

6       capng_get_rootid - get namespace root id
7

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

20       If the file is in the init namespace or the kernel does not support  V3
21       file  system  capabilities, it returns CAPNG_UNSET_ROOTID. Otherwise it
22       return an integer for the namespace root id.
23
24

SEE ALSO

26       capng_get_caps_fd(3), capabilities(7)
27
28

AUTHOR

30       Steve Grubb
31
32
33
34Red Hat                            Sept 2020               CAPNG_GET_ROOTID(3)
Impressum