1#ifndef _task_server_
2#define _task_server_
3
4/* Module task */
5
6#include <string.h>
7#include <mach/ndr.h>
8#include <mach/boolean.h>
9#include <mach/kern_return.h>
10#include <mach/notify.h>
11#include <mach/mach_types.h>
12#include <mach/message.h>
13#include <mach/mig_errors.h>
14#include <mach/port.h>
15
16/* BEGIN MIG_STRNCPY_ZEROFILL CODE */
17
18#if defined(__has_include)
19#if __has_include(<mach/mig_strncpy_zerofill_support.h>)
20#ifndef USING_MIG_STRNCPY_ZEROFILL
21#define USING_MIG_STRNCPY_ZEROFILL
22#endif
23#ifndef __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__
24#define __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__
25#ifdef __cplusplus
26extern "C" {
27#endif
28#ifndef __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS_CSTRING_ATTR
29#define __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS_CSTRING_COUNTEDBY_ATTR(C) __unsafe_indexable
30#endif
31 extern int mig_strncpy_zerofill(char * dest, const char * src, int len) __attribute__((weak_import));
32#ifdef __cplusplus
33}
34#endif
35#endif /* __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__ */
36#endif /* __has_include(<mach/mig_strncpy_zerofill_support.h>) */
37#endif /* __has_include */
38
39/* END MIG_STRNCPY_ZEROFILL CODE */
40
41
42#ifdef AUTOTEST
43#ifndef FUNCTION_PTR_T
44#define FUNCTION_PTR_T
45typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);
46typedef struct {
47 char * name;
48 function_ptr_t function;
49} function_table_entry;
50typedef function_table_entry *function_table_t;
51#endif /* FUNCTION_PTR_T */
52#endif /* AUTOTEST */
53
54#ifndef task_MSG_COUNT
55#define task_MSG_COUNT 65
56#endif /* task_MSG_COUNT */
57
58#include <Availability.h>
59#include <mach/std_types.h>
60#include <mach/mig.h>
61#include <ipc/ipc_voucher.h>
62#include <kern/ipc_kobject.h>
63#include <kern/ipc_tt.h>
64#include <kern/ipc_host.h>
65#include <kern/ledger.h>
66#include <kern/processor.h>
67#include <kern/sync_sema.h>
68#include <ipc/ipc_eventlink.h>
69#include <vm/memory_object.h>
70#include <vm/vm_map.h>
71#include <kern/arcade.h>
72#include <kern/ipc_mig.h>
73#include <kern/task_ident.h>
74#include <kern/kern_cdata.h>
75#include <mach/mig.h>
76#include <mach/mach_types.h>
77#include <mach_debug/mach_debug_types.h>
78
79#ifdef __BeforeMigServerHeader
80__BeforeMigServerHeader
81#endif /* __BeforeMigServerHeader */
82
83#ifndef MIG_SERVER_ROUTINE
84#define MIG_SERVER_ROUTINE
85#endif
86
87
88/* Routine task_terminate */
89#ifdef mig_external
90mig_external
91#else
92extern
93#endif /* mig_external */
94MIG_SERVER_ROUTINE
95kern_return_t task_terminate
96(
97 task_t target_task
98);
99
100/* Routine task_threads_from_user */
101#ifdef mig_external
102mig_external
103#else
104extern
105#endif /* mig_external */
106MIG_SERVER_ROUTINE
107kern_return_t task_threads_from_user
108(
109 mach_port_t port,
110 thread_act_array_t *act_list,
111 mach_msg_type_number_t *act_listCnt
112);
113
114/* Routine mach_ports_register */
115#ifdef mig_external
116mig_external
117#else
118extern
119#endif /* mig_external */
120MIG_SERVER_ROUTINE
121kern_return_t mach_ports_register
122(
123 task_t target_task,
124 mach_port_array_t init_port_set,
125 mach_msg_type_number_t init_port_setCnt
126);
127
128/* Routine mach_ports_lookup */
129#ifdef mig_external
130mig_external
131#else
132extern
133#endif /* mig_external */
134MIG_SERVER_ROUTINE
135kern_return_t mach_ports_lookup
136(
137 task_t target_task,
138 mach_port_array_t *init_port_set,
139 mach_msg_type_number_t *init_port_setCnt
140);
141
142/* Routine task_info_from_user */
143#ifdef mig_external
144mig_external
145#else
146extern
147#endif /* mig_external */
148MIG_SERVER_ROUTINE
149kern_return_t task_info_from_user
150(
151 mach_port_t target_task,
152 task_flavor_t flavor,
153 task_info_t task_info_out,
154 mach_msg_type_number_t *task_info_outCnt
155);
156
157/* Routine task_set_info */
158#ifdef mig_external
159mig_external
160#else
161extern
162#endif /* mig_external */
163MIG_SERVER_ROUTINE
164kern_return_t task_set_info
165(
166 task_t target_task,
167 task_flavor_t flavor,
168 task_info_t task_info_in,
169 mach_msg_type_number_t task_info_inCnt
170);
171
172/* Routine task_suspend */
173#ifdef mig_external
174mig_external
175#else
176extern
177#endif /* mig_external */
178MIG_SERVER_ROUTINE
179kern_return_t task_suspend
180(
181 task_read_t target_task
182);
183
184/* Routine task_resume */
185#ifdef mig_external
186mig_external
187#else
188extern
189#endif /* mig_external */
190MIG_SERVER_ROUTINE
191kern_return_t task_resume
192(
193 task_read_t target_task
194);
195
196/* Routine task_get_special_port_from_user */
197#ifdef mig_external
198mig_external
199#else
200extern
201#endif /* mig_external */
202MIG_SERVER_ROUTINE
203kern_return_t task_get_special_port_from_user
204(
205 mach_port_t port,
206 int which_port,
207 mach_port_t *special_port
208);
209
210/* Routine task_set_special_port_from_user */
211#ifdef mig_external
212mig_external
213#else
214extern
215#endif /* mig_external */
216MIG_SERVER_ROUTINE
217kern_return_t task_set_special_port_from_user
218(
219 task_t task,
220 int which_port,
221 mach_port_t special_port
222);
223
224/* Routine thread_create_from_user */
225#ifdef mig_external
226mig_external
227#else
228extern
229#endif /* mig_external */
230MIG_SERVER_ROUTINE
231kern_return_t thread_create_from_user
232(
233 task_t parent_task,
234 thread_act_t *child_act
235);
236
237/* Routine thread_create_running_from_user */
238#ifdef mig_external
239mig_external
240#else
241extern
242#endif /* mig_external */
243MIG_SERVER_ROUTINE
244kern_return_t thread_create_running_from_user
245(
246 task_t parent_task,
247 thread_state_flavor_t flavor,
248 thread_state_t new_state,
249 mach_msg_type_number_t new_stateCnt,
250 thread_act_t *child_act
251);
252
253/* Routine task_set_exception_ports */
254#ifdef mig_external
255mig_external
256#else
257extern
258#endif /* mig_external */
259MIG_SERVER_ROUTINE
260kern_return_t task_set_exception_ports
261(
262 task_t task,
263 exception_mask_t exception_mask,
264 mach_port_t new_port,
265 exception_behavior_t behavior,
266 thread_state_flavor_t new_flavor
267);
268
269/* Routine task_get_exception_ports_from_user */
270#ifdef mig_external
271mig_external
272#else
273extern
274#endif /* mig_external */
275MIG_SERVER_ROUTINE
276kern_return_t task_get_exception_ports_from_user
277(
278 mach_port_t port,
279 exception_mask_t exception_mask,
280 exception_mask_array_t masks,
281 mach_msg_type_number_t *masksCnt,
282 exception_handler_array_t old_handlers,
283 exception_behavior_array_t old_behaviors,
284 exception_flavor_array_t old_flavors
285);
286
287/* Routine task_swap_exception_ports */
288#ifdef mig_external
289mig_external
290#else
291extern
292#endif /* mig_external */
293MIG_SERVER_ROUTINE
294kern_return_t task_swap_exception_ports
295(
296 task_t task,
297 exception_mask_t exception_mask,
298 mach_port_t new_port,
299 exception_behavior_t behavior,
300 thread_state_flavor_t new_flavor,
301 exception_mask_array_t masks,
302 mach_msg_type_number_t *masksCnt,
303 exception_handler_array_t old_handlers,
304 exception_behavior_array_t old_behaviors,
305 exception_flavor_array_t old_flavors
306);
307
308/* Routine semaphore_create */
309#ifdef mig_external
310mig_external
311#else
312extern
313#endif /* mig_external */
314MIG_SERVER_ROUTINE
315kern_return_t semaphore_create
316(
317 task_t task,
318 semaphore_t *semaphore,
319 int policy,
320 int value
321);
322
323/* Routine semaphore_destroy */
324#ifdef mig_external
325mig_external
326#else
327extern
328#endif /* mig_external */
329MIG_SERVER_ROUTINE
330kern_return_t semaphore_destroy
331(
332 task_t task,
333 semaphore_t semaphore
334);
335
336/* Routine task_policy_set */
337#ifdef mig_external
338mig_external
339#else
340extern
341#endif /* mig_external */
342MIG_SERVER_ROUTINE
343kern_return_t task_policy_set
344(
345 task_policy_set_t task,
346 task_policy_flavor_t flavor,
347 task_policy_t policy_info,
348 mach_msg_type_number_t policy_infoCnt
349);
350
351/* Routine task_policy_get */
352#ifdef mig_external
353mig_external
354#else
355extern
356#endif /* mig_external */
357MIG_SERVER_ROUTINE
358kern_return_t task_policy_get
359(
360 task_policy_get_t task,
361 task_policy_flavor_t flavor,
362 task_policy_t policy_info,
363 mach_msg_type_number_t *policy_infoCnt,
364 boolean_t *get_default
365);
366
367/* Routine task_get_state */
368#ifdef mig_external
369mig_external
370#else
371extern
372#endif /* mig_external */
373MIG_SERVER_ROUTINE
374kern_return_t task_get_state
375(
376 task_read_t task,
377 thread_state_flavor_t flavor,
378 thread_state_t old_state,
379 mach_msg_type_number_t *old_stateCnt
380);
381
382/* Routine task_set_state */
383#ifdef mig_external
384mig_external
385#else
386extern
387#endif /* mig_external */
388MIG_SERVER_ROUTINE
389kern_return_t task_set_state
390(
391 task_t task,
392 thread_state_flavor_t flavor,
393 thread_state_t new_state,
394 mach_msg_type_number_t new_stateCnt
395);
396
397/* Routine task_set_phys_footprint_limit */
398#ifdef mig_external
399mig_external
400#else
401extern
402#endif /* mig_external */
403MIG_SERVER_ROUTINE
404kern_return_t task_set_phys_footprint_limit
405(
406 task_t task,
407 int new_limit,
408 int *old_limit
409);
410
411/* Routine task_suspend2_mig */
412#ifdef mig_external
413mig_external
414#else
415extern
416#endif /* mig_external */
417MIG_SERVER_ROUTINE
418kern_return_t task_suspend2_mig
419(
420 task_read_t target_task,
421 task_suspension_token_t *suspend_token
422);
423
424/* Routine task_resume2_mig */
425#ifdef mig_external
426mig_external
427#else
428extern
429#endif /* mig_external */
430MIG_SERVER_ROUTINE
431kern_return_t task_resume2_mig
432(
433 task_suspension_token_t suspend_token
434);
435
436/* Routine task_purgable_info */
437#ifdef mig_external
438mig_external
439#else
440extern
441#endif /* mig_external */
442MIG_SERVER_ROUTINE
443kern_return_t task_purgable_info
444(
445 task_inspect_t task,
446 task_purgable_info_t *stats
447);
448
449/* Routine task_get_mach_voucher */
450#ifdef mig_external
451mig_external
452#else
453extern
454#endif /* mig_external */
455MIG_SERVER_ROUTINE
456kern_return_t task_get_mach_voucher
457(
458 task_read_t task,
459 mach_voucher_selector_t which,
460 ipc_voucher_t *voucher
461);
462
463/* Routine task_set_mach_voucher */
464#ifdef mig_external
465mig_external
466#else
467extern
468#endif /* mig_external */
469MIG_SERVER_ROUTINE
470kern_return_t task_set_mach_voucher
471(
472 task_t task,
473 ipc_voucher_t voucher
474);
475
476/* Routine task_swap_mach_voucher */
477#ifdef mig_external
478mig_external
479#else
480extern
481#endif /* mig_external */
482MIG_SERVER_ROUTINE
483kern_return_t task_swap_mach_voucher
484(
485 task_t task,
486 ipc_voucher_t new_voucher,
487 ipc_voucher_t *old_voucher
488);
489
490/* Routine task_generate_corpse */
491#ifdef mig_external
492mig_external
493#else
494extern
495#endif /* mig_external */
496MIG_SERVER_ROUTINE
497kern_return_t task_generate_corpse
498(
499 task_read_t task,
500 mach_port_t *corpse_task_port
501);
502
503/* Routine task_map_corpse_info */
504#ifdef mig_external
505mig_external
506#else
507extern
508#endif /* mig_external */
509MIG_SERVER_ROUTINE
510kern_return_t task_map_corpse_info
511(
512 task_t task,
513 task_read_t corspe_task,
514 vm_address_t *kcd_addr_begin,
515 uint32_t *kcd_size
516);
517
518/* Routine task_register_dyld_image_infos */
519#ifdef mig_external
520mig_external
521#else
522extern
523#endif /* mig_external */
524MIG_SERVER_ROUTINE
525kern_return_t task_register_dyld_image_infos
526(
527 task_t task,
528 dyld_kernel_image_info_array_t dyld_images,
529 mach_msg_type_number_t dyld_imagesCnt
530);
531
532/* Routine task_unregister_dyld_image_infos */
533#ifdef mig_external
534mig_external
535#else
536extern
537#endif /* mig_external */
538MIG_SERVER_ROUTINE
539kern_return_t task_unregister_dyld_image_infos
540(
541 task_t task,
542 dyld_kernel_image_info_array_t dyld_images,
543 mach_msg_type_number_t dyld_imagesCnt
544);
545
546/* Routine task_get_dyld_image_infos */
547#ifdef mig_external
548mig_external
549#else
550extern
551#endif /* mig_external */
552MIG_SERVER_ROUTINE
553kern_return_t task_get_dyld_image_infos
554(
555 task_read_t task,
556 dyld_kernel_image_info_array_t *dyld_images,
557 mach_msg_type_number_t *dyld_imagesCnt
558);
559
560/* Routine task_register_dyld_shared_cache_image_info */
561#ifdef mig_external
562mig_external
563#else
564extern
565#endif /* mig_external */
566MIG_SERVER_ROUTINE
567kern_return_t task_register_dyld_shared_cache_image_info
568(
569 task_t task,
570 dyld_kernel_image_info_t dyld_cache_image,
571 boolean_t no_cache,
572 boolean_t private_cache
573);
574
575/* Routine task_register_dyld_set_dyld_state */
576#ifdef mig_external
577mig_external
578#else
579extern
580#endif /* mig_external */
581MIG_SERVER_ROUTINE
582kern_return_t task_register_dyld_set_dyld_state
583(
584 task_t task,
585 uint8_t dyld_state
586);
587
588/* Routine task_register_dyld_get_process_state */
589#ifdef mig_external
590mig_external
591#else
592extern
593#endif /* mig_external */
594MIG_SERVER_ROUTINE
595kern_return_t task_register_dyld_get_process_state
596(
597 task_t task,
598 dyld_kernel_process_info_t *dyld_process_state
599);
600
601/* Routine task_map_corpse_info_64 */
602#ifdef mig_external
603mig_external
604#else
605extern
606#endif /* mig_external */
607MIG_SERVER_ROUTINE
608kern_return_t task_map_corpse_info_64
609(
610 task_t task,
611 task_read_t corspe_task,
612 mach_vm_address_t *kcd_addr_begin,
613 mach_vm_size_t *kcd_size
614);
615
616/* Routine task_inspect */
617#ifdef mig_external
618mig_external
619#else
620extern
621#endif /* mig_external */
622MIG_SERVER_ROUTINE
623kern_return_t task_inspect
624(
625 task_inspect_t task,
626 task_inspect_flavor_t flavor,
627 task_inspect_info_t info_out,
628 mach_msg_type_number_t *info_outCnt
629);
630
631/* Routine task_get_exc_guard_behavior */
632#ifdef mig_external
633mig_external
634#else
635extern
636#endif /* mig_external */
637MIG_SERVER_ROUTINE
638kern_return_t task_get_exc_guard_behavior
639(
640 task_inspect_t task,
641 task_exc_guard_behavior_t *behavior
642);
643
644/* Routine task_set_exc_guard_behavior */
645#ifdef mig_external
646mig_external
647#else
648extern
649#endif /* mig_external */
650MIG_SERVER_ROUTINE
651kern_return_t task_set_exc_guard_behavior
652(
653 task_t task,
654 task_exc_guard_behavior_t behavior
655);
656
657/* Routine mach_task_is_self */
658#ifdef mig_external
659mig_external
660#else
661extern
662#endif /* mig_external */
663MIG_SERVER_ROUTINE
664kern_return_t mach_task_is_self
665(
666 task_name_t task,
667 boolean_t *is_self
668);
669
670/* Routine task_dyld_process_info_notify_register */
671#ifdef mig_external
672mig_external
673#else
674extern
675#endif /* mig_external */
676MIG_SERVER_ROUTINE
677kern_return_t task_dyld_process_info_notify_register
678(
679 task_read_t target_task,
680 mach_port_t notify
681);
682
683/* Routine task_create_identity_token */
684#ifdef mig_external
685mig_external
686#else
687extern
688#endif /* mig_external */
689MIG_SERVER_ROUTINE
690kern_return_t task_create_identity_token
691(
692 task_t task,
693 task_id_token_t *token
694);
695
696/* Routine task_identity_token_get_task_port */
697#ifdef mig_external
698mig_external
699#else
700extern
701#endif /* mig_external */
702MIG_SERVER_ROUTINE
703kern_return_t task_identity_token_get_task_port
704(
705 task_id_token_t token,
706 task_flavor_t flavor,
707 mach_port_t *task_port
708);
709
710/* Routine task_dyld_process_info_notify_deregister */
711#ifdef mig_external
712mig_external
713#else
714extern
715#endif /* mig_external */
716MIG_SERVER_ROUTINE
717kern_return_t task_dyld_process_info_notify_deregister
718(
719 task_read_t target_task,
720 mach_port_name_t notify
721);
722
723/* Routine task_get_exception_ports_info */
724#ifdef mig_external
725mig_external
726#else
727extern
728#endif /* mig_external */
729MIG_SERVER_ROUTINE
730kern_return_t task_get_exception_ports_info
731(
732 mach_port_t port,
733 exception_mask_t exception_mask,
734 exception_mask_array_t masks,
735 mach_msg_type_number_t *masksCnt,
736 exception_handler_info_array_t old_handlers_info,
737 exception_behavior_array_t old_behaviors,
738 exception_flavor_array_t old_flavors
739);
740
741/* Routine task_test_sync_upcall */
742#ifdef mig_external
743mig_external
744#else
745extern
746#endif /* mig_external */
747MIG_SERVER_ROUTINE
748kern_return_t task_test_sync_upcall
749(
750 task_t task,
751 mach_port_t port
752);
753
754/* Routine task_set_corpse_forking_behavior */
755#ifdef mig_external
756mig_external
757#else
758extern
759#endif /* mig_external */
760MIG_SERVER_ROUTINE
761kern_return_t task_set_corpse_forking_behavior
762(
763 task_t task,
764 task_corpse_forking_behavior_t behavior
765);
766
767/* Routine task_test_async_upcall_propagation */
768#ifdef mig_external
769mig_external
770#else
771extern
772#endif /* mig_external */
773MIG_SERVER_ROUTINE
774kern_return_t task_test_async_upcall_propagation
775(
776 task_t task,
777 mach_port_t port,
778 int qos,
779 int iotier
780);
781
782/* Routine task_map_kcdata_object_64 */
783#ifdef mig_external
784mig_external
785#else
786extern
787#endif /* mig_external */
788MIG_SERVER_ROUTINE
789kern_return_t task_map_kcdata_object_64
790(
791 task_t task,
792 kcdata_object_t kcdata_object,
793 mach_vm_address_t *kcd_addr_begin,
794 mach_vm_size_t *kcd_size
795);
796
797#ifdef mig_external
798mig_external
799#else
800extern
801#endif /* mig_external */
802boolean_t task_server(
803 mach_msg_header_t *InHeadP,
804 void *InDataP,
805 mach_msg_max_trailer_t *InTrailerP,
806 mach_msg_header_t *OutHeadP,
807 void *OutDataP);
808
809#ifdef mig_external
810mig_external
811#else
812extern
813#endif /* mig_external */
814mig_kern_routine_t task_server_routine(
815 mach_msg_header_t *InHeadP);
816
817
818/* Description of this kernel subsystem, for use in direct RPC */
819extern const struct task_subsystem {
820 mig_kern_server_routine_t kserver; /* Server routine */
821 mach_msg_id_t start; /* Min routine number */
822 mach_msg_id_t end; /* Max routine number + 1 */
823 unsigned int maxsize; /* Max msg size */
824 vm_address_t reserved; /* Reserved */
825 struct kern_routine_descriptor /* Array of routine descriptors */
826 kroutine[65];
827} task_subsystem;
828
829/* typedefs for all requests */
830
831#ifndef __Request__task_subsystem__defined
832#define __Request__task_subsystem__defined
833
834#ifdef __MigPackStructs
835#pragma pack(push, 4)
836#endif
837 typedef struct {
838 mach_msg_header_t Head;
839 } __Request__task_terminate_t __attribute__((unused));
840#ifdef __MigPackStructs
841#pragma pack(pop)
842#endif
843/* Struct for kernel processed data (Header + Descriptors) */
844#ifdef __MigPackStructs
845#pragma pack(push, 4)
846#endif
847 typedef struct {
848 mach_msg_header_t Head;
849 } __RequestKData__task_terminate_t __attribute__((unused));
850#ifdef __MigPackStructs
851#pragma pack(pop)
852#endif
853/* Struct for pure user data */
854#ifdef __MigPackStructs
855#pragma pack(push, 4)
856#endif
857 typedef struct {
858 char padding[0]; /* Avoid generating empty UData structs */
859 } __RequestUData__task_terminate_t __attribute__((unused));
860#ifdef __MigPackStructs
861#pragma pack(pop)
862#endif
863
864#ifdef __MigPackStructs
865#pragma pack(push, 4)
866#endif
867 typedef struct {
868 mach_msg_header_t Head;
869 } __Request__task_threads_from_user_t __attribute__((unused));
870#ifdef __MigPackStructs
871#pragma pack(pop)
872#endif
873/* Struct for kernel processed data (Header + Descriptors) */
874#ifdef __MigPackStructs
875#pragma pack(push, 4)
876#endif
877 typedef struct {
878 mach_msg_header_t Head;
879 } __RequestKData__task_threads_from_user_t __attribute__((unused));
880#ifdef __MigPackStructs
881#pragma pack(pop)
882#endif
883/* Struct for pure user data */
884#ifdef __MigPackStructs
885#pragma pack(push, 4)
886#endif
887 typedef struct {
888 char padding[0]; /* Avoid generating empty UData structs */
889 } __RequestUData__task_threads_from_user_t __attribute__((unused));
890#ifdef __MigPackStructs
891#pragma pack(pop)
892#endif
893
894#ifdef __MigPackStructs
895#pragma pack(push, 4)
896#endif
897 typedef struct {
898 mach_msg_header_t Head;
899 /* start of the kernel processed data */
900 mach_msg_body_t msgh_body;
901 mach_msg_ool_ports_descriptor_t init_port_set;
902 /* end of the kernel processed data */
903 NDR_record_t NDR;
904 mach_msg_type_number_t init_port_setCnt;
905 } __Request__mach_ports_register_t __attribute__((unused));
906#ifdef __MigPackStructs
907#pragma pack(pop)
908#endif
909/* Struct for kernel processed data (Header + Descriptors) */
910#ifdef __MigPackStructs
911#pragma pack(push, 4)
912#endif
913 typedef struct {
914 mach_msg_header_t Head;
915 mach_msg_body_t msgh_body;
916 mach_msg_ool_ports_descriptor_t init_port_set;
917 } __RequestKData__mach_ports_register_t __attribute__((unused));
918#ifdef __MigPackStructs
919#pragma pack(pop)
920#endif
921/* Struct for pure user data */
922#ifdef __MigPackStructs
923#pragma pack(push, 4)
924#endif
925 typedef struct {
926 NDR_record_t NDR;
927 mach_msg_type_number_t init_port_setCnt;
928 char padding[0]; /* Avoid generating empty UData structs */
929 } __RequestUData__mach_ports_register_t __attribute__((unused));
930#ifdef __MigPackStructs
931#pragma pack(pop)
932#endif
933
934#ifdef __MigPackStructs
935#pragma pack(push, 4)
936#endif
937 typedef struct {
938 mach_msg_header_t Head;
939 } __Request__mach_ports_lookup_t __attribute__((unused));
940#ifdef __MigPackStructs
941#pragma pack(pop)
942#endif
943/* Struct for kernel processed data (Header + Descriptors) */
944#ifdef __MigPackStructs
945#pragma pack(push, 4)
946#endif
947 typedef struct {
948 mach_msg_header_t Head;
949 } __RequestKData__mach_ports_lookup_t __attribute__((unused));
950#ifdef __MigPackStructs
951#pragma pack(pop)
952#endif
953/* Struct for pure user data */
954#ifdef __MigPackStructs
955#pragma pack(push, 4)
956#endif
957 typedef struct {
958 char padding[0]; /* Avoid generating empty UData structs */
959 } __RequestUData__mach_ports_lookup_t __attribute__((unused));
960#ifdef __MigPackStructs
961#pragma pack(pop)
962#endif
963
964#ifdef __MigPackStructs
965#pragma pack(push, 4)
966#endif
967 typedef struct {
968 mach_msg_header_t Head;
969 NDR_record_t NDR;
970 task_flavor_t flavor;
971 mach_msg_type_number_t task_info_outCnt;
972 } __Request__task_info_from_user_t __attribute__((unused));
973#ifdef __MigPackStructs
974#pragma pack(pop)
975#endif
976/* Struct for kernel processed data (Header + Descriptors) */
977#ifdef __MigPackStructs
978#pragma pack(push, 4)
979#endif
980 typedef struct {
981 mach_msg_header_t Head;
982 } __RequestKData__task_info_from_user_t __attribute__((unused));
983#ifdef __MigPackStructs
984#pragma pack(pop)
985#endif
986/* Struct for pure user data */
987#ifdef __MigPackStructs
988#pragma pack(push, 4)
989#endif
990 typedef struct {
991 NDR_record_t NDR;
992 task_flavor_t flavor;
993 mach_msg_type_number_t task_info_outCnt;
994 char padding[0]; /* Avoid generating empty UData structs */
995 } __RequestUData__task_info_from_user_t __attribute__((unused));
996#ifdef __MigPackStructs
997#pragma pack(pop)
998#endif
999
1000#ifdef __MigPackStructs
1001#pragma pack(push, 4)
1002#endif
1003 typedef struct {
1004 mach_msg_header_t Head;
1005 NDR_record_t NDR;
1006 task_flavor_t flavor;
1007 mach_msg_type_number_t task_info_inCnt;
1008 integer_t task_info_in[90];
1009 } __Request__task_set_info_t __attribute__((unused));
1010#ifdef __MigPackStructs
1011#pragma pack(pop)
1012#endif
1013/* Struct for kernel processed data (Header + Descriptors) */
1014#ifdef __MigPackStructs
1015#pragma pack(push, 4)
1016#endif
1017 typedef struct {
1018 mach_msg_header_t Head;
1019 } __RequestKData__task_set_info_t __attribute__((unused));
1020#ifdef __MigPackStructs
1021#pragma pack(pop)
1022#endif
1023/* Struct for pure user data */
1024#ifdef __MigPackStructs
1025#pragma pack(push, 4)
1026#endif
1027 typedef struct {
1028 NDR_record_t NDR;
1029 task_flavor_t flavor;
1030 mach_msg_type_number_t task_info_inCnt;
1031 integer_t task_info_in[90];
1032 char padding[0]; /* Avoid generating empty UData structs */
1033 } __RequestUData__task_set_info_t __attribute__((unused));
1034#ifdef __MigPackStructs
1035#pragma pack(pop)
1036#endif
1037
1038#ifdef __MigPackStructs
1039#pragma pack(push, 4)
1040#endif
1041 typedef struct {
1042 mach_msg_header_t Head;
1043 } __Request__task_suspend_t __attribute__((unused));
1044#ifdef __MigPackStructs
1045#pragma pack(pop)
1046#endif
1047/* Struct for kernel processed data (Header + Descriptors) */
1048#ifdef __MigPackStructs
1049#pragma pack(push, 4)
1050#endif
1051 typedef struct {
1052 mach_msg_header_t Head;
1053 } __RequestKData__task_suspend_t __attribute__((unused));
1054#ifdef __MigPackStructs
1055#pragma pack(pop)
1056#endif
1057/* Struct for pure user data */
1058#ifdef __MigPackStructs
1059#pragma pack(push, 4)
1060#endif
1061 typedef struct {
1062 char padding[0]; /* Avoid generating empty UData structs */
1063 } __RequestUData__task_suspend_t __attribute__((unused));
1064#ifdef __MigPackStructs
1065#pragma pack(pop)
1066#endif
1067
1068#ifdef __MigPackStructs
1069#pragma pack(push, 4)
1070#endif
1071 typedef struct {
1072 mach_msg_header_t Head;
1073 } __Request__task_resume_t __attribute__((unused));
1074#ifdef __MigPackStructs
1075#pragma pack(pop)
1076#endif
1077/* Struct for kernel processed data (Header + Descriptors) */
1078#ifdef __MigPackStructs
1079#pragma pack(push, 4)
1080#endif
1081 typedef struct {
1082 mach_msg_header_t Head;
1083 } __RequestKData__task_resume_t __attribute__((unused));
1084#ifdef __MigPackStructs
1085#pragma pack(pop)
1086#endif
1087/* Struct for pure user data */
1088#ifdef __MigPackStructs
1089#pragma pack(push, 4)
1090#endif
1091 typedef struct {
1092 char padding[0]; /* Avoid generating empty UData structs */
1093 } __RequestUData__task_resume_t __attribute__((unused));
1094#ifdef __MigPackStructs
1095#pragma pack(pop)
1096#endif
1097
1098#ifdef __MigPackStructs
1099#pragma pack(push, 4)
1100#endif
1101 typedef struct {
1102 mach_msg_header_t Head;
1103 NDR_record_t NDR;
1104 int which_port;
1105 } __Request__task_get_special_port_from_user_t __attribute__((unused));
1106#ifdef __MigPackStructs
1107#pragma pack(pop)
1108#endif
1109/* Struct for kernel processed data (Header + Descriptors) */
1110#ifdef __MigPackStructs
1111#pragma pack(push, 4)
1112#endif
1113 typedef struct {
1114 mach_msg_header_t Head;
1115 } __RequestKData__task_get_special_port_from_user_t __attribute__((unused));
1116#ifdef __MigPackStructs
1117#pragma pack(pop)
1118#endif
1119/* Struct for pure user data */
1120#ifdef __MigPackStructs
1121#pragma pack(push, 4)
1122#endif
1123 typedef struct {
1124 NDR_record_t NDR;
1125 int which_port;
1126 char padding[0]; /* Avoid generating empty UData structs */
1127 } __RequestUData__task_get_special_port_from_user_t __attribute__((unused));
1128#ifdef __MigPackStructs
1129#pragma pack(pop)
1130#endif
1131
1132#ifdef __MigPackStructs
1133#pragma pack(push, 4)
1134#endif
1135 typedef struct {
1136 mach_msg_header_t Head;
1137 /* start of the kernel processed data */
1138 mach_msg_body_t msgh_body;
1139 mach_msg_port_descriptor_t special_port;
1140 /* end of the kernel processed data */
1141 NDR_record_t NDR;
1142 int which_port;
1143 } __Request__task_set_special_port_from_user_t __attribute__((unused));
1144#ifdef __MigPackStructs
1145#pragma pack(pop)
1146#endif
1147/* Struct for kernel processed data (Header + Descriptors) */
1148#ifdef __MigPackStructs
1149#pragma pack(push, 4)
1150#endif
1151 typedef struct {
1152 mach_msg_header_t Head;
1153 mach_msg_body_t msgh_body;
1154 mach_msg_port_descriptor_t special_port;
1155 } __RequestKData__task_set_special_port_from_user_t __attribute__((unused));
1156#ifdef __MigPackStructs
1157#pragma pack(pop)
1158#endif
1159/* Struct for pure user data */
1160#ifdef __MigPackStructs
1161#pragma pack(push, 4)
1162#endif
1163 typedef struct {
1164 NDR_record_t NDR;
1165 int which_port;
1166 char padding[0]; /* Avoid generating empty UData structs */
1167 } __RequestUData__task_set_special_port_from_user_t __attribute__((unused));
1168#ifdef __MigPackStructs
1169#pragma pack(pop)
1170#endif
1171
1172#ifdef __MigPackStructs
1173#pragma pack(push, 4)
1174#endif
1175 typedef struct {
1176 mach_msg_header_t Head;
1177 } __Request__thread_create_from_user_t __attribute__((unused));
1178#ifdef __MigPackStructs
1179#pragma pack(pop)
1180#endif
1181/* Struct for kernel processed data (Header + Descriptors) */
1182#ifdef __MigPackStructs
1183#pragma pack(push, 4)
1184#endif
1185 typedef struct {
1186 mach_msg_header_t Head;
1187 } __RequestKData__thread_create_from_user_t __attribute__((unused));
1188#ifdef __MigPackStructs
1189#pragma pack(pop)
1190#endif
1191/* Struct for pure user data */
1192#ifdef __MigPackStructs
1193#pragma pack(push, 4)
1194#endif
1195 typedef struct {
1196 char padding[0]; /* Avoid generating empty UData structs */
1197 } __RequestUData__thread_create_from_user_t __attribute__((unused));
1198#ifdef __MigPackStructs
1199#pragma pack(pop)
1200#endif
1201
1202#ifdef __MigPackStructs
1203#pragma pack(push, 4)
1204#endif
1205 typedef struct {
1206 mach_msg_header_t Head;
1207 NDR_record_t NDR;
1208 thread_state_flavor_t flavor;
1209 mach_msg_type_number_t new_stateCnt;
1210 natural_t new_state[1296];
1211 } __Request__thread_create_running_from_user_t __attribute__((unused));
1212#ifdef __MigPackStructs
1213#pragma pack(pop)
1214#endif
1215/* Struct for kernel processed data (Header + Descriptors) */
1216#ifdef __MigPackStructs
1217#pragma pack(push, 4)
1218#endif
1219 typedef struct {
1220 mach_msg_header_t Head;
1221 } __RequestKData__thread_create_running_from_user_t __attribute__((unused));
1222#ifdef __MigPackStructs
1223#pragma pack(pop)
1224#endif
1225/* Struct for pure user data */
1226#ifdef __MigPackStructs
1227#pragma pack(push, 4)
1228#endif
1229 typedef struct {
1230 NDR_record_t NDR;
1231 thread_state_flavor_t flavor;
1232 mach_msg_type_number_t new_stateCnt;
1233 natural_t new_state[1296];
1234 char padding[0]; /* Avoid generating empty UData structs */
1235 } __RequestUData__thread_create_running_from_user_t __attribute__((unused));
1236#ifdef __MigPackStructs
1237#pragma pack(pop)
1238#endif
1239
1240#ifdef __MigPackStructs
1241#pragma pack(push, 4)
1242#endif
1243 typedef struct {
1244 mach_msg_header_t Head;
1245 /* start of the kernel processed data */
1246 mach_msg_body_t msgh_body;
1247 mach_msg_port_descriptor_t new_port;
1248 /* end of the kernel processed data */
1249 NDR_record_t NDR;
1250 exception_mask_t exception_mask;
1251 exception_behavior_t behavior;
1252 thread_state_flavor_t new_flavor;
1253 } __Request__task_set_exception_ports_t __attribute__((unused));
1254#ifdef __MigPackStructs
1255#pragma pack(pop)
1256#endif
1257/* Struct for kernel processed data (Header + Descriptors) */
1258#ifdef __MigPackStructs
1259#pragma pack(push, 4)
1260#endif
1261 typedef struct {
1262 mach_msg_header_t Head;
1263 mach_msg_body_t msgh_body;
1264 mach_msg_port_descriptor_t new_port;
1265 } __RequestKData__task_set_exception_ports_t __attribute__((unused));
1266#ifdef __MigPackStructs
1267#pragma pack(pop)
1268#endif
1269/* Struct for pure user data */
1270#ifdef __MigPackStructs
1271#pragma pack(push, 4)
1272#endif
1273 typedef struct {
1274 NDR_record_t NDR;
1275 exception_mask_t exception_mask;
1276 exception_behavior_t behavior;
1277 thread_state_flavor_t new_flavor;
1278 char padding[0]; /* Avoid generating empty UData structs */
1279 } __RequestUData__task_set_exception_ports_t __attribute__((unused));
1280#ifdef __MigPackStructs
1281#pragma pack(pop)
1282#endif
1283
1284#ifdef __MigPackStructs
1285#pragma pack(push, 4)
1286#endif
1287 typedef struct {
1288 mach_msg_header_t Head;
1289 NDR_record_t NDR;
1290 exception_mask_t exception_mask;
1291 } __Request__task_get_exception_ports_from_user_t __attribute__((unused));
1292#ifdef __MigPackStructs
1293#pragma pack(pop)
1294#endif
1295/* Struct for kernel processed data (Header + Descriptors) */
1296#ifdef __MigPackStructs
1297#pragma pack(push, 4)
1298#endif
1299 typedef struct {
1300 mach_msg_header_t Head;
1301 } __RequestKData__task_get_exception_ports_from_user_t __attribute__((unused));
1302#ifdef __MigPackStructs
1303#pragma pack(pop)
1304#endif
1305/* Struct for pure user data */
1306#ifdef __MigPackStructs
1307#pragma pack(push, 4)
1308#endif
1309 typedef struct {
1310 NDR_record_t NDR;
1311 exception_mask_t exception_mask;
1312 char padding[0]; /* Avoid generating empty UData structs */
1313 } __RequestUData__task_get_exception_ports_from_user_t __attribute__((unused));
1314#ifdef __MigPackStructs
1315#pragma pack(pop)
1316#endif
1317
1318#ifdef __MigPackStructs
1319#pragma pack(push, 4)
1320#endif
1321 typedef struct {
1322 mach_msg_header_t Head;
1323 /* start of the kernel processed data */
1324 mach_msg_body_t msgh_body;
1325 mach_msg_port_descriptor_t new_port;
1326 /* end of the kernel processed data */
1327 NDR_record_t NDR;
1328 exception_mask_t exception_mask;
1329 exception_behavior_t behavior;
1330 thread_state_flavor_t new_flavor;
1331 } __Request__task_swap_exception_ports_t __attribute__((unused));
1332#ifdef __MigPackStructs
1333#pragma pack(pop)
1334#endif
1335/* Struct for kernel processed data (Header + Descriptors) */
1336#ifdef __MigPackStructs
1337#pragma pack(push, 4)
1338#endif
1339 typedef struct {
1340 mach_msg_header_t Head;
1341 mach_msg_body_t msgh_body;
1342 mach_msg_port_descriptor_t new_port;
1343 } __RequestKData__task_swap_exception_ports_t __attribute__((unused));
1344#ifdef __MigPackStructs
1345#pragma pack(pop)
1346#endif
1347/* Struct for pure user data */
1348#ifdef __MigPackStructs
1349#pragma pack(push, 4)
1350#endif
1351 typedef struct {
1352 NDR_record_t NDR;
1353 exception_mask_t exception_mask;
1354 exception_behavior_t behavior;
1355 thread_state_flavor_t new_flavor;
1356 char padding[0]; /* Avoid generating empty UData structs */
1357 } __RequestUData__task_swap_exception_ports_t __attribute__((unused));
1358#ifdef __MigPackStructs
1359#pragma pack(pop)
1360#endif
1361
1362#ifdef __MigPackStructs
1363#pragma pack(push, 4)
1364#endif
1365 typedef struct {
1366 mach_msg_header_t Head;
1367 NDR_record_t NDR;
1368 int policy;
1369 int value;
1370 } __Request__semaphore_create_t __attribute__((unused));
1371#ifdef __MigPackStructs
1372#pragma pack(pop)
1373#endif
1374/* Struct for kernel processed data (Header + Descriptors) */
1375#ifdef __MigPackStructs
1376#pragma pack(push, 4)
1377#endif
1378 typedef struct {
1379 mach_msg_header_t Head;
1380 } __RequestKData__semaphore_create_t __attribute__((unused));
1381#ifdef __MigPackStructs
1382#pragma pack(pop)
1383#endif
1384/* Struct for pure user data */
1385#ifdef __MigPackStructs
1386#pragma pack(push, 4)
1387#endif
1388 typedef struct {
1389 NDR_record_t NDR;
1390 int policy;
1391 int value;
1392 char padding[0]; /* Avoid generating empty UData structs */
1393 } __RequestUData__semaphore_create_t __attribute__((unused));
1394#ifdef __MigPackStructs
1395#pragma pack(pop)
1396#endif
1397
1398#ifdef __MigPackStructs
1399#pragma pack(push, 4)
1400#endif
1401 typedef struct {
1402 mach_msg_header_t Head;
1403 /* start of the kernel processed data */
1404 mach_msg_body_t msgh_body;
1405 mach_msg_port_descriptor_t semaphore;
1406 /* end of the kernel processed data */
1407 } __Request__semaphore_destroy_t __attribute__((unused));
1408#ifdef __MigPackStructs
1409#pragma pack(pop)
1410#endif
1411/* Struct for kernel processed data (Header + Descriptors) */
1412#ifdef __MigPackStructs
1413#pragma pack(push, 4)
1414#endif
1415 typedef struct {
1416 mach_msg_header_t Head;
1417 mach_msg_body_t msgh_body;
1418 mach_msg_port_descriptor_t semaphore;
1419 } __RequestKData__semaphore_destroy_t __attribute__((unused));
1420#ifdef __MigPackStructs
1421#pragma pack(pop)
1422#endif
1423/* Struct for pure user data */
1424#ifdef __MigPackStructs
1425#pragma pack(push, 4)
1426#endif
1427 typedef struct {
1428 char padding[0]; /* Avoid generating empty UData structs */
1429 } __RequestUData__semaphore_destroy_t __attribute__((unused));
1430#ifdef __MigPackStructs
1431#pragma pack(pop)
1432#endif
1433
1434#ifdef __MigPackStructs
1435#pragma pack(push, 4)
1436#endif
1437 typedef struct {
1438 mach_msg_header_t Head;
1439 NDR_record_t NDR;
1440 task_policy_flavor_t flavor;
1441 mach_msg_type_number_t policy_infoCnt;
1442 integer_t policy_info[16];
1443 } __Request__task_policy_set_t __attribute__((unused));
1444#ifdef __MigPackStructs
1445#pragma pack(pop)
1446#endif
1447/* Struct for kernel processed data (Header + Descriptors) */
1448#ifdef __MigPackStructs
1449#pragma pack(push, 4)
1450#endif
1451 typedef struct {
1452 mach_msg_header_t Head;
1453 } __RequestKData__task_policy_set_t __attribute__((unused));
1454#ifdef __MigPackStructs
1455#pragma pack(pop)
1456#endif
1457/* Struct for pure user data */
1458#ifdef __MigPackStructs
1459#pragma pack(push, 4)
1460#endif
1461 typedef struct {
1462 NDR_record_t NDR;
1463 task_policy_flavor_t flavor;
1464 mach_msg_type_number_t policy_infoCnt;
1465 integer_t policy_info[16];
1466 char padding[0]; /* Avoid generating empty UData structs */
1467 } __RequestUData__task_policy_set_t __attribute__((unused));
1468#ifdef __MigPackStructs
1469#pragma pack(pop)
1470#endif
1471
1472#ifdef __MigPackStructs
1473#pragma pack(push, 4)
1474#endif
1475 typedef struct {
1476 mach_msg_header_t Head;
1477 NDR_record_t NDR;
1478 task_policy_flavor_t flavor;
1479 mach_msg_type_number_t policy_infoCnt;
1480 boolean_t get_default;
1481 } __Request__task_policy_get_t __attribute__((unused));
1482#ifdef __MigPackStructs
1483#pragma pack(pop)
1484#endif
1485/* Struct for kernel processed data (Header + Descriptors) */
1486#ifdef __MigPackStructs
1487#pragma pack(push, 4)
1488#endif
1489 typedef struct {
1490 mach_msg_header_t Head;
1491 } __RequestKData__task_policy_get_t __attribute__((unused));
1492#ifdef __MigPackStructs
1493#pragma pack(pop)
1494#endif
1495/* Struct for pure user data */
1496#ifdef __MigPackStructs
1497#pragma pack(push, 4)
1498#endif
1499 typedef struct {
1500 NDR_record_t NDR;
1501 task_policy_flavor_t flavor;
1502 mach_msg_type_number_t policy_infoCnt;
1503 boolean_t get_default;
1504 char padding[0]; /* Avoid generating empty UData structs */
1505 } __RequestUData__task_policy_get_t __attribute__((unused));
1506#ifdef __MigPackStructs
1507#pragma pack(pop)
1508#endif
1509
1510#ifdef __MigPackStructs
1511#pragma pack(push, 4)
1512#endif
1513 typedef struct {
1514 mach_msg_header_t Head;
1515 NDR_record_t NDR;
1516 thread_state_flavor_t flavor;
1517 mach_msg_type_number_t old_stateCnt;
1518 } __Request__task_get_state_t __attribute__((unused));
1519#ifdef __MigPackStructs
1520#pragma pack(pop)
1521#endif
1522/* Struct for kernel processed data (Header + Descriptors) */
1523#ifdef __MigPackStructs
1524#pragma pack(push, 4)
1525#endif
1526 typedef struct {
1527 mach_msg_header_t Head;
1528 } __RequestKData__task_get_state_t __attribute__((unused));
1529#ifdef __MigPackStructs
1530#pragma pack(pop)
1531#endif
1532/* Struct for pure user data */
1533#ifdef __MigPackStructs
1534#pragma pack(push, 4)
1535#endif
1536 typedef struct {
1537 NDR_record_t NDR;
1538 thread_state_flavor_t flavor;
1539 mach_msg_type_number_t old_stateCnt;
1540 char padding[0]; /* Avoid generating empty UData structs */
1541 } __RequestUData__task_get_state_t __attribute__((unused));
1542#ifdef __MigPackStructs
1543#pragma pack(pop)
1544#endif
1545
1546#ifdef __MigPackStructs
1547#pragma pack(push, 4)
1548#endif
1549 typedef struct {
1550 mach_msg_header_t Head;
1551 NDR_record_t NDR;
1552 thread_state_flavor_t flavor;
1553 mach_msg_type_number_t new_stateCnt;
1554 natural_t new_state[1296];
1555 } __Request__task_set_state_t __attribute__((unused));
1556#ifdef __MigPackStructs
1557#pragma pack(pop)
1558#endif
1559/* Struct for kernel processed data (Header + Descriptors) */
1560#ifdef __MigPackStructs
1561#pragma pack(push, 4)
1562#endif
1563 typedef struct {
1564 mach_msg_header_t Head;
1565 } __RequestKData__task_set_state_t __attribute__((unused));
1566#ifdef __MigPackStructs
1567#pragma pack(pop)
1568#endif
1569/* Struct for pure user data */
1570#ifdef __MigPackStructs
1571#pragma pack(push, 4)
1572#endif
1573 typedef struct {
1574 NDR_record_t NDR;
1575 thread_state_flavor_t flavor;
1576 mach_msg_type_number_t new_stateCnt;
1577 natural_t new_state[1296];
1578 char padding[0]; /* Avoid generating empty UData structs */
1579 } __RequestUData__task_set_state_t __attribute__((unused));
1580#ifdef __MigPackStructs
1581#pragma pack(pop)
1582#endif
1583
1584#ifdef __MigPackStructs
1585#pragma pack(push, 4)
1586#endif
1587 typedef struct {
1588 mach_msg_header_t Head;
1589 NDR_record_t NDR;
1590 int new_limit;
1591 } __Request__task_set_phys_footprint_limit_t __attribute__((unused));
1592#ifdef __MigPackStructs
1593#pragma pack(pop)
1594#endif
1595/* Struct for kernel processed data (Header + Descriptors) */
1596#ifdef __MigPackStructs
1597#pragma pack(push, 4)
1598#endif
1599 typedef struct {
1600 mach_msg_header_t Head;
1601 } __RequestKData__task_set_phys_footprint_limit_t __attribute__((unused));
1602#ifdef __MigPackStructs
1603#pragma pack(pop)
1604#endif
1605/* Struct for pure user data */
1606#ifdef __MigPackStructs
1607#pragma pack(push, 4)
1608#endif
1609 typedef struct {
1610 NDR_record_t NDR;
1611 int new_limit;
1612 char padding[0]; /* Avoid generating empty UData structs */
1613 } __RequestUData__task_set_phys_footprint_limit_t __attribute__((unused));
1614#ifdef __MigPackStructs
1615#pragma pack(pop)
1616#endif
1617
1618#ifdef __MigPackStructs
1619#pragma pack(push, 4)
1620#endif
1621 typedef struct {
1622 mach_msg_header_t Head;
1623 } __Request__task_suspend2_mig_t __attribute__((unused));
1624#ifdef __MigPackStructs
1625#pragma pack(pop)
1626#endif
1627/* Struct for kernel processed data (Header + Descriptors) */
1628#ifdef __MigPackStructs
1629#pragma pack(push, 4)
1630#endif
1631 typedef struct {
1632 mach_msg_header_t Head;
1633 } __RequestKData__task_suspend2_mig_t __attribute__((unused));
1634#ifdef __MigPackStructs
1635#pragma pack(pop)
1636#endif
1637/* Struct for pure user data */
1638#ifdef __MigPackStructs
1639#pragma pack(push, 4)
1640#endif
1641 typedef struct {
1642 char padding[0]; /* Avoid generating empty UData structs */
1643 } __RequestUData__task_suspend2_mig_t __attribute__((unused));
1644#ifdef __MigPackStructs
1645#pragma pack(pop)
1646#endif
1647
1648#ifdef __MigPackStructs
1649#pragma pack(push, 4)
1650#endif
1651 typedef struct {
1652 mach_msg_header_t Head;
1653 } __Request__task_resume2_mig_t __attribute__((unused));
1654#ifdef __MigPackStructs
1655#pragma pack(pop)
1656#endif
1657/* Struct for kernel processed data (Header + Descriptors) */
1658#ifdef __MigPackStructs
1659#pragma pack(push, 4)
1660#endif
1661 typedef struct {
1662 mach_msg_header_t Head;
1663 } __RequestKData__task_resume2_mig_t __attribute__((unused));
1664#ifdef __MigPackStructs
1665#pragma pack(pop)
1666#endif
1667/* Struct for pure user data */
1668#ifdef __MigPackStructs
1669#pragma pack(push, 4)
1670#endif
1671 typedef struct {
1672 char padding[0]; /* Avoid generating empty UData structs */
1673 } __RequestUData__task_resume2_mig_t __attribute__((unused));
1674#ifdef __MigPackStructs
1675#pragma pack(pop)
1676#endif
1677
1678#ifdef __MigPackStructs
1679#pragma pack(push, 4)
1680#endif
1681 typedef struct {
1682 mach_msg_header_t Head;
1683 } __Request__task_purgable_info_t __attribute__((unused));
1684#ifdef __MigPackStructs
1685#pragma pack(pop)
1686#endif
1687/* Struct for kernel processed data (Header + Descriptors) */
1688#ifdef __MigPackStructs
1689#pragma pack(push, 4)
1690#endif
1691 typedef struct {
1692 mach_msg_header_t Head;
1693 } __RequestKData__task_purgable_info_t __attribute__((unused));
1694#ifdef __MigPackStructs
1695#pragma pack(pop)
1696#endif
1697/* Struct for pure user data */
1698#ifdef __MigPackStructs
1699#pragma pack(push, 4)
1700#endif
1701 typedef struct {
1702 char padding[0]; /* Avoid generating empty UData structs */
1703 } __RequestUData__task_purgable_info_t __attribute__((unused));
1704#ifdef __MigPackStructs
1705#pragma pack(pop)
1706#endif
1707
1708#ifdef __MigPackStructs
1709#pragma pack(push, 4)
1710#endif
1711 typedef struct {
1712 mach_msg_header_t Head;
1713 NDR_record_t NDR;
1714 mach_voucher_selector_t which;
1715 } __Request__task_get_mach_voucher_t __attribute__((unused));
1716#ifdef __MigPackStructs
1717#pragma pack(pop)
1718#endif
1719/* Struct for kernel processed data (Header + Descriptors) */
1720#ifdef __MigPackStructs
1721#pragma pack(push, 4)
1722#endif
1723 typedef struct {
1724 mach_msg_header_t Head;
1725 } __RequestKData__task_get_mach_voucher_t __attribute__((unused));
1726#ifdef __MigPackStructs
1727#pragma pack(pop)
1728#endif
1729/* Struct for pure user data */
1730#ifdef __MigPackStructs
1731#pragma pack(push, 4)
1732#endif
1733 typedef struct {
1734 NDR_record_t NDR;
1735 mach_voucher_selector_t which;
1736 char padding[0]; /* Avoid generating empty UData structs */
1737 } __RequestUData__task_get_mach_voucher_t __attribute__((unused));
1738#ifdef __MigPackStructs
1739#pragma pack(pop)
1740#endif
1741
1742#ifdef __MigPackStructs
1743#pragma pack(push, 4)
1744#endif
1745 typedef struct {
1746 mach_msg_header_t Head;
1747 /* start of the kernel processed data */
1748 mach_msg_body_t msgh_body;
1749 mach_msg_port_descriptor_t voucher;
1750 /* end of the kernel processed data */
1751 } __Request__task_set_mach_voucher_t __attribute__((unused));
1752#ifdef __MigPackStructs
1753#pragma pack(pop)
1754#endif
1755/* Struct for kernel processed data (Header + Descriptors) */
1756#ifdef __MigPackStructs
1757#pragma pack(push, 4)
1758#endif
1759 typedef struct {
1760 mach_msg_header_t Head;
1761 mach_msg_body_t msgh_body;
1762 mach_msg_port_descriptor_t voucher;
1763 } __RequestKData__task_set_mach_voucher_t __attribute__((unused));
1764#ifdef __MigPackStructs
1765#pragma pack(pop)
1766#endif
1767/* Struct for pure user data */
1768#ifdef __MigPackStructs
1769#pragma pack(push, 4)
1770#endif
1771 typedef struct {
1772 char padding[0]; /* Avoid generating empty UData structs */
1773 } __RequestUData__task_set_mach_voucher_t __attribute__((unused));
1774#ifdef __MigPackStructs
1775#pragma pack(pop)
1776#endif
1777
1778#ifdef __MigPackStructs
1779#pragma pack(push, 4)
1780#endif
1781 typedef struct {
1782 mach_msg_header_t Head;
1783 /* start of the kernel processed data */
1784 mach_msg_body_t msgh_body;
1785 mach_msg_port_descriptor_t new_voucher;
1786 mach_msg_port_descriptor_t old_voucher;
1787 /* end of the kernel processed data */
1788 } __Request__task_swap_mach_voucher_t __attribute__((unused));
1789#ifdef __MigPackStructs
1790#pragma pack(pop)
1791#endif
1792/* Struct for kernel processed data (Header + Descriptors) */
1793#ifdef __MigPackStructs
1794#pragma pack(push, 4)
1795#endif
1796 typedef struct {
1797 mach_msg_header_t Head;
1798 mach_msg_body_t msgh_body;
1799 mach_msg_port_descriptor_t new_voucher;
1800 mach_msg_port_descriptor_t old_voucher;
1801 } __RequestKData__task_swap_mach_voucher_t __attribute__((unused));
1802#ifdef __MigPackStructs
1803#pragma pack(pop)
1804#endif
1805/* Struct for pure user data */
1806#ifdef __MigPackStructs
1807#pragma pack(push, 4)
1808#endif
1809 typedef struct {
1810 char padding[0]; /* Avoid generating empty UData structs */
1811 } __RequestUData__task_swap_mach_voucher_t __attribute__((unused));
1812#ifdef __MigPackStructs
1813#pragma pack(pop)
1814#endif
1815
1816#ifdef __MigPackStructs
1817#pragma pack(push, 4)
1818#endif
1819 typedef struct {
1820 mach_msg_header_t Head;
1821 } __Request__task_generate_corpse_t __attribute__((unused));
1822#ifdef __MigPackStructs
1823#pragma pack(pop)
1824#endif
1825/* Struct for kernel processed data (Header + Descriptors) */
1826#ifdef __MigPackStructs
1827#pragma pack(push, 4)
1828#endif
1829 typedef struct {
1830 mach_msg_header_t Head;
1831 } __RequestKData__task_generate_corpse_t __attribute__((unused));
1832#ifdef __MigPackStructs
1833#pragma pack(pop)
1834#endif
1835/* Struct for pure user data */
1836#ifdef __MigPackStructs
1837#pragma pack(push, 4)
1838#endif
1839 typedef struct {
1840 char padding[0]; /* Avoid generating empty UData structs */
1841 } __RequestUData__task_generate_corpse_t __attribute__((unused));
1842#ifdef __MigPackStructs
1843#pragma pack(pop)
1844#endif
1845
1846#ifdef __MigPackStructs
1847#pragma pack(push, 4)
1848#endif
1849 typedef struct {
1850 mach_msg_header_t Head;
1851 /* start of the kernel processed data */
1852 mach_msg_body_t msgh_body;
1853 mach_msg_port_descriptor_t corspe_task;
1854 /* end of the kernel processed data */
1855 } __Request__task_map_corpse_info_t __attribute__((unused));
1856#ifdef __MigPackStructs
1857#pragma pack(pop)
1858#endif
1859/* Struct for kernel processed data (Header + Descriptors) */
1860#ifdef __MigPackStructs
1861#pragma pack(push, 4)
1862#endif
1863 typedef struct {
1864 mach_msg_header_t Head;
1865 mach_msg_body_t msgh_body;
1866 mach_msg_port_descriptor_t corspe_task;
1867 } __RequestKData__task_map_corpse_info_t __attribute__((unused));
1868#ifdef __MigPackStructs
1869#pragma pack(pop)
1870#endif
1871/* Struct for pure user data */
1872#ifdef __MigPackStructs
1873#pragma pack(push, 4)
1874#endif
1875 typedef struct {
1876 char padding[0]; /* Avoid generating empty UData structs */
1877 } __RequestUData__task_map_corpse_info_t __attribute__((unused));
1878#ifdef __MigPackStructs
1879#pragma pack(pop)
1880#endif
1881
1882#ifdef __MigPackStructs
1883#pragma pack(push, 4)
1884#endif
1885 typedef struct {
1886 mach_msg_header_t Head;
1887 /* start of the kernel processed data */
1888 mach_msg_body_t msgh_body;
1889 mach_msg_ool_descriptor_t dyld_images;
1890 /* end of the kernel processed data */
1891 NDR_record_t NDR;
1892 mach_msg_type_number_t dyld_imagesCnt;
1893 } __Request__task_register_dyld_image_infos_t __attribute__((unused));
1894#ifdef __MigPackStructs
1895#pragma pack(pop)
1896#endif
1897/* Struct for kernel processed data (Header + Descriptors) */
1898#ifdef __MigPackStructs
1899#pragma pack(push, 4)
1900#endif
1901 typedef struct {
1902 mach_msg_header_t Head;
1903 mach_msg_body_t msgh_body;
1904 mach_msg_ool_descriptor_t dyld_images;
1905 } __RequestKData__task_register_dyld_image_infos_t __attribute__((unused));
1906#ifdef __MigPackStructs
1907#pragma pack(pop)
1908#endif
1909/* Struct for pure user data */
1910#ifdef __MigPackStructs
1911#pragma pack(push, 4)
1912#endif
1913 typedef struct {
1914 NDR_record_t NDR;
1915 mach_msg_type_number_t dyld_imagesCnt;
1916 char padding[0]; /* Avoid generating empty UData structs */
1917 } __RequestUData__task_register_dyld_image_infos_t __attribute__((unused));
1918#ifdef __MigPackStructs
1919#pragma pack(pop)
1920#endif
1921
1922#ifdef __MigPackStructs
1923#pragma pack(push, 4)
1924#endif
1925 typedef struct {
1926 mach_msg_header_t Head;
1927 /* start of the kernel processed data */
1928 mach_msg_body_t msgh_body;
1929 mach_msg_ool_descriptor_t dyld_images;
1930 /* end of the kernel processed data */
1931 NDR_record_t NDR;
1932 mach_msg_type_number_t dyld_imagesCnt;
1933 } __Request__task_unregister_dyld_image_infos_t __attribute__((unused));
1934#ifdef __MigPackStructs
1935#pragma pack(pop)
1936#endif
1937/* Struct for kernel processed data (Header + Descriptors) */
1938#ifdef __MigPackStructs
1939#pragma pack(push, 4)
1940#endif
1941 typedef struct {
1942 mach_msg_header_t Head;
1943 mach_msg_body_t msgh_body;
1944 mach_msg_ool_descriptor_t dyld_images;
1945 } __RequestKData__task_unregister_dyld_image_infos_t __attribute__((unused));
1946#ifdef __MigPackStructs
1947#pragma pack(pop)
1948#endif
1949/* Struct for pure user data */
1950#ifdef __MigPackStructs
1951#pragma pack(push, 4)
1952#endif
1953 typedef struct {
1954 NDR_record_t NDR;
1955 mach_msg_type_number_t dyld_imagesCnt;
1956 char padding[0]; /* Avoid generating empty UData structs */
1957 } __RequestUData__task_unregister_dyld_image_infos_t __attribute__((unused));
1958#ifdef __MigPackStructs
1959#pragma pack(pop)
1960#endif
1961
1962#ifdef __MigPackStructs
1963#pragma pack(push, 4)
1964#endif
1965 typedef struct {
1966 mach_msg_header_t Head;
1967 } __Request__task_get_dyld_image_infos_t __attribute__((unused));
1968#ifdef __MigPackStructs
1969#pragma pack(pop)
1970#endif
1971/* Struct for kernel processed data (Header + Descriptors) */
1972#ifdef __MigPackStructs
1973#pragma pack(push, 4)
1974#endif
1975 typedef struct {
1976 mach_msg_header_t Head;
1977 } __RequestKData__task_get_dyld_image_infos_t __attribute__((unused));
1978#ifdef __MigPackStructs
1979#pragma pack(pop)
1980#endif
1981/* Struct for pure user data */
1982#ifdef __MigPackStructs
1983#pragma pack(push, 4)
1984#endif
1985 typedef struct {
1986 char padding[0]; /* Avoid generating empty UData structs */
1987 } __RequestUData__task_get_dyld_image_infos_t __attribute__((unused));
1988#ifdef __MigPackStructs
1989#pragma pack(pop)
1990#endif
1991
1992#ifdef __MigPackStructs
1993#pragma pack(push, 4)
1994#endif
1995 typedef struct {
1996 mach_msg_header_t Head;
1997 NDR_record_t NDR;
1998 dyld_kernel_image_info_t dyld_cache_image;
1999 boolean_t no_cache;
2000 boolean_t private_cache;
2001 } __Request__task_register_dyld_shared_cache_image_info_t __attribute__((unused));
2002#ifdef __MigPackStructs
2003#pragma pack(pop)
2004#endif
2005/* Struct for kernel processed data (Header + Descriptors) */
2006#ifdef __MigPackStructs
2007#pragma pack(push, 4)
2008#endif
2009 typedef struct {
2010 mach_msg_header_t Head;
2011 } __RequestKData__task_register_dyld_shared_cache_image_info_t __attribute__((unused));
2012#ifdef __MigPackStructs
2013#pragma pack(pop)
2014#endif
2015/* Struct for pure user data */
2016#ifdef __MigPackStructs
2017#pragma pack(push, 4)
2018#endif
2019 typedef struct {
2020 NDR_record_t NDR;
2021 dyld_kernel_image_info_t dyld_cache_image;
2022 boolean_t no_cache;
2023 boolean_t private_cache;
2024 char padding[0]; /* Avoid generating empty UData structs */
2025 } __RequestUData__task_register_dyld_shared_cache_image_info_t __attribute__((unused));
2026#ifdef __MigPackStructs
2027#pragma pack(pop)
2028#endif
2029
2030#ifdef __MigPackStructs
2031#pragma pack(push, 4)
2032#endif
2033 typedef struct {
2034 mach_msg_header_t Head;
2035 NDR_record_t NDR;
2036 uint8_t dyld_state;
2037 char dyld_statePad[3];
2038 } __Request__task_register_dyld_set_dyld_state_t __attribute__((unused));
2039#ifdef __MigPackStructs
2040#pragma pack(pop)
2041#endif
2042/* Struct for kernel processed data (Header + Descriptors) */
2043#ifdef __MigPackStructs
2044#pragma pack(push, 4)
2045#endif
2046 typedef struct {
2047 mach_msg_header_t Head;
2048 } __RequestKData__task_register_dyld_set_dyld_state_t __attribute__((unused));
2049#ifdef __MigPackStructs
2050#pragma pack(pop)
2051#endif
2052/* Struct for pure user data */
2053#ifdef __MigPackStructs
2054#pragma pack(push, 4)
2055#endif
2056 typedef struct {
2057 NDR_record_t NDR;
2058 uint8_t dyld_state;
2059 char dyld_statePad[3];
2060 char padding[0]; /* Avoid generating empty UData structs */
2061 } __RequestUData__task_register_dyld_set_dyld_state_t __attribute__((unused));
2062#ifdef __MigPackStructs
2063#pragma pack(pop)
2064#endif
2065
2066#ifdef __MigPackStructs
2067#pragma pack(push, 4)
2068#endif
2069 typedef struct {
2070 mach_msg_header_t Head;
2071 } __Request__task_register_dyld_get_process_state_t __attribute__((unused));
2072#ifdef __MigPackStructs
2073#pragma pack(pop)
2074#endif
2075/* Struct for kernel processed data (Header + Descriptors) */
2076#ifdef __MigPackStructs
2077#pragma pack(push, 4)
2078#endif
2079 typedef struct {
2080 mach_msg_header_t Head;
2081 } __RequestKData__task_register_dyld_get_process_state_t __attribute__((unused));
2082#ifdef __MigPackStructs
2083#pragma pack(pop)
2084#endif
2085/* Struct for pure user data */
2086#ifdef __MigPackStructs
2087#pragma pack(push, 4)
2088#endif
2089 typedef struct {
2090 char padding[0]; /* Avoid generating empty UData structs */
2091 } __RequestUData__task_register_dyld_get_process_state_t __attribute__((unused));
2092#ifdef __MigPackStructs
2093#pragma pack(pop)
2094#endif
2095
2096#ifdef __MigPackStructs
2097#pragma pack(push, 4)
2098#endif
2099 typedef struct {
2100 mach_msg_header_t Head;
2101 /* start of the kernel processed data */
2102 mach_msg_body_t msgh_body;
2103 mach_msg_port_descriptor_t corspe_task;
2104 /* end of the kernel processed data */
2105 } __Request__task_map_corpse_info_64_t __attribute__((unused));
2106#ifdef __MigPackStructs
2107#pragma pack(pop)
2108#endif
2109/* Struct for kernel processed data (Header + Descriptors) */
2110#ifdef __MigPackStructs
2111#pragma pack(push, 4)
2112#endif
2113 typedef struct {
2114 mach_msg_header_t Head;
2115 mach_msg_body_t msgh_body;
2116 mach_msg_port_descriptor_t corspe_task;
2117 } __RequestKData__task_map_corpse_info_64_t __attribute__((unused));
2118#ifdef __MigPackStructs
2119#pragma pack(pop)
2120#endif
2121/* Struct for pure user data */
2122#ifdef __MigPackStructs
2123#pragma pack(push, 4)
2124#endif
2125 typedef struct {
2126 char padding[0]; /* Avoid generating empty UData structs */
2127 } __RequestUData__task_map_corpse_info_64_t __attribute__((unused));
2128#ifdef __MigPackStructs
2129#pragma pack(pop)
2130#endif
2131
2132#ifdef __MigPackStructs
2133#pragma pack(push, 4)
2134#endif
2135 typedef struct {
2136 mach_msg_header_t Head;
2137 NDR_record_t NDR;
2138 task_inspect_flavor_t flavor;
2139 mach_msg_type_number_t info_outCnt;
2140 } __Request__task_inspect_t __attribute__((unused));
2141#ifdef __MigPackStructs
2142#pragma pack(pop)
2143#endif
2144/* Struct for kernel processed data (Header + Descriptors) */
2145#ifdef __MigPackStructs
2146#pragma pack(push, 4)
2147#endif
2148 typedef struct {
2149 mach_msg_header_t Head;
2150 } __RequestKData__task_inspect_t __attribute__((unused));
2151#ifdef __MigPackStructs
2152#pragma pack(pop)
2153#endif
2154/* Struct for pure user data */
2155#ifdef __MigPackStructs
2156#pragma pack(push, 4)
2157#endif
2158 typedef struct {
2159 NDR_record_t NDR;
2160 task_inspect_flavor_t flavor;
2161 mach_msg_type_number_t info_outCnt;
2162 char padding[0]; /* Avoid generating empty UData structs */
2163 } __RequestUData__task_inspect_t __attribute__((unused));
2164#ifdef __MigPackStructs
2165#pragma pack(pop)
2166#endif
2167
2168#ifdef __MigPackStructs
2169#pragma pack(push, 4)
2170#endif
2171 typedef struct {
2172 mach_msg_header_t Head;
2173 } __Request__task_get_exc_guard_behavior_t __attribute__((unused));
2174#ifdef __MigPackStructs
2175#pragma pack(pop)
2176#endif
2177/* Struct for kernel processed data (Header + Descriptors) */
2178#ifdef __MigPackStructs
2179#pragma pack(push, 4)
2180#endif
2181 typedef struct {
2182 mach_msg_header_t Head;
2183 } __RequestKData__task_get_exc_guard_behavior_t __attribute__((unused));
2184#ifdef __MigPackStructs
2185#pragma pack(pop)
2186#endif
2187/* Struct for pure user data */
2188#ifdef __MigPackStructs
2189#pragma pack(push, 4)
2190#endif
2191 typedef struct {
2192 char padding[0]; /* Avoid generating empty UData structs */
2193 } __RequestUData__task_get_exc_guard_behavior_t __attribute__((unused));
2194#ifdef __MigPackStructs
2195#pragma pack(pop)
2196#endif
2197
2198#ifdef __MigPackStructs
2199#pragma pack(push, 4)
2200#endif
2201 typedef struct {
2202 mach_msg_header_t Head;
2203 NDR_record_t NDR;
2204 task_exc_guard_behavior_t behavior;
2205 } __Request__task_set_exc_guard_behavior_t __attribute__((unused));
2206#ifdef __MigPackStructs
2207#pragma pack(pop)
2208#endif
2209/* Struct for kernel processed data (Header + Descriptors) */
2210#ifdef __MigPackStructs
2211#pragma pack(push, 4)
2212#endif
2213 typedef struct {
2214 mach_msg_header_t Head;
2215 } __RequestKData__task_set_exc_guard_behavior_t __attribute__((unused));
2216#ifdef __MigPackStructs
2217#pragma pack(pop)
2218#endif
2219/* Struct for pure user data */
2220#ifdef __MigPackStructs
2221#pragma pack(push, 4)
2222#endif
2223 typedef struct {
2224 NDR_record_t NDR;
2225 task_exc_guard_behavior_t behavior;
2226 char padding[0]; /* Avoid generating empty UData structs */
2227 } __RequestUData__task_set_exc_guard_behavior_t __attribute__((unused));
2228#ifdef __MigPackStructs
2229#pragma pack(pop)
2230#endif
2231
2232#ifdef __MigPackStructs
2233#pragma pack(push, 4)
2234#endif
2235 typedef struct {
2236 mach_msg_header_t Head;
2237 } __Request__mach_task_is_self_t __attribute__((unused));
2238#ifdef __MigPackStructs
2239#pragma pack(pop)
2240#endif
2241/* Struct for kernel processed data (Header + Descriptors) */
2242#ifdef __MigPackStructs
2243#pragma pack(push, 4)
2244#endif
2245 typedef struct {
2246 mach_msg_header_t Head;
2247 } __RequestKData__mach_task_is_self_t __attribute__((unused));
2248#ifdef __MigPackStructs
2249#pragma pack(pop)
2250#endif
2251/* Struct for pure user data */
2252#ifdef __MigPackStructs
2253#pragma pack(push, 4)
2254#endif
2255 typedef struct {
2256 char padding[0]; /* Avoid generating empty UData structs */
2257 } __RequestUData__mach_task_is_self_t __attribute__((unused));
2258#ifdef __MigPackStructs
2259#pragma pack(pop)
2260#endif
2261
2262#ifdef __MigPackStructs
2263#pragma pack(push, 4)
2264#endif
2265 typedef struct {
2266 mach_msg_header_t Head;
2267 /* start of the kernel processed data */
2268 mach_msg_body_t msgh_body;
2269 mach_msg_port_descriptor_t notify;
2270 /* end of the kernel processed data */
2271 } __Request__task_dyld_process_info_notify_register_t __attribute__((unused));
2272#ifdef __MigPackStructs
2273#pragma pack(pop)
2274#endif
2275/* Struct for kernel processed data (Header + Descriptors) */
2276#ifdef __MigPackStructs
2277#pragma pack(push, 4)
2278#endif
2279 typedef struct {
2280 mach_msg_header_t Head;
2281 mach_msg_body_t msgh_body;
2282 mach_msg_port_descriptor_t notify;
2283 } __RequestKData__task_dyld_process_info_notify_register_t __attribute__((unused));
2284#ifdef __MigPackStructs
2285#pragma pack(pop)
2286#endif
2287/* Struct for pure user data */
2288#ifdef __MigPackStructs
2289#pragma pack(push, 4)
2290#endif
2291 typedef struct {
2292 char padding[0]; /* Avoid generating empty UData structs */
2293 } __RequestUData__task_dyld_process_info_notify_register_t __attribute__((unused));
2294#ifdef __MigPackStructs
2295#pragma pack(pop)
2296#endif
2297
2298#ifdef __MigPackStructs
2299#pragma pack(push, 4)
2300#endif
2301 typedef struct {
2302 mach_msg_header_t Head;
2303 } __Request__task_create_identity_token_t __attribute__((unused));
2304#ifdef __MigPackStructs
2305#pragma pack(pop)
2306#endif
2307/* Struct for kernel processed data (Header + Descriptors) */
2308#ifdef __MigPackStructs
2309#pragma pack(push, 4)
2310#endif
2311 typedef struct {
2312 mach_msg_header_t Head;
2313 } __RequestKData__task_create_identity_token_t __attribute__((unused));
2314#ifdef __MigPackStructs
2315#pragma pack(pop)
2316#endif
2317/* Struct for pure user data */
2318#ifdef __MigPackStructs
2319#pragma pack(push, 4)
2320#endif
2321 typedef struct {
2322 char padding[0]; /* Avoid generating empty UData structs */
2323 } __RequestUData__task_create_identity_token_t __attribute__((unused));
2324#ifdef __MigPackStructs
2325#pragma pack(pop)
2326#endif
2327
2328#ifdef __MigPackStructs
2329#pragma pack(push, 4)
2330#endif
2331 typedef struct {
2332 mach_msg_header_t Head;
2333 NDR_record_t NDR;
2334 task_flavor_t flavor;
2335 } __Request__task_identity_token_get_task_port_t __attribute__((unused));
2336#ifdef __MigPackStructs
2337#pragma pack(pop)
2338#endif
2339/* Struct for kernel processed data (Header + Descriptors) */
2340#ifdef __MigPackStructs
2341#pragma pack(push, 4)
2342#endif
2343 typedef struct {
2344 mach_msg_header_t Head;
2345 } __RequestKData__task_identity_token_get_task_port_t __attribute__((unused));
2346#ifdef __MigPackStructs
2347#pragma pack(pop)
2348#endif
2349/* Struct for pure user data */
2350#ifdef __MigPackStructs
2351#pragma pack(push, 4)
2352#endif
2353 typedef struct {
2354 NDR_record_t NDR;
2355 task_flavor_t flavor;
2356 char padding[0]; /* Avoid generating empty UData structs */
2357 } __RequestUData__task_identity_token_get_task_port_t __attribute__((unused));
2358#ifdef __MigPackStructs
2359#pragma pack(pop)
2360#endif
2361
2362#ifdef __MigPackStructs
2363#pragma pack(push, 4)
2364#endif
2365 typedef struct {
2366 mach_msg_header_t Head;
2367 NDR_record_t NDR;
2368 mach_port_name_t notify;
2369 } __Request__task_dyld_process_info_notify_deregister_t __attribute__((unused));
2370#ifdef __MigPackStructs
2371#pragma pack(pop)
2372#endif
2373/* Struct for kernel processed data (Header + Descriptors) */
2374#ifdef __MigPackStructs
2375#pragma pack(push, 4)
2376#endif
2377 typedef struct {
2378 mach_msg_header_t Head;
2379 } __RequestKData__task_dyld_process_info_notify_deregister_t __attribute__((unused));
2380#ifdef __MigPackStructs
2381#pragma pack(pop)
2382#endif
2383/* Struct for pure user data */
2384#ifdef __MigPackStructs
2385#pragma pack(push, 4)
2386#endif
2387 typedef struct {
2388 NDR_record_t NDR;
2389 mach_port_name_t notify;
2390 char padding[0]; /* Avoid generating empty UData structs */
2391 } __RequestUData__task_dyld_process_info_notify_deregister_t __attribute__((unused));
2392#ifdef __MigPackStructs
2393#pragma pack(pop)
2394#endif
2395
2396#ifdef __MigPackStructs
2397#pragma pack(push, 4)
2398#endif
2399 typedef struct {
2400 mach_msg_header_t Head;
2401 NDR_record_t NDR;
2402 exception_mask_t exception_mask;
2403 } __Request__task_get_exception_ports_info_t __attribute__((unused));
2404#ifdef __MigPackStructs
2405#pragma pack(pop)
2406#endif
2407/* Struct for kernel processed data (Header + Descriptors) */
2408#ifdef __MigPackStructs
2409#pragma pack(push, 4)
2410#endif
2411 typedef struct {
2412 mach_msg_header_t Head;
2413 } __RequestKData__task_get_exception_ports_info_t __attribute__((unused));
2414#ifdef __MigPackStructs
2415#pragma pack(pop)
2416#endif
2417/* Struct for pure user data */
2418#ifdef __MigPackStructs
2419#pragma pack(push, 4)
2420#endif
2421 typedef struct {
2422 NDR_record_t NDR;
2423 exception_mask_t exception_mask;
2424 char padding[0]; /* Avoid generating empty UData structs */
2425 } __RequestUData__task_get_exception_ports_info_t __attribute__((unused));
2426#ifdef __MigPackStructs
2427#pragma pack(pop)
2428#endif
2429
2430#ifdef __MigPackStructs
2431#pragma pack(push, 4)
2432#endif
2433 typedef struct {
2434 mach_msg_header_t Head;
2435 /* start of the kernel processed data */
2436 mach_msg_body_t msgh_body;
2437 mach_msg_port_descriptor_t port;
2438 /* end of the kernel processed data */
2439 } __Request__task_test_sync_upcall_t __attribute__((unused));
2440#ifdef __MigPackStructs
2441#pragma pack(pop)
2442#endif
2443/* Struct for kernel processed data (Header + Descriptors) */
2444#ifdef __MigPackStructs
2445#pragma pack(push, 4)
2446#endif
2447 typedef struct {
2448 mach_msg_header_t Head;
2449 mach_msg_body_t msgh_body;
2450 mach_msg_port_descriptor_t port;
2451 } __RequestKData__task_test_sync_upcall_t __attribute__((unused));
2452#ifdef __MigPackStructs
2453#pragma pack(pop)
2454#endif
2455/* Struct for pure user data */
2456#ifdef __MigPackStructs
2457#pragma pack(push, 4)
2458#endif
2459 typedef struct {
2460 char padding[0]; /* Avoid generating empty UData structs */
2461 } __RequestUData__task_test_sync_upcall_t __attribute__((unused));
2462#ifdef __MigPackStructs
2463#pragma pack(pop)
2464#endif
2465
2466#ifdef __MigPackStructs
2467#pragma pack(push, 4)
2468#endif
2469 typedef struct {
2470 mach_msg_header_t Head;
2471 NDR_record_t NDR;
2472 task_corpse_forking_behavior_t behavior;
2473 } __Request__task_set_corpse_forking_behavior_t __attribute__((unused));
2474#ifdef __MigPackStructs
2475#pragma pack(pop)
2476#endif
2477/* Struct for kernel processed data (Header + Descriptors) */
2478#ifdef __MigPackStructs
2479#pragma pack(push, 4)
2480#endif
2481 typedef struct {
2482 mach_msg_header_t Head;
2483 } __RequestKData__task_set_corpse_forking_behavior_t __attribute__((unused));
2484#ifdef __MigPackStructs
2485#pragma pack(pop)
2486#endif
2487/* Struct for pure user data */
2488#ifdef __MigPackStructs
2489#pragma pack(push, 4)
2490#endif
2491 typedef struct {
2492 NDR_record_t NDR;
2493 task_corpse_forking_behavior_t behavior;
2494 char padding[0]; /* Avoid generating empty UData structs */
2495 } __RequestUData__task_set_corpse_forking_behavior_t __attribute__((unused));
2496#ifdef __MigPackStructs
2497#pragma pack(pop)
2498#endif
2499
2500#ifdef __MigPackStructs
2501#pragma pack(push, 4)
2502#endif
2503 typedef struct {
2504 mach_msg_header_t Head;
2505 /* start of the kernel processed data */
2506 mach_msg_body_t msgh_body;
2507 mach_msg_port_descriptor_t port;
2508 /* end of the kernel processed data */
2509 NDR_record_t NDR;
2510 int qos;
2511 int iotier;
2512 } __Request__task_test_async_upcall_propagation_t __attribute__((unused));
2513#ifdef __MigPackStructs
2514#pragma pack(pop)
2515#endif
2516/* Struct for kernel processed data (Header + Descriptors) */
2517#ifdef __MigPackStructs
2518#pragma pack(push, 4)
2519#endif
2520 typedef struct {
2521 mach_msg_header_t Head;
2522 mach_msg_body_t msgh_body;
2523 mach_msg_port_descriptor_t port;
2524 } __RequestKData__task_test_async_upcall_propagation_t __attribute__((unused));
2525#ifdef __MigPackStructs
2526#pragma pack(pop)
2527#endif
2528/* Struct for pure user data */
2529#ifdef __MigPackStructs
2530#pragma pack(push, 4)
2531#endif
2532 typedef struct {
2533 NDR_record_t NDR;
2534 int qos;
2535 int iotier;
2536 char padding[0]; /* Avoid generating empty UData structs */
2537 } __RequestUData__task_test_async_upcall_propagation_t __attribute__((unused));
2538#ifdef __MigPackStructs
2539#pragma pack(pop)
2540#endif
2541
2542#ifdef __MigPackStructs
2543#pragma pack(push, 4)
2544#endif
2545 typedef struct {
2546 mach_msg_header_t Head;
2547 /* start of the kernel processed data */
2548 mach_msg_body_t msgh_body;
2549 mach_msg_port_descriptor_t kcdata_object;
2550 /* end of the kernel processed data */
2551 } __Request__task_map_kcdata_object_64_t __attribute__((unused));
2552#ifdef __MigPackStructs
2553#pragma pack(pop)
2554#endif
2555/* Struct for kernel processed data (Header + Descriptors) */
2556#ifdef __MigPackStructs
2557#pragma pack(push, 4)
2558#endif
2559 typedef struct {
2560 mach_msg_header_t Head;
2561 mach_msg_body_t msgh_body;
2562 mach_msg_port_descriptor_t kcdata_object;
2563 } __RequestKData__task_map_kcdata_object_64_t __attribute__((unused));
2564#ifdef __MigPackStructs
2565#pragma pack(pop)
2566#endif
2567/* Struct for pure user data */
2568#ifdef __MigPackStructs
2569#pragma pack(push, 4)
2570#endif
2571 typedef struct {
2572 char padding[0]; /* Avoid generating empty UData structs */
2573 } __RequestUData__task_map_kcdata_object_64_t __attribute__((unused));
2574#ifdef __MigPackStructs
2575#pragma pack(pop)
2576#endif
2577#endif /* !__Request__task_subsystem__defined */
2578
2579
2580/* union of all requests */
2581
2582#ifndef __RequestUnion__task_subsystem__defined
2583#define __RequestUnion__task_subsystem__defined
2584union __RequestUnion__task_subsystem {
2585 __Request__task_terminate_t Request_task_terminate;
2586 __Request__task_threads_from_user_t Request_task_threads_from_user;
2587 __Request__mach_ports_register_t Request_mach_ports_register;
2588 __Request__mach_ports_lookup_t Request_mach_ports_lookup;
2589 __Request__task_info_from_user_t Request_task_info_from_user;
2590 __Request__task_set_info_t Request_task_set_info;
2591 __Request__task_suspend_t Request_task_suspend;
2592 __Request__task_resume_t Request_task_resume;
2593 __Request__task_get_special_port_from_user_t Request_task_get_special_port_from_user;
2594 __Request__task_set_special_port_from_user_t Request_task_set_special_port_from_user;
2595 __Request__thread_create_from_user_t Request_thread_create_from_user;
2596 __Request__thread_create_running_from_user_t Request_thread_create_running_from_user;
2597 __Request__task_set_exception_ports_t Request_task_set_exception_ports;
2598 __Request__task_get_exception_ports_from_user_t Request_task_get_exception_ports_from_user;
2599 __Request__task_swap_exception_ports_t Request_task_swap_exception_ports;
2600 __Request__semaphore_create_t Request_semaphore_create;
2601 __Request__semaphore_destroy_t Request_semaphore_destroy;
2602 __Request__task_policy_set_t Request_task_policy_set;
2603 __Request__task_policy_get_t Request_task_policy_get;
2604 __Request__task_get_state_t Request_task_get_state;
2605 __Request__task_set_state_t Request_task_set_state;
2606 __Request__task_set_phys_footprint_limit_t Request_task_set_phys_footprint_limit;
2607 __Request__task_suspend2_mig_t Request_task_suspend2_mig;
2608 __Request__task_resume2_mig_t Request_task_resume2_mig;
2609 __Request__task_purgable_info_t Request_task_purgable_info;
2610 __Request__task_get_mach_voucher_t Request_task_get_mach_voucher;
2611 __Request__task_set_mach_voucher_t Request_task_set_mach_voucher;
2612 __Request__task_swap_mach_voucher_t Request_task_swap_mach_voucher;
2613 __Request__task_generate_corpse_t Request_task_generate_corpse;
2614 __Request__task_map_corpse_info_t Request_task_map_corpse_info;
2615 __Request__task_register_dyld_image_infos_t Request_task_register_dyld_image_infos;
2616 __Request__task_unregister_dyld_image_infos_t Request_task_unregister_dyld_image_infos;
2617 __Request__task_get_dyld_image_infos_t Request_task_get_dyld_image_infos;
2618 __Request__task_register_dyld_shared_cache_image_info_t Request_task_register_dyld_shared_cache_image_info;
2619 __Request__task_register_dyld_set_dyld_state_t Request_task_register_dyld_set_dyld_state;
2620 __Request__task_register_dyld_get_process_state_t Request_task_register_dyld_get_process_state;
2621 __Request__task_map_corpse_info_64_t Request_task_map_corpse_info_64;
2622 __Request__task_inspect_t Request_task_inspect;
2623 __Request__task_get_exc_guard_behavior_t Request_task_get_exc_guard_behavior;
2624 __Request__task_set_exc_guard_behavior_t Request_task_set_exc_guard_behavior;
2625 __Request__mach_task_is_self_t Request_mach_task_is_self;
2626 __Request__task_dyld_process_info_notify_register_t Request_task_dyld_process_info_notify_register;
2627 __Request__task_create_identity_token_t Request_task_create_identity_token;
2628 __Request__task_identity_token_get_task_port_t Request_task_identity_token_get_task_port;
2629 __Request__task_dyld_process_info_notify_deregister_t Request_task_dyld_process_info_notify_deregister;
2630 __Request__task_get_exception_ports_info_t Request_task_get_exception_ports_info;
2631 __Request__task_test_sync_upcall_t Request_task_test_sync_upcall;
2632 __Request__task_set_corpse_forking_behavior_t Request_task_set_corpse_forking_behavior;
2633 __Request__task_test_async_upcall_propagation_t Request_task_test_async_upcall_propagation;
2634 __Request__task_map_kcdata_object_64_t Request_task_map_kcdata_object_64;
2635};
2636#endif /* __RequestUnion__task_subsystem__defined */
2637/* typedefs for all replies */
2638
2639#ifndef __Reply__task_subsystem__defined
2640#define __Reply__task_subsystem__defined
2641
2642#ifdef __MigPackStructs
2643#pragma pack(push, 4)
2644#endif
2645 typedef struct {
2646 mach_msg_header_t Head;
2647 NDR_record_t NDR;
2648 kern_return_t RetCode;
2649 } __Reply__task_terminate_t __attribute__((unused));
2650#ifdef __MigPackStructs
2651#pragma pack(pop)
2652#endif
2653/* Struct for kernel processed data (Header + Descriptors) */
2654#ifdef __MigPackStructs
2655#pragma pack(push, 4)
2656#endif
2657 typedef struct {
2658 mach_msg_header_t Head;
2659 } __ReplyKData__task_terminate_t __attribute__((unused));
2660#ifdef __MigPackStructs
2661#pragma pack(pop)
2662#endif
2663/* Struct for pure user data */
2664#ifdef __MigPackStructs
2665#pragma pack(push, 4)
2666#endif
2667 typedef struct {
2668 NDR_record_t NDR;
2669 kern_return_t RetCode;
2670 char padding[0]; /* Avoid generating empty UData structs */
2671 } __ReplyUData__task_terminate_t __attribute__((unused));
2672#ifdef __MigPackStructs
2673#pragma pack(pop)
2674#endif
2675
2676#ifdef __MigPackStructs
2677#pragma pack(push, 4)
2678#endif
2679 typedef struct {
2680 mach_msg_header_t Head;
2681 /* start of the kernel processed data */
2682 mach_msg_body_t msgh_body;
2683 mach_msg_ool_ports_descriptor_t act_list;
2684 /* end of the kernel processed data */
2685 NDR_record_t NDR;
2686 mach_msg_type_number_t act_listCnt;
2687 } __Reply__task_threads_from_user_t __attribute__((unused));
2688#ifdef __MigPackStructs
2689#pragma pack(pop)
2690#endif
2691/* Struct for kernel processed data (Header + Descriptors) */
2692#ifdef __MigPackStructs
2693#pragma pack(push, 4)
2694#endif
2695 typedef struct {
2696 mach_msg_header_t Head;
2697 mach_msg_body_t msgh_body;
2698 mach_msg_ool_ports_descriptor_t act_list;
2699 } __ReplyKData__task_threads_from_user_t __attribute__((unused));
2700#ifdef __MigPackStructs
2701#pragma pack(pop)
2702#endif
2703/* Struct for pure user data */
2704#ifdef __MigPackStructs
2705#pragma pack(push, 4)
2706#endif
2707 typedef struct {
2708 NDR_record_t NDR;
2709 mach_msg_type_number_t act_listCnt;
2710 char padding[0]; /* Avoid generating empty UData structs */
2711 } __ReplyUData__task_threads_from_user_t __attribute__((unused));
2712#ifdef __MigPackStructs
2713#pragma pack(pop)
2714#endif
2715
2716#ifdef __MigPackStructs
2717#pragma pack(push, 4)
2718#endif
2719 typedef struct {
2720 mach_msg_header_t Head;
2721 NDR_record_t NDR;
2722 kern_return_t RetCode;
2723 } __Reply__mach_ports_register_t __attribute__((unused));
2724#ifdef __MigPackStructs
2725#pragma pack(pop)
2726#endif
2727/* Struct for kernel processed data (Header + Descriptors) */
2728#ifdef __MigPackStructs
2729#pragma pack(push, 4)
2730#endif
2731 typedef struct {
2732 mach_msg_header_t Head;
2733 } __ReplyKData__mach_ports_register_t __attribute__((unused));
2734#ifdef __MigPackStructs
2735#pragma pack(pop)
2736#endif
2737/* Struct for pure user data */
2738#ifdef __MigPackStructs
2739#pragma pack(push, 4)
2740#endif
2741 typedef struct {
2742 NDR_record_t NDR;
2743 kern_return_t RetCode;
2744 char padding[0]; /* Avoid generating empty UData structs */
2745 } __ReplyUData__mach_ports_register_t __attribute__((unused));
2746#ifdef __MigPackStructs
2747#pragma pack(pop)
2748#endif
2749
2750#ifdef __MigPackStructs
2751#pragma pack(push, 4)
2752#endif
2753 typedef struct {
2754 mach_msg_header_t Head;
2755 /* start of the kernel processed data */
2756 mach_msg_body_t msgh_body;
2757 mach_msg_ool_ports_descriptor_t init_port_set;
2758 /* end of the kernel processed data */
2759 NDR_record_t NDR;
2760 mach_msg_type_number_t init_port_setCnt;
2761 } __Reply__mach_ports_lookup_t __attribute__((unused));
2762#ifdef __MigPackStructs
2763#pragma pack(pop)
2764#endif
2765/* Struct for kernel processed data (Header + Descriptors) */
2766#ifdef __MigPackStructs
2767#pragma pack(push, 4)
2768#endif
2769 typedef struct {
2770 mach_msg_header_t Head;
2771 mach_msg_body_t msgh_body;
2772 mach_msg_ool_ports_descriptor_t init_port_set;
2773 } __ReplyKData__mach_ports_lookup_t __attribute__((unused));
2774#ifdef __MigPackStructs
2775#pragma pack(pop)
2776#endif
2777/* Struct for pure user data */
2778#ifdef __MigPackStructs
2779#pragma pack(push, 4)
2780#endif
2781 typedef struct {
2782 NDR_record_t NDR;
2783 mach_msg_type_number_t init_port_setCnt;
2784 char padding[0]; /* Avoid generating empty UData structs */
2785 } __ReplyUData__mach_ports_lookup_t __attribute__((unused));
2786#ifdef __MigPackStructs
2787#pragma pack(pop)
2788#endif
2789
2790#ifdef __MigPackStructs
2791#pragma pack(push, 4)
2792#endif
2793 typedef struct {
2794 mach_msg_header_t Head;
2795 NDR_record_t NDR;
2796 kern_return_t RetCode;
2797 mach_msg_type_number_t task_info_outCnt;
2798 integer_t task_info_out[90];
2799 } __Reply__task_info_from_user_t __attribute__((unused));
2800#ifdef __MigPackStructs
2801#pragma pack(pop)
2802#endif
2803/* Struct for kernel processed data (Header + Descriptors) */
2804#ifdef __MigPackStructs
2805#pragma pack(push, 4)
2806#endif
2807 typedef struct {
2808 mach_msg_header_t Head;
2809 } __ReplyKData__task_info_from_user_t __attribute__((unused));
2810#ifdef __MigPackStructs
2811#pragma pack(pop)
2812#endif
2813/* Struct for pure user data */
2814#ifdef __MigPackStructs
2815#pragma pack(push, 4)
2816#endif
2817 typedef struct {
2818 NDR_record_t NDR;
2819 kern_return_t RetCode;
2820 mach_msg_type_number_t task_info_outCnt;
2821 integer_t task_info_out[90];
2822 char padding[0]; /* Avoid generating empty UData structs */
2823 } __ReplyUData__task_info_from_user_t __attribute__((unused));
2824#ifdef __MigPackStructs
2825#pragma pack(pop)
2826#endif
2827
2828#ifdef __MigPackStructs
2829#pragma pack(push, 4)
2830#endif
2831 typedef struct {
2832 mach_msg_header_t Head;
2833 NDR_record_t NDR;
2834 kern_return_t RetCode;
2835 } __Reply__task_set_info_t __attribute__((unused));
2836#ifdef __MigPackStructs
2837#pragma pack(pop)
2838#endif
2839/* Struct for kernel processed data (Header + Descriptors) */
2840#ifdef __MigPackStructs
2841#pragma pack(push, 4)
2842#endif
2843 typedef struct {
2844 mach_msg_header_t Head;
2845 } __ReplyKData__task_set_info_t __attribute__((unused));
2846#ifdef __MigPackStructs
2847#pragma pack(pop)
2848#endif
2849/* Struct for pure user data */
2850#ifdef __MigPackStructs
2851#pragma pack(push, 4)
2852#endif
2853 typedef struct {
2854 NDR_record_t NDR;
2855 kern_return_t RetCode;
2856 char padding[0]; /* Avoid generating empty UData structs */
2857 } __ReplyUData__task_set_info_t __attribute__((unused));
2858#ifdef __MigPackStructs
2859#pragma pack(pop)
2860#endif
2861
2862#ifdef __MigPackStructs
2863#pragma pack(push, 4)
2864#endif
2865 typedef struct {
2866 mach_msg_header_t Head;
2867 NDR_record_t NDR;
2868 kern_return_t RetCode;
2869 } __Reply__task_suspend_t __attribute__((unused));
2870#ifdef __MigPackStructs
2871#pragma pack(pop)
2872#endif
2873/* Struct for kernel processed data (Header + Descriptors) */
2874#ifdef __MigPackStructs
2875#pragma pack(push, 4)
2876#endif
2877 typedef struct {
2878 mach_msg_header_t Head;
2879 } __ReplyKData__task_suspend_t __attribute__((unused));
2880#ifdef __MigPackStructs
2881#pragma pack(pop)
2882#endif
2883/* Struct for pure user data */
2884#ifdef __MigPackStructs
2885#pragma pack(push, 4)
2886#endif
2887 typedef struct {
2888 NDR_record_t NDR;
2889 kern_return_t RetCode;
2890 char padding[0]; /* Avoid generating empty UData structs */
2891 } __ReplyUData__task_suspend_t __attribute__((unused));
2892#ifdef __MigPackStructs
2893#pragma pack(pop)
2894#endif
2895
2896#ifdef __MigPackStructs
2897#pragma pack(push, 4)
2898#endif
2899 typedef struct {
2900 mach_msg_header_t Head;
2901 NDR_record_t NDR;
2902 kern_return_t RetCode;
2903 } __Reply__task_resume_t __attribute__((unused));
2904#ifdef __MigPackStructs
2905#pragma pack(pop)
2906#endif
2907/* Struct for kernel processed data (Header + Descriptors) */
2908#ifdef __MigPackStructs
2909#pragma pack(push, 4)
2910#endif
2911 typedef struct {
2912 mach_msg_header_t Head;
2913 } __ReplyKData__task_resume_t __attribute__((unused));
2914#ifdef __MigPackStructs
2915#pragma pack(pop)
2916#endif
2917/* Struct for pure user data */
2918#ifdef __MigPackStructs
2919#pragma pack(push, 4)
2920#endif
2921 typedef struct {
2922 NDR_record_t NDR;
2923 kern_return_t RetCode;
2924 char padding[0]; /* Avoid generating empty UData structs */
2925 } __ReplyUData__task_resume_t __attribute__((unused));
2926#ifdef __MigPackStructs
2927#pragma pack(pop)
2928#endif
2929
2930#ifdef __MigPackStructs
2931#pragma pack(push, 4)
2932#endif
2933 typedef struct {
2934 mach_msg_header_t Head;
2935 /* start of the kernel processed data */
2936 mach_msg_body_t msgh_body;
2937 mach_msg_port_descriptor_t special_port;
2938 /* end of the kernel processed data */
2939 } __Reply__task_get_special_port_from_user_t __attribute__((unused));
2940#ifdef __MigPackStructs
2941#pragma pack(pop)
2942#endif
2943/* Struct for kernel processed data (Header + Descriptors) */
2944#ifdef __MigPackStructs
2945#pragma pack(push, 4)
2946#endif
2947 typedef struct {
2948 mach_msg_header_t Head;
2949 mach_msg_body_t msgh_body;
2950 mach_msg_port_descriptor_t special_port;
2951 } __ReplyKData__task_get_special_port_from_user_t __attribute__((unused));
2952#ifdef __MigPackStructs
2953#pragma pack(pop)
2954#endif
2955/* Struct for pure user data */
2956#ifdef __MigPackStructs
2957#pragma pack(push, 4)
2958#endif
2959 typedef struct {
2960 char padding[0]; /* Avoid generating empty UData structs */
2961 } __ReplyUData__task_get_special_port_from_user_t __attribute__((unused));
2962#ifdef __MigPackStructs
2963#pragma pack(pop)
2964#endif
2965
2966#ifdef __MigPackStructs
2967#pragma pack(push, 4)
2968#endif
2969 typedef struct {
2970 mach_msg_header_t Head;
2971 NDR_record_t NDR;
2972 kern_return_t RetCode;
2973 } __Reply__task_set_special_port_from_user_t __attribute__((unused));
2974#ifdef __MigPackStructs
2975#pragma pack(pop)
2976#endif
2977/* Struct for kernel processed data (Header + Descriptors) */
2978#ifdef __MigPackStructs
2979#pragma pack(push, 4)
2980#endif
2981 typedef struct {
2982 mach_msg_header_t Head;
2983 } __ReplyKData__task_set_special_port_from_user_t __attribute__((unused));
2984#ifdef __MigPackStructs
2985#pragma pack(pop)
2986#endif
2987/* Struct for pure user data */
2988#ifdef __MigPackStructs
2989#pragma pack(push, 4)
2990#endif
2991 typedef struct {
2992 NDR_record_t NDR;
2993 kern_return_t RetCode;
2994 char padding[0]; /* Avoid generating empty UData structs */
2995 } __ReplyUData__task_set_special_port_from_user_t __attribute__((unused));
2996#ifdef __MigPackStructs
2997#pragma pack(pop)
2998#endif
2999
3000#ifdef __MigPackStructs
3001#pragma pack(push, 4)
3002#endif
3003 typedef struct {
3004 mach_msg_header_t Head;
3005 /* start of the kernel processed data */
3006 mach_msg_body_t msgh_body;
3007 mach_msg_port_descriptor_t child_act;
3008 /* end of the kernel processed data */
3009 } __Reply__thread_create_from_user_t __attribute__((unused));
3010#ifdef __MigPackStructs
3011#pragma pack(pop)
3012#endif
3013/* Struct for kernel processed data (Header + Descriptors) */
3014#ifdef __MigPackStructs
3015#pragma pack(push, 4)
3016#endif
3017 typedef struct {
3018 mach_msg_header_t Head;
3019 mach_msg_body_t msgh_body;
3020 mach_msg_port_descriptor_t child_act;
3021 } __ReplyKData__thread_create_from_user_t __attribute__((unused));
3022#ifdef __MigPackStructs
3023#pragma pack(pop)
3024#endif
3025/* Struct for pure user data */
3026#ifdef __MigPackStructs
3027#pragma pack(push, 4)
3028#endif
3029 typedef struct {
3030 char padding[0]; /* Avoid generating empty UData structs */
3031 } __ReplyUData__thread_create_from_user_t __attribute__((unused));
3032#ifdef __MigPackStructs
3033#pragma pack(pop)
3034#endif
3035
3036#ifdef __MigPackStructs
3037#pragma pack(push, 4)
3038#endif
3039 typedef struct {
3040 mach_msg_header_t Head;
3041 /* start of the kernel processed data */
3042 mach_msg_body_t msgh_body;
3043 mach_msg_port_descriptor_t child_act;
3044 /* end of the kernel processed data */
3045 } __Reply__thread_create_running_from_user_t __attribute__((unused));
3046#ifdef __MigPackStructs
3047#pragma pack(pop)
3048#endif
3049/* Struct for kernel processed data (Header + Descriptors) */
3050#ifdef __MigPackStructs
3051#pragma pack(push, 4)
3052#endif
3053 typedef struct {
3054 mach_msg_header_t Head;
3055 mach_msg_body_t msgh_body;
3056 mach_msg_port_descriptor_t child_act;
3057 } __ReplyKData__thread_create_running_from_user_t __attribute__((unused));
3058#ifdef __MigPackStructs
3059#pragma pack(pop)
3060#endif
3061/* Struct for pure user data */
3062#ifdef __MigPackStructs
3063#pragma pack(push, 4)
3064#endif
3065 typedef struct {
3066 char padding[0]; /* Avoid generating empty UData structs */
3067 } __ReplyUData__thread_create_running_from_user_t __attribute__((unused));
3068#ifdef __MigPackStructs
3069#pragma pack(pop)
3070#endif
3071
3072#ifdef __MigPackStructs
3073#pragma pack(push, 4)
3074#endif
3075 typedef struct {
3076 mach_msg_header_t Head;
3077 NDR_record_t NDR;
3078 kern_return_t RetCode;
3079 } __Reply__task_set_exception_ports_t __attribute__((unused));
3080#ifdef __MigPackStructs
3081#pragma pack(pop)
3082#endif
3083/* Struct for kernel processed data (Header + Descriptors) */
3084#ifdef __MigPackStructs
3085#pragma pack(push, 4)
3086#endif
3087 typedef struct {
3088 mach_msg_header_t Head;
3089 } __ReplyKData__task_set_exception_ports_t __attribute__((unused));
3090#ifdef __MigPackStructs
3091#pragma pack(pop)
3092#endif
3093/* Struct for pure user data */
3094#ifdef __MigPackStructs
3095#pragma pack(push, 4)
3096#endif
3097 typedef struct {
3098 NDR_record_t NDR;
3099 kern_return_t RetCode;
3100 char padding[0]; /* Avoid generating empty UData structs */
3101 } __ReplyUData__task_set_exception_ports_t __attribute__((unused));
3102#ifdef __MigPackStructs
3103#pragma pack(pop)
3104#endif
3105
3106#ifdef __MigPackStructs
3107#pragma pack(push, 4)
3108#endif
3109 typedef struct {
3110 mach_msg_header_t Head;
3111 /* start of the kernel processed data */
3112 mach_msg_body_t msgh_body;
3113 mach_msg_port_descriptor_t old_handlers[32];
3114 /* end of the kernel processed data */
3115 NDR_record_t NDR;
3116 mach_msg_type_number_t masksCnt;
3117 exception_mask_t masks[32];
3118 exception_behavior_t old_behaviors[32];
3119 thread_state_flavor_t old_flavors[32];
3120 } __Reply__task_get_exception_ports_from_user_t __attribute__((unused));
3121#ifdef __MigPackStructs
3122#pragma pack(pop)
3123#endif
3124/* Struct for kernel processed data (Header + Descriptors) */
3125#ifdef __MigPackStructs
3126#pragma pack(push, 4)
3127#endif
3128 typedef struct {
3129 mach_msg_header_t Head;
3130 mach_msg_body_t msgh_body;
3131 mach_msg_port_descriptor_t old_handlers[32];
3132 } __ReplyKData__task_get_exception_ports_from_user_t __attribute__((unused));
3133#ifdef __MigPackStructs
3134#pragma pack(pop)
3135#endif
3136/* Struct for pure user data */
3137#ifdef __MigPackStructs
3138#pragma pack(push, 4)
3139#endif
3140 typedef struct {
3141 NDR_record_t NDR;
3142 mach_msg_type_number_t masksCnt;
3143 exception_mask_t masks[32];
3144 exception_behavior_t old_behaviors[32];
3145 thread_state_flavor_t old_flavors[32];
3146 char padding[0]; /* Avoid generating empty UData structs */
3147 } __ReplyUData__task_get_exception_ports_from_user_t __attribute__((unused));
3148#ifdef __MigPackStructs
3149#pragma pack(pop)
3150#endif
3151
3152#ifdef __MigPackStructs
3153#pragma pack(push, 4)
3154#endif
3155 typedef struct {
3156 mach_msg_header_t Head;
3157 /* start of the kernel processed data */
3158 mach_msg_body_t msgh_body;
3159 mach_msg_port_descriptor_t old_handlers[32];
3160 /* end of the kernel processed data */
3161 NDR_record_t NDR;
3162 mach_msg_type_number_t masksCnt;
3163 exception_mask_t masks[32];
3164 exception_behavior_t old_behaviors[32];
3165 thread_state_flavor_t old_flavors[32];
3166 } __Reply__task_swap_exception_ports_t __attribute__((unused));
3167#ifdef __MigPackStructs
3168#pragma pack(pop)
3169#endif
3170/* Struct for kernel processed data (Header + Descriptors) */
3171#ifdef __MigPackStructs
3172#pragma pack(push, 4)
3173#endif
3174 typedef struct {
3175 mach_msg_header_t Head;
3176 mach_msg_body_t msgh_body;
3177 mach_msg_port_descriptor_t old_handlers[32];
3178 } __ReplyKData__task_swap_exception_ports_t __attribute__((unused));
3179#ifdef __MigPackStructs
3180#pragma pack(pop)
3181#endif
3182/* Struct for pure user data */
3183#ifdef __MigPackStructs
3184#pragma pack(push, 4)
3185#endif
3186 typedef struct {
3187 NDR_record_t NDR;
3188 mach_msg_type_number_t masksCnt;
3189 exception_mask_t masks[32];
3190 exception_behavior_t old_behaviors[32];
3191 thread_state_flavor_t old_flavors[32];
3192 char padding[0]; /* Avoid generating empty UData structs */
3193 } __ReplyUData__task_swap_exception_ports_t __attribute__((unused));
3194#ifdef __MigPackStructs
3195#pragma pack(pop)
3196#endif
3197
3198#ifdef __MigPackStructs
3199#pragma pack(push, 4)
3200#endif
3201 typedef struct {
3202 mach_msg_header_t Head;
3203 /* start of the kernel processed data */
3204 mach_msg_body_t msgh_body;
3205 mach_msg_port_descriptor_t semaphore;
3206 /* end of the kernel processed data */
3207 } __Reply__semaphore_create_t __attribute__((unused));
3208#ifdef __MigPackStructs
3209#pragma pack(pop)
3210#endif
3211/* Struct for kernel processed data (Header + Descriptors) */
3212#ifdef __MigPackStructs
3213#pragma pack(push, 4)
3214#endif
3215 typedef struct {
3216 mach_msg_header_t Head;
3217 mach_msg_body_t msgh_body;
3218 mach_msg_port_descriptor_t semaphore;
3219 } __ReplyKData__semaphore_create_t __attribute__((unused));
3220#ifdef __MigPackStructs
3221#pragma pack(pop)
3222#endif
3223/* Struct for pure user data */
3224#ifdef __MigPackStructs
3225#pragma pack(push, 4)
3226#endif
3227 typedef struct {
3228 char padding[0]; /* Avoid generating empty UData structs */
3229 } __ReplyUData__semaphore_create_t __attribute__((unused));
3230#ifdef __MigPackStructs
3231#pragma pack(pop)
3232#endif
3233
3234#ifdef __MigPackStructs
3235#pragma pack(push, 4)
3236#endif
3237 typedef struct {
3238 mach_msg_header_t Head;
3239 NDR_record_t NDR;
3240 kern_return_t RetCode;
3241 } __Reply__semaphore_destroy_t __attribute__((unused));
3242#ifdef __MigPackStructs
3243#pragma pack(pop)
3244#endif
3245/* Struct for kernel processed data (Header + Descriptors) */
3246#ifdef __MigPackStructs
3247#pragma pack(push, 4)
3248#endif
3249 typedef struct {
3250 mach_msg_header_t Head;
3251 } __ReplyKData__semaphore_destroy_t __attribute__((unused));
3252#ifdef __MigPackStructs
3253#pragma pack(pop)
3254#endif
3255/* Struct for pure user data */
3256#ifdef __MigPackStructs
3257#pragma pack(push, 4)
3258#endif
3259 typedef struct {
3260 NDR_record_t NDR;
3261 kern_return_t RetCode;
3262 char padding[0]; /* Avoid generating empty UData structs */
3263 } __ReplyUData__semaphore_destroy_t __attribute__((unused));
3264#ifdef __MigPackStructs
3265#pragma pack(pop)
3266#endif
3267
3268#ifdef __MigPackStructs
3269#pragma pack(push, 4)
3270#endif
3271 typedef struct {
3272 mach_msg_header_t Head;
3273 NDR_record_t NDR;
3274 kern_return_t RetCode;
3275 } __Reply__task_policy_set_t __attribute__((unused));
3276#ifdef __MigPackStructs
3277#pragma pack(pop)
3278#endif
3279/* Struct for kernel processed data (Header + Descriptors) */
3280#ifdef __MigPackStructs
3281#pragma pack(push, 4)
3282#endif
3283 typedef struct {
3284 mach_msg_header_t Head;
3285 } __ReplyKData__task_policy_set_t __attribute__((unused));
3286#ifdef __MigPackStructs
3287#pragma pack(pop)
3288#endif
3289/* Struct for pure user data */
3290#ifdef __MigPackStructs
3291#pragma pack(push, 4)
3292#endif
3293 typedef struct {
3294 NDR_record_t NDR;
3295 kern_return_t RetCode;
3296 char padding[0]; /* Avoid generating empty UData structs */
3297 } __ReplyUData__task_policy_set_t __attribute__((unused));
3298#ifdef __MigPackStructs
3299#pragma pack(pop)
3300#endif
3301
3302#ifdef __MigPackStructs
3303#pragma pack(push, 4)
3304#endif
3305 typedef struct {
3306 mach_msg_header_t Head;
3307 NDR_record_t NDR;
3308 kern_return_t RetCode;
3309 mach_msg_type_number_t policy_infoCnt;
3310 integer_t policy_info[16];
3311 boolean_t get_default;
3312 } __Reply__task_policy_get_t __attribute__((unused));
3313#ifdef __MigPackStructs
3314#pragma pack(pop)
3315#endif
3316/* Struct for kernel processed data (Header + Descriptors) */
3317#ifdef __MigPackStructs
3318#pragma pack(push, 4)
3319#endif
3320 typedef struct {
3321 mach_msg_header_t Head;
3322 } __ReplyKData__task_policy_get_t __attribute__((unused));
3323#ifdef __MigPackStructs
3324#pragma pack(pop)
3325#endif
3326/* Struct for pure user data */
3327#ifdef __MigPackStructs
3328#pragma pack(push, 4)
3329#endif
3330 typedef struct {
3331 NDR_record_t NDR;
3332 kern_return_t RetCode;
3333 mach_msg_type_number_t policy_infoCnt;
3334 integer_t policy_info[16];
3335 boolean_t get_default;
3336 char padding[0]; /* Avoid generating empty UData structs */
3337 } __ReplyUData__task_policy_get_t __attribute__((unused));
3338#ifdef __MigPackStructs
3339#pragma pack(pop)
3340#endif
3341
3342#ifdef __MigPackStructs
3343#pragma pack(push, 4)
3344#endif
3345 typedef struct {
3346 mach_msg_header_t Head;
3347 NDR_record_t NDR;
3348 kern_return_t RetCode;
3349 mach_msg_type_number_t old_stateCnt;
3350 natural_t old_state[1296];
3351 } __Reply__task_get_state_t __attribute__((unused));
3352#ifdef __MigPackStructs
3353#pragma pack(pop)
3354#endif
3355/* Struct for kernel processed data (Header + Descriptors) */
3356#ifdef __MigPackStructs
3357#pragma pack(push, 4)
3358#endif
3359 typedef struct {
3360 mach_msg_header_t Head;
3361 } __ReplyKData__task_get_state_t __attribute__((unused));
3362#ifdef __MigPackStructs
3363#pragma pack(pop)
3364#endif
3365/* Struct for pure user data */
3366#ifdef __MigPackStructs
3367#pragma pack(push, 4)
3368#endif
3369 typedef struct {
3370 NDR_record_t NDR;
3371 kern_return_t RetCode;
3372 mach_msg_type_number_t old_stateCnt;
3373 natural_t old_state[1296];
3374 char padding[0]; /* Avoid generating empty UData structs */
3375 } __ReplyUData__task_get_state_t __attribute__((unused));
3376#ifdef __MigPackStructs
3377#pragma pack(pop)
3378#endif
3379
3380#ifdef __MigPackStructs
3381#pragma pack(push, 4)
3382#endif
3383 typedef struct {
3384 mach_msg_header_t Head;
3385 NDR_record_t NDR;
3386 kern_return_t RetCode;
3387 } __Reply__task_set_state_t __attribute__((unused));
3388#ifdef __MigPackStructs
3389#pragma pack(pop)
3390#endif
3391/* Struct for kernel processed data (Header + Descriptors) */
3392#ifdef __MigPackStructs
3393#pragma pack(push, 4)
3394#endif
3395 typedef struct {
3396 mach_msg_header_t Head;
3397 } __ReplyKData__task_set_state_t __attribute__((unused));
3398#ifdef __MigPackStructs
3399#pragma pack(pop)
3400#endif
3401/* Struct for pure user data */
3402#ifdef __MigPackStructs
3403#pragma pack(push, 4)
3404#endif
3405 typedef struct {
3406 NDR_record_t NDR;
3407 kern_return_t RetCode;
3408 char padding[0]; /* Avoid generating empty UData structs */
3409 } __ReplyUData__task_set_state_t __attribute__((unused));
3410#ifdef __MigPackStructs
3411#pragma pack(pop)
3412#endif
3413
3414#ifdef __MigPackStructs
3415#pragma pack(push, 4)
3416#endif
3417 typedef struct {
3418 mach_msg_header_t Head;
3419 NDR_record_t NDR;
3420 kern_return_t RetCode;
3421 int old_limit;
3422 } __Reply__task_set_phys_footprint_limit_t __attribute__((unused));
3423#ifdef __MigPackStructs
3424#pragma pack(pop)
3425#endif
3426/* Struct for kernel processed data (Header + Descriptors) */
3427#ifdef __MigPackStructs
3428#pragma pack(push, 4)
3429#endif
3430 typedef struct {
3431 mach_msg_header_t Head;
3432 } __ReplyKData__task_set_phys_footprint_limit_t __attribute__((unused));
3433#ifdef __MigPackStructs
3434#pragma pack(pop)
3435#endif
3436/* Struct for pure user data */
3437#ifdef __MigPackStructs
3438#pragma pack(push, 4)
3439#endif
3440 typedef struct {
3441 NDR_record_t NDR;
3442 kern_return_t RetCode;
3443 int old_limit;
3444 char padding[0]; /* Avoid generating empty UData structs */
3445 } __ReplyUData__task_set_phys_footprint_limit_t __attribute__((unused));
3446#ifdef __MigPackStructs
3447#pragma pack(pop)
3448#endif
3449
3450#ifdef __MigPackStructs
3451#pragma pack(push, 4)
3452#endif
3453 typedef struct {
3454 mach_msg_header_t Head;
3455 /* start of the kernel processed data */
3456 mach_msg_body_t msgh_body;
3457 mach_msg_port_descriptor_t suspend_token;
3458 /* end of the kernel processed data */
3459 } __Reply__task_suspend2_mig_t __attribute__((unused));
3460#ifdef __MigPackStructs
3461#pragma pack(pop)
3462#endif
3463/* Struct for kernel processed data (Header + Descriptors) */
3464#ifdef __MigPackStructs
3465#pragma pack(push, 4)
3466#endif
3467 typedef struct {
3468 mach_msg_header_t Head;
3469 mach_msg_body_t msgh_body;
3470 mach_msg_port_descriptor_t suspend_token;
3471 } __ReplyKData__task_suspend2_mig_t __attribute__((unused));
3472#ifdef __MigPackStructs
3473#pragma pack(pop)
3474#endif
3475/* Struct for pure user data */
3476#ifdef __MigPackStructs
3477#pragma pack(push, 4)
3478#endif
3479 typedef struct {
3480 char padding[0]; /* Avoid generating empty UData structs */
3481 } __ReplyUData__task_suspend2_mig_t __attribute__((unused));
3482#ifdef __MigPackStructs
3483#pragma pack(pop)
3484#endif
3485
3486#ifdef __MigPackStructs
3487#pragma pack(push, 4)
3488#endif
3489 typedef struct {
3490 mach_msg_header_t Head;
3491 NDR_record_t NDR;
3492 kern_return_t RetCode;
3493 } __Reply__task_resume2_mig_t __attribute__((unused));
3494#ifdef __MigPackStructs
3495#pragma pack(pop)
3496#endif
3497/* Struct for kernel processed data (Header + Descriptors) */
3498#ifdef __MigPackStructs
3499#pragma pack(push, 4)
3500#endif
3501 typedef struct {
3502 mach_msg_header_t Head;
3503 } __ReplyKData__task_resume2_mig_t __attribute__((unused));
3504#ifdef __MigPackStructs
3505#pragma pack(pop)
3506#endif
3507/* Struct for pure user data */
3508#ifdef __MigPackStructs
3509#pragma pack(push, 4)
3510#endif
3511 typedef struct {
3512 NDR_record_t NDR;
3513 kern_return_t RetCode;
3514 char padding[0]; /* Avoid generating empty UData structs */
3515 } __ReplyUData__task_resume2_mig_t __attribute__((unused));
3516#ifdef __MigPackStructs
3517#pragma pack(pop)
3518#endif
3519
3520#ifdef __MigPackStructs
3521#pragma pack(push, 4)
3522#endif
3523 typedef struct {
3524 mach_msg_header_t Head;
3525 NDR_record_t NDR;
3526 kern_return_t RetCode;
3527 task_purgable_info_t stats;
3528 } __Reply__task_purgable_info_t __attribute__((unused));
3529#ifdef __MigPackStructs
3530#pragma pack(pop)
3531#endif
3532/* Struct for kernel processed data (Header + Descriptors) */
3533#ifdef __MigPackStructs
3534#pragma pack(push, 4)
3535#endif
3536 typedef struct {
3537 mach_msg_header_t Head;
3538 } __ReplyKData__task_purgable_info_t __attribute__((unused));
3539#ifdef __MigPackStructs
3540#pragma pack(pop)
3541#endif
3542/* Struct for pure user data */
3543#ifdef __MigPackStructs
3544#pragma pack(push, 4)
3545#endif
3546 typedef struct {
3547 NDR_record_t NDR;
3548 kern_return_t RetCode;
3549 task_purgable_info_t stats;
3550 char padding[0]; /* Avoid generating empty UData structs */
3551 } __ReplyUData__task_purgable_info_t __attribute__((unused));
3552#ifdef __MigPackStructs
3553#pragma pack(pop)
3554#endif
3555
3556#ifdef __MigPackStructs
3557#pragma pack(push, 4)
3558#endif
3559 typedef struct {
3560 mach_msg_header_t Head;
3561 /* start of the kernel processed data */
3562 mach_msg_body_t msgh_body;
3563 mach_msg_port_descriptor_t voucher;
3564 /* end of the kernel processed data */
3565 } __Reply__task_get_mach_voucher_t __attribute__((unused));
3566#ifdef __MigPackStructs
3567#pragma pack(pop)
3568#endif
3569/* Struct for kernel processed data (Header + Descriptors) */
3570#ifdef __MigPackStructs
3571#pragma pack(push, 4)
3572#endif
3573 typedef struct {
3574 mach_msg_header_t Head;
3575 mach_msg_body_t msgh_body;
3576 mach_msg_port_descriptor_t voucher;
3577 } __ReplyKData__task_get_mach_voucher_t __attribute__((unused));
3578#ifdef __MigPackStructs
3579#pragma pack(pop)
3580#endif
3581/* Struct for pure user data */
3582#ifdef __MigPackStructs
3583#pragma pack(push, 4)
3584#endif
3585 typedef struct {
3586 char padding[0]; /* Avoid generating empty UData structs */
3587 } __ReplyUData__task_get_mach_voucher_t __attribute__((unused));
3588#ifdef __MigPackStructs
3589#pragma pack(pop)
3590#endif
3591
3592#ifdef __MigPackStructs
3593#pragma pack(push, 4)
3594#endif
3595 typedef struct {
3596 mach_msg_header_t Head;
3597 NDR_record_t NDR;
3598 kern_return_t RetCode;
3599 } __Reply__task_set_mach_voucher_t __attribute__((unused));
3600#ifdef __MigPackStructs
3601#pragma pack(pop)
3602#endif
3603/* Struct for kernel processed data (Header + Descriptors) */
3604#ifdef __MigPackStructs
3605#pragma pack(push, 4)
3606#endif
3607 typedef struct {
3608 mach_msg_header_t Head;
3609 } __ReplyKData__task_set_mach_voucher_t __attribute__((unused));
3610#ifdef __MigPackStructs
3611#pragma pack(pop)
3612#endif
3613/* Struct for pure user data */
3614#ifdef __MigPackStructs
3615#pragma pack(push, 4)
3616#endif
3617 typedef struct {
3618 NDR_record_t NDR;
3619 kern_return_t RetCode;
3620 char padding[0]; /* Avoid generating empty UData structs */
3621 } __ReplyUData__task_set_mach_voucher_t __attribute__((unused));
3622#ifdef __MigPackStructs
3623#pragma pack(pop)
3624#endif
3625
3626#ifdef __MigPackStructs
3627#pragma pack(push, 4)
3628#endif
3629 typedef struct {
3630 mach_msg_header_t Head;
3631 /* start of the kernel processed data */
3632 mach_msg_body_t msgh_body;
3633 mach_msg_port_descriptor_t old_voucher;
3634 /* end of the kernel processed data */
3635 } __Reply__task_swap_mach_voucher_t __attribute__((unused));
3636#ifdef __MigPackStructs
3637#pragma pack(pop)
3638#endif
3639/* Struct for kernel processed data (Header + Descriptors) */
3640#ifdef __MigPackStructs
3641#pragma pack(push, 4)
3642#endif
3643 typedef struct {
3644 mach_msg_header_t Head;
3645 mach_msg_body_t msgh_body;
3646 mach_msg_port_descriptor_t old_voucher;
3647 } __ReplyKData__task_swap_mach_voucher_t __attribute__((unused));
3648#ifdef __MigPackStructs
3649#pragma pack(pop)
3650#endif
3651/* Struct for pure user data */
3652#ifdef __MigPackStructs
3653#pragma pack(push, 4)
3654#endif
3655 typedef struct {
3656 char padding[0]; /* Avoid generating empty UData structs */
3657 } __ReplyUData__task_swap_mach_voucher_t __attribute__((unused));
3658#ifdef __MigPackStructs
3659#pragma pack(pop)
3660#endif
3661
3662#ifdef __MigPackStructs
3663#pragma pack(push, 4)
3664#endif
3665 typedef struct {
3666 mach_msg_header_t Head;
3667 /* start of the kernel processed data */
3668 mach_msg_body_t msgh_body;
3669 mach_msg_port_descriptor_t corpse_task_port;
3670 /* end of the kernel processed data */
3671 } __Reply__task_generate_corpse_t __attribute__((unused));
3672#ifdef __MigPackStructs
3673#pragma pack(pop)
3674#endif
3675/* Struct for kernel processed data (Header + Descriptors) */
3676#ifdef __MigPackStructs
3677#pragma pack(push, 4)
3678#endif
3679 typedef struct {
3680 mach_msg_header_t Head;
3681 mach_msg_body_t msgh_body;
3682 mach_msg_port_descriptor_t corpse_task_port;
3683 } __ReplyKData__task_generate_corpse_t __attribute__((unused));
3684#ifdef __MigPackStructs
3685#pragma pack(pop)
3686#endif
3687/* Struct for pure user data */
3688#ifdef __MigPackStructs
3689#pragma pack(push, 4)
3690#endif
3691 typedef struct {
3692 char padding[0]; /* Avoid generating empty UData structs */
3693 } __ReplyUData__task_generate_corpse_t __attribute__((unused));
3694#ifdef __MigPackStructs
3695#pragma pack(pop)
3696#endif
3697
3698#ifdef __MigPackStructs
3699#pragma pack(push, 4)
3700#endif
3701 typedef struct {
3702 mach_msg_header_t Head;
3703 NDR_record_t NDR;
3704 kern_return_t RetCode;
3705 vm_address_t kcd_addr_begin;
3706 uint32_t kcd_size;
3707 } __Reply__task_map_corpse_info_t __attribute__((unused));
3708#ifdef __MigPackStructs
3709#pragma pack(pop)
3710#endif
3711/* Struct for kernel processed data (Header + Descriptors) */
3712#ifdef __MigPackStructs
3713#pragma pack(push, 4)
3714#endif
3715 typedef struct {
3716 mach_msg_header_t Head;
3717 } __ReplyKData__task_map_corpse_info_t __attribute__((unused));
3718#ifdef __MigPackStructs
3719#pragma pack(pop)
3720#endif
3721/* Struct for pure user data */
3722#ifdef __MigPackStructs
3723#pragma pack(push, 4)
3724#endif
3725 typedef struct {
3726 NDR_record_t NDR;
3727 kern_return_t RetCode;
3728 vm_address_t kcd_addr_begin;
3729 uint32_t kcd_size;
3730 char padding[0]; /* Avoid generating empty UData structs */
3731 } __ReplyUData__task_map_corpse_info_t __attribute__((unused));
3732#ifdef __MigPackStructs
3733#pragma pack(pop)
3734#endif
3735
3736#ifdef __MigPackStructs
3737#pragma pack(push, 4)
3738#endif
3739 typedef struct {
3740 mach_msg_header_t Head;
3741 NDR_record_t NDR;
3742 kern_return_t RetCode;
3743 } __Reply__task_register_dyld_image_infos_t __attribute__((unused));
3744#ifdef __MigPackStructs
3745#pragma pack(pop)
3746#endif
3747/* Struct for kernel processed data (Header + Descriptors) */
3748#ifdef __MigPackStructs
3749#pragma pack(push, 4)
3750#endif
3751 typedef struct {
3752 mach_msg_header_t Head;
3753 } __ReplyKData__task_register_dyld_image_infos_t __attribute__((unused));
3754#ifdef __MigPackStructs
3755#pragma pack(pop)
3756#endif
3757/* Struct for pure user data */
3758#ifdef __MigPackStructs
3759#pragma pack(push, 4)
3760#endif
3761 typedef struct {
3762 NDR_record_t NDR;
3763 kern_return_t RetCode;
3764 char padding[0]; /* Avoid generating empty UData structs */
3765 } __ReplyUData__task_register_dyld_image_infos_t __attribute__((unused));
3766#ifdef __MigPackStructs
3767#pragma pack(pop)
3768#endif
3769
3770#ifdef __MigPackStructs
3771#pragma pack(push, 4)
3772#endif
3773 typedef struct {
3774 mach_msg_header_t Head;
3775 NDR_record_t NDR;
3776 kern_return_t RetCode;
3777 } __Reply__task_unregister_dyld_image_infos_t __attribute__((unused));
3778#ifdef __MigPackStructs
3779#pragma pack(pop)
3780#endif
3781/* Struct for kernel processed data (Header + Descriptors) */
3782#ifdef __MigPackStructs
3783#pragma pack(push, 4)
3784#endif
3785 typedef struct {
3786 mach_msg_header_t Head;
3787 } __ReplyKData__task_unregister_dyld_image_infos_t __attribute__((unused));
3788#ifdef __MigPackStructs
3789#pragma pack(pop)
3790#endif
3791/* Struct for pure user data */
3792#ifdef __MigPackStructs
3793#pragma pack(push, 4)
3794#endif
3795 typedef struct {
3796 NDR_record_t NDR;
3797 kern_return_t RetCode;
3798 char padding[0]; /* Avoid generating empty UData structs */
3799 } __ReplyUData__task_unregister_dyld_image_infos_t __attribute__((unused));
3800#ifdef __MigPackStructs
3801#pragma pack(pop)
3802#endif
3803
3804#ifdef __MigPackStructs
3805#pragma pack(push, 4)
3806#endif
3807 typedef struct {
3808 mach_msg_header_t Head;
3809 /* start of the kernel processed data */
3810 mach_msg_body_t msgh_body;
3811 mach_msg_ool_descriptor_t dyld_images;
3812 /* end of the kernel processed data */
3813 NDR_record_t NDR;
3814 mach_msg_type_number_t dyld_imagesCnt;
3815 } __Reply__task_get_dyld_image_infos_t __attribute__((unused));
3816#ifdef __MigPackStructs
3817#pragma pack(pop)
3818#endif
3819/* Struct for kernel processed data (Header + Descriptors) */
3820#ifdef __MigPackStructs
3821#pragma pack(push, 4)
3822#endif
3823 typedef struct {
3824 mach_msg_header_t Head;
3825 mach_msg_body_t msgh_body;
3826 mach_msg_ool_descriptor_t dyld_images;
3827 } __ReplyKData__task_get_dyld_image_infos_t __attribute__((unused));
3828#ifdef __MigPackStructs
3829#pragma pack(pop)
3830#endif
3831/* Struct for pure user data */
3832#ifdef __MigPackStructs
3833#pragma pack(push, 4)
3834#endif
3835 typedef struct {
3836 NDR_record_t NDR;
3837 mach_msg_type_number_t dyld_imagesCnt;
3838 char padding[0]; /* Avoid generating empty UData structs */
3839 } __ReplyUData__task_get_dyld_image_infos_t __attribute__((unused));
3840#ifdef __MigPackStructs
3841#pragma pack(pop)
3842#endif
3843
3844#ifdef __MigPackStructs
3845#pragma pack(push, 4)
3846#endif
3847 typedef struct {
3848 mach_msg_header_t Head;
3849 NDR_record_t NDR;
3850 kern_return_t RetCode;
3851 } __Reply__task_register_dyld_shared_cache_image_info_t __attribute__((unused));
3852#ifdef __MigPackStructs
3853#pragma pack(pop)
3854#endif
3855/* Struct for kernel processed data (Header + Descriptors) */
3856#ifdef __MigPackStructs
3857#pragma pack(push, 4)
3858#endif
3859 typedef struct {
3860 mach_msg_header_t Head;
3861 } __ReplyKData__task_register_dyld_shared_cache_image_info_t __attribute__((unused));
3862#ifdef __MigPackStructs
3863#pragma pack(pop)
3864#endif
3865/* Struct for pure user data */
3866#ifdef __MigPackStructs
3867#pragma pack(push, 4)
3868#endif
3869 typedef struct {
3870 NDR_record_t NDR;
3871 kern_return_t RetCode;
3872 char padding[0]; /* Avoid generating empty UData structs */
3873 } __ReplyUData__task_register_dyld_shared_cache_image_info_t __attribute__((unused));
3874#ifdef __MigPackStructs
3875#pragma pack(pop)
3876#endif
3877
3878#ifdef __MigPackStructs
3879#pragma pack(push, 4)
3880#endif
3881 typedef struct {
3882 mach_msg_header_t Head;
3883 NDR_record_t NDR;
3884 kern_return_t RetCode;
3885 } __Reply__task_register_dyld_set_dyld_state_t __attribute__((unused));
3886#ifdef __MigPackStructs
3887#pragma pack(pop)
3888#endif
3889/* Struct for kernel processed data (Header + Descriptors) */
3890#ifdef __MigPackStructs
3891#pragma pack(push, 4)
3892#endif
3893 typedef struct {
3894 mach_msg_header_t Head;
3895 } __ReplyKData__task_register_dyld_set_dyld_state_t __attribute__((unused));
3896#ifdef __MigPackStructs
3897#pragma pack(pop)
3898#endif
3899/* Struct for pure user data */
3900#ifdef __MigPackStructs
3901#pragma pack(push, 4)
3902#endif
3903 typedef struct {
3904 NDR_record_t NDR;
3905 kern_return_t RetCode;
3906 char padding[0]; /* Avoid generating empty UData structs */
3907 } __ReplyUData__task_register_dyld_set_dyld_state_t __attribute__((unused));
3908#ifdef __MigPackStructs
3909#pragma pack(pop)
3910#endif
3911
3912#ifdef __MigPackStructs
3913#pragma pack(push, 4)
3914#endif
3915 typedef struct {
3916 mach_msg_header_t Head;
3917 NDR_record_t NDR;
3918 kern_return_t RetCode;
3919 dyld_kernel_process_info_t dyld_process_state;
3920 } __Reply__task_register_dyld_get_process_state_t __attribute__((unused));
3921#ifdef __MigPackStructs
3922#pragma pack(pop)
3923#endif
3924/* Struct for kernel processed data (Header + Descriptors) */
3925#ifdef __MigPackStructs
3926#pragma pack(push, 4)
3927#endif
3928 typedef struct {
3929 mach_msg_header_t Head;
3930 } __ReplyKData__task_register_dyld_get_process_state_t __attribute__((unused));
3931#ifdef __MigPackStructs
3932#pragma pack(pop)
3933#endif
3934/* Struct for pure user data */
3935#ifdef __MigPackStructs
3936#pragma pack(push, 4)
3937#endif
3938 typedef struct {
3939 NDR_record_t NDR;
3940 kern_return_t RetCode;
3941 dyld_kernel_process_info_t dyld_process_state;
3942 char padding[0]; /* Avoid generating empty UData structs */
3943 } __ReplyUData__task_register_dyld_get_process_state_t __attribute__((unused));
3944#ifdef __MigPackStructs
3945#pragma pack(pop)
3946#endif
3947
3948#ifdef __MigPackStructs
3949#pragma pack(push, 4)
3950#endif
3951 typedef struct {
3952 mach_msg_header_t Head;
3953 NDR_record_t NDR;
3954 kern_return_t RetCode;
3955 mach_vm_address_t kcd_addr_begin;
3956 mach_vm_size_t kcd_size;
3957 } __Reply__task_map_corpse_info_64_t __attribute__((unused));
3958#ifdef __MigPackStructs
3959#pragma pack(pop)
3960#endif
3961/* Struct for kernel processed data (Header + Descriptors) */
3962#ifdef __MigPackStructs
3963#pragma pack(push, 4)
3964#endif
3965 typedef struct {
3966 mach_msg_header_t Head;
3967 } __ReplyKData__task_map_corpse_info_64_t __attribute__((unused));
3968#ifdef __MigPackStructs
3969#pragma pack(pop)
3970#endif
3971/* Struct for pure user data */
3972#ifdef __MigPackStructs
3973#pragma pack(push, 4)
3974#endif
3975 typedef struct {
3976 NDR_record_t NDR;
3977 kern_return_t RetCode;
3978 mach_vm_address_t kcd_addr_begin;
3979 mach_vm_size_t kcd_size;
3980 char padding[0]; /* Avoid generating empty UData structs */
3981 } __ReplyUData__task_map_corpse_info_64_t __attribute__((unused));
3982#ifdef __MigPackStructs
3983#pragma pack(pop)
3984#endif
3985
3986#ifdef __MigPackStructs
3987#pragma pack(push, 4)
3988#endif
3989 typedef struct {
3990 mach_msg_header_t Head;
3991 NDR_record_t NDR;
3992 kern_return_t RetCode;
3993 mach_msg_type_number_t info_outCnt;
3994 integer_t info_out[4];
3995 } __Reply__task_inspect_t __attribute__((unused));
3996#ifdef __MigPackStructs
3997#pragma pack(pop)
3998#endif
3999/* Struct for kernel processed data (Header + Descriptors) */
4000#ifdef __MigPackStructs
4001#pragma pack(push, 4)
4002#endif
4003 typedef struct {
4004 mach_msg_header_t Head;
4005 } __ReplyKData__task_inspect_t __attribute__((unused));
4006#ifdef __MigPackStructs
4007#pragma pack(pop)
4008#endif
4009/* Struct for pure user data */
4010#ifdef __MigPackStructs
4011#pragma pack(push, 4)
4012#endif
4013 typedef struct {
4014 NDR_record_t NDR;
4015 kern_return_t RetCode;
4016 mach_msg_type_number_t info_outCnt;
4017 integer_t info_out[4];
4018 char padding[0]; /* Avoid generating empty UData structs */
4019 } __ReplyUData__task_inspect_t __attribute__((unused));
4020#ifdef __MigPackStructs
4021#pragma pack(pop)
4022#endif
4023
4024#ifdef __MigPackStructs
4025#pragma pack(push, 4)
4026#endif
4027 typedef struct {
4028 mach_msg_header_t Head;
4029 NDR_record_t NDR;
4030 kern_return_t RetCode;
4031 task_exc_guard_behavior_t behavior;
4032 } __Reply__task_get_exc_guard_behavior_t __attribute__((unused));
4033#ifdef __MigPackStructs
4034#pragma pack(pop)
4035#endif
4036/* Struct for kernel processed data (Header + Descriptors) */
4037#ifdef __MigPackStructs
4038#pragma pack(push, 4)
4039#endif
4040 typedef struct {
4041 mach_msg_header_t Head;
4042 } __ReplyKData__task_get_exc_guard_behavior_t __attribute__((unused));
4043#ifdef __MigPackStructs
4044#pragma pack(pop)
4045#endif
4046/* Struct for pure user data */
4047#ifdef __MigPackStructs
4048#pragma pack(push, 4)
4049#endif
4050 typedef struct {
4051 NDR_record_t NDR;
4052 kern_return_t RetCode;
4053 task_exc_guard_behavior_t behavior;
4054 char padding[0]; /* Avoid generating empty UData structs */
4055 } __ReplyUData__task_get_exc_guard_behavior_t __attribute__((unused));
4056#ifdef __MigPackStructs
4057#pragma pack(pop)
4058#endif
4059
4060#ifdef __MigPackStructs
4061#pragma pack(push, 4)
4062#endif
4063 typedef struct {
4064 mach_msg_header_t Head;
4065 NDR_record_t NDR;
4066 kern_return_t RetCode;
4067 } __Reply__task_set_exc_guard_behavior_t __attribute__((unused));
4068#ifdef __MigPackStructs
4069#pragma pack(pop)
4070#endif
4071/* Struct for kernel processed data (Header + Descriptors) */
4072#ifdef __MigPackStructs
4073#pragma pack(push, 4)
4074#endif
4075 typedef struct {
4076 mach_msg_header_t Head;
4077 } __ReplyKData__task_set_exc_guard_behavior_t __attribute__((unused));
4078#ifdef __MigPackStructs
4079#pragma pack(pop)
4080#endif
4081/* Struct for pure user data */
4082#ifdef __MigPackStructs
4083#pragma pack(push, 4)
4084#endif
4085 typedef struct {
4086 NDR_record_t NDR;
4087 kern_return_t RetCode;
4088 char padding[0]; /* Avoid generating empty UData structs */
4089 } __ReplyUData__task_set_exc_guard_behavior_t __attribute__((unused));
4090#ifdef __MigPackStructs
4091#pragma pack(pop)
4092#endif
4093
4094#ifdef __MigPackStructs
4095#pragma pack(push, 4)
4096#endif
4097 typedef struct {
4098 mach_msg_header_t Head;
4099 NDR_record_t NDR;
4100 kern_return_t RetCode;
4101 boolean_t is_self;
4102 } __Reply__mach_task_is_self_t __attribute__((unused));
4103#ifdef __MigPackStructs
4104#pragma pack(pop)
4105#endif
4106/* Struct for kernel processed data (Header + Descriptors) */
4107#ifdef __MigPackStructs
4108#pragma pack(push, 4)
4109#endif
4110 typedef struct {
4111 mach_msg_header_t Head;
4112 } __ReplyKData__mach_task_is_self_t __attribute__((unused));
4113#ifdef __MigPackStructs
4114#pragma pack(pop)
4115#endif
4116/* Struct for pure user data */
4117#ifdef __MigPackStructs
4118#pragma pack(push, 4)
4119#endif
4120 typedef struct {
4121 NDR_record_t NDR;
4122 kern_return_t RetCode;
4123 boolean_t is_self;
4124 char padding[0]; /* Avoid generating empty UData structs */
4125 } __ReplyUData__mach_task_is_self_t __attribute__((unused));
4126#ifdef __MigPackStructs
4127#pragma pack(pop)
4128#endif
4129
4130#ifdef __MigPackStructs
4131#pragma pack(push, 4)
4132#endif
4133 typedef struct {
4134 mach_msg_header_t Head;
4135 NDR_record_t NDR;
4136 kern_return_t RetCode;
4137 } __Reply__task_dyld_process_info_notify_register_t __attribute__((unused));
4138#ifdef __MigPackStructs
4139#pragma pack(pop)
4140#endif
4141/* Struct for kernel processed data (Header + Descriptors) */
4142#ifdef __MigPackStructs
4143#pragma pack(push, 4)
4144#endif
4145 typedef struct {
4146 mach_msg_header_t Head;
4147 } __ReplyKData__task_dyld_process_info_notify_register_t __attribute__((unused));
4148#ifdef __MigPackStructs
4149#pragma pack(pop)
4150#endif
4151/* Struct for pure user data */
4152#ifdef __MigPackStructs
4153#pragma pack(push, 4)
4154#endif
4155 typedef struct {
4156 NDR_record_t NDR;
4157 kern_return_t RetCode;
4158 char padding[0]; /* Avoid generating empty UData structs */
4159 } __ReplyUData__task_dyld_process_info_notify_register_t __attribute__((unused));
4160#ifdef __MigPackStructs
4161#pragma pack(pop)
4162#endif
4163
4164#ifdef __MigPackStructs
4165#pragma pack(push, 4)
4166#endif
4167 typedef struct {
4168 mach_msg_header_t Head;
4169 /* start of the kernel processed data */
4170 mach_msg_body_t msgh_body;
4171 mach_msg_port_descriptor_t token;
4172 /* end of the kernel processed data */
4173 } __Reply__task_create_identity_token_t __attribute__((unused));
4174#ifdef __MigPackStructs
4175#pragma pack(pop)
4176#endif
4177/* Struct for kernel processed data (Header + Descriptors) */
4178#ifdef __MigPackStructs
4179#pragma pack(push, 4)
4180#endif
4181 typedef struct {
4182 mach_msg_header_t Head;
4183 mach_msg_body_t msgh_body;
4184 mach_msg_port_descriptor_t token;
4185 } __ReplyKData__task_create_identity_token_t __attribute__((unused));
4186#ifdef __MigPackStructs
4187#pragma pack(pop)
4188#endif
4189/* Struct for pure user data */
4190#ifdef __MigPackStructs
4191#pragma pack(push, 4)
4192#endif
4193 typedef struct {
4194 char padding[0]; /* Avoid generating empty UData structs */
4195 } __ReplyUData__task_create_identity_token_t __attribute__((unused));
4196#ifdef __MigPackStructs
4197#pragma pack(pop)
4198#endif
4199
4200#ifdef __MigPackStructs
4201#pragma pack(push, 4)
4202#endif
4203 typedef struct {
4204 mach_msg_header_t Head;
4205 /* start of the kernel processed data */
4206 mach_msg_body_t msgh_body;
4207 mach_msg_port_descriptor_t task_port;
4208 /* end of the kernel processed data */
4209 } __Reply__task_identity_token_get_task_port_t __attribute__((unused));
4210#ifdef __MigPackStructs
4211#pragma pack(pop)
4212#endif
4213/* Struct for kernel processed data (Header + Descriptors) */
4214#ifdef __MigPackStructs
4215#pragma pack(push, 4)
4216#endif
4217 typedef struct {
4218 mach_msg_header_t Head;
4219 mach_msg_body_t msgh_body;
4220 mach_msg_port_descriptor_t task_port;
4221 } __ReplyKData__task_identity_token_get_task_port_t __attribute__((unused));
4222#ifdef __MigPackStructs
4223#pragma pack(pop)
4224#endif
4225/* Struct for pure user data */
4226#ifdef __MigPackStructs
4227#pragma pack(push, 4)
4228#endif
4229 typedef struct {
4230 char padding[0]; /* Avoid generating empty UData structs */
4231 } __ReplyUData__task_identity_token_get_task_port_t __attribute__((unused));
4232#ifdef __MigPackStructs
4233#pragma pack(pop)
4234#endif
4235
4236#ifdef __MigPackStructs
4237#pragma pack(push, 4)
4238#endif
4239 typedef struct {
4240 mach_msg_header_t Head;
4241 NDR_record_t NDR;
4242 kern_return_t RetCode;
4243 } __Reply__task_dyld_process_info_notify_deregister_t __attribute__((unused));
4244#ifdef __MigPackStructs
4245#pragma pack(pop)
4246#endif
4247/* Struct for kernel processed data (Header + Descriptors) */
4248#ifdef __MigPackStructs
4249#pragma pack(push, 4)
4250#endif
4251 typedef struct {
4252 mach_msg_header_t Head;
4253 } __ReplyKData__task_dyld_process_info_notify_deregister_t __attribute__((unused));
4254#ifdef __MigPackStructs
4255#pragma pack(pop)
4256#endif
4257/* Struct for pure user data */
4258#ifdef __MigPackStructs
4259#pragma pack(push, 4)
4260#endif
4261 typedef struct {
4262 NDR_record_t NDR;
4263 kern_return_t RetCode;
4264 char padding[0]; /* Avoid generating empty UData structs */
4265 } __ReplyUData__task_dyld_process_info_notify_deregister_t __attribute__((unused));
4266#ifdef __MigPackStructs
4267#pragma pack(pop)
4268#endif
4269
4270#ifdef __MigPackStructs
4271#pragma pack(push, 4)
4272#endif
4273 typedef struct {
4274 mach_msg_header_t Head;
4275 NDR_record_t NDR;
4276 kern_return_t RetCode;
4277 mach_msg_type_number_t masksCnt;
4278 exception_mask_t masks[32];
4279 exception_handler_info_t old_handlers_info[32];
4280 exception_behavior_t old_behaviors[32];
4281 thread_state_flavor_t old_flavors[32];
4282 } __Reply__task_get_exception_ports_info_t __attribute__((unused));
4283#ifdef __MigPackStructs
4284#pragma pack(pop)
4285#endif
4286/* Struct for kernel processed data (Header + Descriptors) */
4287#ifdef __MigPackStructs
4288#pragma pack(push, 4)
4289#endif
4290 typedef struct {
4291 mach_msg_header_t Head;
4292 } __ReplyKData__task_get_exception_ports_info_t __attribute__((unused));
4293#ifdef __MigPackStructs
4294#pragma pack(pop)
4295#endif
4296/* Struct for pure user data */
4297#ifdef __MigPackStructs
4298#pragma pack(push, 4)
4299#endif
4300 typedef struct {
4301 NDR_record_t NDR;
4302 kern_return_t RetCode;
4303 mach_msg_type_number_t masksCnt;
4304 exception_mask_t masks[32];
4305 exception_handler_info_t old_handlers_info[32];
4306 exception_behavior_t old_behaviors[32];
4307 thread_state_flavor_t old_flavors[32];
4308 char padding[0]; /* Avoid generating empty UData structs */
4309 } __ReplyUData__task_get_exception_ports_info_t __attribute__((unused));
4310#ifdef __MigPackStructs
4311#pragma pack(pop)
4312#endif
4313
4314#ifdef __MigPackStructs
4315#pragma pack(push, 4)
4316#endif
4317 typedef struct {
4318 mach_msg_header_t Head;
4319 NDR_record_t NDR;
4320 kern_return_t RetCode;
4321 } __Reply__task_test_sync_upcall_t __attribute__((unused));
4322#ifdef __MigPackStructs
4323#pragma pack(pop)
4324#endif
4325/* Struct for kernel processed data (Header + Descriptors) */
4326#ifdef __MigPackStructs
4327#pragma pack(push, 4)
4328#endif
4329 typedef struct {
4330 mach_msg_header_t Head;
4331 } __ReplyKData__task_test_sync_upcall_t __attribute__((unused));
4332#ifdef __MigPackStructs
4333#pragma pack(pop)
4334#endif
4335/* Struct for pure user data */
4336#ifdef __MigPackStructs
4337#pragma pack(push, 4)
4338#endif
4339 typedef struct {
4340 NDR_record_t NDR;
4341 kern_return_t RetCode;
4342 char padding[0]; /* Avoid generating empty UData structs */
4343 } __ReplyUData__task_test_sync_upcall_t __attribute__((unused));
4344#ifdef __MigPackStructs
4345#pragma pack(pop)
4346#endif
4347
4348#ifdef __MigPackStructs
4349#pragma pack(push, 4)
4350#endif
4351 typedef struct {
4352 mach_msg_header_t Head;
4353 NDR_record_t NDR;
4354 kern_return_t RetCode;
4355 } __Reply__task_set_corpse_forking_behavior_t __attribute__((unused));
4356#ifdef __MigPackStructs
4357#pragma pack(pop)
4358#endif
4359/* Struct for kernel processed data (Header + Descriptors) */
4360#ifdef __MigPackStructs
4361#pragma pack(push, 4)
4362#endif
4363 typedef struct {
4364 mach_msg_header_t Head;
4365 } __ReplyKData__task_set_corpse_forking_behavior_t __attribute__((unused));
4366#ifdef __MigPackStructs
4367#pragma pack(pop)
4368#endif
4369/* Struct for pure user data */
4370#ifdef __MigPackStructs
4371#pragma pack(push, 4)
4372#endif
4373 typedef struct {
4374 NDR_record_t NDR;
4375 kern_return_t RetCode;
4376 char padding[0]; /* Avoid generating empty UData structs */
4377 } __ReplyUData__task_set_corpse_forking_behavior_t __attribute__((unused));
4378#ifdef __MigPackStructs
4379#pragma pack(pop)
4380#endif
4381
4382#ifdef __MigPackStructs
4383#pragma pack(push, 4)
4384#endif
4385 typedef struct {
4386 mach_msg_header_t Head;
4387 NDR_record_t NDR;
4388 kern_return_t RetCode;
4389 } __Reply__task_test_async_upcall_propagation_t __attribute__((unused));
4390#ifdef __MigPackStructs
4391#pragma pack(pop)
4392#endif
4393/* Struct for kernel processed data (Header + Descriptors) */
4394#ifdef __MigPackStructs
4395#pragma pack(push, 4)
4396#endif
4397 typedef struct {
4398 mach_msg_header_t Head;
4399 } __ReplyKData__task_test_async_upcall_propagation_t __attribute__((unused));
4400#ifdef __MigPackStructs
4401#pragma pack(pop)
4402#endif
4403/* Struct for pure user data */
4404#ifdef __MigPackStructs
4405#pragma pack(push, 4)
4406#endif
4407 typedef struct {
4408 NDR_record_t NDR;
4409 kern_return_t RetCode;
4410 char padding[0]; /* Avoid generating empty UData structs */
4411 } __ReplyUData__task_test_async_upcall_propagation_t __attribute__((unused));
4412#ifdef __MigPackStructs
4413#pragma pack(pop)
4414#endif
4415
4416#ifdef __MigPackStructs
4417#pragma pack(push, 4)
4418#endif
4419 typedef struct {
4420 mach_msg_header_t Head;
4421 NDR_record_t NDR;
4422 kern_return_t RetCode;
4423 mach_vm_address_t kcd_addr_begin;
4424 mach_vm_size_t kcd_size;
4425 } __Reply__task_map_kcdata_object_64_t __attribute__((unused));
4426#ifdef __MigPackStructs
4427#pragma pack(pop)
4428#endif
4429/* Struct for kernel processed data (Header + Descriptors) */
4430#ifdef __MigPackStructs
4431#pragma pack(push, 4)
4432#endif
4433 typedef struct {
4434 mach_msg_header_t Head;
4435 } __ReplyKData__task_map_kcdata_object_64_t __attribute__((unused));
4436#ifdef __MigPackStructs
4437#pragma pack(pop)
4438#endif
4439/* Struct for pure user data */
4440#ifdef __MigPackStructs
4441#pragma pack(push, 4)
4442#endif
4443 typedef struct {
4444 NDR_record_t NDR;
4445 kern_return_t RetCode;
4446 mach_vm_address_t kcd_addr_begin;
4447 mach_vm_size_t kcd_size;
4448 char padding[0]; /* Avoid generating empty UData structs */
4449 } __ReplyUData__task_map_kcdata_object_64_t __attribute__((unused));
4450#ifdef __MigPackStructs
4451#pragma pack(pop)
4452#endif
4453#endif /* !__Reply__task_subsystem__defined */
4454
4455
4456/* union of all replies */
4457
4458#ifndef __ReplyUnion__task_subsystem__defined
4459#define __ReplyUnion__task_subsystem__defined
4460union __ReplyUnion__task_subsystem {
4461 __Reply__task_terminate_t Reply_task_terminate;
4462 __Reply__task_threads_from_user_t Reply_task_threads_from_user;
4463 __Reply__mach_ports_register_t Reply_mach_ports_register;
4464 __Reply__mach_ports_lookup_t Reply_mach_ports_lookup;
4465 __Reply__task_info_from_user_t Reply_task_info_from_user;
4466 __Reply__task_set_info_t Reply_task_set_info;
4467 __Reply__task_suspend_t Reply_task_suspend;
4468 __Reply__task_resume_t Reply_task_resume;
4469 __Reply__task_get_special_port_from_user_t Reply_task_get_special_port_from_user;
4470 __Reply__task_set_special_port_from_user_t Reply_task_set_special_port_from_user;
4471 __Reply__thread_create_from_user_t Reply_thread_create_from_user;
4472 __Reply__thread_create_running_from_user_t Reply_thread_create_running_from_user;
4473 __Reply__task_set_exception_ports_t Reply_task_set_exception_ports;
4474 __Reply__task_get_exception_ports_from_user_t Reply_task_get_exception_ports_from_user;
4475 __Reply__task_swap_exception_ports_t Reply_task_swap_exception_ports;
4476 __Reply__semaphore_create_t Reply_semaphore_create;
4477 __Reply__semaphore_destroy_t Reply_semaphore_destroy;
4478 __Reply__task_policy_set_t Reply_task_policy_set;
4479 __Reply__task_policy_get_t Reply_task_policy_get;
4480 __Reply__task_get_state_t Reply_task_get_state;
4481 __Reply__task_set_state_t Reply_task_set_state;
4482 __Reply__task_set_phys_footprint_limit_t Reply_task_set_phys_footprint_limit;
4483 __Reply__task_suspend2_mig_t Reply_task_suspend2_mig;
4484 __Reply__task_resume2_mig_t Reply_task_resume2_mig;
4485 __Reply__task_purgable_info_t Reply_task_purgable_info;
4486 __Reply__task_get_mach_voucher_t Reply_task_get_mach_voucher;
4487 __Reply__task_set_mach_voucher_t Reply_task_set_mach_voucher;
4488 __Reply__task_swap_mach_voucher_t Reply_task_swap_mach_voucher;
4489 __Reply__task_generate_corpse_t Reply_task_generate_corpse;
4490 __Reply__task_map_corpse_info_t Reply_task_map_corpse_info;
4491 __Reply__task_register_dyld_image_infos_t Reply_task_register_dyld_image_infos;
4492 __Reply__task_unregister_dyld_image_infos_t Reply_task_unregister_dyld_image_infos;
4493 __Reply__task_get_dyld_image_infos_t Reply_task_get_dyld_image_infos;
4494 __Reply__task_register_dyld_shared_cache_image_info_t Reply_task_register_dyld_shared_cache_image_info;
4495 __Reply__task_register_dyld_set_dyld_state_t Reply_task_register_dyld_set_dyld_state;
4496 __Reply__task_register_dyld_get_process_state_t Reply_task_register_dyld_get_process_state;
4497 __Reply__task_map_corpse_info_64_t Reply_task_map_corpse_info_64;
4498 __Reply__task_inspect_t Reply_task_inspect;
4499 __Reply__task_get_exc_guard_behavior_t Reply_task_get_exc_guard_behavior;
4500 __Reply__task_set_exc_guard_behavior_t Reply_task_set_exc_guard_behavior;
4501 __Reply__mach_task_is_self_t Reply_mach_task_is_self;
4502 __Reply__task_dyld_process_info_notify_register_t Reply_task_dyld_process_info_notify_register;
4503 __Reply__task_create_identity_token_t Reply_task_create_identity_token;
4504 __Reply__task_identity_token_get_task_port_t Reply_task_identity_token_get_task_port;
4505 __Reply__task_dyld_process_info_notify_deregister_t Reply_task_dyld_process_info_notify_deregister;
4506 __Reply__task_get_exception_ports_info_t Reply_task_get_exception_ports_info;
4507 __Reply__task_test_sync_upcall_t Reply_task_test_sync_upcall;
4508 __Reply__task_set_corpse_forking_behavior_t Reply_task_set_corpse_forking_behavior;
4509 __Reply__task_test_async_upcall_propagation_t Reply_task_test_async_upcall_propagation;
4510 __Reply__task_map_kcdata_object_64_t Reply_task_map_kcdata_object_64;
4511};
4512#endif /* __ReplyUnion__task_subsystem__defined */
4513
4514#ifndef subsystem_to_name_map_task
4515#define subsystem_to_name_map_task \
4516 { "task_terminate", 3401 },\
4517 { "task_threads_from_user", 3402 },\
4518 { "mach_ports_register", 3403 },\
4519 { "mach_ports_lookup", 3404 },\
4520 { "task_info_from_user", 3405 },\
4521 { "task_set_info", 3406 },\
4522 { "task_suspend", 3407 },\
4523 { "task_resume", 3408 },\
4524 { "task_get_special_port_from_user", 3409 },\
4525 { "task_set_special_port_from_user", 3410 },\
4526 { "thread_create_from_user", 3411 },\
4527 { "thread_create_running_from_user", 3412 },\
4528 { "task_set_exception_ports", 3413 },\
4529 { "task_get_exception_ports_from_user", 3414 },\
4530 { "task_swap_exception_ports", 3415 },\
4531 { "semaphore_create", 3418 },\
4532 { "semaphore_destroy", 3419 },\
4533 { "task_policy_set", 3420 },\
4534 { "task_policy_get", 3421 },\
4535 { "task_get_state", 3433 },\
4536 { "task_set_state", 3434 },\
4537 { "task_set_phys_footprint_limit", 3435 },\
4538 { "task_suspend2_mig", 3436 },\
4539 { "task_resume2_mig", 3437 },\
4540 { "task_purgable_info", 3438 },\
4541 { "task_get_mach_voucher", 3439 },\
4542 { "task_set_mach_voucher", 3440 },\
4543 { "task_swap_mach_voucher", 3441 },\
4544 { "task_generate_corpse", 3442 },\
4545 { "task_map_corpse_info", 3443 },\
4546 { "task_register_dyld_image_infos", 3444 },\
4547 { "task_unregister_dyld_image_infos", 3445 },\
4548 { "task_get_dyld_image_infos", 3446 },\
4549 { "task_register_dyld_shared_cache_image_info", 3447 },\
4550 { "task_register_dyld_set_dyld_state", 3448 },\
4551 { "task_register_dyld_get_process_state", 3449 },\
4552 { "task_map_corpse_info_64", 3450 },\
4553 { "task_inspect", 3451 },\
4554 { "task_get_exc_guard_behavior", 3452 },\
4555 { "task_set_exc_guard_behavior", 3453 },\
4556 { "mach_task_is_self", 3455 },\
4557 { "task_dyld_process_info_notify_register", 3456 },\
4558 { "task_create_identity_token", 3457 },\
4559 { "task_identity_token_get_task_port", 3458 },\
4560 { "task_dyld_process_info_notify_deregister", 3459 },\
4561 { "task_get_exception_ports_info", 3460 },\
4562 { "task_test_sync_upcall", 3461 },\
4563 { "task_set_corpse_forking_behavior", 3462 },\
4564 { "task_test_async_upcall_propagation", 3463 },\
4565 { "task_map_kcdata_object_64", 3464 }
4566#endif
4567
4568#ifdef __AfterMigServerHeader
4569__AfterMigServerHeader
4570#endif /* __AfterMigServerHeader */
4571
4572#endif /* _task_server_ */
4573