Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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-v6.1/drivers/scsi/
Dscsi_netlink.c66 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { in scsi_nl_rcv_msg()
Dscsi_transport_iscsi.c3871 if (!netlink_capable(skb, CAP_SYS_ADMIN)) in iscsi_if_recv_msg()
/Linux-v6.1/include/linux/
Dnetlink.h285 bool netlink_capable(const struct sk_buff *skb, int cap);
/Linux-v6.1/drivers/infiniband/core/
Dnetlink.c170 !netlink_capable(skb, CAP_NET_ADMIN)) { in rdma_nl_rcv_msg()
Dnldev.c1462 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/
Dtransport_ipc.c344 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/
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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/vdpa/
Dvdpa.c615 !netlink_capable(skb, CAP_NET_ADMIN)) in vdpa_nl_cmd_dev_add_set_doit()
/Linux-v6.1/net/netlink/
Daf_netlink.c901 bool netlink_capable(const struct sk_buff *skb, int cap) in netlink_capable() function
905 EXPORT_SYMBOL(netlink_capable);
Dgenetlink.c822 !netlink_capable(skb, CAP_NET_ADMIN)) in genl_family_rcv_msg()
/Linux-v6.1/net/sched/
Dact_api.c2022 !netlink_capable(skb, CAP_NET_ADMIN)) in tc_ctl_action()
/Linux-v6.1/net/core/
Drtnetlink.c4216 if (!netlink_capable(skb, CAP_NET_ADMIN)) in rtnl_fdb_del()