table of contents
other versions
SK_NET_CAPABLE(9) | Linux Networking | SK_NET_CAPABLE(9) |
NAME¶
sk_net_capable - Network namespace socket capability test
SYNOPSIS¶
bool sk_net_capable(const struct sock * sk, int cap);
ARGUMENTS¶
const struct sock * sk
Socket to use a capability on or through
int cap
The capability to use
DESCRIPTION¶
Test to see if the opener of the socket had when the socket was created and the current process has the capability cap over the network namespace the socket is a member of.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |