*/
#define POSIX_SPAWN_SETEXEC 0x0040
#define POSIX_SPAWN_START_SUSPENDED 0x0080
+#ifdef PRIVATE
+#define _POSIX_SPAWN_DISABLE_ASLR 0x0100
+/* unused 0x0200 */
+/* for compat sake */
+#define POSIX_SPAWN_OSX_TALAPP_START 0x0400
+#define POSIX_SPAWN_OSX_WIDGET_START 0x0800
+#define POSIX_SPAWN_OSX_DBCLIENT_START 0x0800 /* not a bug, same as widget just rename */
+#define POSIX_SPAWN_OSX_RESVAPP_START 0x1000 /* reserved for app start usages */
+#define _POSIX_SPAWN_ALLOW_DATA_EXEC 0x2000
+#endif /* PRIVATE */
+#define POSIX_SPAWN_CLOEXEC_DEFAULT 0x4000
+
+/*
+ * Possible values to be set for the process control actions on resource starvation.
+ * POSIX_SPAWN_PCONTROL_THROTTLE indicates that the process is to be throttled on starvation.
+ * POSIX_SPAWN_PCONTROL_SUSPEND indicates that the process is to be suspended on starvation.
+ * POSIX_SPAWN_PCONTROL_KILL indicates that the process is to be terminated on starvation.
+ */
+#define POSIX_SPAWN_PCONTROL_NONE 0x0000
+#define POSIX_SPAWN_PCONTROL_THROTTLE 0x0001
+#define POSIX_SPAWN_PCONTROL_SUSPEND 0x0002
+#define POSIX_SPAWN_PCONTROL_KILL 0x0003
#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */