Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/sys/
H A Dimgact.h83 cpu_type_t ip_origcputype; /* cputype of invocation file */ member
/xnu-11417.140.69/bsd/kern/
H A Dkern_exec.c618 if (imgp->ip_origcputype != 0) { in exec_shell_imgact()
777 if (imgp->ip_origcputype != 0) { in exec_fat_imgact()
867 imgp->ip_origcputype = fat_arch.cputype; in exec_fat_imgact()
1257 if (imgp->ip_origcputype != 0) { in exec_mach_imgact()
1259 if (imgp->ip_origcputype != mach_header->cputype || in exec_mach_imgact()
1265 imgp->ip_origcputype = mach_header->cputype; in exec_mach_imgact()
1298 imgp->ip_origcputype, imgp->ip_origcpusubtype)) { in exec_mach_imgact()
1306 if (!grade_binary(imgp->ip_origcputype, imgp->ip_origcpusubtype & ~CPU_SUBTYPE_MASK, in exec_mach_imgact()
1312 if (validate_potential_simulator_binary(imgp->ip_origcputype, imgp, in exec_mach_imgact()
1428 p->p_cputype = imgp->ip_origcputype; in exec_mach_imgact()
[all …]
H A Dmach_loader.c3125 if (imgp->ip_origcputype == CPU_TYPE_X86_64) { in load_rosetta()
3127 } else if (imgp->ip_origcputype == CPU_TYPE_ARM64) { in load_rosetta()
3158 if (imgp->ip_origcputype == CPU_TYPE_X86_64) { in load_rosetta()
/xnu-11417.140.69/security/
H A Dmac_vfs.c1314 cpu_type_t cpu_type = (imgp == NULL) ? CPU_TYPE_ANY : imgp->ip_origcputype; in mac_vnode_check_signature()