Searched refs:netlink_ns_capable (Results 1 – 4 of 4) sorted by relevance
/net/netlink/ |
D | af_netlink.c | 791 bool netlink_ns_capable(const struct sk_buff *skb, in netlink_ns_capable() function 796 EXPORT_SYMBOL(netlink_ns_capable); 809 return netlink_ns_capable(skb, &init_user_ns, cap); in netlink_capable() 825 return netlink_ns_capable(skb, sock_net(skb->sk)->user_ns, cap); in netlink_net_capable()
|
/net/sched/ |
D | sch_api.c | 1113 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in tc_get_qdisc() 1180 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in tc_modify_qdisc() 1528 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in tc_ctl_tclass()
|
D | cls_api.c | 143 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in tc_ctl_tfilter()
|
/net/core/ |
D | rtnetlink.c | 1512 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in do_setlink()
|