Searched refs:netlink_capable (Results 1 – 17 of 17) sorted by relevance
/linux/net/phonet/ |
H A D | pn_netlink.c | 61 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 D | crypto_user.c | 267 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 D | scsi_netlink.c | 66 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { in scsi_nl_rcv_msg()
|
H A D | scsi_transport_iscsi.c | 3917 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in iscsi_if_recv_msg()
|
/linux/drivers/infiniband/core/ |
H A D | netlink.c | 170 !netlink_capable(skb, CAP_NET_ADMIN)) { in rdma_nl_rcv_msg()
|
H A D | nldev.c | 1532 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 D | netlink.h | 355 bool netlink_capable(const struct sk_buff *skb, int cap);
|
/linux/fs/smb/server/ |
H A D | transport_ipc.c | 363 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 D | gw.c | 1067 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 D | nbd.c | 1998 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 D | audit.c | 1070 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 D | dcbnl.c | 1924 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 D | af_netlink.c | 909 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function 913 EXPORT_SYMBOL(netlink_capable);
|
H A D | genetlink.c | 1184 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
|
/linux/drivers/vdpa/ |
H A D | vdpa.c | 661 !netlink_capable(skb, CAP_NET_ADMIN)) in vdpa_nl_cmd_dev_add_set_doit()
|
/linux/net/sched/ |
H A D | act_api.c | 2115 !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
|
/linux/net/core/ |
H A D | rtnetlink.c | 4414 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()
|