Home
last modified time | relevance | path

Searched refs:netlink_ns_capable (Results 1 – 4 of 4) sorted by relevance

/net/netlink/
Daf_netlink.c791 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/
Dsch_api.c1113 !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()
Dcls_api.c143 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in tc_ctl_tfilter()
/net/core/
Drtnetlink.c1512 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in do_setlink()