Home
last modified time | relevance | path

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

/security/selinux/include/
Dobjsec.h32 u32 osid; /* SID prior to last execve */ member
/security/integrity/ima/
Dima_policy.c249 u32 osid, sid; in ima_match_rules() local
259 security_inode_getsecid(inode, &osid); in ima_match_rules()
260 rc = security_filter_rule_match(osid, in ima_match_rules()
/security/selinux/
Dhooks.c185 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security()
2228 new_tsec->osid = old_tsec->sid; in selinux_bprm_set_creds()
2325 u32 sid, osid; in selinux_bprm_secureexec() local
2329 osid = tsec->osid; in selinux_bprm_secureexec()
2331 if (osid != sid) { in selinux_bprm_secureexec()
2335 atsecure = avc_has_perm(osid, sid, in selinux_bprm_secureexec()
2407 if (new_tsec->sid == new_tsec->osid) in selinux_bprm_committing_creds()
2426 rc = avc_has_perm(new_tsec->osid, new_tsec->sid, SECCLASS_PROCESS, in selinux_bprm_committing_creds()
2449 u32 osid, sid; in selinux_bprm_committed_creds() local
2452 osid = tsec->osid; in selinux_bprm_committed_creds()
[all …]