Searched refs:tsec (Results 1 – 3 of 3) sorted by relevance
/security/selinux/ |
D | hooks.c | 211 struct task_security_struct *tsec; in cred_init_security() local 213 tsec = selinux_cred(cred); in cred_init_security() 214 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security() 222 const struct task_security_struct *tsec; in cred_sid() local 224 tsec = selinux_cred(cred); in cred_sid() 225 return tsec->sid; in cred_sid() 463 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_sb_relabel() local 467 tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 473 tsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 482 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_inode_relabel() local [all …]
|
D | xfrm.c | 79 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_alloc_user() local 107 tsec->sid, ctx->ctx_sid, in selinux_xfrm_alloc_user() 138 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_delete() local 144 tsec->sid, ctx->ctx_sid, in selinux_xfrm_delete()
|
/security/selinux/include/ |
D | objsec.h | 187 const struct task_security_struct *tsec = selinux_cred(current_cred()); in current_sid() local 189 return tsec->sid; in current_sid()
|