Lines Matching refs:sid
45 u32 *sid) in selinux_netlbl_sidlookup_cached() argument
49 rc = security_netlbl_secattr_to_sid(&selinux_state, secattr, sid); in selinux_netlbl_sidlookup_cached()
80 rc = security_netlbl_sid_to_secattr(&selinux_state, sksec->sid, in selinux_netlbl_sock_genattr()
102 u32 sid) in selinux_netlbl_sock_getattr() argument
111 (secattr->attr.secid == sid)) in selinux_netlbl_sock_getattr()
192 u32 *sid) in selinux_netlbl_skbuff_getsid() argument
198 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
206 &secattr, sid); in selinux_netlbl_skbuff_getsid()
208 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
228 u32 sid) in selinux_netlbl_skbuff_setsid() argument
243 secattr = selinux_netlbl_sock_getattr(sk, sid); in selinux_netlbl_skbuff_setsid()
248 rc = security_netlbl_sid_to_secattr(&selinux_state, sid, in selinux_netlbl_skbuff_setsid()
467 sksec->sid, nlbl_sid, sksec->sclass, perm, ad); in selinux_netlbl_sock_rcv_skb()