Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dnetlink.h352 bool netlink_ns_capable(const struct sk_buff *skb,
/openbmc/linux/net/netlink/
H A Daf_netlink.c897 bool netlink_ns_capable(const struct sk_buff *skb, in netlink_ns_capable() function
902 EXPORT_SYMBOL(netlink_ns_capable);
915 return netlink_ns_capable(skb, &init_user_ns, cap); in netlink_capable()
931 return netlink_ns_capable(skb, sock_net(skb->sk)->user_ns, cap); in netlink_net_capable()
H A Dgenetlink.c1044 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in genl_family_rcv_msg()
/openbmc/linux/lib/
H A Dkobject_uevent.c755 if (!netlink_ns_capable(skb, net->user_ns, CAP_SYS_ADMIN)) { in uevent_net_rcv_skb()
/openbmc/linux/net/devlink/
H A Ddev.c356 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in devlink_netns_get()
/openbmc/linux/drivers/infiniband/core/
H A Ddevice.c1692 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in ib_device_set_netns_put()
/openbmc/linux/net/core/
H A Drtnetlink.c2372 if (!netlink_ns_capable(skb, net->user_ns, cap)) { in rtnl_link_get_net_capable()
3498 if (!netlink_ns_capable(skb, link_net->user_ns, CAP_NET_ADMIN)) in rtnl_newlink_create()