table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
SK_NS_CAPABLE(9) | Linux Networking | SK_NS_CAPABLE(9) |
NAME¶
sk_ns_capable - General socket capability testSYNOPSIS¶
bool
sk_ns_capable(const struct sock * sk,
struct user_namespace * user_ns,
int cap);
ARGUMENTS¶
skSocket to use a capability on or through
user_ns
The user namespace of the capability to
use
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 in the user namespace user_ns.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |