Lines Matching refs:if_sid
4105 u32 if_sid; in selinux_inet_sys_rcv_skb() local
4108 err = sel_netif_sid(ifindex, &if_sid); in selinux_inet_sys_rcv_skb()
4111 err = avc_has_perm(peer_sid, if_sid, in selinux_inet_sys_rcv_skb()
4133 u32 port_sid, node_sid, if_sid, sk_sid; in selinux_sock_rcv_skb_iptables_compat() local
4161 err = sel_netif_sid(skb->iif, &if_sid); in selinux_sock_rcv_skb_iptables_compat()
4164 err = avc_has_perm(sk_sid, if_sid, SECCLASS_NETIF, netif_perm, ad); in selinux_sock_rcv_skb_iptables_compat()
4632 u32 port_sid, node_sid, if_sid, sk_sid; in selinux_ip_postroute_iptables_compat() local
4660 err = sel_netif_sid(ifindex, &if_sid); in selinux_ip_postroute_iptables_compat()
4663 err = avc_has_perm(sk_sid, if_sid, SECCLASS_NETIF, netif_perm, ad); in selinux_ip_postroute_iptables_compat()
4802 u32 if_sid; in selinux_ip_postroute() local
4805 if (sel_netif_sid(ifindex, &if_sid)) in selinux_ip_postroute()
4807 if (avc_has_perm(peer_sid, if_sid, in selinux_ip_postroute()