Lines Matching refs:peer_secid
5160 u32 peer_secid = SECSID_NULL; in selinux_socket_getpeersec_dgram() local
5175 peer_secid = isec->sid; in selinux_socket_getpeersec_dgram()
5177 selinux_skb_peerlbl_sid(skb, family, &peer_secid); in selinux_socket_getpeersec_dgram()
5180 *secid = peer_secid; in selinux_socket_getpeersec_dgram()
5181 if (peer_secid == SECSID_NULL) in selinux_socket_getpeersec_dgram()
5266 asoc->peer_secid = SECSID_NULL; in selinux_sctp_process_new_assoc()
5271 err = selinux_skb_peerlbl_sid(skb, family, &asoc->peer_secid); in selinux_sctp_process_new_assoc()
5275 if (asoc->peer_secid == SECSID_NULL) in selinux_sctp_process_new_assoc()
5276 asoc->peer_secid = SECINITSID_UNLABELED; in selinux_sctp_process_new_assoc()
5278 asoc->peer_secid = SECINITSID_UNLABELED; in selinux_sctp_process_new_assoc()
5289 sksec->peer_sid = asoc->peer_secid; in selinux_sctp_process_new_assoc()
5290 } else if (sksec->peer_sid != asoc->peer_secid) { in selinux_sctp_process_new_assoc()
5298 sksec->peer_sid, asoc->peer_secid, in selinux_sctp_process_new_assoc()
5331 err = selinux_conn_sid(sksec->sid, asoc->peer_secid, &conn_sid); in selinux_sctp_assoc_request()
5456 newsksec->peer_sid = asoc->peer_secid; in selinux_sctp_sk_clone()
5477 req->peer_secid = peersid; in selinux_inet_conn_request()
5488 newsksec->peer_sid = req->peer_secid; in selinux_inet_csk_clone()