Home
last modified time | relevance | path

Searched refs:netlink_capable (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/net/phonet/
H A Dpn_netlink.c61 if (!netlink_capable(skb, CAP_NET_ADMIN)) in addr_doit()
64 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in addr_doit()
228 if (!netlink_capable(skb, CAP_NET_ADMIN)) in route_doit()
231 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in route_doit()
/openbmc/linux/crypto/
H A Dcrypto_user_base.c268 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_update_alg()
303 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_del_alg()
343 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_add_alg()
385 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_del_rng()
/openbmc/linux/drivers/scsi/
H A Dscsi_netlink.c66 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { in scsi_nl_rcv_msg()
H A Dscsi_transport_iscsi.c3916 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in iscsi_if_recv_msg()
/openbmc/linux/drivers/infiniband/core/
H A Dnetlink.c170 !netlink_capable(skb, CAP_NET_ADMIN)) { in rdma_nl_rcv_msg()
H A Dnldev.c1476 has_cap_net_admin = netlink_capable(skb, CAP_NET_ADMIN); in res_get_common_doit()
1561 has_cap_net_admin = netlink_capable(cb->skb, CAP_NET_ADMIN); in res_get_common_dumpit()
/openbmc/linux/fs/smb/server/
H A Dtransport_ipc.c353 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_startup_event()
408 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_generic_event()
/openbmc/linux/include/linux/
H A Dnetlink.h354 bool netlink_capable(const struct sk_buff *skb, int cap);
/openbmc/linux/net/can/
H A Dgw.c1067 if (!netlink_capable(skb, CAP_NET_ADMIN)) in cgw_create_job()
1187 if (!netlink_capable(skb, CAP_NET_ADMIN)) in cgw_remove_job()
/openbmc/linux/drivers/block/
H A Dnbd.c1982 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_connect()
2180 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_disconnect()
2218 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_reconfigure()
/openbmc/linux/kernel/
H A Daudit.c1070 if (!netlink_capable(skb, CAP_AUDIT_CONTROL)) in audit_netlink_ok()
1076 if (!netlink_capable(skb, CAP_AUDIT_WRITE)) in audit_netlink_ok()
/openbmc/linux/net/dcb/
H A Ddcbnl.c1924 if ((nlh->nlmsg_type == RTM_SETDCB) && !netlink_capable(skb, CAP_NET_ADMIN)) in dcb_doit()
1939 if (fn->type == RTM_SETDCB && !netlink_capable(skb, CAP_NET_ADMIN)) in dcb_doit()
/openbmc/linux/drivers/vdpa/
H A Dvdpa.c661 !netlink_capable(skb, CAP_NET_ADMIN)) in vdpa_nl_cmd_dev_add_set_doit()
/openbmc/linux/net/netlink/
H A Daf_netlink.c898 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function
902 EXPORT_SYMBOL(netlink_capable);
H A Dgenetlink.c1040 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
/openbmc/linux/net/sched/
H A Dact_api.c2061 !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
/openbmc/linux/net/core/
H A Drtnetlink.c4383 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()