X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..d26ffc64f583ab2d29df48f13518685602bc8832:/bsd/kern/mach_loader.h?ds=sidebyside diff --git a/bsd/kern/mach_loader.h b/bsd/kern/mach_loader.h index 760ea45d9..b564d1201 100644 --- a/bsd/kern/mach_loader.h +++ b/bsd/kern/mach_loader.h @@ -63,6 +63,7 @@ typedef struct _load_result { mach_vm_address_t all_image_info_addr; mach_vm_size_t all_image_info_size; + int thread_count; unsigned int /* boolean_t */ unixproc :1, @@ -103,5 +104,7 @@ load_return_t load_machfile( #define LOAD_IOERROR 9 /* IO error */ #define LOAD_DECRYPTFAIL 10 /* FP decrypt failure */ #define LOAD_BADMACHO_UPX 11 /* malformed mach-o file */ +#define LOAD_BADARCH_X86 12 /* -no32exec boot-arg + attempted load + of 32bit x86 binary */ #endif /* _BSD_KERN_MACH_LOADER_H_ */