Searched refs:netlink_ns_capable (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | netlink.h | 352 bool netlink_ns_capable(const struct sk_buff *skb,
|
/openbmc/linux/net/netlink/ |
H A D | af_netlink.c | 897 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 D | genetlink.c | 1044 !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) in genl_family_rcv_msg()
|
/openbmc/linux/lib/ |
H A D | kobject_uevent.c | 755 if (!netlink_ns_capable(skb, net->user_ns, CAP_SYS_ADMIN)) { in uevent_net_rcv_skb()
|
/openbmc/linux/net/devlink/ |
H A D | dev.c | 356 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in devlink_netns_get()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | device.c | 1692 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in ib_device_set_netns_put()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 2372 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()
|