]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/task_special_ports.h
xnu-792.10.96.tar.gz
[apple/xnu.git] / osfmk / mach / task_special_ports.h
index b3384f50e1352762cc9834e6a5598010af82981a..9596805d893b6dc251e7be82d3cf6d80428cd390 100644 (file)
@@ -61,8 +61,6 @@
 #ifndef        _MACH_TASK_SPECIAL_PORTS_H_
 #define _MACH_TASK_SPECIAL_PORTS_H_
 
-#include <sys/appleapiopts.h>
-
 typedef        int     task_special_port_t;
 
 #define TASK_KERNEL_PORT       1       /* Represents task to the outside
@@ -70,9 +68,13 @@ typedef      int     task_special_port_t;
 
 #define TASK_HOST_PORT         2       /* The host (priv) port for task.  */
 
+#define TASK_NAME_PORT         3       /* the name (unpriv) port for task */
+
 #define TASK_BOOTSTRAP_PORT    4       /* Bootstrap environment for task. */
 
-#ifdef  __APPLE_API_EVOLVING
+/*
+ * Evolving and likely to change.
+ */
 
 #define TASK_WIRED_LEDGER_PORT 5       /* Wired resource ledger for task. */
 
@@ -90,8 +92,6 @@ typedef       int     task_special_port_t;
 #define task_set_paged_ledger_port(task, port) \
                (task_set_special_port((task), TASK_PAGED_LEDGER_PORT, (port)))
 
-#endif  /* __APPLE_API_EVOLVING */
-
 /*
  *     Definitions for ease of use
  */