table of contents
other versions
- stretch 4.9.168-1
SK_CAPABLE(9) | Linux Networking | SK_CAPABLE(9) |
NAME¶
sk_capable - Socket global capability testSYNOPSIS¶
bool sk_capable(const struct sock * sk, int cap);
ARGUMENTS¶
skSocket to use a capability on or through
cap
The global 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 all user namespaces.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |