Searched refs:sk_ns_capable (Results 1 - 3 of 3) sorted by path

/linux-master/include/net/
H A Dsock.h2791 bool sk_ns_capable(const struct sock *sk,
/linux-master/net/core/
H A Drtnetlink.c2164 if (!sk_ns_capable(sk, net->user_ns, CAP_NET_ADMIN)) {
H A Dsock.c159 * sk_ns_capable - General socket capability test
168 bool sk_ns_capable(const struct sock *sk, function
174 EXPORT_SYMBOL(sk_ns_capable); variable
187 return sk_ns_capable(sk, &init_user_ns, cap);
202 return sk_ns_capable(sk, sock_net(sk)->user_ns, cap);

Completed in 324 milliseconds