]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/task.defs
xnu-4570.1.46.tar.gz
[apple/xnu.git] / osfmk / mach / task.defs
index a60622e5bea6fe454a64a30c20d571da81d1dd83..5ac64e7d5281097ec0ebad2e29a101a7780e306a 100644 (file)
@@ -118,11 +118,18 @@ routine   mach_ports_lookup(
 /*
  *      Returns information about the target task.
  */
+#ifdef KERNEL_SERVER
+routine task_info_from_user(
+                target_task     : mach_port_t;
+                flavor          : task_flavor_t;
+        out     task_info_out   : task_info_t, CountInOut);
+#else
 routine task_info(
                 target_task     : task_name_t;
                 flavor          : task_flavor_t;
         out     task_info_out   : task_info_t, CountInOut);
 
+#endif
 /*
  * Set task information.
  */
@@ -492,5 +499,10 @@ routine task_map_corpse_info_64(
        out     kcd_addr_begin  :mach_vm_address_t;
        out     kcd_size        :mach_vm_size_t);
 
+routine task_inspect(
+           task     : task_inspect_t;
+           flavor   : task_inspect_flavor_t;
+       out info_out : task_inspect_info_t, CountInOut);
+
 /* vim: set ft=c : */