Searched refs:sk_sid (Results 1 – 3 of 3) sorted by relevance
/security/selinux/include/ |
D | xfrm.h | 38 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, 40 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, 62 static inline int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb() argument 68 static inline int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last() argument
|
/security/selinux/ |
D | xfrm.c | 401 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb() argument 423 return avc_has_perm(sk_sid, peer_sid, in selinux_xfrm_sock_rcv_skb() 434 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last() argument 466 return avc_has_perm(sk_sid, SECINITSID_UNLABELED, in selinux_xfrm_postroute_last()
|
D | hooks.c | 4041 static int selinux_conn_sid(u32 sk_sid, u32 skb_sid, u32 *conn_sid) in selinux_conn_sid() argument 4046 err = security_sid_mls_copy(sk_sid, skb_sid, conn_sid); in selinux_conn_sid() 4048 *conn_sid = sk_sid; in selinux_conn_sid() 4449 u32 sk_sid = sksec->sid; in selinux_sock_rcv_skb_compat() local 4463 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_sock_rcv_skb_compat() 4482 u32 sk_sid = sksec->sid; in selinux_socket_sock_rcv_skb() local 4528 err = avc_has_perm(sk_sid, peer_sid, SECCLASS_PEER, in selinux_socket_sock_rcv_skb() 4537 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_socket_sock_rcv_skb()
|