Searched refs:sk_sid (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/security/selinux/include/ |
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
|
/Linux-v6.6/security/selinux/ |
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()
|
D | hooks.c | 4520 static int selinux_conn_sid(u32 sk_sid, u32 skb_sid, u32 *conn_sid) in selinux_conn_sid() argument 4525 err = security_sid_mls_copy(sk_sid, skb_sid, in selinux_conn_sid() 4528 *conn_sid = sk_sid; in selinux_conn_sid() 5015 u32 sk_sid = sksec->sid; in selinux_sock_rcv_skb_compat() local 5026 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_sock_rcv_skb_compat() 5045 u32 sk_sid = sksec->sid; in selinux_socket_sock_rcv_skb() local 5086 err = avc_has_perm(sk_sid, peer_sid, SECCLASS_PEER, in selinux_socket_sock_rcv_skb() 5095 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_socket_sock_rcv_skb()
|