]> git.saurik.com Git - apple/xnu.git/blobdiff - EXTERNAL_HEADERS/mach-o/loader.h
xnu-1699.22.73.tar.gz
[apple/xnu.git] / EXTERNAL_HEADERS / mach-o / loader.h
index b00ac7a672ffcf48f0b5c7c1e315500be3b26006..9fecf2b4af6fd41202c1fd680bb2c1de83fa78ae 100644 (file)
@@ -197,6 +197,12 @@ struct mach_header_64 {
                                           load the main executable at a
                                           random address.  Only used in
                                           MH_EXECUTE filetypes. */
+#define MH_NO_HEAP_EXECUTION 0x1000000 /* When this bit is set, the OS will
+                                          run the main executable with
+                                          a non-executable heap even on
+                                          platforms (e.g. i386) that don't
+                                          require it. Only used in MH_EXECUTE
+                                          filetypes. */
 
 /*
  * The load commands directly follow the mach_header.  The total size of all