Name
sk_net_capable —
Network namespace socket capability test
Synopsis
bool sk_net_capable ( | const struct sock * sk, |
| int cap) ; |
Arguments
sk
Socket to use a capability on or through
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.