Home
last modified time | relevance | path

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

/linux-6.6.21/arch/parisc/kernel/
Dsetup.c240 u32 osid = (OS_ID_LINUX << 16); in parisc_init() local
251 pdc_stable_write(0x40, &osid, sizeof(osid)); in parisc_init()
/linux-6.6.21/kernel/
Daudit.h84 u32 osid; member
163 u32 osid; member
Dauditsc.c700 name->osid, in audit_filter_rules()
707 n->osid, in audit_filter_rules()
719 if (security_audit_rule_match(ctx->ipc.osid, in audit_filter_rules()
1388 u32 osid = context->ipc.osid; in show_special() local
1394 if (osid) { in show_special()
1398 if (security_secid_to_secctx(osid, &ctx, &len)) { in show_special()
1399 audit_log_format(ab, " osid=%u", osid); in show_special()
1561 if (n->osid != 0) { in audit_log_name()
1566 n->osid, &ctx, &len)) { in audit_log_name()
1567 audit_log_format(ab, " osid=%u", n->osid); in audit_log_name()
[all …]
/linux-6.6.21/security/selinux/include/
Dobjsec.h32 u32 osid; /* SID prior to last execve */ member
/linux-6.6.21/fs/smb/client/
Dcifsacl.c1316 struct owner_sid *osid = (struct owner_sid *)nowner_sid_ptr; in build_sec_desc() local
1318 osid->Revision = 1; in build_sec_desc()
1319 osid->NumAuth = 3; in build_sec_desc()
1320 osid->Authority[5] = 5; in build_sec_desc()
1321 osid->SubAuthorities[0] = cpu_to_le32(88); in build_sec_desc()
1322 osid->SubAuthorities[1] = cpu_to_le32(1); in build_sec_desc()
1323 osid->SubAuthorities[2] = cpu_to_le32(id); in build_sec_desc()
Dcifsglob.h182 struct cifs_sid osid; member
/linux-6.6.21/security/selinux/
Dhooks.c215 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security()
2309 new_tsec->osid = old_tsec->sid; in selinux_bprm_creds_for_exec()
2463 if (new_tsec->sid == new_tsec->osid) in selinux_bprm_committing_creds()
2482 rc = avc_has_perm(new_tsec->osid, new_tsec->sid, SECCLASS_PROCESS, in selinux_bprm_committing_creds()
2505 u32 osid, sid; in selinux_bprm_committed_creds() local
2508 osid = tsec->osid; in selinux_bprm_committed_creds()
2511 if (sid == osid) in selinux_bprm_committed_creds()
2521 rc = avc_has_perm(osid, sid, SECCLASS_PROCESS, PROCESS__SIGINH, NULL); in selinux_bprm_committed_creds()
6336 sid = __tsec->osid; in selinux_getprocattr()
Dselinuxfs.c743 u32 osid, nsid, tsid; in sel_write_validatetrans() local
785 rc = security_context_str_to_sid(oldcon, &osid, GFP_KERNEL); in sel_write_validatetrans()
797 rc = security_validate_transition_user(osid, nsid, tsid, tclass); in sel_write_validatetrans()
/linux-6.6.21/security/integrity/ima/
Dima_policy.c636 u32 osid; in ima_match_rules() local
650 security_inode_getsecid(inode, &osid); in ima_match_rules()
651 rc = ima_filter_rule_match(osid, lsm_rule->lsm[i].type, in ima_match_rules()
/linux-6.6.21/drivers/parisc/
Dpdc_stable.c953 static PDCS_ATTR(osid, 0444, pdcs_osid_read, NULL);