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

/linux-4.1.27/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.1.27/crypto/
H A Dcrypto_user.c274 if (!netlink_capable(skb, CAP_NET_ADMIN)) crypto_update_alg()
309 if (!netlink_capable(skb, CAP_NET_ADMIN)) crypto_del_alg()
402 if (!netlink_capable(skb, CAP_NET_ADMIN)) crypto_add_alg()
/linux-4.1.27/drivers/scsi/
H A Dscsi_netlink.c80 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { scsi_nl_rcv_msg()
/linux-4.1.27/net/decnet/netfilter/
H A Ddn_rtmsg.c108 if (!netlink_capable(skb, CAP_NET_ADMIN)) dnrmg_receive_user_skb()
/linux-4.1.27/include/linux/
H A Dnetlink.h178 bool netlink_capable(const struct sk_buff *skb, int cap);
/linux-4.1.27/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.1.27/net/can/
H A Dgw.c808 if (!netlink_capable(skb, CAP_NET_ADMIN)) cgw_create_job()
897 if (!netlink_capable(skb, CAP_NET_ADMIN)) cgw_remove_job()
/linux-4.1.27/net/sched/
H A Dact_api.c955 if ((n->nlmsg_type != RTM_GETACTION) && !netlink_capable(skb, CAP_NET_ADMIN)) tc_ctl_action()
/linux-4.1.27/net/netlink/
H A Daf_netlink.c1403 * netlink_capable - Netlink global message capability test
1411 bool netlink_capable(const struct sk_buff *skb, int cap) netlink_capable() function
1415 EXPORT_SYMBOL(netlink_capable); variable
H A Dgenetlink.c566 !netlink_capable(skb, CAP_NET_ADMIN)) genl_family_rcv_msg()
/linux-4.1.27/kernel/
H A Daudit.c671 if (!netlink_capable(skb, CAP_AUDIT_CONTROL)) audit_netlink_ok()
677 if (!netlink_capable(skb, CAP_AUDIT_WRITE)) audit_netlink_ok()
/linux-4.1.27/net/dcb/
H A Ddcbnl.c1716 if ((nlh->nlmsg_type == RTM_SETDCB) && !netlink_capable(skb, CAP_NET_ADMIN)) dcb_doit()
/linux-4.1.27/net/core/
H A Drtnetlink.c2665 if (!netlink_capable(skb, CAP_NET_ADMIN)) rtnl_fdb_del()

Completed in 332 milliseconds