Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/sys/
H A Dimgact.h83 cpu_type_t ip_origcputype; /* cputype of invocation file */ member
/xnu-12377.1.9/bsd/kern/
H A Dkern_exec.c620 if (imgp->ip_origcputype != 0) { in exec_shell_imgact()
779 if (imgp->ip_origcputype != 0) { in exec_fat_imgact()
869 imgp->ip_origcputype = fat_arch.cputype; in exec_fat_imgact()
1366 if (imgp->ip_origcputype != 0) { in exec_mach_imgact()
1368 if (imgp->ip_origcputype != mach_header->cputype || in exec_mach_imgact()
1374 imgp->ip_origcputype = mach_header->cputype; in exec_mach_imgact()
1407 imgp->ip_origcputype, imgp->ip_origcpusubtype)) { in exec_mach_imgact()
1415 if (!grade_binary(imgp->ip_origcputype, imgp->ip_origcpusubtype & ~CPU_SUBTYPE_MASK, in exec_mach_imgact()
1421 if (validate_potential_simulator_binary(imgp->ip_origcputype, imgp, in exec_mach_imgact()
1527 p->p_cputype = imgp->ip_origcputype; in exec_mach_imgact()
[all …]
H A Dmach_loader.c3400 if (imgp->ip_origcputype == CPU_TYPE_X86_64) { in load_rosetta()
3402 } else if (imgp->ip_origcputype == CPU_TYPE_ARM64) { in load_rosetta()
3433 if (imgp->ip_origcputype == CPU_TYPE_X86_64) { in load_rosetta()
/xnu-12377.1.9/security/
H A Dmac_vfs.c1314 cpu_type_t cpu_type = (imgp == NULL) ? CPU_TYPE_ANY : imgp->ip_origcputype; in mac_vnode_check_signature()