Lines Matching defs:sk_sid
4532 * @sk_sid: the parent socket's SID
4536 * If @skb_sid is valid then the user:role:type information from @sk_sid is
4539 * of @sk_sid. Returns zero on success, negative values on failure.
4542 static int selinux_conn_sid(u32 sk_sid, u32 skb_sid, u32 *conn_sid)
4547 err = security_sid_mls_copy(sk_sid, skb_sid,
4550 *conn_sid = sk_sid;
5044 u32 sk_sid = sksec->sid;
5055 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET,
5074 u32 sk_sid = sksec->sid;
5115 err = avc_has_perm(sk_sid, peer_sid, SECCLASS_PEER,
5124 err = avc_has_perm(sk_sid, skb->secmark, SECCLASS_PACKET,