Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dnetlink.h283 bool netlink_ns_capable(const struct sk_buff *skb,
/linux-6.1.9/net/netlink/
Daf_netlink.c887 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()
Dgenetlink.c826 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in genl_family_rcv_msg()
/linux-6.1.9/lib/
Dkobject_uevent.c740 if (!netlink_ns_capable(skb, net->user_ns, CAP_SYS_ADMIN)) { in uevent_net_rcv_skb()
/linux-6.1.9/drivers/infiniband/core/
Ddevice.c1692 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in ib_device_set_netns_put()
/linux-6.1.9/net/core/
Drtnetlink.c2276 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()
Ddevlink.c4368 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in devlink_netns_get()