Home
last modified time | relevance | path

Searched refs:sk_ns_capable (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/net/core/
H A Dsock.c158 bool sk_ns_capable(const struct sock *sk, in sk_ns_capable() function
164 EXPORT_SYMBOL(sk_ns_capable);
177 return sk_ns_capable(sk, &init_user_ns, cap); in sk_capable()
192 return sk_ns_capable(sk, sock_net(sk)->user_ns, cap); in sk_net_capable()
H A Drtnetlink.c2004 if (!sk_ns_capable(sk, net->user_ns, CAP_NET_ADMIN)) { in rtnl_get_net_ns_capable()
/OK3568_Linux_fs/kernel/include/net/
H A Dsock.h2697 bool sk_ns_capable(const struct sock *sk,