Searched refs:netlink_ns_capable (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/include/linux/ |
D | netlink.h | 283 bool netlink_ns_capable(const struct sk_buff *skb,
|
/linux-6.1.9/net/netlink/ |
D | af_netlink.c | 887 bool netlink_ns_capable(const struct sk_buff *skb, in netlink_ns_capable() function 892 EXPORT_SYMBOL(netlink_ns_capable); 905 return netlink_ns_capable(skb, &init_user_ns, cap); in netlink_capable() 921 return netlink_ns_capable(skb, sock_net(skb->sk)->user_ns, cap); in netlink_net_capable()
|
D | genetlink.c | 826 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in genl_family_rcv_msg()
|
/linux-6.1.9/lib/ |
D | kobject_uevent.c | 740 if (!netlink_ns_capable(skb, net->user_ns, CAP_SYS_ADMIN)) { in uevent_net_rcv_skb()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | device.c | 1692 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in ib_device_set_netns_put()
|
/linux-6.1.9/net/core/ |
D | rtnetlink.c | 2276 if (!netlink_ns_capable(skb, net->user_ns, cap)) { in rtnl_link_get_net_capable() 3348 if (!netlink_ns_capable(skb, link_net->user_ns, CAP_NET_ADMIN)) in rtnl_newlink_create()
|
D | devlink.c | 4368 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in devlink_netns_get()
|