1SK_CAPABLE(9) Linux Networking SK_CAPABLE(9)
23
4
NAME
6sk_capable - Socket global capability test
7
SYNOPSIS
9bool sk_capable(const struct sock * sk, int cap);
10
ARGUMENTS
12sk
13Socket to use a capability on or through
1415
cap
16The global capbility to use
17
DESCRIPTION
19Test to see if the opener of the socket had when the socket was created
20and the current process has the capability cap in all user namespaces.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 SK_CAPABLE(9)