Searched refs:tsec (Results 1 – 5 of 5) sorted by relevance
178 struct task_security_struct *tsec; in cred_init_security() local180 tsec = kzalloc(sizeof(struct task_security_struct), GFP_KERNEL); in cred_init_security()181 if (!tsec) in cred_init_security()184 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security()185 cred->security = tsec; in cred_init_security()193 const struct task_security_struct *tsec; in cred_sid() local195 tsec = cred->security; in cred_sid()196 return tsec->sid; in cred_sid()217 const struct task_security_struct *tsec = current_security(); in current_sid() local219 return tsec->sid; in current_sid()[all …]
85 const struct task_security_struct *tsec = current_security(); in selinux_xfrm_alloc_user() local111 rc = avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_alloc_user()142 const struct task_security_struct *tsec = current_security(); in selinux_xfrm_delete() local147 return avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_delete()
84 const struct task_security_struct *tsec; in task_has_security() local88 tsec = __task_cred(tsk)->security; in task_has_security()89 if (tsec) in task_has_security()90 sid = tsec->sid; in task_has_security()92 if (!tsec) in task_has_security()
17 u8 tsec; member116 regs.tsec = 0; /* clear 0.1 and 0.01 seconds */ in ds1216_rtc_set_time()
35 As of this writing, every tsec is associated with an internal TBI PHY.