Home
last modified time | relevance | path

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

/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()
/linux/crypto/
H A Dcrypto_user.c267 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_update_alg()
302 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_del_alg()
342 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_add_alg()
384 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_del_rng()
/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.c3917 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in iscsi_if_recv_msg()
/linux/drivers/infiniband/core/
H A Dnetlink.c170 !netlink_capable(skb, CAP_NET_ADMIN)) { in rdma_nl_rcv_msg()
H A Dnldev.c1532 has_cap_net_admin = netlink_capable(skb, CAP_NET_ADMIN); in res_get_common_doit()
1621 has_cap_net_admin = netlink_capable(cb->skb, CAP_NET_ADMIN); in res_get_common_dumpit()
/linux/include/linux/
H A Dnetlink.h355 bool netlink_capable(const struct sk_buff *skb, int cap);
/linux/fs/smb/server/
H A Dtransport_ipc.c363 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_startup_event()
418 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_generic_event()
/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()
/linux/drivers/block/
H A Dnbd.c1998 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_connect()
2195 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_disconnect()
2233 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_reconfigure()
/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()
/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()
/linux/net/netlink/
H A Daf_netlink.c909 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function
913 EXPORT_SYMBOL(netlink_capable);
H A Dgenetlink.c1184 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
/linux/drivers/vdpa/
H A Dvdpa.c661 !netlink_capable(skb, CAP_NET_ADMIN)) in vdpa_nl_cmd_dev_add_set_doit()
/linux/net/sched/
H A Dact_api.c2115 !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
/linux/net/core/
H A Drtnetlink.c4414 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()