Searched refs:netlink_capable (Results 1 – 17 of 17) sorted by relevance
/Linux-v6.1/net/phonet/ |
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-v6.1/crypto/ |
D | crypto_user_base.c | 268 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()
|
/Linux-v6.1/drivers/scsi/ |
D | scsi_netlink.c | 66 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { in scsi_nl_rcv_msg()
|
D | scsi_transport_iscsi.c | 3871 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in iscsi_if_recv_msg()
|
/Linux-v6.1/include/linux/ |
D | netlink.h | 285 bool netlink_capable(const struct sk_buff *skb, int cap);
|
/Linux-v6.1/drivers/infiniband/core/ |
D | netlink.c | 170 !netlink_capable(skb, CAP_NET_ADMIN)) { in rdma_nl_rcv_msg()
|
D | nldev.c | 1462 has_cap_net_admin = netlink_capable(skb, CAP_NET_ADMIN); in res_get_common_doit() 1547 has_cap_net_admin = netlink_capable(cb->skb, CAP_NET_ADMIN); in res_get_common_dumpit()
|
/Linux-v6.1/fs/ksmbd/ |
D | transport_ipc.c | 344 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_startup_event() 399 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_generic_event()
|
/Linux-v6.1/net/can/ |
D | gw.c | 1067 if (!netlink_capable(skb, CAP_NET_ADMIN)) in cgw_create_job() 1180 if (!netlink_capable(skb, CAP_NET_ADMIN)) in cgw_remove_job()
|
/Linux-v6.1/drivers/block/ |
D | nbd.c | 1920 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_connect() 2122 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_disconnect() 2160 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in nbd_genl_reconfigure()
|
/Linux-v6.1/kernel/ |
D | audit.c | 1060 if (!netlink_capable(skb, CAP_AUDIT_CONTROL)) in audit_netlink_ok() 1066 if (!netlink_capable(skb, CAP_AUDIT_WRITE)) in audit_netlink_ok()
|
/Linux-v6.1/net/dcb/ |
D | dcbnl.c | 1753 if ((nlh->nlmsg_type == RTM_SETDCB) && !netlink_capable(skb, CAP_NET_ADMIN)) in dcb_doit() 1768 if (fn->type == RTM_SETDCB && !netlink_capable(skb, CAP_NET_ADMIN)) in dcb_doit()
|
/Linux-v6.1/drivers/vdpa/ |
D | vdpa.c | 615 !netlink_capable(skb, CAP_NET_ADMIN)) in vdpa_nl_cmd_dev_add_set_doit()
|
/Linux-v6.1/net/netlink/ |
D | af_netlink.c | 901 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function 905 EXPORT_SYMBOL(netlink_capable);
|
D | genetlink.c | 822 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
|
/Linux-v6.1/net/sched/ |
D | act_api.c | 2022 !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
|
/Linux-v6.1/net/core/ |
D | rtnetlink.c | 4216 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()
|