Searched refs:netlink_capable (Results 1 – 17 of 17) sorted by relevance
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/scsi/ |
D | scsi_netlink.c | 66 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { in scsi_nl_rcv_msg()
|
D | scsi_transport_iscsi.c | 3895 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in iscsi_if_recv_msg()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | netlink.c | 170 !netlink_capable(skb, CAP_NET_ADMIN)) { in rdma_nl_rcv_msg()
|
D | nldev.c | 1464 has_cap_net_admin = netlink_capable(skb, CAP_NET_ADMIN); in res_get_common_doit() 1549 has_cap_net_admin = netlink_capable(cb->skb, CAP_NET_ADMIN); in res_get_common_dumpit()
|
/linux-6.1.9/include/linux/ |
D | netlink.h | 285 bool netlink_capable(const struct sk_buff *skb, int cap);
|
/linux-6.1.9/fs/ksmbd/ |
D | transport_ipc.c | 347 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_startup_event() 402 if (!netlink_capable(skb, CAP_NET_ADMIN)) in handle_generic_event()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/vdpa/ |
D | vdpa.c | 615 !netlink_capable(skb, CAP_NET_ADMIN)) in vdpa_nl_cmd_dev_add_set_doit()
|
/linux-6.1.9/net/netlink/ |
D | af_netlink.c | 903 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function 907 EXPORT_SYMBOL(netlink_capable);
|
D | genetlink.c | 822 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
|
/linux-6.1.9/net/sched/ |
D | act_api.c | 2022 !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
|
/linux-6.1.9/net/core/ |
D | rtnetlink.c | 4216 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()
|