Home
last modified time | relevance | path

Searched refs:sk_sid (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/security/selinux/include/
Dxfrm.h39 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb,
41 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb,
61 static inline int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb() argument
67 static inline int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last() argument
/Linux-v5.15/security/selinux/
Dxfrm.c405 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb() argument
428 sk_sid, peer_sid, in selinux_xfrm_sock_rcv_skb()
439 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last() argument
471 return avc_has_perm(&selinux_state, sk_sid, SECINITSID_UNLABELED, in selinux_xfrm_postroute_last()
Dhooks.c4620 static int selinux_conn_sid(u32 sk_sid, u32 skb_sid, u32 *conn_sid) in selinux_conn_sid() argument
4625 err = security_sid_mls_copy(&selinux_state, sk_sid, skb_sid, in selinux_conn_sid()
4628 *conn_sid = sk_sid; in selinux_conn_sid()
5130 u32 sk_sid = sksec->sid; in selinux_sock_rcv_skb_compat() local
5145 sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_sock_rcv_skb_compat()
5164 u32 sk_sid = sksec->sid; in selinux_socket_sock_rcv_skb() local
5211 sk_sid, peer_sid, SECCLASS_PEER, in selinux_socket_sock_rcv_skb()
5221 sk_sid, skb->secmark, SECCLASS_PACKET, in selinux_socket_sock_rcv_skb()