Searched refs:netlink_capable (Results 1 - 15 of 15) sorted by relevance
/linux-4.4.14/net/phonet/ |
H A D | pn_netlink.c | 73 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 D | crypto_user.c | 296 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 D | scsi_netlink.c | 80 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { scsi_nl_rcv_msg()
|
/linux-4.4.14/net/decnet/netfilter/ |
H A D | dn_rtmsg.c | 108 if (!netlink_capable(skb, CAP_NET_ADMIN)) dnrmg_receive_user_skb()
|
/linux-4.4.14/include/linux/ |
H A D | netlink.h | 189 bool netlink_capable(const struct sk_buff *skb, int cap);
|
/linux-4.4.14/net/decnet/ |
H A D | dn_fib.c | 509 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 D | dn_dev.c | 578 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 D | gw.c | 821 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 D | act_api.c | 973 if ((n->nlmsg_type != RTM_GETACTION) && !netlink_capable(skb, CAP_NET_ADMIN)) tc_ctl_action()
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | sa_query.c | 718 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 D | af_netlink.c | 1422 * 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 D | genetlink.c | 566 !netlink_capable(skb, CAP_NET_ADMIN)) genl_family_rcv_msg()
|
/linux-4.4.14/kernel/ |
H A D | audit.c | 688 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 D | dcbnl.c | 1713 if ((nlh->nlmsg_type == RTM_SETDCB) && !netlink_capable(skb, CAP_NET_ADMIN)) dcb_doit()
|
/linux-4.4.14/net/core/ |
H A D | rtnetlink.c | 2797 if (!netlink_capable(skb, CAP_NET_ADMIN)) rtnl_fdb_del()
|
Completed in 566 milliseconds