1SK_CAPABLE(9)                  Linux Networking                  SK_CAPABLE(9)
2
3
4

NAME

6       sk_capable - Socket global capability test
7

SYNOPSIS

9       bool sk_capable(const struct sock * sk, int cap);
10

ARGUMENTS

12       sk
13           Socket to use a capability on or through
14
15       cap
16           The global capbility to use
17

DESCRIPTION

19       Test to see if the opener of the socket had when the socket was created
20       and the current process has the capability cap in all user namespaces.
21
23Kernel Hackers Manual 3.10         June 2019                     SK_CAPABLE(9)
Impressum