Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/
H A Dhooks.c2239 const struct task_security_struct *old_tsec, in check_nnp_nosuid() argument
2250 if (new_tsec->sid == old_tsec->sid) in check_nnp_nosuid()
2265 rc = avc_has_perm(old_tsec->sid, new_tsec->sid, in check_nnp_nosuid()
2276 rc = security_bounded_transition(old_tsec->sid, in check_nnp_nosuid()
2293 const struct task_security_struct *old_tsec; in selinux_bprm_creds_for_exec() local
2303 old_tsec = selinux_cred(current_cred()); in selinux_bprm_creds_for_exec()
2308 new_tsec->sid = old_tsec->sid; in selinux_bprm_creds_for_exec()
2309 new_tsec->osid = old_tsec->sid; in selinux_bprm_creds_for_exec()
2316 if (old_tsec->exec_sid) { in selinux_bprm_creds_for_exec()
2317 new_tsec->sid = old_tsec->exec_sid; in selinux_bprm_creds_for_exec()
[all …]