Searched refs:sk_sid (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/security/selinux/include/ |
H A D | xfrm.h | 41 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, 43 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, 63 static inline int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb() argument 69 static inline int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last() argument
|
/openbmc/linux/security/selinux/ |
H A D | xfrm.c | 402 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb() argument 424 return avc_has_perm(sk_sid, peer_sid, in selinux_xfrm_sock_rcv_skb() 435 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last() argument 467 return avc_has_perm(sk_sid, SECINITSID_UNLABELED, in selinux_xfrm_postroute_last()
|
H A D | hooks.c | 4551 static int selinux_conn_sid(u32 sk_sid, u32 skb_sid, u32 *conn_sid) in selinux_conn_sid() argument 4556 err = security_sid_mls_copy(sk_sid, skb_sid, in selinux_conn_sid() 4559 *conn_sid = sk_sid; in selinux_conn_sid() 5053 u32 sk_sid = sksec->sid; in selinux_sock_rcv_skb_compat() local 5064 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_sock_rcv_skb_compat() 5083 u32 sk_sid = sksec->sid; in selinux_socket_sock_rcv_skb() local 5124 err = avc_has_perm(sk_sid, peer_sid, SECCLASS_PEER, in selinux_socket_sock_rcv_skb() 5133 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_socket_sock_rcv_skb()
|