Home
last modified time | relevance | path

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

/Linux-v5.15/security/selinux/
Dhooks.c2300 const struct task_security_struct *old_tsec, in check_nnp_nosuid() argument
2311 if (new_tsec->sid == old_tsec->sid) in check_nnp_nosuid()
2327 old_tsec->sid, new_tsec->sid, in check_nnp_nosuid()
2338 rc = security_bounded_transition(&selinux_state, old_tsec->sid, in check_nnp_nosuid()
2355 const struct task_security_struct *old_tsec; in selinux_bprm_creds_for_exec() local
2365 old_tsec = selinux_cred(current_cred()); in selinux_bprm_creds_for_exec()
2370 new_tsec->sid = old_tsec->sid; in selinux_bprm_creds_for_exec()
2371 new_tsec->osid = old_tsec->sid; in selinux_bprm_creds_for_exec()
2378 if (old_tsec->exec_sid) { in selinux_bprm_creds_for_exec()
2379 new_tsec->sid = old_tsec->exec_sid; in selinux_bprm_creds_for_exec()
[all …]