Searched refs:crsec (Results 1 – 1 of 1) sorted by relevance
215 struct cred_security_struct *crsec; in cred_init_security() local219 crsec = selinux_cred(unrcu_pointer(current->real_cred)); in cred_init_security()220 crsec->osid = crsec->sid = SECINITSID_KERNEL; in cred_init_security()228 const struct cred_security_struct *crsec; in cred_sid() local230 crsec = selinux_cred(cred); in cred_sid()231 return crsec->sid; in cred_sid()442 const struct cred_security_struct *crsec = selinux_cred(cred); in may_context_mount_sb_relabel() local445 rc = avc_has_perm(crsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()450 rc = avc_has_perm(crsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()459 const struct cred_security_struct *crsec = selinux_cred(cred); in may_context_mount_inode_relabel() local[all …]