Searched refs:netlink_capable (Results 1 - 14 of 14) sorted by relevance
/linux-4.1.27/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.1.27/crypto/ |
H A D | crypto_user.c | 274 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 D | scsi_netlink.c | 80 if (!netlink_capable(skb, CAP_SYS_ADMIN)) { scsi_nl_rcv_msg()
|
/linux-4.1.27/net/decnet/netfilter/ |
H A D | dn_rtmsg.c | 108 if (!netlink_capable(skb, CAP_NET_ADMIN)) dnrmg_receive_user_skb()
|
/linux-4.1.27/include/linux/ |
H A D | netlink.h | 178 bool netlink_capable(const struct sk_buff *skb, int cap);
|
/linux-4.1.27/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.1.27/net/can/ |
H A D | gw.c | 808 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 D | act_api.c | 955 if ((n->nlmsg_type != RTM_GETACTION) && !netlink_capable(skb, CAP_NET_ADMIN)) tc_ctl_action()
|
/linux-4.1.27/net/netlink/ |
H A D | af_netlink.c | 1403 * 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 D | genetlink.c | 566 !netlink_capable(skb, CAP_NET_ADMIN)) genl_family_rcv_msg()
|
/linux-4.1.27/kernel/ |
H A D | audit.c | 671 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 D | dcbnl.c | 1716 if ((nlh->nlmsg_type == RTM_SETDCB) && !netlink_capable(skb, CAP_NET_ADMIN)) dcb_doit()
|
/linux-4.1.27/net/core/ |
H A D | rtnetlink.c | 2665 if (!netlink_capable(skb, CAP_NET_ADMIN)) rtnl_fdb_del()
|
Completed in 332 milliseconds