Home
last modified time | relevance | path

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

/security/selinux/include/
Dobjsec.h33 u32 osid; /* SID prior to last execve */ member
/security/integrity/ima/
Dima_policy.c288 u32 osid, sid; in ima_match_rules() local
298 security_inode_getsecid(inode, &osid); in ima_match_rules()
299 rc = security_filter_rule_match(osid, in ima_match_rules()
/security/selinux/
Dhooks.c199 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security()
2430 new_tsec->osid = old_tsec->sid; in selinux_bprm_set_creds()
2584 if (new_tsec->sid == new_tsec->osid) in selinux_bprm_committing_creds()
2603 rc = avc_has_perm(new_tsec->osid, new_tsec->sid, SECCLASS_PROCESS, in selinux_bprm_committing_creds()
2627 u32 osid, sid; in selinux_bprm_committed_creds() local
2630 osid = tsec->osid; in selinux_bprm_committed_creds()
2633 if (sid == osid) in selinux_bprm_committed_creds()
2643 rc = avc_has_perm(osid, sid, SECCLASS_PROCESS, PROCESS__SIGINH, NULL); in selinux_bprm_committed_creds()
5958 sid = __tsec->osid; in selinux_getprocattr()
Dselinuxfs.c634 u32 osid, nsid, tsid; in sel_write_validatetrans() local
676 rc = security_context_str_to_sid(oldcon, &osid, GFP_KERNEL); in sel_write_validatetrans()
688 rc = security_validate_transition_user(osid, nsid, tsid, tclass); in sel_write_validatetrans()