Home
last modified time | relevance | path

Searched refs:tsec (Results 1 – 2 of 2) sorted by relevance

/security/selinux/include/
A Dobjsec.h56 static inline bool task_avdcache_permnoaudit(struct task_security_struct *tsec) in task_avdcache_permnoaudit() argument
58 return (tsec->avdcache.permissive_neveraudit && in task_avdcache_permnoaudit()
59 tsec->sid == tsec->avdcache.sid && in task_avdcache_permnoaudit()
60 tsec->avdcache.seqno == avc_policy_seqno()); in task_avdcache_permnoaudit()
209 const struct task_security_struct *tsec = selinux_cred(current_cred()); in current_sid() local
211 return tsec->sid; in current_sid()
/security/selinux/
A Dhooks.c218 tsec->osid = tsec->sid = tsec->avdcache.sid = SECINITSID_KERNEL; in cred_init_security()
229 return tsec->sid; in cred_sid()
1826 sid = tsec->sid; in may_create()
2532 osid = tsec->osid; in selinux_bprm_committed_creds()
2533 sid = tsec->sid; in selinux_bprm_committed_creds()
3111 memset(&tsec->avdcache.dir, 0, sizeof(tsec->avdcache.dir)); in task_avdcache_reset()
3112 tsec->avdcache.sid = tsec->sid; in task_avdcache_reset()
3136 if (unlikely(tsec->sid != tsec->avdcache.sid || in task_avdcache_search()
4751 return security_transition_sid(tsec->sid, tsec->sid, in socket_sockcreate_sid()
6540 sid = tsec->sid; in selinux_lsm_getattr()
[all …]

Completed in 647 milliseconds