1SK_NS_CAPABLE(9) Linux Networking SK_NS_CAPABLE(9)
2
3
4
6 sk_ns_capable - General socket capability test
7
9 bool sk_ns_capable(const struct sock * sk,
10 struct user_namespace * user_ns, int cap);
11
13 sk
14 Socket to use a capability on or through
15
16 user_ns
17 The user namespace of the capability to use
18
19 cap
20 The capability to use
21
23 Test to see if the opener of the socket had when the socket was created
24 and the current process has the capability cap in the user namespace
25 user_ns.
26
28Kernel Hackers Manual 3.10 June 2019 SK_NS_CAPABLE(9)