Home
last modified time | relevance | path

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

/linux-6.1.9/net/phonet/
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-6.1.9/crypto/
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()
/linux-6.1.9/drivers/scsi/
Dscsi_netlink.c66 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { in scsi_nl_rcv_msg()
Dscsi_transport_iscsi.c3895 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in iscsi_if_recv_msg()
/linux-6.1.9/drivers/infiniband/core/
Dnetlink.c170 !netlink_capable(skb, CAP_NET_ADMIN)) { in rdma_nl_rcv_msg()
Dnldev.c1464 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/
Dnetlink.h285 bool netlink_capable(const struct sk_buff *skb, int cap);
/linux-6.1.9/fs/ksmbd/
Dtransport_ipc.c347 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/
Dgw.c1067 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/
Dnbd.c1920 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/
Daudit.c1060 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/
Ddcbnl.c1753 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/
Dvdpa.c615 !netlink_capable(skb, CAP_NET_ADMIN)) in vdpa_nl_cmd_dev_add_set_doit()
/linux-6.1.9/net/netlink/
Daf_netlink.c903 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function
907 EXPORT_SYMBOL(netlink_capable);
Dgenetlink.c822 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
/linux-6.1.9/net/sched/
Dact_api.c2022 !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
/linux-6.1.9/net/core/
Drtnetlink.c4216 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()