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

NAME

6       sk_net_capable - Network namespace socket capability test
7

SYNOPSIS

9       bool sk_net_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 capability to use
17

DESCRIPTION

19       Test to see if the opener of the socket had when the socke was created
20       and the current process has the capability cap over the network
21       namespace the socket is a member of.
22
24Kernel Hackers Manual 3.10         June 2019                 SK_NET_CAPABLE(9)
Impressum