Home
last modified time | relevance | path

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

/xnu-11417.101.15/bsd/sys/
H A Dimgact.h83 cpu_type_t ip_origcputype; /* cputype of invocation file */ member
/xnu-11417.101.15/bsd/kern/
H A Dkern_exec.c643 if (imgp->ip_origcputype != 0) { in exec_shell_imgact()
802 if (imgp->ip_origcputype != 0) { in exec_fat_imgact()
892 imgp->ip_origcputype = fat_arch.cputype; in exec_fat_imgact()
1414 if (imgp->ip_origcputype != 0) { in exec_mach_imgact()
1416 if (imgp->ip_origcputype != mach_header->cputype || in exec_mach_imgact()
1422 imgp->ip_origcputype = mach_header->cputype; in exec_mach_imgact()
1455 imgp->ip_origcputype, imgp->ip_origcpusubtype)) { in exec_mach_imgact()
1463 if (!grade_binary(imgp->ip_origcputype, imgp->ip_origcpusubtype & ~CPU_SUBTYPE_MASK, in exec_mach_imgact()
1469 if (validate_potential_simulator_binary(imgp->ip_origcputype, imgp, in exec_mach_imgact()
1585 p->p_cputype = imgp->ip_origcputype; in exec_mach_imgact()
[all …]
H A Dmach_loader.c3118 if (imgp->ip_origcputype == CPU_TYPE_X86_64) { in load_rosetta()
3120 } else if (imgp->ip_origcputype == CPU_TYPE_ARM64) { in load_rosetta()
3151 if (imgp->ip_origcputype == CPU_TYPE_X86_64) { in load_rosetta()
/xnu-11417.101.15/security/
H A Dmac_vfs.c1314 cpu_type_t cpu_type = (imgp == NULL) ? CPU_TYPE_ANY : imgp->ip_origcputype; in mac_vnode_check_signature()