Searched refs:netlink_capable (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/net/phonet/
H A Dpn_netlink.c73 if (!netlink_capable(skb, CAP_NET_ADMIN)) addr_doit()
76 if (!netlink_capable(skb, CAP_SYS_ADMIN)) addr_doit()
238 if (!netlink_capable(skb, CAP_NET_ADMIN)) route_doit()
241 if (!netlink_capable(skb, CAP_SYS_ADMIN)) route_doit()
/linux-4.4.14/crypto/
H A Dcrypto_user.c296 if (!netlink_capable(skb, CAP_NET_ADMIN)) crypto_update_alg()
331 if (!netlink_capable(skb, CAP_NET_ADMIN)) crypto_del_alg()
396 if (!netlink_capable(skb, CAP_NET_ADMIN)) crypto_add_alg()
447 if (!netlink_capable(skb, CAP_NET_ADMIN)) crypto_del_rng()
/linux-4.4.14/drivers/scsi/
H A Dscsi_netlink.c80 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { scsi_nl_rcv_msg()
/linux-4.4.14/net/decnet/netfilter/
H A Ddn_rtmsg.c108 if (!netlink_capable(skb, CAP_NET_ADMIN)) dnrmg_receive_user_skb()
/linux-4.4.14/include/linux/
H A Dnetlink.h189 bool netlink_capable(const struct sk_buff *skb, int cap);
/linux-4.4.14/net/decnet/
H A Ddn_fib.c509 if (!netlink_capable(skb, CAP_NET_ADMIN)) dn_fib_rtm_delroute()
534 if (!netlink_capable(skb, CAP_NET_ADMIN)) dn_fib_rtm_newroute()
H A Ddn_dev.c578 if (!netlink_capable(skb, CAP_NET_ADMIN)) dn_nl_deladdr()
622 if (!netlink_capable(skb, CAP_NET_ADMIN)) dn_nl_newaddr()
/linux-4.4.14/net/can/
H A Dgw.c821 if (!netlink_capable(skb, CAP_NET_ADMIN)) cgw_create_job()
934 if (!netlink_capable(skb, CAP_NET_ADMIN)) cgw_remove_job()
/linux-4.4.14/net/sched/
H A Dact_api.c973 if ((n->nlmsg_type != RTM_GETACTION) && !netlink_capable(skb, CAP_NET_ADMIN)) tc_ctl_action()
/linux-4.4.14/drivers/infiniband/core/
H A Dsa_query.c718 if (!netlink_capable(skb, CAP_NET_ADMIN)) ib_nl_handle_set_timeout()
792 if (!netlink_capable(skb, CAP_NET_ADMIN)) ib_nl_handle_resolve_resp()
/linux-4.4.14/net/netlink/
H A Daf_netlink.c1422 * netlink_capable - Netlink global message capability test
1430 bool netlink_capable(const struct sk_buff *skb, int cap) netlink_capable() function
1434 EXPORT_SYMBOL(netlink_capable); variable
H A Dgenetlink.c566 !netlink_capable(skb, CAP_NET_ADMIN)) genl_family_rcv_msg()
/linux-4.4.14/kernel/
H A Daudit.c688 if (!netlink_capable(skb, CAP_AUDIT_CONTROL)) audit_netlink_ok()
694 if (!netlink_capable(skb, CAP_AUDIT_WRITE)) audit_netlink_ok()
/linux-4.4.14/net/dcb/
H A Ddcbnl.c1713 if ((nlh->nlmsg_type == RTM_SETDCB) && !netlink_capable(skb, CAP_NET_ADMIN)) dcb_doit()
/linux-4.4.14/net/core/
H A Drtnetlink.c2797 if (!netlink_capable(skb, CAP_NET_ADMIN)) rtnl_fdb_del()

Completed in 566 milliseconds