1#ifndef _mach_port_server_
2#define _mach_port_server_
3
4/* Module mach_port */
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 mach_port_MSG_COUNT
55#define mach_port_MSG_COUNT 43
56#endif /* mach_port_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 mach_port_names */
89#ifdef mig_external
90mig_external
91#else
92extern
93#endif /* mig_external */
94MIG_SERVER_ROUTINE
95kern_return_t mach_port_names
96(
97 ipc_space_t task,
98 mach_port_name_array_t *names,
99 mach_msg_type_number_t *namesCnt,
100 mach_port_type_array_t *types,
101 mach_msg_type_number_t *typesCnt
102);
103
104/* Routine mach_port_type */
105#ifdef mig_external
106mig_external
107#else
108extern
109#endif /* mig_external */
110MIG_SERVER_ROUTINE
111kern_return_t mach_port_type
112(
113 ipc_space_t task,
114 mach_port_name_t name,
115 mach_port_type_t *ptype
116);
117
118/* Routine mach_port_allocate_name */
119#ifdef mig_external
120mig_external
121#else
122extern
123#endif /* mig_external */
124MIG_SERVER_ROUTINE
125kern_return_t mach_port_allocate_name
126(
127 ipc_space_t task,
128 mach_port_right_t right,
129 mach_port_name_t name
130);
131
132/* Routine mach_port_allocate */
133#ifdef mig_external
134mig_external
135#else
136extern
137#endif /* mig_external */
138MIG_SERVER_ROUTINE
139kern_return_t mach_port_allocate
140(
141 ipc_space_t task,
142 mach_port_right_t right,
143 mach_port_name_t *name
144);
145
146/* Routine mach_port_destroy */
147#ifdef mig_external
148mig_external
149#else
150extern
151#endif /* mig_external */
152MIG_SERVER_ROUTINE
153kern_return_t mach_port_destroy
154(
155 ipc_space_t task,
156 mach_port_name_t name
157);
158
159/* Routine mach_port_deallocate */
160#ifdef mig_external
161mig_external
162#else
163extern
164#endif /* mig_external */
165MIG_SERVER_ROUTINE
166kern_return_t mach_port_deallocate
167(
168 ipc_space_t task,
169 mach_port_name_t name
170);
171
172/* Routine mach_port_get_refs */
173#ifdef mig_external
174mig_external
175#else
176extern
177#endif /* mig_external */
178MIG_SERVER_ROUTINE
179kern_return_t mach_port_get_refs
180(
181 ipc_space_t task,
182 mach_port_name_t name,
183 mach_port_right_t right,
184 mach_port_urefs_t *refs
185);
186
187/* Routine mach_port_mod_refs */
188#ifdef mig_external
189mig_external
190#else
191extern
192#endif /* mig_external */
193MIG_SERVER_ROUTINE
194kern_return_t mach_port_mod_refs
195(
196 ipc_space_t task,
197 mach_port_name_t name,
198 mach_port_right_t right,
199 mach_port_delta_t delta
200);
201
202/* Routine mach_port_peek */
203#ifdef mig_external
204mig_external
205#else
206extern
207#endif /* mig_external */
208MIG_SERVER_ROUTINE
209kern_return_t mach_port_peek
210(
211 ipc_space_t task,
212 mach_port_name_t name,
213 mach_msg_trailer_type_t trailer_type,
214 mach_port_seqno_t *request_seqnop,
215 mach_msg_size_t *msg_sizep,
216 mach_msg_id_t *msg_idp,
217 mach_msg_trailer_info_t trailer_infop,
218 mach_msg_type_number_t *trailer_infopCnt
219);
220
221/* Routine mach_port_set_mscount */
222#ifdef mig_external
223mig_external
224#else
225extern
226#endif /* mig_external */
227MIG_SERVER_ROUTINE
228kern_return_t mach_port_set_mscount
229(
230 ipc_space_t task,
231 mach_port_name_t name,
232 mach_port_mscount_t mscount
233);
234
235/* Routine mach_port_get_set_status_from_user */
236#ifdef mig_external
237mig_external
238#else
239extern
240#endif /* mig_external */
241MIG_SERVER_ROUTINE
242kern_return_t mach_port_get_set_status_from_user
243(
244 mach_port_t port,
245 mach_port_name_t name,
246 mach_port_name_array_t *members,
247 mach_msg_type_number_t *membersCnt
248);
249
250/* Routine mach_port_move_member */
251#ifdef mig_external
252mig_external
253#else
254extern
255#endif /* mig_external */
256MIG_SERVER_ROUTINE
257kern_return_t mach_port_move_member
258(
259 ipc_space_t task,
260 mach_port_name_t member,
261 mach_port_name_t after
262);
263
264/* Routine mach_port_request_notification */
265#ifdef mig_external
266mig_external
267#else
268extern
269#endif /* mig_external */
270MIG_SERVER_ROUTINE
271kern_return_t mach_port_request_notification
272(
273 ipc_space_t task,
274 mach_port_name_t name,
275 mach_msg_id_t msgid,
276 mach_port_mscount_t sync,
277 mach_port_t notify,
278 mach_port_t *previous
279);
280
281/* Routine mach_port_insert_right */
282#ifdef mig_external
283mig_external
284#else
285extern
286#endif /* mig_external */
287MIG_SERVER_ROUTINE
288kern_return_t mach_port_insert_right
289(
290 ipc_space_t task,
291 mach_port_name_t name,
292 mach_port_t poly,
293 mach_msg_type_name_t polyPoly
294);
295
296/* Routine mach_port_extract_right */
297#ifdef mig_external
298mig_external
299#else
300extern
301#endif /* mig_external */
302MIG_SERVER_ROUTINE
303kern_return_t mach_port_extract_right
304(
305 ipc_space_t task,
306 mach_port_name_t name,
307 mach_msg_type_name_t msgt_name,
308 mach_port_t *poly,
309 mach_msg_type_name_t *polyPoly
310);
311
312/* Routine mach_port_set_seqno */
313#ifdef mig_external
314mig_external
315#else
316extern
317#endif /* mig_external */
318MIG_SERVER_ROUTINE
319kern_return_t mach_port_set_seqno
320(
321 ipc_space_t task,
322 mach_port_name_t name,
323 mach_port_seqno_t seqno
324);
325
326/* Routine mach_port_get_attributes_from_user */
327#ifdef mig_external
328mig_external
329#else
330extern
331#endif /* mig_external */
332MIG_SERVER_ROUTINE
333kern_return_t mach_port_get_attributes_from_user
334(
335 mach_port_t port,
336 mach_port_name_t name,
337 mach_port_flavor_t flavor,
338 mach_port_info_t port_info_out,
339 mach_msg_type_number_t *port_info_outCnt
340);
341
342/* Routine mach_port_set_attributes */
343#ifdef mig_external
344mig_external
345#else
346extern
347#endif /* mig_external */
348MIG_SERVER_ROUTINE
349kern_return_t mach_port_set_attributes
350(
351 ipc_space_t task,
352 mach_port_name_t name,
353 mach_port_flavor_t flavor,
354 mach_port_info_t port_info,
355 mach_msg_type_number_t port_infoCnt
356);
357
358/* Routine mach_port_allocate_qos */
359#ifdef mig_external
360mig_external
361#else
362extern
363#endif /* mig_external */
364MIG_SERVER_ROUTINE
365kern_return_t mach_port_allocate_qos
366(
367 ipc_space_t task,
368 mach_port_right_t right,
369 mach_port_qos_t *qos,
370 mach_port_name_t *name
371);
372
373/* Routine mach_port_allocate_full */
374#ifdef mig_external
375mig_external
376#else
377extern
378#endif /* mig_external */
379MIG_SERVER_ROUTINE
380kern_return_t mach_port_allocate_full
381(
382 ipc_space_t task,
383 mach_port_right_t right,
384 mach_port_t proto,
385 mach_port_qos_t *qos,
386 mach_port_name_t *name
387);
388
389/* Routine task_set_port_space */
390#ifdef mig_external
391mig_external
392#else
393extern
394#endif /* mig_external */
395MIG_SERVER_ROUTINE
396kern_return_t task_set_port_space
397(
398 ipc_space_t task,
399 int table_entries
400);
401
402/* Routine mach_port_get_srights */
403#ifdef mig_external
404mig_external
405#else
406extern
407#endif /* mig_external */
408MIG_SERVER_ROUTINE
409kern_return_t mach_port_get_srights
410(
411 ipc_space_t task,
412 mach_port_name_t name,
413 mach_port_rights_t *srights
414);
415
416/* Routine mach_port_space_info_from_user */
417#ifdef mig_external
418mig_external
419#else
420extern
421#endif /* mig_external */
422MIG_SERVER_ROUTINE
423kern_return_t mach_port_space_info_from_user
424(
425 mach_port_t port,
426 ipc_info_space_t *space_info,
427 ipc_info_name_array_t *table_info,
428 mach_msg_type_number_t *table_infoCnt,
429 ipc_info_tree_name_array_t *tree_info,
430 mach_msg_type_number_t *tree_infoCnt
431);
432
433/* Routine mach_port_dnrequest_info */
434#ifdef mig_external
435mig_external
436#else
437extern
438#endif /* mig_external */
439MIG_SERVER_ROUTINE
440kern_return_t mach_port_dnrequest_info
441(
442 ipc_space_t task,
443 mach_port_name_t name,
444 unsigned *dnr_total,
445 unsigned *dnr_used
446);
447
448/* Routine mach_port_insert_member */
449#ifdef mig_external
450mig_external
451#else
452extern
453#endif /* mig_external */
454MIG_SERVER_ROUTINE
455kern_return_t mach_port_insert_member
456(
457 ipc_space_t task,
458 mach_port_name_t name,
459 mach_port_name_t pset
460);
461
462/* Routine mach_port_extract_member */
463#ifdef mig_external
464mig_external
465#else
466extern
467#endif /* mig_external */
468MIG_SERVER_ROUTINE
469kern_return_t mach_port_extract_member
470(
471 ipc_space_t task,
472 mach_port_name_t name,
473 mach_port_name_t pset
474);
475
476/* Routine mach_port_get_context_from_user */
477#ifdef mig_external
478mig_external
479#else
480extern
481#endif /* mig_external */
482MIG_SERVER_ROUTINE
483kern_return_t mach_port_get_context_from_user
484(
485 mach_port_t port,
486 mach_port_name_t name,
487 mach_vm_address_t *context
488);
489
490/* Routine mach_port_set_context */
491#ifdef mig_external
492mig_external
493#else
494extern
495#endif /* mig_external */
496MIG_SERVER_ROUTINE
497kern_return_t mach_port_set_context
498(
499 ipc_space_t task,
500 mach_port_name_t name,
501 mach_vm_address_t context
502);
503
504/* Routine mach_port_kobject_from_user */
505#ifdef mig_external
506mig_external
507#else
508extern
509#endif /* mig_external */
510MIG_SERVER_ROUTINE
511kern_return_t mach_port_kobject_from_user
512(
513 mach_port_t port,
514 mach_port_name_t name,
515 natural_t *object_type,
516 mach_vm_address_t *object_addr
517);
518
519/* Routine mach_port_construct */
520#ifdef mig_external
521mig_external
522#else
523extern
524#endif /* mig_external */
525MIG_SERVER_ROUTINE
526kern_return_t mach_port_construct
527(
528 ipc_space_t task,
529 mach_port_options_ptr_t options,
530 uint64_t context,
531 mach_port_name_t *name
532);
533
534/* Routine mach_port_destruct */
535#ifdef mig_external
536mig_external
537#else
538extern
539#endif /* mig_external */
540MIG_SERVER_ROUTINE
541kern_return_t mach_port_destruct
542(
543 ipc_space_t task,
544 mach_port_name_t name,
545 mach_port_delta_t srdelta,
546 uint64_t guard
547);
548
549/* Routine mach_port_guard */
550#ifdef mig_external
551mig_external
552#else
553extern
554#endif /* mig_external */
555MIG_SERVER_ROUTINE
556kern_return_t mach_port_guard
557(
558 ipc_space_t task,
559 mach_port_name_t name,
560 uint64_t guard,
561 boolean_t strict
562);
563
564/* Routine mach_port_unguard */
565#ifdef mig_external
566mig_external
567#else
568extern
569#endif /* mig_external */
570MIG_SERVER_ROUTINE
571kern_return_t mach_port_unguard
572(
573 ipc_space_t task,
574 mach_port_name_t name,
575 uint64_t guard
576);
577
578/* Routine mach_port_space_basic_info */
579#ifdef mig_external
580mig_external
581#else
582extern
583#endif /* mig_external */
584MIG_SERVER_ROUTINE
585kern_return_t mach_port_space_basic_info
586(
587 ipc_space_inspect_t task,
588 ipc_info_space_basic_t *basic_info
589);
590
591/* Routine mach_port_special_reply_port_reset_link */
592#ifdef mig_external
593mig_external
594#else
595extern
596#endif /* mig_external */
597MIG_SERVER_ROUTINE
598kern_return_t mach_port_special_reply_port_reset_link
599(
600 ipc_space_t task,
601 mach_port_name_t name,
602 boolean_t *srp_lost_link
603);
604
605/* Routine mach_port_guard_with_flags */
606#ifdef mig_external
607mig_external
608#else
609extern
610#endif /* mig_external */
611MIG_SERVER_ROUTINE
612kern_return_t mach_port_guard_with_flags
613(
614 ipc_space_t task,
615 mach_port_name_t name,
616 uint64_t guard,
617 uint64_t flags
618);
619
620/* Routine mach_port_swap_guard */
621#ifdef mig_external
622mig_external
623#else
624extern
625#endif /* mig_external */
626MIG_SERVER_ROUTINE
627kern_return_t mach_port_swap_guard
628(
629 ipc_space_t task,
630 mach_port_name_t name,
631 uint64_t old_guard,
632 uint64_t new_guard
633);
634
635/* Routine mach_port_kobject_description_from_user */
636#ifdef mig_external
637mig_external
638#else
639extern
640#endif /* mig_external */
641MIG_SERVER_ROUTINE
642kern_return_t mach_port_kobject_description_from_user
643(
644 mach_port_t port,
645 mach_port_name_t name,
646 natural_t *object_type,
647 mach_vm_address_t *object_addr,
648 kobject_description_t description
649);
650
651/* Routine mach_port_is_connection_for_service */
652#ifdef mig_external
653mig_external
654#else
655extern
656#endif /* mig_external */
657MIG_SERVER_ROUTINE
658kern_return_t mach_port_is_connection_for_service
659(
660 ipc_space_t task,
661 mach_port_name_t connection_port,
662 mach_port_name_t service_port,
663 uint64_t *filter_policy_id
664);
665
666/* Routine mach_port_get_service_port_info */
667#ifdef mig_external
668mig_external
669#else
670extern
671#endif /* mig_external */
672MIG_SERVER_ROUTINE
673kern_return_t mach_port_get_service_port_info
674(
675 ipc_space_read_t task,
676 mach_port_name_t name,
677 mach_service_port_info_data_t *sp_info_out
678);
679
680/* Routine mach_port_assert_attributes */
681#ifdef mig_external
682mig_external
683#else
684extern
685#endif /* mig_external */
686MIG_SERVER_ROUTINE
687kern_return_t mach_port_assert_attributes
688(
689 ipc_space_t task,
690 mach_port_name_t name,
691 mach_port_flavor_t flavor,
692 mach_port_info_t info,
693 mach_msg_type_number_t infoCnt
694);
695
696#ifdef mig_external
697mig_external
698#else
699extern
700#endif /* mig_external */
701boolean_t mach_port_server(
702 mach_msg_header_t *InHeadP,
703 void *InDataP,
704 mach_msg_max_trailer_t *InTrailerP,
705 mach_msg_header_t *OutHeadP,
706 void *OutDataP);
707
708#ifdef mig_external
709mig_external
710#else
711extern
712#endif /* mig_external */
713mig_kern_routine_t mach_port_server_routine(
714 mach_msg_header_t *InHeadP);
715
716
717/* Description of this kernel subsystem, for use in direct RPC */
718extern const struct mach_port_subsystem {
719 mig_kern_server_routine_t kserver; /* Server routine */
720 mach_msg_id_t start; /* Min routine number */
721 mach_msg_id_t end; /* Max routine number + 1 */
722 unsigned int maxsize; /* Max msg size */
723 vm_address_t reserved; /* Reserved */
724 struct kern_routine_descriptor /* Array of routine descriptors */
725 kroutine[43];
726} mach_port_subsystem;
727
728/* typedefs for all requests */
729
730#ifndef __Request__mach_port_subsystem__defined
731#define __Request__mach_port_subsystem__defined
732
733#ifdef __MigPackStructs
734#pragma pack(push, 4)
735#endif
736 typedef struct {
737 mach_msg_header_t Head;
738 } __Request__mach_port_names_t __attribute__((unused));
739#ifdef __MigPackStructs
740#pragma pack(pop)
741#endif
742/* Struct for kernel processed data (Header + Descriptors) */
743#ifdef __MigPackStructs
744#pragma pack(push, 4)
745#endif
746 typedef struct {
747 mach_msg_header_t Head;
748 } __RequestKData__mach_port_names_t __attribute__((unused));
749#ifdef __MigPackStructs
750#pragma pack(pop)
751#endif
752/* Struct for pure user data */
753#ifdef __MigPackStructs
754#pragma pack(push, 4)
755#endif
756 typedef struct {
757 char padding[0]; /* Avoid generating empty UData structs */
758 } __RequestUData__mach_port_names_t __attribute__((unused));
759#ifdef __MigPackStructs
760#pragma pack(pop)
761#endif
762
763#ifdef __MigPackStructs
764#pragma pack(push, 4)
765#endif
766 typedef struct {
767 mach_msg_header_t Head;
768 NDR_record_t NDR;
769 mach_port_name_t name;
770 } __Request__mach_port_type_t __attribute__((unused));
771#ifdef __MigPackStructs
772#pragma pack(pop)
773#endif
774/* Struct for kernel processed data (Header + Descriptors) */
775#ifdef __MigPackStructs
776#pragma pack(push, 4)
777#endif
778 typedef struct {
779 mach_msg_header_t Head;
780 } __RequestKData__mach_port_type_t __attribute__((unused));
781#ifdef __MigPackStructs
782#pragma pack(pop)
783#endif
784/* Struct for pure user data */
785#ifdef __MigPackStructs
786#pragma pack(push, 4)
787#endif
788 typedef struct {
789 NDR_record_t NDR;
790 mach_port_name_t name;
791 char padding[0]; /* Avoid generating empty UData structs */
792 } __RequestUData__mach_port_type_t __attribute__((unused));
793#ifdef __MigPackStructs
794#pragma pack(pop)
795#endif
796
797#ifdef __MigPackStructs
798#pragma pack(push, 4)
799#endif
800 typedef struct {
801 mach_msg_header_t Head;
802 NDR_record_t NDR;
803 mach_port_right_t right;
804 mach_port_name_t name;
805 } __Request__mach_port_allocate_name_t __attribute__((unused));
806#ifdef __MigPackStructs
807#pragma pack(pop)
808#endif
809/* Struct for kernel processed data (Header + Descriptors) */
810#ifdef __MigPackStructs
811#pragma pack(push, 4)
812#endif
813 typedef struct {
814 mach_msg_header_t Head;
815 } __RequestKData__mach_port_allocate_name_t __attribute__((unused));
816#ifdef __MigPackStructs
817#pragma pack(pop)
818#endif
819/* Struct for pure user data */
820#ifdef __MigPackStructs
821#pragma pack(push, 4)
822#endif
823 typedef struct {
824 NDR_record_t NDR;
825 mach_port_right_t right;
826 mach_port_name_t name;
827 char padding[0]; /* Avoid generating empty UData structs */
828 } __RequestUData__mach_port_allocate_name_t __attribute__((unused));
829#ifdef __MigPackStructs
830#pragma pack(pop)
831#endif
832
833#ifdef __MigPackStructs
834#pragma pack(push, 4)
835#endif
836 typedef struct {
837 mach_msg_header_t Head;
838 NDR_record_t NDR;
839 mach_port_right_t right;
840 } __Request__mach_port_allocate_t __attribute__((unused));
841#ifdef __MigPackStructs
842#pragma pack(pop)
843#endif
844/* Struct for kernel processed data (Header + Descriptors) */
845#ifdef __MigPackStructs
846#pragma pack(push, 4)
847#endif
848 typedef struct {
849 mach_msg_header_t Head;
850 } __RequestKData__mach_port_allocate_t __attribute__((unused));
851#ifdef __MigPackStructs
852#pragma pack(pop)
853#endif
854/* Struct for pure user data */
855#ifdef __MigPackStructs
856#pragma pack(push, 4)
857#endif
858 typedef struct {
859 NDR_record_t NDR;
860 mach_port_right_t right;
861 char padding[0]; /* Avoid generating empty UData structs */
862 } __RequestUData__mach_port_allocate_t __attribute__((unused));
863#ifdef __MigPackStructs
864#pragma pack(pop)
865#endif
866
867#ifdef __MigPackStructs
868#pragma pack(push, 4)
869#endif
870 typedef struct {
871 mach_msg_header_t Head;
872 NDR_record_t NDR;
873 mach_port_name_t name;
874 } __Request__mach_port_destroy_t __attribute__((unused));
875#ifdef __MigPackStructs
876#pragma pack(pop)
877#endif
878/* Struct for kernel processed data (Header + Descriptors) */
879#ifdef __MigPackStructs
880#pragma pack(push, 4)
881#endif
882 typedef struct {
883 mach_msg_header_t Head;
884 } __RequestKData__mach_port_destroy_t __attribute__((unused));
885#ifdef __MigPackStructs
886#pragma pack(pop)
887#endif
888/* Struct for pure user data */
889#ifdef __MigPackStructs
890#pragma pack(push, 4)
891#endif
892 typedef struct {
893 NDR_record_t NDR;
894 mach_port_name_t name;
895 char padding[0]; /* Avoid generating empty UData structs */
896 } __RequestUData__mach_port_destroy_t __attribute__((unused));
897#ifdef __MigPackStructs
898#pragma pack(pop)
899#endif
900
901#ifdef __MigPackStructs
902#pragma pack(push, 4)
903#endif
904 typedef struct {
905 mach_msg_header_t Head;
906 NDR_record_t NDR;
907 mach_port_name_t name;
908 } __Request__mach_port_deallocate_t __attribute__((unused));
909#ifdef __MigPackStructs
910#pragma pack(pop)
911#endif
912/* Struct for kernel processed data (Header + Descriptors) */
913#ifdef __MigPackStructs
914#pragma pack(push, 4)
915#endif
916 typedef struct {
917 mach_msg_header_t Head;
918 } __RequestKData__mach_port_deallocate_t __attribute__((unused));
919#ifdef __MigPackStructs
920#pragma pack(pop)
921#endif
922/* Struct for pure user data */
923#ifdef __MigPackStructs
924#pragma pack(push, 4)
925#endif
926 typedef struct {
927 NDR_record_t NDR;
928 mach_port_name_t name;
929 char padding[0]; /* Avoid generating empty UData structs */
930 } __RequestUData__mach_port_deallocate_t __attribute__((unused));
931#ifdef __MigPackStructs
932#pragma pack(pop)
933#endif
934
935#ifdef __MigPackStructs
936#pragma pack(push, 4)
937#endif
938 typedef struct {
939 mach_msg_header_t Head;
940 NDR_record_t NDR;
941 mach_port_name_t name;
942 mach_port_right_t right;
943 } __Request__mach_port_get_refs_t __attribute__((unused));
944#ifdef __MigPackStructs
945#pragma pack(pop)
946#endif
947/* Struct for kernel processed data (Header + Descriptors) */
948#ifdef __MigPackStructs
949#pragma pack(push, 4)
950#endif
951 typedef struct {
952 mach_msg_header_t Head;
953 } __RequestKData__mach_port_get_refs_t __attribute__((unused));
954#ifdef __MigPackStructs
955#pragma pack(pop)
956#endif
957/* Struct for pure user data */
958#ifdef __MigPackStructs
959#pragma pack(push, 4)
960#endif
961 typedef struct {
962 NDR_record_t NDR;
963 mach_port_name_t name;
964 mach_port_right_t right;
965 char padding[0]; /* Avoid generating empty UData structs */
966 } __RequestUData__mach_port_get_refs_t __attribute__((unused));
967#ifdef __MigPackStructs
968#pragma pack(pop)
969#endif
970
971#ifdef __MigPackStructs
972#pragma pack(push, 4)
973#endif
974 typedef struct {
975 mach_msg_header_t Head;
976 NDR_record_t NDR;
977 mach_port_name_t name;
978 mach_port_right_t right;
979 mach_port_delta_t delta;
980 } __Request__mach_port_mod_refs_t __attribute__((unused));
981#ifdef __MigPackStructs
982#pragma pack(pop)
983#endif
984/* Struct for kernel processed data (Header + Descriptors) */
985#ifdef __MigPackStructs
986#pragma pack(push, 4)
987#endif
988 typedef struct {
989 mach_msg_header_t Head;
990 } __RequestKData__mach_port_mod_refs_t __attribute__((unused));
991#ifdef __MigPackStructs
992#pragma pack(pop)
993#endif
994/* Struct for pure user data */
995#ifdef __MigPackStructs
996#pragma pack(push, 4)
997#endif
998 typedef struct {
999 NDR_record_t NDR;
1000 mach_port_name_t name;
1001 mach_port_right_t right;
1002 mach_port_delta_t delta;
1003 char padding[0]; /* Avoid generating empty UData structs */
1004 } __RequestUData__mach_port_mod_refs_t __attribute__((unused));
1005#ifdef __MigPackStructs
1006#pragma pack(pop)
1007#endif
1008
1009#ifdef __MigPackStructs
1010#pragma pack(push, 4)
1011#endif
1012 typedef struct {
1013 mach_msg_header_t Head;
1014 NDR_record_t NDR;
1015 mach_port_name_t name;
1016 mach_msg_trailer_type_t trailer_type;
1017 mach_port_seqno_t request_seqnop;
1018 mach_msg_type_number_t trailer_infopCnt;
1019 } __Request__mach_port_peek_t __attribute__((unused));
1020#ifdef __MigPackStructs
1021#pragma pack(pop)
1022#endif
1023/* Struct for kernel processed data (Header + Descriptors) */
1024#ifdef __MigPackStructs
1025#pragma pack(push, 4)
1026#endif
1027 typedef struct {
1028 mach_msg_header_t Head;
1029 } __RequestKData__mach_port_peek_t __attribute__((unused));
1030#ifdef __MigPackStructs
1031#pragma pack(pop)
1032#endif
1033/* Struct for pure user data */
1034#ifdef __MigPackStructs
1035#pragma pack(push, 4)
1036#endif
1037 typedef struct {
1038 NDR_record_t NDR;
1039 mach_port_name_t name;
1040 mach_msg_trailer_type_t trailer_type;
1041 mach_port_seqno_t request_seqnop;
1042 mach_msg_type_number_t trailer_infopCnt;
1043 char padding[0]; /* Avoid generating empty UData structs */
1044 } __RequestUData__mach_port_peek_t __attribute__((unused));
1045#ifdef __MigPackStructs
1046#pragma pack(pop)
1047#endif
1048
1049#ifdef __MigPackStructs
1050#pragma pack(push, 4)
1051#endif
1052 typedef struct {
1053 mach_msg_header_t Head;
1054 NDR_record_t NDR;
1055 mach_port_name_t name;
1056 mach_port_mscount_t mscount;
1057 } __Request__mach_port_set_mscount_t __attribute__((unused));
1058#ifdef __MigPackStructs
1059#pragma pack(pop)
1060#endif
1061/* Struct for kernel processed data (Header + Descriptors) */
1062#ifdef __MigPackStructs
1063#pragma pack(push, 4)
1064#endif
1065 typedef struct {
1066 mach_msg_header_t Head;
1067 } __RequestKData__mach_port_set_mscount_t __attribute__((unused));
1068#ifdef __MigPackStructs
1069#pragma pack(pop)
1070#endif
1071/* Struct for pure user data */
1072#ifdef __MigPackStructs
1073#pragma pack(push, 4)
1074#endif
1075 typedef struct {
1076 NDR_record_t NDR;
1077 mach_port_name_t name;
1078 mach_port_mscount_t mscount;
1079 char padding[0]; /* Avoid generating empty UData structs */
1080 } __RequestUData__mach_port_set_mscount_t __attribute__((unused));
1081#ifdef __MigPackStructs
1082#pragma pack(pop)
1083#endif
1084
1085#ifdef __MigPackStructs
1086#pragma pack(push, 4)
1087#endif
1088 typedef struct {
1089 mach_msg_header_t Head;
1090 NDR_record_t NDR;
1091 mach_port_name_t name;
1092 } __Request__mach_port_get_set_status_from_user_t __attribute__((unused));
1093#ifdef __MigPackStructs
1094#pragma pack(pop)
1095#endif
1096/* Struct for kernel processed data (Header + Descriptors) */
1097#ifdef __MigPackStructs
1098#pragma pack(push, 4)
1099#endif
1100 typedef struct {
1101 mach_msg_header_t Head;
1102 } __RequestKData__mach_port_get_set_status_from_user_t __attribute__((unused));
1103#ifdef __MigPackStructs
1104#pragma pack(pop)
1105#endif
1106/* Struct for pure user data */
1107#ifdef __MigPackStructs
1108#pragma pack(push, 4)
1109#endif
1110 typedef struct {
1111 NDR_record_t NDR;
1112 mach_port_name_t name;
1113 char padding[0]; /* Avoid generating empty UData structs */
1114 } __RequestUData__mach_port_get_set_status_from_user_t __attribute__((unused));
1115#ifdef __MigPackStructs
1116#pragma pack(pop)
1117#endif
1118
1119#ifdef __MigPackStructs
1120#pragma pack(push, 4)
1121#endif
1122 typedef struct {
1123 mach_msg_header_t Head;
1124 NDR_record_t NDR;
1125 mach_port_name_t member;
1126 mach_port_name_t after;
1127 } __Request__mach_port_move_member_t __attribute__((unused));
1128#ifdef __MigPackStructs
1129#pragma pack(pop)
1130#endif
1131/* Struct for kernel processed data (Header + Descriptors) */
1132#ifdef __MigPackStructs
1133#pragma pack(push, 4)
1134#endif
1135 typedef struct {
1136 mach_msg_header_t Head;
1137 } __RequestKData__mach_port_move_member_t __attribute__((unused));
1138#ifdef __MigPackStructs
1139#pragma pack(pop)
1140#endif
1141/* Struct for pure user data */
1142#ifdef __MigPackStructs
1143#pragma pack(push, 4)
1144#endif
1145 typedef struct {
1146 NDR_record_t NDR;
1147 mach_port_name_t member;
1148 mach_port_name_t after;
1149 char padding[0]; /* Avoid generating empty UData structs */
1150 } __RequestUData__mach_port_move_member_t __attribute__((unused));
1151#ifdef __MigPackStructs
1152#pragma pack(pop)
1153#endif
1154
1155#ifdef __MigPackStructs
1156#pragma pack(push, 4)
1157#endif
1158 typedef struct {
1159 mach_msg_header_t Head;
1160 /* start of the kernel processed data */
1161 mach_msg_body_t msgh_body;
1162 mach_msg_port_descriptor_t notify;
1163 /* end of the kernel processed data */
1164 NDR_record_t NDR;
1165 mach_port_name_t name;
1166 mach_msg_id_t msgid;
1167 mach_port_mscount_t sync;
1168 } __Request__mach_port_request_notification_t __attribute__((unused));
1169#ifdef __MigPackStructs
1170#pragma pack(pop)
1171#endif
1172/* Struct for kernel processed data (Header + Descriptors) */
1173#ifdef __MigPackStructs
1174#pragma pack(push, 4)
1175#endif
1176 typedef struct {
1177 mach_msg_header_t Head;
1178 mach_msg_body_t msgh_body;
1179 mach_msg_port_descriptor_t notify;
1180 } __RequestKData__mach_port_request_notification_t __attribute__((unused));
1181#ifdef __MigPackStructs
1182#pragma pack(pop)
1183#endif
1184/* Struct for pure user data */
1185#ifdef __MigPackStructs
1186#pragma pack(push, 4)
1187#endif
1188 typedef struct {
1189 NDR_record_t NDR;
1190 mach_port_name_t name;
1191 mach_msg_id_t msgid;
1192 mach_port_mscount_t sync;
1193 char padding[0]; /* Avoid generating empty UData structs */
1194 } __RequestUData__mach_port_request_notification_t __attribute__((unused));
1195#ifdef __MigPackStructs
1196#pragma pack(pop)
1197#endif
1198
1199#ifdef __MigPackStructs
1200#pragma pack(push, 4)
1201#endif
1202 typedef struct {
1203 mach_msg_header_t Head;
1204 /* start of the kernel processed data */
1205 mach_msg_body_t msgh_body;
1206 mach_msg_port_descriptor_t poly;
1207 /* end of the kernel processed data */
1208 NDR_record_t NDR;
1209 mach_port_name_t name;
1210 } __Request__mach_port_insert_right_t __attribute__((unused));
1211#ifdef __MigPackStructs
1212#pragma pack(pop)
1213#endif
1214/* Struct for kernel processed data (Header + Descriptors) */
1215#ifdef __MigPackStructs
1216#pragma pack(push, 4)
1217#endif
1218 typedef struct {
1219 mach_msg_header_t Head;
1220 mach_msg_body_t msgh_body;
1221 mach_msg_port_descriptor_t poly;
1222 } __RequestKData__mach_port_insert_right_t __attribute__((unused));
1223#ifdef __MigPackStructs
1224#pragma pack(pop)
1225#endif
1226/* Struct for pure user data */
1227#ifdef __MigPackStructs
1228#pragma pack(push, 4)
1229#endif
1230 typedef struct {
1231 NDR_record_t NDR;
1232 mach_port_name_t name;
1233 char padding[0]; /* Avoid generating empty UData structs */
1234 } __RequestUData__mach_port_insert_right_t __attribute__((unused));
1235#ifdef __MigPackStructs
1236#pragma pack(pop)
1237#endif
1238
1239#ifdef __MigPackStructs
1240#pragma pack(push, 4)
1241#endif
1242 typedef struct {
1243 mach_msg_header_t Head;
1244 NDR_record_t NDR;
1245 mach_port_name_t name;
1246 mach_msg_type_name_t msgt_name;
1247 } __Request__mach_port_extract_right_t __attribute__((unused));
1248#ifdef __MigPackStructs
1249#pragma pack(pop)
1250#endif
1251/* Struct for kernel processed data (Header + Descriptors) */
1252#ifdef __MigPackStructs
1253#pragma pack(push, 4)
1254#endif
1255 typedef struct {
1256 mach_msg_header_t Head;
1257 } __RequestKData__mach_port_extract_right_t __attribute__((unused));
1258#ifdef __MigPackStructs
1259#pragma pack(pop)
1260#endif
1261/* Struct for pure user data */
1262#ifdef __MigPackStructs
1263#pragma pack(push, 4)
1264#endif
1265 typedef struct {
1266 NDR_record_t NDR;
1267 mach_port_name_t name;
1268 mach_msg_type_name_t msgt_name;
1269 char padding[0]; /* Avoid generating empty UData structs */
1270 } __RequestUData__mach_port_extract_right_t __attribute__((unused));
1271#ifdef __MigPackStructs
1272#pragma pack(pop)
1273#endif
1274
1275#ifdef __MigPackStructs
1276#pragma pack(push, 4)
1277#endif
1278 typedef struct {
1279 mach_msg_header_t Head;
1280 NDR_record_t NDR;
1281 mach_port_name_t name;
1282 mach_port_seqno_t seqno;
1283 } __Request__mach_port_set_seqno_t __attribute__((unused));
1284#ifdef __MigPackStructs
1285#pragma pack(pop)
1286#endif
1287/* Struct for kernel processed data (Header + Descriptors) */
1288#ifdef __MigPackStructs
1289#pragma pack(push, 4)
1290#endif
1291 typedef struct {
1292 mach_msg_header_t Head;
1293 } __RequestKData__mach_port_set_seqno_t __attribute__((unused));
1294#ifdef __MigPackStructs
1295#pragma pack(pop)
1296#endif
1297/* Struct for pure user data */
1298#ifdef __MigPackStructs
1299#pragma pack(push, 4)
1300#endif
1301 typedef struct {
1302 NDR_record_t NDR;
1303 mach_port_name_t name;
1304 mach_port_seqno_t seqno;
1305 char padding[0]; /* Avoid generating empty UData structs */
1306 } __RequestUData__mach_port_set_seqno_t __attribute__((unused));
1307#ifdef __MigPackStructs
1308#pragma pack(pop)
1309#endif
1310
1311#ifdef __MigPackStructs
1312#pragma pack(push, 4)
1313#endif
1314 typedef struct {
1315 mach_msg_header_t Head;
1316 NDR_record_t NDR;
1317 mach_port_name_t name;
1318 mach_port_flavor_t flavor;
1319 mach_msg_type_number_t port_info_outCnt;
1320 } __Request__mach_port_get_attributes_from_user_t __attribute__((unused));
1321#ifdef __MigPackStructs
1322#pragma pack(pop)
1323#endif
1324/* Struct for kernel processed data (Header + Descriptors) */
1325#ifdef __MigPackStructs
1326#pragma pack(push, 4)
1327#endif
1328 typedef struct {
1329 mach_msg_header_t Head;
1330 } __RequestKData__mach_port_get_attributes_from_user_t __attribute__((unused));
1331#ifdef __MigPackStructs
1332#pragma pack(pop)
1333#endif
1334/* Struct for pure user data */
1335#ifdef __MigPackStructs
1336#pragma pack(push, 4)
1337#endif
1338 typedef struct {
1339 NDR_record_t NDR;
1340 mach_port_name_t name;
1341 mach_port_flavor_t flavor;
1342 mach_msg_type_number_t port_info_outCnt;
1343 char padding[0]; /* Avoid generating empty UData structs */
1344 } __RequestUData__mach_port_get_attributes_from_user_t __attribute__((unused));
1345#ifdef __MigPackStructs
1346#pragma pack(pop)
1347#endif
1348
1349#ifdef __MigPackStructs
1350#pragma pack(push, 4)
1351#endif
1352 typedef struct {
1353 mach_msg_header_t Head;
1354 NDR_record_t NDR;
1355 mach_port_name_t name;
1356 mach_port_flavor_t flavor;
1357 mach_msg_type_number_t port_infoCnt;
1358 integer_t port_info[17];
1359 } __Request__mach_port_set_attributes_t __attribute__((unused));
1360#ifdef __MigPackStructs
1361#pragma pack(pop)
1362#endif
1363/* Struct for kernel processed data (Header + Descriptors) */
1364#ifdef __MigPackStructs
1365#pragma pack(push, 4)
1366#endif
1367 typedef struct {
1368 mach_msg_header_t Head;
1369 } __RequestKData__mach_port_set_attributes_t __attribute__((unused));
1370#ifdef __MigPackStructs
1371#pragma pack(pop)
1372#endif
1373/* Struct for pure user data */
1374#ifdef __MigPackStructs
1375#pragma pack(push, 4)
1376#endif
1377 typedef struct {
1378 NDR_record_t NDR;
1379 mach_port_name_t name;
1380 mach_port_flavor_t flavor;
1381 mach_msg_type_number_t port_infoCnt;
1382 integer_t port_info[17];
1383 char padding[0]; /* Avoid generating empty UData structs */
1384 } __RequestUData__mach_port_set_attributes_t __attribute__((unused));
1385#ifdef __MigPackStructs
1386#pragma pack(pop)
1387#endif
1388
1389#ifdef __MigPackStructs
1390#pragma pack(push, 4)
1391#endif
1392 typedef struct {
1393 mach_msg_header_t Head;
1394 NDR_record_t NDR;
1395 mach_port_right_t right;
1396 mach_port_qos_t qos;
1397 } __Request__mach_port_allocate_qos_t __attribute__((unused));
1398#ifdef __MigPackStructs
1399#pragma pack(pop)
1400#endif
1401/* Struct for kernel processed data (Header + Descriptors) */
1402#ifdef __MigPackStructs
1403#pragma pack(push, 4)
1404#endif
1405 typedef struct {
1406 mach_msg_header_t Head;
1407 } __RequestKData__mach_port_allocate_qos_t __attribute__((unused));
1408#ifdef __MigPackStructs
1409#pragma pack(pop)
1410#endif
1411/* Struct for pure user data */
1412#ifdef __MigPackStructs
1413#pragma pack(push, 4)
1414#endif
1415 typedef struct {
1416 NDR_record_t NDR;
1417 mach_port_right_t right;
1418 mach_port_qos_t qos;
1419 char padding[0]; /* Avoid generating empty UData structs */
1420 } __RequestUData__mach_port_allocate_qos_t __attribute__((unused));
1421#ifdef __MigPackStructs
1422#pragma pack(pop)
1423#endif
1424
1425#ifdef __MigPackStructs
1426#pragma pack(push, 4)
1427#endif
1428 typedef struct {
1429 mach_msg_header_t Head;
1430 /* start of the kernel processed data */
1431 mach_msg_body_t msgh_body;
1432 mach_msg_port_descriptor_t proto;
1433 /* end of the kernel processed data */
1434 NDR_record_t NDR;
1435 mach_port_right_t right;
1436 mach_port_qos_t qos;
1437 mach_port_name_t name;
1438 } __Request__mach_port_allocate_full_t __attribute__((unused));
1439#ifdef __MigPackStructs
1440#pragma pack(pop)
1441#endif
1442/* Struct for kernel processed data (Header + Descriptors) */
1443#ifdef __MigPackStructs
1444#pragma pack(push, 4)
1445#endif
1446 typedef struct {
1447 mach_msg_header_t Head;
1448 mach_msg_body_t msgh_body;
1449 mach_msg_port_descriptor_t proto;
1450 } __RequestKData__mach_port_allocate_full_t __attribute__((unused));
1451#ifdef __MigPackStructs
1452#pragma pack(pop)
1453#endif
1454/* Struct for pure user data */
1455#ifdef __MigPackStructs
1456#pragma pack(push, 4)
1457#endif
1458 typedef struct {
1459 NDR_record_t NDR;
1460 mach_port_right_t right;
1461 mach_port_qos_t qos;
1462 mach_port_name_t name;
1463 char padding[0]; /* Avoid generating empty UData structs */
1464 } __RequestUData__mach_port_allocate_full_t __attribute__((unused));
1465#ifdef __MigPackStructs
1466#pragma pack(pop)
1467#endif
1468
1469#ifdef __MigPackStructs
1470#pragma pack(push, 4)
1471#endif
1472 typedef struct {
1473 mach_msg_header_t Head;
1474 NDR_record_t NDR;
1475 int table_entries;
1476 } __Request__task_set_port_space_t __attribute__((unused));
1477#ifdef __MigPackStructs
1478#pragma pack(pop)
1479#endif
1480/* Struct for kernel processed data (Header + Descriptors) */
1481#ifdef __MigPackStructs
1482#pragma pack(push, 4)
1483#endif
1484 typedef struct {
1485 mach_msg_header_t Head;
1486 } __RequestKData__task_set_port_space_t __attribute__((unused));
1487#ifdef __MigPackStructs
1488#pragma pack(pop)
1489#endif
1490/* Struct for pure user data */
1491#ifdef __MigPackStructs
1492#pragma pack(push, 4)
1493#endif
1494 typedef struct {
1495 NDR_record_t NDR;
1496 int table_entries;
1497 char padding[0]; /* Avoid generating empty UData structs */
1498 } __RequestUData__task_set_port_space_t __attribute__((unused));
1499#ifdef __MigPackStructs
1500#pragma pack(pop)
1501#endif
1502
1503#ifdef __MigPackStructs
1504#pragma pack(push, 4)
1505#endif
1506 typedef struct {
1507 mach_msg_header_t Head;
1508 NDR_record_t NDR;
1509 mach_port_name_t name;
1510 } __Request__mach_port_get_srights_t __attribute__((unused));
1511#ifdef __MigPackStructs
1512#pragma pack(pop)
1513#endif
1514/* Struct for kernel processed data (Header + Descriptors) */
1515#ifdef __MigPackStructs
1516#pragma pack(push, 4)
1517#endif
1518 typedef struct {
1519 mach_msg_header_t Head;
1520 } __RequestKData__mach_port_get_srights_t __attribute__((unused));
1521#ifdef __MigPackStructs
1522#pragma pack(pop)
1523#endif
1524/* Struct for pure user data */
1525#ifdef __MigPackStructs
1526#pragma pack(push, 4)
1527#endif
1528 typedef struct {
1529 NDR_record_t NDR;
1530 mach_port_name_t name;
1531 char padding[0]; /* Avoid generating empty UData structs */
1532 } __RequestUData__mach_port_get_srights_t __attribute__((unused));
1533#ifdef __MigPackStructs
1534#pragma pack(pop)
1535#endif
1536
1537#ifdef __MigPackStructs
1538#pragma pack(push, 4)
1539#endif
1540 typedef struct {
1541 mach_msg_header_t Head;
1542 } __Request__mach_port_space_info_from_user_t __attribute__((unused));
1543#ifdef __MigPackStructs
1544#pragma pack(pop)
1545#endif
1546/* Struct for kernel processed data (Header + Descriptors) */
1547#ifdef __MigPackStructs
1548#pragma pack(push, 4)
1549#endif
1550 typedef struct {
1551 mach_msg_header_t Head;
1552 } __RequestKData__mach_port_space_info_from_user_t __attribute__((unused));
1553#ifdef __MigPackStructs
1554#pragma pack(pop)
1555#endif
1556/* Struct for pure user data */
1557#ifdef __MigPackStructs
1558#pragma pack(push, 4)
1559#endif
1560 typedef struct {
1561 char padding[0]; /* Avoid generating empty UData structs */
1562 } __RequestUData__mach_port_space_info_from_user_t __attribute__((unused));
1563#ifdef __MigPackStructs
1564#pragma pack(pop)
1565#endif
1566
1567#ifdef __MigPackStructs
1568#pragma pack(push, 4)
1569#endif
1570 typedef struct {
1571 mach_msg_header_t Head;
1572 NDR_record_t NDR;
1573 mach_port_name_t name;
1574 } __Request__mach_port_dnrequest_info_t __attribute__((unused));
1575#ifdef __MigPackStructs
1576#pragma pack(pop)
1577#endif
1578/* Struct for kernel processed data (Header + Descriptors) */
1579#ifdef __MigPackStructs
1580#pragma pack(push, 4)
1581#endif
1582 typedef struct {
1583 mach_msg_header_t Head;
1584 } __RequestKData__mach_port_dnrequest_info_t __attribute__((unused));
1585#ifdef __MigPackStructs
1586#pragma pack(pop)
1587#endif
1588/* Struct for pure user data */
1589#ifdef __MigPackStructs
1590#pragma pack(push, 4)
1591#endif
1592 typedef struct {
1593 NDR_record_t NDR;
1594 mach_port_name_t name;
1595 char padding[0]; /* Avoid generating empty UData structs */
1596 } __RequestUData__mach_port_dnrequest_info_t __attribute__((unused));
1597#ifdef __MigPackStructs
1598#pragma pack(pop)
1599#endif
1600
1601#ifdef __MigPackStructs
1602#pragma pack(push, 4)
1603#endif
1604 typedef struct {
1605 mach_msg_header_t Head;
1606 NDR_record_t NDR;
1607 mach_port_name_t name;
1608 mach_port_name_t pset;
1609 } __Request__mach_port_insert_member_t __attribute__((unused));
1610#ifdef __MigPackStructs
1611#pragma pack(pop)
1612#endif
1613/* Struct for kernel processed data (Header + Descriptors) */
1614#ifdef __MigPackStructs
1615#pragma pack(push, 4)
1616#endif
1617 typedef struct {
1618 mach_msg_header_t Head;
1619 } __RequestKData__mach_port_insert_member_t __attribute__((unused));
1620#ifdef __MigPackStructs
1621#pragma pack(pop)
1622#endif
1623/* Struct for pure user data */
1624#ifdef __MigPackStructs
1625#pragma pack(push, 4)
1626#endif
1627 typedef struct {
1628 NDR_record_t NDR;
1629 mach_port_name_t name;
1630 mach_port_name_t pset;
1631 char padding[0]; /* Avoid generating empty UData structs */
1632 } __RequestUData__mach_port_insert_member_t __attribute__((unused));
1633#ifdef __MigPackStructs
1634#pragma pack(pop)
1635#endif
1636
1637#ifdef __MigPackStructs
1638#pragma pack(push, 4)
1639#endif
1640 typedef struct {
1641 mach_msg_header_t Head;
1642 NDR_record_t NDR;
1643 mach_port_name_t name;
1644 mach_port_name_t pset;
1645 } __Request__mach_port_extract_member_t __attribute__((unused));
1646#ifdef __MigPackStructs
1647#pragma pack(pop)
1648#endif
1649/* Struct for kernel processed data (Header + Descriptors) */
1650#ifdef __MigPackStructs
1651#pragma pack(push, 4)
1652#endif
1653 typedef struct {
1654 mach_msg_header_t Head;
1655 } __RequestKData__mach_port_extract_member_t __attribute__((unused));
1656#ifdef __MigPackStructs
1657#pragma pack(pop)
1658#endif
1659/* Struct for pure user data */
1660#ifdef __MigPackStructs
1661#pragma pack(push, 4)
1662#endif
1663 typedef struct {
1664 NDR_record_t NDR;
1665 mach_port_name_t name;
1666 mach_port_name_t pset;
1667 char padding[0]; /* Avoid generating empty UData structs */
1668 } __RequestUData__mach_port_extract_member_t __attribute__((unused));
1669#ifdef __MigPackStructs
1670#pragma pack(pop)
1671#endif
1672
1673#ifdef __MigPackStructs
1674#pragma pack(push, 4)
1675#endif
1676 typedef struct {
1677 mach_msg_header_t Head;
1678 NDR_record_t NDR;
1679 mach_port_name_t name;
1680 } __Request__mach_port_get_context_from_user_t __attribute__((unused));
1681#ifdef __MigPackStructs
1682#pragma pack(pop)
1683#endif
1684/* Struct for kernel processed data (Header + Descriptors) */
1685#ifdef __MigPackStructs
1686#pragma pack(push, 4)
1687#endif
1688 typedef struct {
1689 mach_msg_header_t Head;
1690 } __RequestKData__mach_port_get_context_from_user_t __attribute__((unused));
1691#ifdef __MigPackStructs
1692#pragma pack(pop)
1693#endif
1694/* Struct for pure user data */
1695#ifdef __MigPackStructs
1696#pragma pack(push, 4)
1697#endif
1698 typedef struct {
1699 NDR_record_t NDR;
1700 mach_port_name_t name;
1701 char padding[0]; /* Avoid generating empty UData structs */
1702 } __RequestUData__mach_port_get_context_from_user_t __attribute__((unused));
1703#ifdef __MigPackStructs
1704#pragma pack(pop)
1705#endif
1706
1707#ifdef __MigPackStructs
1708#pragma pack(push, 4)
1709#endif
1710 typedef struct {
1711 mach_msg_header_t Head;
1712 NDR_record_t NDR;
1713 mach_port_name_t name;
1714 mach_vm_address_t context;
1715 } __Request__mach_port_set_context_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__mach_port_set_context_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_port_name_t name;
1736 mach_vm_address_t context;
1737 char padding[0]; /* Avoid generating empty UData structs */
1738 } __RequestUData__mach_port_set_context_t __attribute__((unused));
1739#ifdef __MigPackStructs
1740#pragma pack(pop)
1741#endif
1742
1743#ifdef __MigPackStructs
1744#pragma pack(push, 4)
1745#endif
1746 typedef struct {
1747 mach_msg_header_t Head;
1748 NDR_record_t NDR;
1749 mach_port_name_t name;
1750 } __Request__mach_port_kobject_from_user_t __attribute__((unused));
1751#ifdef __MigPackStructs
1752#pragma pack(pop)
1753#endif
1754/* Struct for kernel processed data (Header + Descriptors) */
1755#ifdef __MigPackStructs
1756#pragma pack(push, 4)
1757#endif
1758 typedef struct {
1759 mach_msg_header_t Head;
1760 } __RequestKData__mach_port_kobject_from_user_t __attribute__((unused));
1761#ifdef __MigPackStructs
1762#pragma pack(pop)
1763#endif
1764/* Struct for pure user data */
1765#ifdef __MigPackStructs
1766#pragma pack(push, 4)
1767#endif
1768 typedef struct {
1769 NDR_record_t NDR;
1770 mach_port_name_t name;
1771 char padding[0]; /* Avoid generating empty UData structs */
1772 } __RequestUData__mach_port_kobject_from_user_t __attribute__((unused));
1773#ifdef __MigPackStructs
1774#pragma pack(pop)
1775#endif
1776
1777#ifdef __MigPackStructs
1778#pragma pack(push, 4)
1779#endif
1780 typedef struct {
1781 mach_msg_header_t Head;
1782 /* start of the kernel processed data */
1783 mach_msg_body_t msgh_body;
1784 mach_msg_ool_descriptor_t options;
1785 /* end of the kernel processed data */
1786 NDR_record_t NDR;
1787 uint64_t context;
1788 } __Request__mach_port_construct_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_ool_descriptor_t options;
1800 } __RequestKData__mach_port_construct_t __attribute__((unused));
1801#ifdef __MigPackStructs
1802#pragma pack(pop)
1803#endif
1804/* Struct for pure user data */
1805#ifdef __MigPackStructs
1806#pragma pack(push, 4)
1807#endif
1808 typedef struct {
1809 NDR_record_t NDR;
1810 uint64_t context;
1811 char padding[0]; /* Avoid generating empty UData structs */
1812 } __RequestUData__mach_port_construct_t __attribute__((unused));
1813#ifdef __MigPackStructs
1814#pragma pack(pop)
1815#endif
1816
1817#ifdef __MigPackStructs
1818#pragma pack(push, 4)
1819#endif
1820 typedef struct {
1821 mach_msg_header_t Head;
1822 NDR_record_t NDR;
1823 mach_port_name_t name;
1824 mach_port_delta_t srdelta;
1825 uint64_t guard;
1826 } __Request__mach_port_destruct_t __attribute__((unused));
1827#ifdef __MigPackStructs
1828#pragma pack(pop)
1829#endif
1830/* Struct for kernel processed data (Header + Descriptors) */
1831#ifdef __MigPackStructs
1832#pragma pack(push, 4)
1833#endif
1834 typedef struct {
1835 mach_msg_header_t Head;
1836 } __RequestKData__mach_port_destruct_t __attribute__((unused));
1837#ifdef __MigPackStructs
1838#pragma pack(pop)
1839#endif
1840/* Struct for pure user data */
1841#ifdef __MigPackStructs
1842#pragma pack(push, 4)
1843#endif
1844 typedef struct {
1845 NDR_record_t NDR;
1846 mach_port_name_t name;
1847 mach_port_delta_t srdelta;
1848 uint64_t guard;
1849 char padding[0]; /* Avoid generating empty UData structs */
1850 } __RequestUData__mach_port_destruct_t __attribute__((unused));
1851#ifdef __MigPackStructs
1852#pragma pack(pop)
1853#endif
1854
1855#ifdef __MigPackStructs
1856#pragma pack(push, 4)
1857#endif
1858 typedef struct {
1859 mach_msg_header_t Head;
1860 NDR_record_t NDR;
1861 mach_port_name_t name;
1862 uint64_t guard;
1863 boolean_t strict;
1864 } __Request__mach_port_guard_t __attribute__((unused));
1865#ifdef __MigPackStructs
1866#pragma pack(pop)
1867#endif
1868/* Struct for kernel processed data (Header + Descriptors) */
1869#ifdef __MigPackStructs
1870#pragma pack(push, 4)
1871#endif
1872 typedef struct {
1873 mach_msg_header_t Head;
1874 } __RequestKData__mach_port_guard_t __attribute__((unused));
1875#ifdef __MigPackStructs
1876#pragma pack(pop)
1877#endif
1878/* Struct for pure user data */
1879#ifdef __MigPackStructs
1880#pragma pack(push, 4)
1881#endif
1882 typedef struct {
1883 NDR_record_t NDR;
1884 mach_port_name_t name;
1885 uint64_t guard;
1886 boolean_t strict;
1887 char padding[0]; /* Avoid generating empty UData structs */
1888 } __RequestUData__mach_port_guard_t __attribute__((unused));
1889#ifdef __MigPackStructs
1890#pragma pack(pop)
1891#endif
1892
1893#ifdef __MigPackStructs
1894#pragma pack(push, 4)
1895#endif
1896 typedef struct {
1897 mach_msg_header_t Head;
1898 NDR_record_t NDR;
1899 mach_port_name_t name;
1900 uint64_t guard;
1901 } __Request__mach_port_unguard_t __attribute__((unused));
1902#ifdef __MigPackStructs
1903#pragma pack(pop)
1904#endif
1905/* Struct for kernel processed data (Header + Descriptors) */
1906#ifdef __MigPackStructs
1907#pragma pack(push, 4)
1908#endif
1909 typedef struct {
1910 mach_msg_header_t Head;
1911 } __RequestKData__mach_port_unguard_t __attribute__((unused));
1912#ifdef __MigPackStructs
1913#pragma pack(pop)
1914#endif
1915/* Struct for pure user data */
1916#ifdef __MigPackStructs
1917#pragma pack(push, 4)
1918#endif
1919 typedef struct {
1920 NDR_record_t NDR;
1921 mach_port_name_t name;
1922 uint64_t guard;
1923 char padding[0]; /* Avoid generating empty UData structs */
1924 } __RequestUData__mach_port_unguard_t __attribute__((unused));
1925#ifdef __MigPackStructs
1926#pragma pack(pop)
1927#endif
1928
1929#ifdef __MigPackStructs
1930#pragma pack(push, 4)
1931#endif
1932 typedef struct {
1933 mach_msg_header_t Head;
1934 } __Request__mach_port_space_basic_info_t __attribute__((unused));
1935#ifdef __MigPackStructs
1936#pragma pack(pop)
1937#endif
1938/* Struct for kernel processed data (Header + Descriptors) */
1939#ifdef __MigPackStructs
1940#pragma pack(push, 4)
1941#endif
1942 typedef struct {
1943 mach_msg_header_t Head;
1944 } __RequestKData__mach_port_space_basic_info_t __attribute__((unused));
1945#ifdef __MigPackStructs
1946#pragma pack(pop)
1947#endif
1948/* Struct for pure user data */
1949#ifdef __MigPackStructs
1950#pragma pack(push, 4)
1951#endif
1952 typedef struct {
1953 char padding[0]; /* Avoid generating empty UData structs */
1954 } __RequestUData__mach_port_space_basic_info_t __attribute__((unused));
1955#ifdef __MigPackStructs
1956#pragma pack(pop)
1957#endif
1958
1959#ifdef __MigPackStructs
1960#pragma pack(push, 4)
1961#endif
1962 typedef struct {
1963 mach_msg_header_t Head;
1964 NDR_record_t NDR;
1965 mach_port_name_t name;
1966 } __Request__mach_port_special_reply_port_reset_link_t __attribute__((unused));
1967#ifdef __MigPackStructs
1968#pragma pack(pop)
1969#endif
1970/* Struct for kernel processed data (Header + Descriptors) */
1971#ifdef __MigPackStructs
1972#pragma pack(push, 4)
1973#endif
1974 typedef struct {
1975 mach_msg_header_t Head;
1976 } __RequestKData__mach_port_special_reply_port_reset_link_t __attribute__((unused));
1977#ifdef __MigPackStructs
1978#pragma pack(pop)
1979#endif
1980/* Struct for pure user data */
1981#ifdef __MigPackStructs
1982#pragma pack(push, 4)
1983#endif
1984 typedef struct {
1985 NDR_record_t NDR;
1986 mach_port_name_t name;
1987 char padding[0]; /* Avoid generating empty UData structs */
1988 } __RequestUData__mach_port_special_reply_port_reset_link_t __attribute__((unused));
1989#ifdef __MigPackStructs
1990#pragma pack(pop)
1991#endif
1992
1993#ifdef __MigPackStructs
1994#pragma pack(push, 4)
1995#endif
1996 typedef struct {
1997 mach_msg_header_t Head;
1998 NDR_record_t NDR;
1999 mach_port_name_t name;
2000 uint64_t guard;
2001 uint64_t flags;
2002 } __Request__mach_port_guard_with_flags_t __attribute__((unused));
2003#ifdef __MigPackStructs
2004#pragma pack(pop)
2005#endif
2006/* Struct for kernel processed data (Header + Descriptors) */
2007#ifdef __MigPackStructs
2008#pragma pack(push, 4)
2009#endif
2010 typedef struct {
2011 mach_msg_header_t Head;
2012 } __RequestKData__mach_port_guard_with_flags_t __attribute__((unused));
2013#ifdef __MigPackStructs
2014#pragma pack(pop)
2015#endif
2016/* Struct for pure user data */
2017#ifdef __MigPackStructs
2018#pragma pack(push, 4)
2019#endif
2020 typedef struct {
2021 NDR_record_t NDR;
2022 mach_port_name_t name;
2023 uint64_t guard;
2024 uint64_t flags;
2025 char padding[0]; /* Avoid generating empty UData structs */
2026 } __RequestUData__mach_port_guard_with_flags_t __attribute__((unused));
2027#ifdef __MigPackStructs
2028#pragma pack(pop)
2029#endif
2030
2031#ifdef __MigPackStructs
2032#pragma pack(push, 4)
2033#endif
2034 typedef struct {
2035 mach_msg_header_t Head;
2036 NDR_record_t NDR;
2037 mach_port_name_t name;
2038 uint64_t old_guard;
2039 uint64_t new_guard;
2040 } __Request__mach_port_swap_guard_t __attribute__((unused));
2041#ifdef __MigPackStructs
2042#pragma pack(pop)
2043#endif
2044/* Struct for kernel processed data (Header + Descriptors) */
2045#ifdef __MigPackStructs
2046#pragma pack(push, 4)
2047#endif
2048 typedef struct {
2049 mach_msg_header_t Head;
2050 } __RequestKData__mach_port_swap_guard_t __attribute__((unused));
2051#ifdef __MigPackStructs
2052#pragma pack(pop)
2053#endif
2054/* Struct for pure user data */
2055#ifdef __MigPackStructs
2056#pragma pack(push, 4)
2057#endif
2058 typedef struct {
2059 NDR_record_t NDR;
2060 mach_port_name_t name;
2061 uint64_t old_guard;
2062 uint64_t new_guard;
2063 char padding[0]; /* Avoid generating empty UData structs */
2064 } __RequestUData__mach_port_swap_guard_t __attribute__((unused));
2065#ifdef __MigPackStructs
2066#pragma pack(pop)
2067#endif
2068
2069#ifdef __MigPackStructs
2070#pragma pack(push, 4)
2071#endif
2072 typedef struct {
2073 mach_msg_header_t Head;
2074 NDR_record_t NDR;
2075 mach_port_name_t name;
2076 } __Request__mach_port_kobject_description_from_user_t __attribute__((unused));
2077#ifdef __MigPackStructs
2078#pragma pack(pop)
2079#endif
2080/* Struct for kernel processed data (Header + Descriptors) */
2081#ifdef __MigPackStructs
2082#pragma pack(push, 4)
2083#endif
2084 typedef struct {
2085 mach_msg_header_t Head;
2086 } __RequestKData__mach_port_kobject_description_from_user_t __attribute__((unused));
2087#ifdef __MigPackStructs
2088#pragma pack(pop)
2089#endif
2090/* Struct for pure user data */
2091#ifdef __MigPackStructs
2092#pragma pack(push, 4)
2093#endif
2094 typedef struct {
2095 NDR_record_t NDR;
2096 mach_port_name_t name;
2097 char padding[0]; /* Avoid generating empty UData structs */
2098 } __RequestUData__mach_port_kobject_description_from_user_t __attribute__((unused));
2099#ifdef __MigPackStructs
2100#pragma pack(pop)
2101#endif
2102
2103#ifdef __MigPackStructs
2104#pragma pack(push, 4)
2105#endif
2106 typedef struct {
2107 mach_msg_header_t Head;
2108 NDR_record_t NDR;
2109 mach_port_name_t connection_port;
2110 mach_port_name_t service_port;
2111 } __Request__mach_port_is_connection_for_service_t __attribute__((unused));
2112#ifdef __MigPackStructs
2113#pragma pack(pop)
2114#endif
2115/* Struct for kernel processed data (Header + Descriptors) */
2116#ifdef __MigPackStructs
2117#pragma pack(push, 4)
2118#endif
2119 typedef struct {
2120 mach_msg_header_t Head;
2121 } __RequestKData__mach_port_is_connection_for_service_t __attribute__((unused));
2122#ifdef __MigPackStructs
2123#pragma pack(pop)
2124#endif
2125/* Struct for pure user data */
2126#ifdef __MigPackStructs
2127#pragma pack(push, 4)
2128#endif
2129 typedef struct {
2130 NDR_record_t NDR;
2131 mach_port_name_t connection_port;
2132 mach_port_name_t service_port;
2133 char padding[0]; /* Avoid generating empty UData structs */
2134 } __RequestUData__mach_port_is_connection_for_service_t __attribute__((unused));
2135#ifdef __MigPackStructs
2136#pragma pack(pop)
2137#endif
2138
2139#ifdef __MigPackStructs
2140#pragma pack(push, 4)
2141#endif
2142 typedef struct {
2143 mach_msg_header_t Head;
2144 NDR_record_t NDR;
2145 mach_port_name_t name;
2146 } __Request__mach_port_get_service_port_info_t __attribute__((unused));
2147#ifdef __MigPackStructs
2148#pragma pack(pop)
2149#endif
2150/* Struct for kernel processed data (Header + Descriptors) */
2151#ifdef __MigPackStructs
2152#pragma pack(push, 4)
2153#endif
2154 typedef struct {
2155 mach_msg_header_t Head;
2156 } __RequestKData__mach_port_get_service_port_info_t __attribute__((unused));
2157#ifdef __MigPackStructs
2158#pragma pack(pop)
2159#endif
2160/* Struct for pure user data */
2161#ifdef __MigPackStructs
2162#pragma pack(push, 4)
2163#endif
2164 typedef struct {
2165 NDR_record_t NDR;
2166 mach_port_name_t name;
2167 char padding[0]; /* Avoid generating empty UData structs */
2168 } __RequestUData__mach_port_get_service_port_info_t __attribute__((unused));
2169#ifdef __MigPackStructs
2170#pragma pack(pop)
2171#endif
2172
2173#ifdef __MigPackStructs
2174#pragma pack(push, 4)
2175#endif
2176 typedef struct {
2177 mach_msg_header_t Head;
2178 NDR_record_t NDR;
2179 mach_port_name_t name;
2180 mach_port_flavor_t flavor;
2181 mach_msg_type_number_t infoCnt;
2182 integer_t info[17];
2183 } __Request__mach_port_assert_attributes_t __attribute__((unused));
2184#ifdef __MigPackStructs
2185#pragma pack(pop)
2186#endif
2187/* Struct for kernel processed data (Header + Descriptors) */
2188#ifdef __MigPackStructs
2189#pragma pack(push, 4)
2190#endif
2191 typedef struct {
2192 mach_msg_header_t Head;
2193 } __RequestKData__mach_port_assert_attributes_t __attribute__((unused));
2194#ifdef __MigPackStructs
2195#pragma pack(pop)
2196#endif
2197/* Struct for pure user data */
2198#ifdef __MigPackStructs
2199#pragma pack(push, 4)
2200#endif
2201 typedef struct {
2202 NDR_record_t NDR;
2203 mach_port_name_t name;
2204 mach_port_flavor_t flavor;
2205 mach_msg_type_number_t infoCnt;
2206 integer_t info[17];
2207 char padding[0]; /* Avoid generating empty UData structs */
2208 } __RequestUData__mach_port_assert_attributes_t __attribute__((unused));
2209#ifdef __MigPackStructs
2210#pragma pack(pop)
2211#endif
2212#endif /* !__Request__mach_port_subsystem__defined */
2213
2214
2215/* union of all requests */
2216
2217#ifndef __RequestUnion__mach_port_subsystem__defined
2218#define __RequestUnion__mach_port_subsystem__defined
2219union __RequestUnion__mach_port_subsystem {
2220 __Request__mach_port_names_t Request_mach_port_names;
2221 __Request__mach_port_type_t Request_mach_port_type;
2222 __Request__mach_port_allocate_name_t Request_mach_port_allocate_name;
2223 __Request__mach_port_allocate_t Request_mach_port_allocate;
2224 __Request__mach_port_destroy_t Request_mach_port_destroy;
2225 __Request__mach_port_deallocate_t Request_mach_port_deallocate;
2226 __Request__mach_port_get_refs_t Request_mach_port_get_refs;
2227 __Request__mach_port_mod_refs_t Request_mach_port_mod_refs;
2228 __Request__mach_port_peek_t Request_mach_port_peek;
2229 __Request__mach_port_set_mscount_t Request_mach_port_set_mscount;
2230 __Request__mach_port_get_set_status_from_user_t Request_mach_port_get_set_status_from_user;
2231 __Request__mach_port_move_member_t Request_mach_port_move_member;
2232 __Request__mach_port_request_notification_t Request_mach_port_request_notification;
2233 __Request__mach_port_insert_right_t Request_mach_port_insert_right;
2234 __Request__mach_port_extract_right_t Request_mach_port_extract_right;
2235 __Request__mach_port_set_seqno_t Request_mach_port_set_seqno;
2236 __Request__mach_port_get_attributes_from_user_t Request_mach_port_get_attributes_from_user;
2237 __Request__mach_port_set_attributes_t Request_mach_port_set_attributes;
2238 __Request__mach_port_allocate_qos_t Request_mach_port_allocate_qos;
2239 __Request__mach_port_allocate_full_t Request_mach_port_allocate_full;
2240 __Request__task_set_port_space_t Request_task_set_port_space;
2241 __Request__mach_port_get_srights_t Request_mach_port_get_srights;
2242 __Request__mach_port_space_info_from_user_t Request_mach_port_space_info_from_user;
2243 __Request__mach_port_dnrequest_info_t Request_mach_port_dnrequest_info;
2244 __Request__mach_port_insert_member_t Request_mach_port_insert_member;
2245 __Request__mach_port_extract_member_t Request_mach_port_extract_member;
2246 __Request__mach_port_get_context_from_user_t Request_mach_port_get_context_from_user;
2247 __Request__mach_port_set_context_t Request_mach_port_set_context;
2248 __Request__mach_port_kobject_from_user_t Request_mach_port_kobject_from_user;
2249 __Request__mach_port_construct_t Request_mach_port_construct;
2250 __Request__mach_port_destruct_t Request_mach_port_destruct;
2251 __Request__mach_port_guard_t Request_mach_port_guard;
2252 __Request__mach_port_unguard_t Request_mach_port_unguard;
2253 __Request__mach_port_space_basic_info_t Request_mach_port_space_basic_info;
2254 __Request__mach_port_special_reply_port_reset_link_t Request_mach_port_special_reply_port_reset_link;
2255 __Request__mach_port_guard_with_flags_t Request_mach_port_guard_with_flags;
2256 __Request__mach_port_swap_guard_t Request_mach_port_swap_guard;
2257 __Request__mach_port_kobject_description_from_user_t Request_mach_port_kobject_description_from_user;
2258 __Request__mach_port_is_connection_for_service_t Request_mach_port_is_connection_for_service;
2259 __Request__mach_port_get_service_port_info_t Request_mach_port_get_service_port_info;
2260 __Request__mach_port_assert_attributes_t Request_mach_port_assert_attributes;
2261};
2262#endif /* __RequestUnion__mach_port_subsystem__defined */
2263/* typedefs for all replies */
2264
2265#ifndef __Reply__mach_port_subsystem__defined
2266#define __Reply__mach_port_subsystem__defined
2267
2268#ifdef __MigPackStructs
2269#pragma pack(push, 4)
2270#endif
2271 typedef struct {
2272 mach_msg_header_t Head;
2273 /* start of the kernel processed data */
2274 mach_msg_body_t msgh_body;
2275 mach_msg_ool_descriptor_t names;
2276 mach_msg_ool_descriptor_t types;
2277 /* end of the kernel processed data */
2278 NDR_record_t NDR;
2279 mach_msg_type_number_t namesCnt;
2280 mach_msg_type_number_t typesCnt;
2281 } __Reply__mach_port_names_t __attribute__((unused));
2282#ifdef __MigPackStructs
2283#pragma pack(pop)
2284#endif
2285/* Struct for kernel processed data (Header + Descriptors) */
2286#ifdef __MigPackStructs
2287#pragma pack(push, 4)
2288#endif
2289 typedef struct {
2290 mach_msg_header_t Head;
2291 mach_msg_body_t msgh_body;
2292 mach_msg_ool_descriptor_t names;
2293 mach_msg_ool_descriptor_t types;
2294 } __ReplyKData__mach_port_names_t __attribute__((unused));
2295#ifdef __MigPackStructs
2296#pragma pack(pop)
2297#endif
2298/* Struct for pure user data */
2299#ifdef __MigPackStructs
2300#pragma pack(push, 4)
2301#endif
2302 typedef struct {
2303 NDR_record_t NDR;
2304 mach_msg_type_number_t namesCnt;
2305 mach_msg_type_number_t typesCnt;
2306 char padding[0]; /* Avoid generating empty UData structs */
2307 } __ReplyUData__mach_port_names_t __attribute__((unused));
2308#ifdef __MigPackStructs
2309#pragma pack(pop)
2310#endif
2311
2312#ifdef __MigPackStructs
2313#pragma pack(push, 4)
2314#endif
2315 typedef struct {
2316 mach_msg_header_t Head;
2317 NDR_record_t NDR;
2318 kern_return_t RetCode;
2319 mach_port_type_t ptype;
2320 } __Reply__mach_port_type_t __attribute__((unused));
2321#ifdef __MigPackStructs
2322#pragma pack(pop)
2323#endif
2324/* Struct for kernel processed data (Header + Descriptors) */
2325#ifdef __MigPackStructs
2326#pragma pack(push, 4)
2327#endif
2328 typedef struct {
2329 mach_msg_header_t Head;
2330 } __ReplyKData__mach_port_type_t __attribute__((unused));
2331#ifdef __MigPackStructs
2332#pragma pack(pop)
2333#endif
2334/* Struct for pure user data */
2335#ifdef __MigPackStructs
2336#pragma pack(push, 4)
2337#endif
2338 typedef struct {
2339 NDR_record_t NDR;
2340 kern_return_t RetCode;
2341 mach_port_type_t ptype;
2342 char padding[0]; /* Avoid generating empty UData structs */
2343 } __ReplyUData__mach_port_type_t __attribute__((unused));
2344#ifdef __MigPackStructs
2345#pragma pack(pop)
2346#endif
2347
2348#ifdef __MigPackStructs
2349#pragma pack(push, 4)
2350#endif
2351 typedef struct {
2352 mach_msg_header_t Head;
2353 NDR_record_t NDR;
2354 kern_return_t RetCode;
2355 } __Reply__mach_port_allocate_name_t __attribute__((unused));
2356#ifdef __MigPackStructs
2357#pragma pack(pop)
2358#endif
2359/* Struct for kernel processed data (Header + Descriptors) */
2360#ifdef __MigPackStructs
2361#pragma pack(push, 4)
2362#endif
2363 typedef struct {
2364 mach_msg_header_t Head;
2365 } __ReplyKData__mach_port_allocate_name_t __attribute__((unused));
2366#ifdef __MigPackStructs
2367#pragma pack(pop)
2368#endif
2369/* Struct for pure user data */
2370#ifdef __MigPackStructs
2371#pragma pack(push, 4)
2372#endif
2373 typedef struct {
2374 NDR_record_t NDR;
2375 kern_return_t RetCode;
2376 char padding[0]; /* Avoid generating empty UData structs */
2377 } __ReplyUData__mach_port_allocate_name_t __attribute__((unused));
2378#ifdef __MigPackStructs
2379#pragma pack(pop)
2380#endif
2381
2382#ifdef __MigPackStructs
2383#pragma pack(push, 4)
2384#endif
2385 typedef struct {
2386 mach_msg_header_t Head;
2387 NDR_record_t NDR;
2388 kern_return_t RetCode;
2389 mach_port_name_t name;
2390 } __Reply__mach_port_allocate_t __attribute__((unused));
2391#ifdef __MigPackStructs
2392#pragma pack(pop)
2393#endif
2394/* Struct for kernel processed data (Header + Descriptors) */
2395#ifdef __MigPackStructs
2396#pragma pack(push, 4)
2397#endif
2398 typedef struct {
2399 mach_msg_header_t Head;
2400 } __ReplyKData__mach_port_allocate_t __attribute__((unused));
2401#ifdef __MigPackStructs
2402#pragma pack(pop)
2403#endif
2404/* Struct for pure user data */
2405#ifdef __MigPackStructs
2406#pragma pack(push, 4)
2407#endif
2408 typedef struct {
2409 NDR_record_t NDR;
2410 kern_return_t RetCode;
2411 mach_port_name_t name;
2412 char padding[0]; /* Avoid generating empty UData structs */
2413 } __ReplyUData__mach_port_allocate_t __attribute__((unused));
2414#ifdef __MigPackStructs
2415#pragma pack(pop)
2416#endif
2417
2418#ifdef __MigPackStructs
2419#pragma pack(push, 4)
2420#endif
2421 typedef struct {
2422 mach_msg_header_t Head;
2423 NDR_record_t NDR;
2424 kern_return_t RetCode;
2425 } __Reply__mach_port_destroy_t __attribute__((unused));
2426#ifdef __MigPackStructs
2427#pragma pack(pop)
2428#endif
2429/* Struct for kernel processed data (Header + Descriptors) */
2430#ifdef __MigPackStructs
2431#pragma pack(push, 4)
2432#endif
2433 typedef struct {
2434 mach_msg_header_t Head;
2435 } __ReplyKData__mach_port_destroy_t __attribute__((unused));
2436#ifdef __MigPackStructs
2437#pragma pack(pop)
2438#endif
2439/* Struct for pure user data */
2440#ifdef __MigPackStructs
2441#pragma pack(push, 4)
2442#endif
2443 typedef struct {
2444 NDR_record_t NDR;
2445 kern_return_t RetCode;
2446 char padding[0]; /* Avoid generating empty UData structs */
2447 } __ReplyUData__mach_port_destroy_t __attribute__((unused));
2448#ifdef __MigPackStructs
2449#pragma pack(pop)
2450#endif
2451
2452#ifdef __MigPackStructs
2453#pragma pack(push, 4)
2454#endif
2455 typedef struct {
2456 mach_msg_header_t Head;
2457 NDR_record_t NDR;
2458 kern_return_t RetCode;
2459 } __Reply__mach_port_deallocate_t __attribute__((unused));
2460#ifdef __MigPackStructs
2461#pragma pack(pop)
2462#endif
2463/* Struct for kernel processed data (Header + Descriptors) */
2464#ifdef __MigPackStructs
2465#pragma pack(push, 4)
2466#endif
2467 typedef struct {
2468 mach_msg_header_t Head;
2469 } __ReplyKData__mach_port_deallocate_t __attribute__((unused));
2470#ifdef __MigPackStructs
2471#pragma pack(pop)
2472#endif
2473/* Struct for pure user data */
2474#ifdef __MigPackStructs
2475#pragma pack(push, 4)
2476#endif
2477 typedef struct {
2478 NDR_record_t NDR;
2479 kern_return_t RetCode;
2480 char padding[0]; /* Avoid generating empty UData structs */
2481 } __ReplyUData__mach_port_deallocate_t __attribute__((unused));
2482#ifdef __MigPackStructs
2483#pragma pack(pop)
2484#endif
2485
2486#ifdef __MigPackStructs
2487#pragma pack(push, 4)
2488#endif
2489 typedef struct {
2490 mach_msg_header_t Head;
2491 NDR_record_t NDR;
2492 kern_return_t RetCode;
2493 mach_port_urefs_t refs;
2494 } __Reply__mach_port_get_refs_t __attribute__((unused));
2495#ifdef __MigPackStructs
2496#pragma pack(pop)
2497#endif
2498/* Struct for kernel processed data (Header + Descriptors) */
2499#ifdef __MigPackStructs
2500#pragma pack(push, 4)
2501#endif
2502 typedef struct {
2503 mach_msg_header_t Head;
2504 } __ReplyKData__mach_port_get_refs_t __attribute__((unused));
2505#ifdef __MigPackStructs
2506#pragma pack(pop)
2507#endif
2508/* Struct for pure user data */
2509#ifdef __MigPackStructs
2510#pragma pack(push, 4)
2511#endif
2512 typedef struct {
2513 NDR_record_t NDR;
2514 kern_return_t RetCode;
2515 mach_port_urefs_t refs;
2516 char padding[0]; /* Avoid generating empty UData structs */
2517 } __ReplyUData__mach_port_get_refs_t __attribute__((unused));
2518#ifdef __MigPackStructs
2519#pragma pack(pop)
2520#endif
2521
2522#ifdef __MigPackStructs
2523#pragma pack(push, 4)
2524#endif
2525 typedef struct {
2526 mach_msg_header_t Head;
2527 NDR_record_t NDR;
2528 kern_return_t RetCode;
2529 } __Reply__mach_port_mod_refs_t __attribute__((unused));
2530#ifdef __MigPackStructs
2531#pragma pack(pop)
2532#endif
2533/* Struct for kernel processed data (Header + Descriptors) */
2534#ifdef __MigPackStructs
2535#pragma pack(push, 4)
2536#endif
2537 typedef struct {
2538 mach_msg_header_t Head;
2539 } __ReplyKData__mach_port_mod_refs_t __attribute__((unused));
2540#ifdef __MigPackStructs
2541#pragma pack(pop)
2542#endif
2543/* Struct for pure user data */
2544#ifdef __MigPackStructs
2545#pragma pack(push, 4)
2546#endif
2547 typedef struct {
2548 NDR_record_t NDR;
2549 kern_return_t RetCode;
2550 char padding[0]; /* Avoid generating empty UData structs */
2551 } __ReplyUData__mach_port_mod_refs_t __attribute__((unused));
2552#ifdef __MigPackStructs
2553#pragma pack(pop)
2554#endif
2555
2556#ifdef __MigPackStructs
2557#pragma pack(push, 4)
2558#endif
2559 typedef struct {
2560 mach_msg_header_t Head;
2561 NDR_record_t NDR;
2562 kern_return_t RetCode;
2563 mach_port_seqno_t request_seqnop;
2564 mach_msg_size_t msg_sizep;
2565 mach_msg_id_t msg_idp;
2566 mach_msg_type_number_t trailer_infopCnt;
2567 char trailer_infop[68];
2568 } __Reply__mach_port_peek_t __attribute__((unused));
2569#ifdef __MigPackStructs
2570#pragma pack(pop)
2571#endif
2572/* Struct for kernel processed data (Header + Descriptors) */
2573#ifdef __MigPackStructs
2574#pragma pack(push, 4)
2575#endif
2576 typedef struct {
2577 mach_msg_header_t Head;
2578 } __ReplyKData__mach_port_peek_t __attribute__((unused));
2579#ifdef __MigPackStructs
2580#pragma pack(pop)
2581#endif
2582/* Struct for pure user data */
2583#ifdef __MigPackStructs
2584#pragma pack(push, 4)
2585#endif
2586 typedef struct {
2587 NDR_record_t NDR;
2588 kern_return_t RetCode;
2589 mach_port_seqno_t request_seqnop;
2590 mach_msg_size_t msg_sizep;
2591 mach_msg_id_t msg_idp;
2592 mach_msg_type_number_t trailer_infopCnt;
2593 char trailer_infop[68];
2594 char padding[0]; /* Avoid generating empty UData structs */
2595 } __ReplyUData__mach_port_peek_t __attribute__((unused));
2596#ifdef __MigPackStructs
2597#pragma pack(pop)
2598#endif
2599
2600#ifdef __MigPackStructs
2601#pragma pack(push, 4)
2602#endif
2603 typedef struct {
2604 mach_msg_header_t Head;
2605 NDR_record_t NDR;
2606 kern_return_t RetCode;
2607 } __Reply__mach_port_set_mscount_t __attribute__((unused));
2608#ifdef __MigPackStructs
2609#pragma pack(pop)
2610#endif
2611/* Struct for kernel processed data (Header + Descriptors) */
2612#ifdef __MigPackStructs
2613#pragma pack(push, 4)
2614#endif
2615 typedef struct {
2616 mach_msg_header_t Head;
2617 } __ReplyKData__mach_port_set_mscount_t __attribute__((unused));
2618#ifdef __MigPackStructs
2619#pragma pack(pop)
2620#endif
2621/* Struct for pure user data */
2622#ifdef __MigPackStructs
2623#pragma pack(push, 4)
2624#endif
2625 typedef struct {
2626 NDR_record_t NDR;
2627 kern_return_t RetCode;
2628 char padding[0]; /* Avoid generating empty UData structs */
2629 } __ReplyUData__mach_port_set_mscount_t __attribute__((unused));
2630#ifdef __MigPackStructs
2631#pragma pack(pop)
2632#endif
2633
2634#ifdef __MigPackStructs
2635#pragma pack(push, 4)
2636#endif
2637 typedef struct {
2638 mach_msg_header_t Head;
2639 /* start of the kernel processed data */
2640 mach_msg_body_t msgh_body;
2641 mach_msg_ool_descriptor_t members;
2642 /* end of the kernel processed data */
2643 NDR_record_t NDR;
2644 mach_msg_type_number_t membersCnt;
2645 } __Reply__mach_port_get_set_status_from_user_t __attribute__((unused));
2646#ifdef __MigPackStructs
2647#pragma pack(pop)
2648#endif
2649/* Struct for kernel processed data (Header + Descriptors) */
2650#ifdef __MigPackStructs
2651#pragma pack(push, 4)
2652#endif
2653 typedef struct {
2654 mach_msg_header_t Head;
2655 mach_msg_body_t msgh_body;
2656 mach_msg_ool_descriptor_t members;
2657 } __ReplyKData__mach_port_get_set_status_from_user_t __attribute__((unused));
2658#ifdef __MigPackStructs
2659#pragma pack(pop)
2660#endif
2661/* Struct for pure user data */
2662#ifdef __MigPackStructs
2663#pragma pack(push, 4)
2664#endif
2665 typedef struct {
2666 NDR_record_t NDR;
2667 mach_msg_type_number_t membersCnt;
2668 char padding[0]; /* Avoid generating empty UData structs */
2669 } __ReplyUData__mach_port_get_set_status_from_user_t __attribute__((unused));
2670#ifdef __MigPackStructs
2671#pragma pack(pop)
2672#endif
2673
2674#ifdef __MigPackStructs
2675#pragma pack(push, 4)
2676#endif
2677 typedef struct {
2678 mach_msg_header_t Head;
2679 NDR_record_t NDR;
2680 kern_return_t RetCode;
2681 } __Reply__mach_port_move_member_t __attribute__((unused));
2682#ifdef __MigPackStructs
2683#pragma pack(pop)
2684#endif
2685/* Struct for kernel processed data (Header + Descriptors) */
2686#ifdef __MigPackStructs
2687#pragma pack(push, 4)
2688#endif
2689 typedef struct {
2690 mach_msg_header_t Head;
2691 } __ReplyKData__mach_port_move_member_t __attribute__((unused));
2692#ifdef __MigPackStructs
2693#pragma pack(pop)
2694#endif
2695/* Struct for pure user data */
2696#ifdef __MigPackStructs
2697#pragma pack(push, 4)
2698#endif
2699 typedef struct {
2700 NDR_record_t NDR;
2701 kern_return_t RetCode;
2702 char padding[0]; /* Avoid generating empty UData structs */
2703 } __ReplyUData__mach_port_move_member_t __attribute__((unused));
2704#ifdef __MigPackStructs
2705#pragma pack(pop)
2706#endif
2707
2708#ifdef __MigPackStructs
2709#pragma pack(push, 4)
2710#endif
2711 typedef struct {
2712 mach_msg_header_t Head;
2713 /* start of the kernel processed data */
2714 mach_msg_body_t msgh_body;
2715 mach_msg_port_descriptor_t previous;
2716 /* end of the kernel processed data */
2717 } __Reply__mach_port_request_notification_t __attribute__((unused));
2718#ifdef __MigPackStructs
2719#pragma pack(pop)
2720#endif
2721/* Struct for kernel processed data (Header + Descriptors) */
2722#ifdef __MigPackStructs
2723#pragma pack(push, 4)
2724#endif
2725 typedef struct {
2726 mach_msg_header_t Head;
2727 mach_msg_body_t msgh_body;
2728 mach_msg_port_descriptor_t previous;
2729 } __ReplyKData__mach_port_request_notification_t __attribute__((unused));
2730#ifdef __MigPackStructs
2731#pragma pack(pop)
2732#endif
2733/* Struct for pure user data */
2734#ifdef __MigPackStructs
2735#pragma pack(push, 4)
2736#endif
2737 typedef struct {
2738 char padding[0]; /* Avoid generating empty UData structs */
2739 } __ReplyUData__mach_port_request_notification_t __attribute__((unused));
2740#ifdef __MigPackStructs
2741#pragma pack(pop)
2742#endif
2743
2744#ifdef __MigPackStructs
2745#pragma pack(push, 4)
2746#endif
2747 typedef struct {
2748 mach_msg_header_t Head;
2749 NDR_record_t NDR;
2750 kern_return_t RetCode;
2751 } __Reply__mach_port_insert_right_t __attribute__((unused));
2752#ifdef __MigPackStructs
2753#pragma pack(pop)
2754#endif
2755/* Struct for kernel processed data (Header + Descriptors) */
2756#ifdef __MigPackStructs
2757#pragma pack(push, 4)
2758#endif
2759 typedef struct {
2760 mach_msg_header_t Head;
2761 } __ReplyKData__mach_port_insert_right_t __attribute__((unused));
2762#ifdef __MigPackStructs
2763#pragma pack(pop)
2764#endif
2765/* Struct for pure user data */
2766#ifdef __MigPackStructs
2767#pragma pack(push, 4)
2768#endif
2769 typedef struct {
2770 NDR_record_t NDR;
2771 kern_return_t RetCode;
2772 char padding[0]; /* Avoid generating empty UData structs */
2773 } __ReplyUData__mach_port_insert_right_t __attribute__((unused));
2774#ifdef __MigPackStructs
2775#pragma pack(pop)
2776#endif
2777
2778#ifdef __MigPackStructs
2779#pragma pack(push, 4)
2780#endif
2781 typedef struct {
2782 mach_msg_header_t Head;
2783 /* start of the kernel processed data */
2784 mach_msg_body_t msgh_body;
2785 mach_msg_port_descriptor_t poly;
2786 /* end of the kernel processed data */
2787 } __Reply__mach_port_extract_right_t __attribute__((unused));
2788#ifdef __MigPackStructs
2789#pragma pack(pop)
2790#endif
2791/* Struct for kernel processed data (Header + Descriptors) */
2792#ifdef __MigPackStructs
2793#pragma pack(push, 4)
2794#endif
2795 typedef struct {
2796 mach_msg_header_t Head;
2797 mach_msg_body_t msgh_body;
2798 mach_msg_port_descriptor_t poly;
2799 } __ReplyKData__mach_port_extract_right_t __attribute__((unused));
2800#ifdef __MigPackStructs
2801#pragma pack(pop)
2802#endif
2803/* Struct for pure user data */
2804#ifdef __MigPackStructs
2805#pragma pack(push, 4)
2806#endif
2807 typedef struct {
2808 char padding[0]; /* Avoid generating empty UData structs */
2809 } __ReplyUData__mach_port_extract_right_t __attribute__((unused));
2810#ifdef __MigPackStructs
2811#pragma pack(pop)
2812#endif
2813
2814#ifdef __MigPackStructs
2815#pragma pack(push, 4)
2816#endif
2817 typedef struct {
2818 mach_msg_header_t Head;
2819 NDR_record_t NDR;
2820 kern_return_t RetCode;
2821 } __Reply__mach_port_set_seqno_t __attribute__((unused));
2822#ifdef __MigPackStructs
2823#pragma pack(pop)
2824#endif
2825/* Struct for kernel processed data (Header + Descriptors) */
2826#ifdef __MigPackStructs
2827#pragma pack(push, 4)
2828#endif
2829 typedef struct {
2830 mach_msg_header_t Head;
2831 } __ReplyKData__mach_port_set_seqno_t __attribute__((unused));
2832#ifdef __MigPackStructs
2833#pragma pack(pop)
2834#endif
2835/* Struct for pure user data */
2836#ifdef __MigPackStructs
2837#pragma pack(push, 4)
2838#endif
2839 typedef struct {
2840 NDR_record_t NDR;
2841 kern_return_t RetCode;
2842 char padding[0]; /* Avoid generating empty UData structs */
2843 } __ReplyUData__mach_port_set_seqno_t __attribute__((unused));
2844#ifdef __MigPackStructs
2845#pragma pack(pop)
2846#endif
2847
2848#ifdef __MigPackStructs
2849#pragma pack(push, 4)
2850#endif
2851 typedef struct {
2852 mach_msg_header_t Head;
2853 NDR_record_t NDR;
2854 kern_return_t RetCode;
2855 mach_msg_type_number_t port_info_outCnt;
2856 integer_t port_info_out[17];
2857 } __Reply__mach_port_get_attributes_from_user_t __attribute__((unused));
2858#ifdef __MigPackStructs
2859#pragma pack(pop)
2860#endif
2861/* Struct for kernel processed data (Header + Descriptors) */
2862#ifdef __MigPackStructs
2863#pragma pack(push, 4)
2864#endif
2865 typedef struct {
2866 mach_msg_header_t Head;
2867 } __ReplyKData__mach_port_get_attributes_from_user_t __attribute__((unused));
2868#ifdef __MigPackStructs
2869#pragma pack(pop)
2870#endif
2871/* Struct for pure user data */
2872#ifdef __MigPackStructs
2873#pragma pack(push, 4)
2874#endif
2875 typedef struct {
2876 NDR_record_t NDR;
2877 kern_return_t RetCode;
2878 mach_msg_type_number_t port_info_outCnt;
2879 integer_t port_info_out[17];
2880 char padding[0]; /* Avoid generating empty UData structs */
2881 } __ReplyUData__mach_port_get_attributes_from_user_t __attribute__((unused));
2882#ifdef __MigPackStructs
2883#pragma pack(pop)
2884#endif
2885
2886#ifdef __MigPackStructs
2887#pragma pack(push, 4)
2888#endif
2889 typedef struct {
2890 mach_msg_header_t Head;
2891 NDR_record_t NDR;
2892 kern_return_t RetCode;
2893 } __Reply__mach_port_set_attributes_t __attribute__((unused));
2894#ifdef __MigPackStructs
2895#pragma pack(pop)
2896#endif
2897/* Struct for kernel processed data (Header + Descriptors) */
2898#ifdef __MigPackStructs
2899#pragma pack(push, 4)
2900#endif
2901 typedef struct {
2902 mach_msg_header_t Head;
2903 } __ReplyKData__mach_port_set_attributes_t __attribute__((unused));
2904#ifdef __MigPackStructs
2905#pragma pack(pop)
2906#endif
2907/* Struct for pure user data */
2908#ifdef __MigPackStructs
2909#pragma pack(push, 4)
2910#endif
2911 typedef struct {
2912 NDR_record_t NDR;
2913 kern_return_t RetCode;
2914 char padding[0]; /* Avoid generating empty UData structs */
2915 } __ReplyUData__mach_port_set_attributes_t __attribute__((unused));
2916#ifdef __MigPackStructs
2917#pragma pack(pop)
2918#endif
2919
2920#ifdef __MigPackStructs
2921#pragma pack(push, 4)
2922#endif
2923 typedef struct {
2924 mach_msg_header_t Head;
2925 NDR_record_t NDR;
2926 kern_return_t RetCode;
2927 mach_port_qos_t qos;
2928 mach_port_name_t name;
2929 } __Reply__mach_port_allocate_qos_t __attribute__((unused));
2930#ifdef __MigPackStructs
2931#pragma pack(pop)
2932#endif
2933/* Struct for kernel processed data (Header + Descriptors) */
2934#ifdef __MigPackStructs
2935#pragma pack(push, 4)
2936#endif
2937 typedef struct {
2938 mach_msg_header_t Head;
2939 } __ReplyKData__mach_port_allocate_qos_t __attribute__((unused));
2940#ifdef __MigPackStructs
2941#pragma pack(pop)
2942#endif
2943/* Struct for pure user data */
2944#ifdef __MigPackStructs
2945#pragma pack(push, 4)
2946#endif
2947 typedef struct {
2948 NDR_record_t NDR;
2949 kern_return_t RetCode;
2950 mach_port_qos_t qos;
2951 mach_port_name_t name;
2952 char padding[0]; /* Avoid generating empty UData structs */
2953 } __ReplyUData__mach_port_allocate_qos_t __attribute__((unused));
2954#ifdef __MigPackStructs
2955#pragma pack(pop)
2956#endif
2957
2958#ifdef __MigPackStructs
2959#pragma pack(push, 4)
2960#endif
2961 typedef struct {
2962 mach_msg_header_t Head;
2963 NDR_record_t NDR;
2964 kern_return_t RetCode;
2965 mach_port_qos_t qos;
2966 mach_port_name_t name;
2967 } __Reply__mach_port_allocate_full_t __attribute__((unused));
2968#ifdef __MigPackStructs
2969#pragma pack(pop)
2970#endif
2971/* Struct for kernel processed data (Header + Descriptors) */
2972#ifdef __MigPackStructs
2973#pragma pack(push, 4)
2974#endif
2975 typedef struct {
2976 mach_msg_header_t Head;
2977 } __ReplyKData__mach_port_allocate_full_t __attribute__((unused));
2978#ifdef __MigPackStructs
2979#pragma pack(pop)
2980#endif
2981/* Struct for pure user data */
2982#ifdef __MigPackStructs
2983#pragma pack(push, 4)
2984#endif
2985 typedef struct {
2986 NDR_record_t NDR;
2987 kern_return_t RetCode;
2988 mach_port_qos_t qos;
2989 mach_port_name_t name;
2990 char padding[0]; /* Avoid generating empty UData structs */
2991 } __ReplyUData__mach_port_allocate_full_t __attribute__((unused));
2992#ifdef __MigPackStructs
2993#pragma pack(pop)
2994#endif
2995
2996#ifdef __MigPackStructs
2997#pragma pack(push, 4)
2998#endif
2999 typedef struct {
3000 mach_msg_header_t Head;
3001 NDR_record_t NDR;
3002 kern_return_t RetCode;
3003 } __Reply__task_set_port_space_t __attribute__((unused));
3004#ifdef __MigPackStructs
3005#pragma pack(pop)
3006#endif
3007/* Struct for kernel processed data (Header + Descriptors) */
3008#ifdef __MigPackStructs
3009#pragma pack(push, 4)
3010#endif
3011 typedef struct {
3012 mach_msg_header_t Head;
3013 } __ReplyKData__task_set_port_space_t __attribute__((unused));
3014#ifdef __MigPackStructs
3015#pragma pack(pop)
3016#endif
3017/* Struct for pure user data */
3018#ifdef __MigPackStructs
3019#pragma pack(push, 4)
3020#endif
3021 typedef struct {
3022 NDR_record_t NDR;
3023 kern_return_t RetCode;
3024 char padding[0]; /* Avoid generating empty UData structs */
3025 } __ReplyUData__task_set_port_space_t __attribute__((unused));
3026#ifdef __MigPackStructs
3027#pragma pack(pop)
3028#endif
3029
3030#ifdef __MigPackStructs
3031#pragma pack(push, 4)
3032#endif
3033 typedef struct {
3034 mach_msg_header_t Head;
3035 NDR_record_t NDR;
3036 kern_return_t RetCode;
3037 mach_port_rights_t srights;
3038 } __Reply__mach_port_get_srights_t __attribute__((unused));
3039#ifdef __MigPackStructs
3040#pragma pack(pop)
3041#endif
3042/* Struct for kernel processed data (Header + Descriptors) */
3043#ifdef __MigPackStructs
3044#pragma pack(push, 4)
3045#endif
3046 typedef struct {
3047 mach_msg_header_t Head;
3048 } __ReplyKData__mach_port_get_srights_t __attribute__((unused));
3049#ifdef __MigPackStructs
3050#pragma pack(pop)
3051#endif
3052/* Struct for pure user data */
3053#ifdef __MigPackStructs
3054#pragma pack(push, 4)
3055#endif
3056 typedef struct {
3057 NDR_record_t NDR;
3058 kern_return_t RetCode;
3059 mach_port_rights_t srights;
3060 char padding[0]; /* Avoid generating empty UData structs */
3061 } __ReplyUData__mach_port_get_srights_t __attribute__((unused));
3062#ifdef __MigPackStructs
3063#pragma pack(pop)
3064#endif
3065
3066#ifdef __MigPackStructs
3067#pragma pack(push, 4)
3068#endif
3069 typedef struct {
3070 mach_msg_header_t Head;
3071 /* start of the kernel processed data */
3072 mach_msg_body_t msgh_body;
3073 mach_msg_ool_descriptor_t table_info;
3074 mach_msg_ool_descriptor_t tree_info;
3075 /* end of the kernel processed data */
3076 NDR_record_t NDR;
3077 ipc_info_space_t space_info;
3078 mach_msg_type_number_t table_infoCnt;
3079 mach_msg_type_number_t tree_infoCnt;
3080 } __Reply__mach_port_space_info_from_user_t __attribute__((unused));
3081#ifdef __MigPackStructs
3082#pragma pack(pop)
3083#endif
3084/* Struct for kernel processed data (Header + Descriptors) */
3085#ifdef __MigPackStructs
3086#pragma pack(push, 4)
3087#endif
3088 typedef struct {
3089 mach_msg_header_t Head;
3090 mach_msg_body_t msgh_body;
3091 mach_msg_ool_descriptor_t table_info;
3092 mach_msg_ool_descriptor_t tree_info;
3093 } __ReplyKData__mach_port_space_info_from_user_t __attribute__((unused));
3094#ifdef __MigPackStructs
3095#pragma pack(pop)
3096#endif
3097/* Struct for pure user data */
3098#ifdef __MigPackStructs
3099#pragma pack(push, 4)
3100#endif
3101 typedef struct {
3102 NDR_record_t NDR;
3103 ipc_info_space_t space_info;
3104 mach_msg_type_number_t table_infoCnt;
3105 mach_msg_type_number_t tree_infoCnt;
3106 char padding[0]; /* Avoid generating empty UData structs */
3107 } __ReplyUData__mach_port_space_info_from_user_t __attribute__((unused));
3108#ifdef __MigPackStructs
3109#pragma pack(pop)
3110#endif
3111
3112#ifdef __MigPackStructs
3113#pragma pack(push, 4)
3114#endif
3115 typedef struct {
3116 mach_msg_header_t Head;
3117 NDR_record_t NDR;
3118 kern_return_t RetCode;
3119 unsigned dnr_total;
3120 unsigned dnr_used;
3121 } __Reply__mach_port_dnrequest_info_t __attribute__((unused));
3122#ifdef __MigPackStructs
3123#pragma pack(pop)
3124#endif
3125/* Struct for kernel processed data (Header + Descriptors) */
3126#ifdef __MigPackStructs
3127#pragma pack(push, 4)
3128#endif
3129 typedef struct {
3130 mach_msg_header_t Head;
3131 } __ReplyKData__mach_port_dnrequest_info_t __attribute__((unused));
3132#ifdef __MigPackStructs
3133#pragma pack(pop)
3134#endif
3135/* Struct for pure user data */
3136#ifdef __MigPackStructs
3137#pragma pack(push, 4)
3138#endif
3139 typedef struct {
3140 NDR_record_t NDR;
3141 kern_return_t RetCode;
3142 unsigned dnr_total;
3143 unsigned dnr_used;
3144 char padding[0]; /* Avoid generating empty UData structs */
3145 } __ReplyUData__mach_port_dnrequest_info_t __attribute__((unused));
3146#ifdef __MigPackStructs
3147#pragma pack(pop)
3148#endif
3149
3150#ifdef __MigPackStructs
3151#pragma pack(push, 4)
3152#endif
3153 typedef struct {
3154 mach_msg_header_t Head;
3155 NDR_record_t NDR;
3156 kern_return_t RetCode;
3157 } __Reply__mach_port_insert_member_t __attribute__((unused));
3158#ifdef __MigPackStructs
3159#pragma pack(pop)
3160#endif
3161/* Struct for kernel processed data (Header + Descriptors) */
3162#ifdef __MigPackStructs
3163#pragma pack(push, 4)
3164#endif
3165 typedef struct {
3166 mach_msg_header_t Head;
3167 } __ReplyKData__mach_port_insert_member_t __attribute__((unused));
3168#ifdef __MigPackStructs
3169#pragma pack(pop)
3170#endif
3171/* Struct for pure user data */
3172#ifdef __MigPackStructs
3173#pragma pack(push, 4)
3174#endif
3175 typedef struct {
3176 NDR_record_t NDR;
3177 kern_return_t RetCode;
3178 char padding[0]; /* Avoid generating empty UData structs */
3179 } __ReplyUData__mach_port_insert_member_t __attribute__((unused));
3180#ifdef __MigPackStructs
3181#pragma pack(pop)
3182#endif
3183
3184#ifdef __MigPackStructs
3185#pragma pack(push, 4)
3186#endif
3187 typedef struct {
3188 mach_msg_header_t Head;
3189 NDR_record_t NDR;
3190 kern_return_t RetCode;
3191 } __Reply__mach_port_extract_member_t __attribute__((unused));
3192#ifdef __MigPackStructs
3193#pragma pack(pop)
3194#endif
3195/* Struct for kernel processed data (Header + Descriptors) */
3196#ifdef __MigPackStructs
3197#pragma pack(push, 4)
3198#endif
3199 typedef struct {
3200 mach_msg_header_t Head;
3201 } __ReplyKData__mach_port_extract_member_t __attribute__((unused));
3202#ifdef __MigPackStructs
3203#pragma pack(pop)
3204#endif
3205/* Struct for pure user data */
3206#ifdef __MigPackStructs
3207#pragma pack(push, 4)
3208#endif
3209 typedef struct {
3210 NDR_record_t NDR;
3211 kern_return_t RetCode;
3212 char padding[0]; /* Avoid generating empty UData structs */
3213 } __ReplyUData__mach_port_extract_member_t __attribute__((unused));
3214#ifdef __MigPackStructs
3215#pragma pack(pop)
3216#endif
3217
3218#ifdef __MigPackStructs
3219#pragma pack(push, 4)
3220#endif
3221 typedef struct {
3222 mach_msg_header_t Head;
3223 NDR_record_t NDR;
3224 kern_return_t RetCode;
3225 mach_vm_address_t context;
3226 } __Reply__mach_port_get_context_from_user_t __attribute__((unused));
3227#ifdef __MigPackStructs
3228#pragma pack(pop)
3229#endif
3230/* Struct for kernel processed data (Header + Descriptors) */
3231#ifdef __MigPackStructs
3232#pragma pack(push, 4)
3233#endif
3234 typedef struct {
3235 mach_msg_header_t Head;
3236 } __ReplyKData__mach_port_get_context_from_user_t __attribute__((unused));
3237#ifdef __MigPackStructs
3238#pragma pack(pop)
3239#endif
3240/* Struct for pure user data */
3241#ifdef __MigPackStructs
3242#pragma pack(push, 4)
3243#endif
3244 typedef struct {
3245 NDR_record_t NDR;
3246 kern_return_t RetCode;
3247 mach_vm_address_t context;
3248 char padding[0]; /* Avoid generating empty UData structs */
3249 } __ReplyUData__mach_port_get_context_from_user_t __attribute__((unused));
3250#ifdef __MigPackStructs
3251#pragma pack(pop)
3252#endif
3253
3254#ifdef __MigPackStructs
3255#pragma pack(push, 4)
3256#endif
3257 typedef struct {
3258 mach_msg_header_t Head;
3259 NDR_record_t NDR;
3260 kern_return_t RetCode;
3261 } __Reply__mach_port_set_context_t __attribute__((unused));
3262#ifdef __MigPackStructs
3263#pragma pack(pop)
3264#endif
3265/* Struct for kernel processed data (Header + Descriptors) */
3266#ifdef __MigPackStructs
3267#pragma pack(push, 4)
3268#endif
3269 typedef struct {
3270 mach_msg_header_t Head;
3271 } __ReplyKData__mach_port_set_context_t __attribute__((unused));
3272#ifdef __MigPackStructs
3273#pragma pack(pop)
3274#endif
3275/* Struct for pure user data */
3276#ifdef __MigPackStructs
3277#pragma pack(push, 4)
3278#endif
3279 typedef struct {
3280 NDR_record_t NDR;
3281 kern_return_t RetCode;
3282 char padding[0]; /* Avoid generating empty UData structs */
3283 } __ReplyUData__mach_port_set_context_t __attribute__((unused));
3284#ifdef __MigPackStructs
3285#pragma pack(pop)
3286#endif
3287
3288#ifdef __MigPackStructs
3289#pragma pack(push, 4)
3290#endif
3291 typedef struct {
3292 mach_msg_header_t Head;
3293 NDR_record_t NDR;
3294 kern_return_t RetCode;
3295 natural_t object_type;
3296 mach_vm_address_t object_addr;
3297 } __Reply__mach_port_kobject_from_user_t __attribute__((unused));
3298#ifdef __MigPackStructs
3299#pragma pack(pop)
3300#endif
3301/* Struct for kernel processed data (Header + Descriptors) */
3302#ifdef __MigPackStructs
3303#pragma pack(push, 4)
3304#endif
3305 typedef struct {
3306 mach_msg_header_t Head;
3307 } __ReplyKData__mach_port_kobject_from_user_t __attribute__((unused));
3308#ifdef __MigPackStructs
3309#pragma pack(pop)
3310#endif
3311/* Struct for pure user data */
3312#ifdef __MigPackStructs
3313#pragma pack(push, 4)
3314#endif
3315 typedef struct {
3316 NDR_record_t NDR;
3317 kern_return_t RetCode;
3318 natural_t object_type;
3319 mach_vm_address_t object_addr;
3320 char padding[0]; /* Avoid generating empty UData structs */
3321 } __ReplyUData__mach_port_kobject_from_user_t __attribute__((unused));
3322#ifdef __MigPackStructs
3323#pragma pack(pop)
3324#endif
3325
3326#ifdef __MigPackStructs
3327#pragma pack(push, 4)
3328#endif
3329 typedef struct {
3330 mach_msg_header_t Head;
3331 NDR_record_t NDR;
3332 kern_return_t RetCode;
3333 mach_port_name_t name;
3334 } __Reply__mach_port_construct_t __attribute__((unused));
3335#ifdef __MigPackStructs
3336#pragma pack(pop)
3337#endif
3338/* Struct for kernel processed data (Header + Descriptors) */
3339#ifdef __MigPackStructs
3340#pragma pack(push, 4)
3341#endif
3342 typedef struct {
3343 mach_msg_header_t Head;
3344 } __ReplyKData__mach_port_construct_t __attribute__((unused));
3345#ifdef __MigPackStructs
3346#pragma pack(pop)
3347#endif
3348/* Struct for pure user data */
3349#ifdef __MigPackStructs
3350#pragma pack(push, 4)
3351#endif
3352 typedef struct {
3353 NDR_record_t NDR;
3354 kern_return_t RetCode;
3355 mach_port_name_t name;
3356 char padding[0]; /* Avoid generating empty UData structs */
3357 } __ReplyUData__mach_port_construct_t __attribute__((unused));
3358#ifdef __MigPackStructs
3359#pragma pack(pop)
3360#endif
3361
3362#ifdef __MigPackStructs
3363#pragma pack(push, 4)
3364#endif
3365 typedef struct {
3366 mach_msg_header_t Head;
3367 NDR_record_t NDR;
3368 kern_return_t RetCode;
3369 } __Reply__mach_port_destruct_t __attribute__((unused));
3370#ifdef __MigPackStructs
3371#pragma pack(pop)
3372#endif
3373/* Struct for kernel processed data (Header + Descriptors) */
3374#ifdef __MigPackStructs
3375#pragma pack(push, 4)
3376#endif
3377 typedef struct {
3378 mach_msg_header_t Head;
3379 } __ReplyKData__mach_port_destruct_t __attribute__((unused));
3380#ifdef __MigPackStructs
3381#pragma pack(pop)
3382#endif
3383/* Struct for pure user data */
3384#ifdef __MigPackStructs
3385#pragma pack(push, 4)
3386#endif
3387 typedef struct {
3388 NDR_record_t NDR;
3389 kern_return_t RetCode;
3390 char padding[0]; /* Avoid generating empty UData structs */
3391 } __ReplyUData__mach_port_destruct_t __attribute__((unused));
3392#ifdef __MigPackStructs
3393#pragma pack(pop)
3394#endif
3395
3396#ifdef __MigPackStructs
3397#pragma pack(push, 4)
3398#endif
3399 typedef struct {
3400 mach_msg_header_t Head;
3401 NDR_record_t NDR;
3402 kern_return_t RetCode;
3403 } __Reply__mach_port_guard_t __attribute__((unused));
3404#ifdef __MigPackStructs
3405#pragma pack(pop)
3406#endif
3407/* Struct for kernel processed data (Header + Descriptors) */
3408#ifdef __MigPackStructs
3409#pragma pack(push, 4)
3410#endif
3411 typedef struct {
3412 mach_msg_header_t Head;
3413 } __ReplyKData__mach_port_guard_t __attribute__((unused));
3414#ifdef __MigPackStructs
3415#pragma pack(pop)
3416#endif
3417/* Struct for pure user data */
3418#ifdef __MigPackStructs
3419#pragma pack(push, 4)
3420#endif
3421 typedef struct {
3422 NDR_record_t NDR;
3423 kern_return_t RetCode;
3424 char padding[0]; /* Avoid generating empty UData structs */
3425 } __ReplyUData__mach_port_guard_t __attribute__((unused));
3426#ifdef __MigPackStructs
3427#pragma pack(pop)
3428#endif
3429
3430#ifdef __MigPackStructs
3431#pragma pack(push, 4)
3432#endif
3433 typedef struct {
3434 mach_msg_header_t Head;
3435 NDR_record_t NDR;
3436 kern_return_t RetCode;
3437 } __Reply__mach_port_unguard_t __attribute__((unused));
3438#ifdef __MigPackStructs
3439#pragma pack(pop)
3440#endif
3441/* Struct for kernel processed data (Header + Descriptors) */
3442#ifdef __MigPackStructs
3443#pragma pack(push, 4)
3444#endif
3445 typedef struct {
3446 mach_msg_header_t Head;
3447 } __ReplyKData__mach_port_unguard_t __attribute__((unused));
3448#ifdef __MigPackStructs
3449#pragma pack(pop)
3450#endif
3451/* Struct for pure user data */
3452#ifdef __MigPackStructs
3453#pragma pack(push, 4)
3454#endif
3455 typedef struct {
3456 NDR_record_t NDR;
3457 kern_return_t RetCode;
3458 char padding[0]; /* Avoid generating empty UData structs */
3459 } __ReplyUData__mach_port_unguard_t __attribute__((unused));
3460#ifdef __MigPackStructs
3461#pragma pack(pop)
3462#endif
3463
3464#ifdef __MigPackStructs
3465#pragma pack(push, 4)
3466#endif
3467 typedef struct {
3468 mach_msg_header_t Head;
3469 NDR_record_t NDR;
3470 kern_return_t RetCode;
3471 ipc_info_space_basic_t basic_info;
3472 } __Reply__mach_port_space_basic_info_t __attribute__((unused));
3473#ifdef __MigPackStructs
3474#pragma pack(pop)
3475#endif
3476/* Struct for kernel processed data (Header + Descriptors) */
3477#ifdef __MigPackStructs
3478#pragma pack(push, 4)
3479#endif
3480 typedef struct {
3481 mach_msg_header_t Head;
3482 } __ReplyKData__mach_port_space_basic_info_t __attribute__((unused));
3483#ifdef __MigPackStructs
3484#pragma pack(pop)
3485#endif
3486/* Struct for pure user data */
3487#ifdef __MigPackStructs
3488#pragma pack(push, 4)
3489#endif
3490 typedef struct {
3491 NDR_record_t NDR;
3492 kern_return_t RetCode;
3493 ipc_info_space_basic_t basic_info;
3494 char padding[0]; /* Avoid generating empty UData structs */
3495 } __ReplyUData__mach_port_space_basic_info_t __attribute__((unused));
3496#ifdef __MigPackStructs
3497#pragma pack(pop)
3498#endif
3499
3500#ifdef __MigPackStructs
3501#pragma pack(push, 4)
3502#endif
3503 typedef struct {
3504 mach_msg_header_t Head;
3505 NDR_record_t NDR;
3506 kern_return_t RetCode;
3507 boolean_t srp_lost_link;
3508 } __Reply__mach_port_special_reply_port_reset_link_t __attribute__((unused));
3509#ifdef __MigPackStructs
3510#pragma pack(pop)
3511#endif
3512/* Struct for kernel processed data (Header + Descriptors) */
3513#ifdef __MigPackStructs
3514#pragma pack(push, 4)
3515#endif
3516 typedef struct {
3517 mach_msg_header_t Head;
3518 } __ReplyKData__mach_port_special_reply_port_reset_link_t __attribute__((unused));
3519#ifdef __MigPackStructs
3520#pragma pack(pop)
3521#endif
3522/* Struct for pure user data */
3523#ifdef __MigPackStructs
3524#pragma pack(push, 4)
3525#endif
3526 typedef struct {
3527 NDR_record_t NDR;
3528 kern_return_t RetCode;
3529 boolean_t srp_lost_link;
3530 char padding[0]; /* Avoid generating empty UData structs */
3531 } __ReplyUData__mach_port_special_reply_port_reset_link_t __attribute__((unused));
3532#ifdef __MigPackStructs
3533#pragma pack(pop)
3534#endif
3535
3536#ifdef __MigPackStructs
3537#pragma pack(push, 4)
3538#endif
3539 typedef struct {
3540 mach_msg_header_t Head;
3541 NDR_record_t NDR;
3542 kern_return_t RetCode;
3543 } __Reply__mach_port_guard_with_flags_t __attribute__((unused));
3544#ifdef __MigPackStructs
3545#pragma pack(pop)
3546#endif
3547/* Struct for kernel processed data (Header + Descriptors) */
3548#ifdef __MigPackStructs
3549#pragma pack(push, 4)
3550#endif
3551 typedef struct {
3552 mach_msg_header_t Head;
3553 } __ReplyKData__mach_port_guard_with_flags_t __attribute__((unused));
3554#ifdef __MigPackStructs
3555#pragma pack(pop)
3556#endif
3557/* Struct for pure user data */
3558#ifdef __MigPackStructs
3559#pragma pack(push, 4)
3560#endif
3561 typedef struct {
3562 NDR_record_t NDR;
3563 kern_return_t RetCode;
3564 char padding[0]; /* Avoid generating empty UData structs */
3565 } __ReplyUData__mach_port_guard_with_flags_t __attribute__((unused));
3566#ifdef __MigPackStructs
3567#pragma pack(pop)
3568#endif
3569
3570#ifdef __MigPackStructs
3571#pragma pack(push, 4)
3572#endif
3573 typedef struct {
3574 mach_msg_header_t Head;
3575 NDR_record_t NDR;
3576 kern_return_t RetCode;
3577 } __Reply__mach_port_swap_guard_t __attribute__((unused));
3578#ifdef __MigPackStructs
3579#pragma pack(pop)
3580#endif
3581/* Struct for kernel processed data (Header + Descriptors) */
3582#ifdef __MigPackStructs
3583#pragma pack(push, 4)
3584#endif
3585 typedef struct {
3586 mach_msg_header_t Head;
3587 } __ReplyKData__mach_port_swap_guard_t __attribute__((unused));
3588#ifdef __MigPackStructs
3589#pragma pack(pop)
3590#endif
3591/* Struct for pure user data */
3592#ifdef __MigPackStructs
3593#pragma pack(push, 4)
3594#endif
3595 typedef struct {
3596 NDR_record_t NDR;
3597 kern_return_t RetCode;
3598 char padding[0]; /* Avoid generating empty UData structs */
3599 } __ReplyUData__mach_port_swap_guard_t __attribute__((unused));
3600#ifdef __MigPackStructs
3601#pragma pack(pop)
3602#endif
3603
3604#ifdef __MigPackStructs
3605#pragma pack(push, 4)
3606#endif
3607 typedef struct {
3608 mach_msg_header_t Head;
3609 NDR_record_t NDR;
3610 kern_return_t RetCode;
3611 natural_t object_type;
3612 mach_vm_address_t object_addr;
3613 mach_msg_type_number_t descriptionOffset; /* MiG doesn't use it */
3614 mach_msg_type_number_t descriptionCnt;
3615 char description[512];
3616 } __Reply__mach_port_kobject_description_from_user_t __attribute__((unused));
3617#ifdef __MigPackStructs
3618#pragma pack(pop)
3619#endif
3620/* Struct for kernel processed data (Header + Descriptors) */
3621#ifdef __MigPackStructs
3622#pragma pack(push, 4)
3623#endif
3624 typedef struct {
3625 mach_msg_header_t Head;
3626 } __ReplyKData__mach_port_kobject_description_from_user_t __attribute__((unused));
3627#ifdef __MigPackStructs
3628#pragma pack(pop)
3629#endif
3630/* Struct for pure user data */
3631#ifdef __MigPackStructs
3632#pragma pack(push, 4)
3633#endif
3634 typedef struct {
3635 NDR_record_t NDR;
3636 kern_return_t RetCode;
3637 natural_t object_type;
3638 mach_vm_address_t object_addr;
3639 mach_msg_type_number_t descriptionOffset; /* MiG doesn't use it */
3640 mach_msg_type_number_t descriptionCnt;
3641 char description[512];
3642 char padding[0]; /* Avoid generating empty UData structs */
3643 } __ReplyUData__mach_port_kobject_description_from_user_t __attribute__((unused));
3644#ifdef __MigPackStructs
3645#pragma pack(pop)
3646#endif
3647
3648#ifdef __MigPackStructs
3649#pragma pack(push, 4)
3650#endif
3651 typedef struct {
3652 mach_msg_header_t Head;
3653 NDR_record_t NDR;
3654 kern_return_t RetCode;
3655 uint64_t filter_policy_id;
3656 } __Reply__mach_port_is_connection_for_service_t __attribute__((unused));
3657#ifdef __MigPackStructs
3658#pragma pack(pop)
3659#endif
3660/* Struct for kernel processed data (Header + Descriptors) */
3661#ifdef __MigPackStructs
3662#pragma pack(push, 4)
3663#endif
3664 typedef struct {
3665 mach_msg_header_t Head;
3666 } __ReplyKData__mach_port_is_connection_for_service_t __attribute__((unused));
3667#ifdef __MigPackStructs
3668#pragma pack(pop)
3669#endif
3670/* Struct for pure user data */
3671#ifdef __MigPackStructs
3672#pragma pack(push, 4)
3673#endif
3674 typedef struct {
3675 NDR_record_t NDR;
3676 kern_return_t RetCode;
3677 uint64_t filter_policy_id;
3678 char padding[0]; /* Avoid generating empty UData structs */
3679 } __ReplyUData__mach_port_is_connection_for_service_t __attribute__((unused));
3680#ifdef __MigPackStructs
3681#pragma pack(pop)
3682#endif
3683
3684#ifdef __MigPackStructs
3685#pragma pack(push, 4)
3686#endif
3687 typedef struct {
3688 mach_msg_header_t Head;
3689 NDR_record_t NDR;
3690 kern_return_t RetCode;
3691 mach_service_port_info_data_t sp_info_out;
3692 } __Reply__mach_port_get_service_port_info_t __attribute__((unused));
3693#ifdef __MigPackStructs
3694#pragma pack(pop)
3695#endif
3696/* Struct for kernel processed data (Header + Descriptors) */
3697#ifdef __MigPackStructs
3698#pragma pack(push, 4)
3699#endif
3700 typedef struct {
3701 mach_msg_header_t Head;
3702 } __ReplyKData__mach_port_get_service_port_info_t __attribute__((unused));
3703#ifdef __MigPackStructs
3704#pragma pack(pop)
3705#endif
3706/* Struct for pure user data */
3707#ifdef __MigPackStructs
3708#pragma pack(push, 4)
3709#endif
3710 typedef struct {
3711 NDR_record_t NDR;
3712 kern_return_t RetCode;
3713 mach_service_port_info_data_t sp_info_out;
3714 char padding[0]; /* Avoid generating empty UData structs */
3715 } __ReplyUData__mach_port_get_service_port_info_t __attribute__((unused));
3716#ifdef __MigPackStructs
3717#pragma pack(pop)
3718#endif
3719
3720#ifdef __MigPackStructs
3721#pragma pack(push, 4)
3722#endif
3723 typedef struct {
3724 mach_msg_header_t Head;
3725 NDR_record_t NDR;
3726 kern_return_t RetCode;
3727 } __Reply__mach_port_assert_attributes_t __attribute__((unused));
3728#ifdef __MigPackStructs
3729#pragma pack(pop)
3730#endif
3731/* Struct for kernel processed data (Header + Descriptors) */
3732#ifdef __MigPackStructs
3733#pragma pack(push, 4)
3734#endif
3735 typedef struct {
3736 mach_msg_header_t Head;
3737 } __ReplyKData__mach_port_assert_attributes_t __attribute__((unused));
3738#ifdef __MigPackStructs
3739#pragma pack(pop)
3740#endif
3741/* Struct for pure user data */
3742#ifdef __MigPackStructs
3743#pragma pack(push, 4)
3744#endif
3745 typedef struct {
3746 NDR_record_t NDR;
3747 kern_return_t RetCode;
3748 char padding[0]; /* Avoid generating empty UData structs */
3749 } __ReplyUData__mach_port_assert_attributes_t __attribute__((unused));
3750#ifdef __MigPackStructs
3751#pragma pack(pop)
3752#endif
3753#endif /* !__Reply__mach_port_subsystem__defined */
3754
3755
3756/* union of all replies */
3757
3758#ifndef __ReplyUnion__mach_port_subsystem__defined
3759#define __ReplyUnion__mach_port_subsystem__defined
3760union __ReplyUnion__mach_port_subsystem {
3761 __Reply__mach_port_names_t Reply_mach_port_names;
3762 __Reply__mach_port_type_t Reply_mach_port_type;
3763 __Reply__mach_port_allocate_name_t Reply_mach_port_allocate_name;
3764 __Reply__mach_port_allocate_t Reply_mach_port_allocate;
3765 __Reply__mach_port_destroy_t Reply_mach_port_destroy;
3766 __Reply__mach_port_deallocate_t Reply_mach_port_deallocate;
3767 __Reply__mach_port_get_refs_t Reply_mach_port_get_refs;
3768 __Reply__mach_port_mod_refs_t Reply_mach_port_mod_refs;
3769 __Reply__mach_port_peek_t Reply_mach_port_peek;
3770 __Reply__mach_port_set_mscount_t Reply_mach_port_set_mscount;
3771 __Reply__mach_port_get_set_status_from_user_t Reply_mach_port_get_set_status_from_user;
3772 __Reply__mach_port_move_member_t Reply_mach_port_move_member;
3773 __Reply__mach_port_request_notification_t Reply_mach_port_request_notification;
3774 __Reply__mach_port_insert_right_t Reply_mach_port_insert_right;
3775 __Reply__mach_port_extract_right_t Reply_mach_port_extract_right;
3776 __Reply__mach_port_set_seqno_t Reply_mach_port_set_seqno;
3777 __Reply__mach_port_get_attributes_from_user_t Reply_mach_port_get_attributes_from_user;
3778 __Reply__mach_port_set_attributes_t Reply_mach_port_set_attributes;
3779 __Reply__mach_port_allocate_qos_t Reply_mach_port_allocate_qos;
3780 __Reply__mach_port_allocate_full_t Reply_mach_port_allocate_full;
3781 __Reply__task_set_port_space_t Reply_task_set_port_space;
3782 __Reply__mach_port_get_srights_t Reply_mach_port_get_srights;
3783 __Reply__mach_port_space_info_from_user_t Reply_mach_port_space_info_from_user;
3784 __Reply__mach_port_dnrequest_info_t Reply_mach_port_dnrequest_info;
3785 __Reply__mach_port_insert_member_t Reply_mach_port_insert_member;
3786 __Reply__mach_port_extract_member_t Reply_mach_port_extract_member;
3787 __Reply__mach_port_get_context_from_user_t Reply_mach_port_get_context_from_user;
3788 __Reply__mach_port_set_context_t Reply_mach_port_set_context;
3789 __Reply__mach_port_kobject_from_user_t Reply_mach_port_kobject_from_user;
3790 __Reply__mach_port_construct_t Reply_mach_port_construct;
3791 __Reply__mach_port_destruct_t Reply_mach_port_destruct;
3792 __Reply__mach_port_guard_t Reply_mach_port_guard;
3793 __Reply__mach_port_unguard_t Reply_mach_port_unguard;
3794 __Reply__mach_port_space_basic_info_t Reply_mach_port_space_basic_info;
3795 __Reply__mach_port_special_reply_port_reset_link_t Reply_mach_port_special_reply_port_reset_link;
3796 __Reply__mach_port_guard_with_flags_t Reply_mach_port_guard_with_flags;
3797 __Reply__mach_port_swap_guard_t Reply_mach_port_swap_guard;
3798 __Reply__mach_port_kobject_description_from_user_t Reply_mach_port_kobject_description_from_user;
3799 __Reply__mach_port_is_connection_for_service_t Reply_mach_port_is_connection_for_service;
3800 __Reply__mach_port_get_service_port_info_t Reply_mach_port_get_service_port_info;
3801 __Reply__mach_port_assert_attributes_t Reply_mach_port_assert_attributes;
3802};
3803#endif /* __ReplyUnion__mach_port_subsystem__defined */
3804
3805#ifndef subsystem_to_name_map_mach_port
3806#define subsystem_to_name_map_mach_port \
3807 { "mach_port_names", 3200 },\
3808 { "mach_port_type", 3201 },\
3809 { "mach_port_allocate_name", 3203 },\
3810 { "mach_port_allocate", 3204 },\
3811 { "mach_port_destroy", 3205 },\
3812 { "mach_port_deallocate", 3206 },\
3813 { "mach_port_get_refs", 3207 },\
3814 { "mach_port_mod_refs", 3208 },\
3815 { "mach_port_peek", 3209 },\
3816 { "mach_port_set_mscount", 3210 },\
3817 { "mach_port_get_set_status_from_user", 3211 },\
3818 { "mach_port_move_member", 3212 },\
3819 { "mach_port_request_notification", 3213 },\
3820 { "mach_port_insert_right", 3214 },\
3821 { "mach_port_extract_right", 3215 },\
3822 { "mach_port_set_seqno", 3216 },\
3823 { "mach_port_get_attributes_from_user", 3217 },\
3824 { "mach_port_set_attributes", 3218 },\
3825 { "mach_port_allocate_qos", 3219 },\
3826 { "mach_port_allocate_full", 3220 },\
3827 { "task_set_port_space", 3221 },\
3828 { "mach_port_get_srights", 3222 },\
3829 { "mach_port_space_info_from_user", 3223 },\
3830 { "mach_port_dnrequest_info", 3224 },\
3831 { "mach_port_insert_member", 3226 },\
3832 { "mach_port_extract_member", 3227 },\
3833 { "mach_port_get_context_from_user", 3228 },\
3834 { "mach_port_set_context", 3229 },\
3835 { "mach_port_kobject_from_user", 3230 },\
3836 { "mach_port_construct", 3231 },\
3837 { "mach_port_destruct", 3232 },\
3838 { "mach_port_guard", 3233 },\
3839 { "mach_port_unguard", 3234 },\
3840 { "mach_port_space_basic_info", 3235 },\
3841 { "mach_port_special_reply_port_reset_link", 3236 },\
3842 { "mach_port_guard_with_flags", 3237 },\
3843 { "mach_port_swap_guard", 3238 },\
3844 { "mach_port_kobject_description_from_user", 3239 },\
3845 { "mach_port_is_connection_for_service", 3240 },\
3846 { "mach_port_get_service_port_info", 3241 },\
3847 { "mach_port_assert_attributes", 3242 }
3848#endif
3849
3850#ifdef __AfterMigServerHeader
3851__AfterMigServerHeader
3852#endif /* __AfterMigServerHeader */
3853
3854#endif /* _mach_port_server_ */
3855