Searched refs:tsec (Results 1 - 3 of 3) sorted by relevance

/security/selinux/
H A Dhooks.c181 struct task_security_struct *tsec; local
183 tsec = kzalloc(sizeof(struct task_security_struct), GFP_KERNEL);
184 if (!tsec)
187 tsec->osid = tsec->sid = SECINITSID_KERNEL;
188 cred->security = tsec;
196 const struct task_security_struct *tsec; local
198 tsec = cred->security;
199 return tsec->sid;
220 const struct task_security_struct *tsec local
373 const struct task_security_struct *tsec = cred->security; local
390 const struct task_security_struct *tsec = cred->security; local
1700 const struct task_security_struct *tsec = current_security(); local
2306 const struct task_security_struct *tsec = current_security(); local
2429 const struct task_security_struct *tsec = current_security(); local
2726 struct task_security_struct *tsec; local
2760 const struct task_security_struct *tsec = current_security(); local
3550 struct task_security_struct *tsec; local
3565 struct task_security_struct *tsec = cred->security; local
3583 struct task_security_struct *tsec; local
3601 struct task_security_struct *tsec = new->security; local
3612 struct task_security_struct *tsec = new->security; local
3636 struct task_security_struct *tsec = new->security; local
4042 socket_sockcreate_sid(const struct task_security_struct *tsec, u16 secclass, u32 *socksid) argument
4074 const struct task_security_struct *tsec = current_security(); local
4093 const struct task_security_struct *tsec = current_security(); local
5652 struct task_security_struct *tsec; local
5839 const struct task_security_struct *tsec; local
[all...]
H A Dxfrm.c85 const struct task_security_struct *tsec = current_security(); local
111 rc = avc_has_perm(tsec->sid, ctx->ctx_sid,
142 const struct task_security_struct *tsec = current_security(); local
147 return avc_has_perm(tsec->sid, ctx->ctx_sid,
H A Dselinuxfs.c84 const struct task_security_struct *tsec; local
88 tsec = __task_cred(tsk)->security;
89 if (tsec)
90 sid = tsec->sid;
92 if (!tsec)

Completed in 72 milliseconds