Home
last modified time | relevance | path

Searched refs:peer_sid (Results 1 – 5 of 5) sorted by relevance

/security/selinux/
Dxfrm.c406 u32 peer_sid = SECINITSID_UNLABELED; in selinux_xfrm_sock_rcv_skb() local
414 peer_sid = ctx->ctx_sid; in selinux_xfrm_sock_rcv_skb()
423 return avc_has_perm(sk_sid, peer_sid, in selinux_xfrm_sock_rcv_skb()
Dhooks.c4393 sksec_new->peer_sid = sksec_sock->sid; in selinux_socket_unix_stream_connect()
4400 sksec_sock->peer_sid = sksec_new->sid; in selinux_socket_unix_stream_connect()
4422 char *addrp, u16 family, u32 peer_sid, in selinux_inet_sys_rcv_skb() argument
4432 err = avc_has_perm(peer_sid, if_sid, in selinux_inet_sys_rcv_skb()
4440 return avc_has_perm(peer_sid, node_sid, in selinux_inet_sys_rcv_skb()
4517 u32 peer_sid; in selinux_socket_sock_rcv_skb() local
4519 err = selinux_skb_peerlbl_sid(skb, family, &peer_sid); in selinux_socket_sock_rcv_skb()
4523 addrp, family, peer_sid, &ad); in selinux_socket_sock_rcv_skb()
4528 err = avc_has_perm(sk_sid, peer_sid, SECCLASS_PEER, in selinux_socket_sock_rcv_skb()
4553 u32 peer_sid = SECSID_NULL; in selinux_socket_getpeersec_stream() local
[all …]
/security/selinux/include/
Dobjsec.h114 u32 peer_sid; /* SID of peer */ member
Dsecurity.h197 u32 *peer_sid);
/security/selinux/ss/
Dservices.c2828 u32 *peer_sid) in security_net_peersid_resolve() argument
2834 *peer_sid = SECSID_NULL; in security_net_peersid_resolve()
2840 *peer_sid = nlbl_sid; in security_net_peersid_resolve()
2847 *peer_sid = xfrm_sid; in security_net_peersid_resolve()
2882 *peer_sid = xfrm_sid; in security_net_peersid_resolve()