Searched refs:netlink_ns_capable (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/include/linux/
H A Dnetlink.h176 bool netlink_ns_capable(const struct sk_buff *skb,
/linux-4.1.27/net/sched/
H A Dsch_api.c1120 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) tc_get_qdisc()
1187 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) tc_modify_qdisc()
1535 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) tc_ctl_tclass()
H A Dcls_api.c143 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) tc_ctl_tfilter()
/linux-4.1.27/net/netlink/
H A Daf_netlink.c1386 * netlink_ns_capable - General netlink message capability test
1395 bool netlink_ns_capable(const struct sk_buff *skb, netlink_ns_capable() function
1400 EXPORT_SYMBOL(netlink_ns_capable); variable
1413 return netlink_ns_capable(skb, &init_user_ns, cap); netlink_capable()
1429 return netlink_ns_capable(skb, sock_net(skb->sk)->user_ns, cap); netlink_net_capable()
/linux-4.1.27/net/core/
H A Drtnetlink.c1582 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { do_setlink()
2208 if (!netlink_ns_capable(skb, dest_net->user_ns, CAP_NET_ADMIN)) rtnl_newlink()
2220 if (!netlink_ns_capable(skb, link_net->user_ns, CAP_NET_ADMIN)) rtnl_newlink()

Completed in 161 milliseconds