1 | #ifndef _mach_port_user_ |
2 | #define _mach_port_user_ |
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 |
26 | extern "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 |
45 | typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t); |
46 | typedef struct { |
47 | char * name; |
48 | function_ptr_t function; |
49 | } function_table_entry; |
50 | typedef 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 <mach/mig.h> |
62 | #include <mach/mach_types.h> |
63 | #include <mach_debug/mach_debug_types.h> |
64 | |
65 | #ifdef __BeforeMigUserHeader |
66 | __BeforeMigUserHeader |
67 | #endif /* __BeforeMigUserHeader */ |
68 | |
69 | #include <sys/cdefs.h> |
70 | __BEGIN_DECLS |
71 | |
72 | |
73 | /* Routine mach_port_names */ |
74 | #ifdef mig_external |
75 | mig_external |
76 | #else |
77 | extern |
78 | #endif /* mig_external */ |
79 | kern_return_t mach_port_names |
80 | ( |
81 | ipc_space_t task, |
82 | mach_port_name_array_t *names, |
83 | mach_msg_type_number_t *namesCnt, |
84 | mach_port_type_array_t *types, |
85 | mach_msg_type_number_t *typesCnt |
86 | ); |
87 | |
88 | /* Routine mach_port_type */ |
89 | #ifdef mig_external |
90 | mig_external |
91 | #else |
92 | extern |
93 | #endif /* mig_external */ |
94 | kern_return_t mach_port_type |
95 | ( |
96 | ipc_space_t task, |
97 | mach_port_name_t name, |
98 | mach_port_type_t *ptype |
99 | ); |
100 | |
101 | /* Routine mach_port_rename */ |
102 | #ifdef mig_external |
103 | mig_external |
104 | #else |
105 | extern |
106 | #endif /* mig_external */ |
107 | kern_return_t mach_port_rename |
108 | ( |
109 | ipc_space_t task, |
110 | mach_port_name_t old_name, |
111 | mach_port_name_t new_name |
112 | ); |
113 | |
114 | /* Routine mach_port_allocate_name */ |
115 | #ifdef mig_external |
116 | mig_external |
117 | #else |
118 | extern |
119 | #endif /* mig_external */ |
120 | kern_return_t mach_port_allocate_name |
121 | ( |
122 | ipc_space_t task, |
123 | mach_port_right_t right, |
124 | mach_port_name_t name |
125 | ); |
126 | |
127 | /* Routine mach_port_allocate */ |
128 | #ifdef mig_external |
129 | mig_external |
130 | #else |
131 | extern |
132 | #endif /* mig_external */ |
133 | kern_return_t mach_port_allocate |
134 | ( |
135 | ipc_space_t task, |
136 | mach_port_right_t right, |
137 | mach_port_name_t *name |
138 | ); |
139 | |
140 | /* Routine mach_port_destroy */ |
141 | #ifdef mig_external |
142 | mig_external |
143 | #else |
144 | extern |
145 | #endif /* mig_external */ |
146 | kern_return_t mach_port_destroy |
147 | ( |
148 | ipc_space_t task, |
149 | mach_port_name_t name |
150 | ); |
151 | |
152 | /* Routine mach_port_deallocate */ |
153 | #ifdef mig_external |
154 | mig_external |
155 | #else |
156 | extern |
157 | #endif /* mig_external */ |
158 | kern_return_t mach_port_deallocate |
159 | ( |
160 | ipc_space_t task, |
161 | mach_port_name_t name |
162 | ); |
163 | |
164 | /* Routine mach_port_get_refs */ |
165 | #ifdef mig_external |
166 | mig_external |
167 | #else |
168 | extern |
169 | #endif /* mig_external */ |
170 | kern_return_t mach_port_get_refs |
171 | ( |
172 | ipc_space_t task, |
173 | mach_port_name_t name, |
174 | mach_port_right_t right, |
175 | mach_port_urefs_t *refs |
176 | ); |
177 | |
178 | /* Routine mach_port_mod_refs */ |
179 | #ifdef mig_external |
180 | mig_external |
181 | #else |
182 | extern |
183 | #endif /* mig_external */ |
184 | kern_return_t mach_port_mod_refs |
185 | ( |
186 | ipc_space_t task, |
187 | mach_port_name_t name, |
188 | mach_port_right_t right, |
189 | mach_port_delta_t delta |
190 | ); |
191 | |
192 | /* Routine mach_port_peek */ |
193 | #ifdef mig_external |
194 | mig_external |
195 | #else |
196 | extern |
197 | #endif /* mig_external */ |
198 | kern_return_t mach_port_peek |
199 | ( |
200 | ipc_space_t task, |
201 | mach_port_name_t name, |
202 | mach_msg_trailer_type_t trailer_type, |
203 | mach_port_seqno_t *request_seqnop, |
204 | mach_msg_size_t *msg_sizep, |
205 | mach_msg_id_t *msg_idp, |
206 | mach_msg_trailer_info_t trailer_infop, |
207 | mach_msg_type_number_t *trailer_infopCnt |
208 | ); |
209 | |
210 | /* Routine mach_port_set_mscount */ |
211 | #ifdef mig_external |
212 | mig_external |
213 | #else |
214 | extern |
215 | #endif /* mig_external */ |
216 | kern_return_t mach_port_set_mscount |
217 | ( |
218 | ipc_space_t task, |
219 | mach_port_name_t name, |
220 | mach_port_mscount_t mscount |
221 | ); |
222 | |
223 | /* Routine mach_port_get_set_status */ |
224 | #ifdef mig_external |
225 | mig_external |
226 | #else |
227 | extern |
228 | #endif /* mig_external */ |
229 | kern_return_t mach_port_get_set_status |
230 | ( |
231 | ipc_space_read_t task, |
232 | mach_port_name_t name, |
233 | mach_port_name_array_t *members, |
234 | mach_msg_type_number_t *membersCnt |
235 | ); |
236 | |
237 | /* Routine mach_port_move_member */ |
238 | #ifdef mig_external |
239 | mig_external |
240 | #else |
241 | extern |
242 | #endif /* mig_external */ |
243 | kern_return_t mach_port_move_member |
244 | ( |
245 | ipc_space_t task, |
246 | mach_port_name_t member, |
247 | mach_port_name_t after |
248 | ); |
249 | |
250 | /* Routine mach_port_request_notification */ |
251 | #ifdef mig_external |
252 | mig_external |
253 | #else |
254 | extern |
255 | #endif /* mig_external */ |
256 | kern_return_t mach_port_request_notification |
257 | ( |
258 | ipc_space_t task, |
259 | mach_port_name_t name, |
260 | mach_msg_id_t msgid, |
261 | mach_port_mscount_t sync, |
262 | mach_port_t notify, |
263 | mach_msg_type_name_t notifyPoly, |
264 | mach_port_t *previous |
265 | ); |
266 | |
267 | /* Routine mach_port_insert_right */ |
268 | #ifdef mig_external |
269 | mig_external |
270 | #else |
271 | extern |
272 | #endif /* mig_external */ |
273 | kern_return_t mach_port_insert_right |
274 | ( |
275 | ipc_space_t task, |
276 | mach_port_name_t name, |
277 | mach_port_t poly, |
278 | mach_msg_type_name_t polyPoly |
279 | ); |
280 | |
281 | /* Routine mach_port_extract_right */ |
282 | #ifdef mig_external |
283 | mig_external |
284 | #else |
285 | extern |
286 | #endif /* mig_external */ |
287 | kern_return_t |
288 | ( |
289 | ipc_space_t task, |
290 | mach_port_name_t name, |
291 | mach_msg_type_name_t msgt_name, |
292 | mach_port_t *poly, |
293 | mach_msg_type_name_t *polyPoly |
294 | ); |
295 | |
296 | /* Routine mach_port_set_seqno */ |
297 | #ifdef mig_external |
298 | mig_external |
299 | #else |
300 | extern |
301 | #endif /* mig_external */ |
302 | kern_return_t mach_port_set_seqno |
303 | ( |
304 | ipc_space_t task, |
305 | mach_port_name_t name, |
306 | mach_port_seqno_t seqno |
307 | ); |
308 | |
309 | /* Routine mach_port_get_attributes */ |
310 | #ifdef mig_external |
311 | mig_external |
312 | #else |
313 | extern |
314 | #endif /* mig_external */ |
315 | kern_return_t mach_port_get_attributes |
316 | ( |
317 | ipc_space_read_t task, |
318 | mach_port_name_t name, |
319 | mach_port_flavor_t flavor, |
320 | mach_port_info_t port_info_out, |
321 | mach_msg_type_number_t *port_info_outCnt |
322 | ); |
323 | |
324 | /* Routine mach_port_set_attributes */ |
325 | #ifdef mig_external |
326 | mig_external |
327 | #else |
328 | extern |
329 | #endif /* mig_external */ |
330 | kern_return_t mach_port_set_attributes |
331 | ( |
332 | ipc_space_t task, |
333 | mach_port_name_t name, |
334 | mach_port_flavor_t flavor, |
335 | mach_port_info_t port_info, |
336 | mach_msg_type_number_t port_infoCnt |
337 | ); |
338 | |
339 | /* Routine mach_port_allocate_qos */ |
340 | #ifdef mig_external |
341 | mig_external |
342 | #else |
343 | extern |
344 | #endif /* mig_external */ |
345 | kern_return_t mach_port_allocate_qos |
346 | ( |
347 | ipc_space_t task, |
348 | mach_port_right_t right, |
349 | mach_port_qos_t *qos, |
350 | mach_port_name_t *name |
351 | ); |
352 | |
353 | /* Routine mach_port_allocate_full */ |
354 | #ifdef mig_external |
355 | mig_external |
356 | #else |
357 | extern |
358 | #endif /* mig_external */ |
359 | kern_return_t mach_port_allocate_full |
360 | ( |
361 | ipc_space_t task, |
362 | mach_port_right_t right, |
363 | mach_port_t proto, |
364 | mach_port_qos_t *qos, |
365 | mach_port_name_t *name |
366 | ); |
367 | |
368 | /* Routine task_set_port_space */ |
369 | #ifdef mig_external |
370 | mig_external |
371 | #else |
372 | extern |
373 | #endif /* mig_external */ |
374 | kern_return_t task_set_port_space |
375 | ( |
376 | ipc_space_t task, |
377 | int table_entries |
378 | ); |
379 | |
380 | /* Routine mach_port_get_srights */ |
381 | #ifdef mig_external |
382 | mig_external |
383 | #else |
384 | extern |
385 | #endif /* mig_external */ |
386 | kern_return_t mach_port_get_srights |
387 | ( |
388 | ipc_space_t task, |
389 | mach_port_name_t name, |
390 | mach_port_rights_t *srights |
391 | ); |
392 | |
393 | /* Routine mach_port_space_info */ |
394 | #ifdef mig_external |
395 | mig_external |
396 | #else |
397 | extern |
398 | #endif /* mig_external */ |
399 | kern_return_t mach_port_space_info |
400 | ( |
401 | ipc_space_read_t space, |
402 | ipc_info_space_t *space_info, |
403 | ipc_info_name_array_t *table_info, |
404 | mach_msg_type_number_t *table_infoCnt, |
405 | ipc_info_tree_name_array_t *tree_info, |
406 | mach_msg_type_number_t *tree_infoCnt |
407 | ); |
408 | |
409 | /* Routine mach_port_dnrequest_info */ |
410 | #ifdef mig_external |
411 | mig_external |
412 | #else |
413 | extern |
414 | #endif /* mig_external */ |
415 | kern_return_t mach_port_dnrequest_info |
416 | ( |
417 | ipc_space_t task, |
418 | mach_port_name_t name, |
419 | unsigned *dnr_total, |
420 | unsigned *dnr_used |
421 | ); |
422 | |
423 | /* Routine mach_port_kernel_object */ |
424 | #ifdef mig_external |
425 | mig_external |
426 | #else |
427 | extern |
428 | #endif /* mig_external */ |
429 | kern_return_t mach_port_kernel_object |
430 | ( |
431 | ipc_space_read_t task, |
432 | mach_port_name_t name, |
433 | unsigned *object_type, |
434 | unsigned *object_addr |
435 | ); |
436 | |
437 | /* Routine mach_port_insert_member */ |
438 | #ifdef mig_external |
439 | mig_external |
440 | #else |
441 | extern |
442 | #endif /* mig_external */ |
443 | kern_return_t mach_port_insert_member |
444 | ( |
445 | ipc_space_t task, |
446 | mach_port_name_t name, |
447 | mach_port_name_t pset |
448 | ); |
449 | |
450 | /* Routine mach_port_extract_member */ |
451 | #ifdef mig_external |
452 | mig_external |
453 | #else |
454 | extern |
455 | #endif /* mig_external */ |
456 | kern_return_t |
457 | ( |
458 | ipc_space_t task, |
459 | mach_port_name_t name, |
460 | mach_port_name_t pset |
461 | ); |
462 | |
463 | /* Routine mach_port_get_context */ |
464 | #ifdef mig_external |
465 | mig_external |
466 | #else |
467 | extern |
468 | #endif /* mig_external */ |
469 | kern_return_t mach_port_get_context |
470 | ( |
471 | ipc_space_read_t task, |
472 | mach_port_name_t name, |
473 | mach_vm_address_t *context |
474 | ); |
475 | |
476 | /* Routine mach_port_set_context */ |
477 | #ifdef mig_external |
478 | mig_external |
479 | #else |
480 | extern |
481 | #endif /* mig_external */ |
482 | kern_return_t mach_port_set_context |
483 | ( |
484 | ipc_space_t task, |
485 | mach_port_name_t name, |
486 | mach_vm_address_t context |
487 | ); |
488 | |
489 | /* Routine mach_port_kobject */ |
490 | #ifdef mig_external |
491 | mig_external |
492 | #else |
493 | extern |
494 | #endif /* mig_external */ |
495 | kern_return_t mach_port_kobject |
496 | ( |
497 | ipc_space_read_t task, |
498 | mach_port_name_t name, |
499 | natural_t *object_type, |
500 | mach_vm_address_t *object_addr |
501 | ); |
502 | |
503 | /* Routine mach_port_construct */ |
504 | #ifdef mig_external |
505 | mig_external |
506 | #else |
507 | extern |
508 | #endif /* mig_external */ |
509 | kern_return_t mach_port_construct |
510 | ( |
511 | ipc_space_t task, |
512 | mach_port_options_ptr_t options, |
513 | uint64_t context, |
514 | mach_port_name_t *name |
515 | ); |
516 | |
517 | /* Routine mach_port_destruct */ |
518 | #ifdef mig_external |
519 | mig_external |
520 | #else |
521 | extern |
522 | #endif /* mig_external */ |
523 | kern_return_t mach_port_destruct |
524 | ( |
525 | ipc_space_t task, |
526 | mach_port_name_t name, |
527 | mach_port_delta_t srdelta, |
528 | uint64_t guard |
529 | ); |
530 | |
531 | /* Routine mach_port_guard */ |
532 | #ifdef mig_external |
533 | mig_external |
534 | #else |
535 | extern |
536 | #endif /* mig_external */ |
537 | kern_return_t mach_port_guard |
538 | ( |
539 | ipc_space_t task, |
540 | mach_port_name_t name, |
541 | uint64_t guard, |
542 | boolean_t strict |
543 | ); |
544 | |
545 | /* Routine mach_port_unguard */ |
546 | #ifdef mig_external |
547 | mig_external |
548 | #else |
549 | extern |
550 | #endif /* mig_external */ |
551 | kern_return_t mach_port_unguard |
552 | ( |
553 | ipc_space_t task, |
554 | mach_port_name_t name, |
555 | uint64_t guard |
556 | ); |
557 | |
558 | /* Routine mach_port_space_basic_info */ |
559 | #ifdef mig_external |
560 | mig_external |
561 | #else |
562 | extern |
563 | #endif /* mig_external */ |
564 | kern_return_t mach_port_space_basic_info |
565 | ( |
566 | ipc_space_inspect_t task, |
567 | ipc_info_space_basic_t *basic_info |
568 | ); |
569 | |
570 | /* Routine mach_port_special_reply_port_reset_link */ |
571 | #ifdef mig_external |
572 | mig_external |
573 | #else |
574 | extern |
575 | #endif /* mig_external */ |
576 | kern_return_t mach_port_special_reply_port_reset_link |
577 | ( |
578 | ipc_space_t task, |
579 | mach_port_name_t name, |
580 | boolean_t *srp_lost_link |
581 | ); |
582 | |
583 | /* Routine mach_port_guard_with_flags */ |
584 | #ifdef mig_external |
585 | mig_external |
586 | #else |
587 | extern |
588 | #endif /* mig_external */ |
589 | kern_return_t mach_port_guard_with_flags |
590 | ( |
591 | ipc_space_t task, |
592 | mach_port_name_t name, |
593 | uint64_t guard, |
594 | uint64_t flags |
595 | ); |
596 | |
597 | /* Routine mach_port_swap_guard */ |
598 | #ifdef mig_external |
599 | mig_external |
600 | #else |
601 | extern |
602 | #endif /* mig_external */ |
603 | kern_return_t mach_port_swap_guard |
604 | ( |
605 | ipc_space_t task, |
606 | mach_port_name_t name, |
607 | uint64_t old_guard, |
608 | uint64_t new_guard |
609 | ); |
610 | |
611 | /* Routine mach_port_kobject_description */ |
612 | #ifdef mig_external |
613 | mig_external |
614 | #else |
615 | extern |
616 | #endif /* mig_external */ |
617 | kern_return_t mach_port_kobject_description |
618 | ( |
619 | ipc_space_read_t task, |
620 | mach_port_name_t name, |
621 | natural_t *object_type, |
622 | mach_vm_address_t *object_addr, |
623 | kobject_description_t description |
624 | ); |
625 | |
626 | /* Routine mach_port_is_connection_for_service */ |
627 | #ifdef mig_external |
628 | mig_external |
629 | #else |
630 | extern |
631 | #endif /* mig_external */ |
632 | kern_return_t mach_port_is_connection_for_service |
633 | ( |
634 | ipc_space_t task, |
635 | mach_port_name_t connection_port, |
636 | mach_port_name_t service_port, |
637 | uint64_t *filter_policy_id |
638 | ); |
639 | |
640 | /* Routine mach_port_get_service_port_info */ |
641 | #ifdef mig_external |
642 | mig_external |
643 | #else |
644 | extern |
645 | #endif /* mig_external */ |
646 | kern_return_t mach_port_get_service_port_info |
647 | ( |
648 | ipc_space_read_t task, |
649 | mach_port_name_t name, |
650 | mach_service_port_info_data_t *sp_info_out |
651 | ); |
652 | |
653 | /* Routine mach_port_assert_attributes */ |
654 | #ifdef mig_external |
655 | mig_external |
656 | #else |
657 | extern |
658 | #endif /* mig_external */ |
659 | kern_return_t mach_port_assert_attributes |
660 | ( |
661 | ipc_space_t task, |
662 | mach_port_name_t name, |
663 | mach_port_flavor_t flavor, |
664 | mach_port_info_t info, |
665 | mach_msg_type_number_t infoCnt |
666 | ); |
667 | |
668 | __END_DECLS |
669 | |
670 | /********************** Caution **************************/ |
671 | /* The following data types should be used to calculate */ |
672 | /* maximum message sizes only. The actual message may be */ |
673 | /* smaller, and the position of the arguments within the */ |
674 | /* message layout may vary from what is presented here. */ |
675 | /* For example, if any of the arguments are variable- */ |
676 | /* sized, and less than the maximum is sent, the data */ |
677 | /* will be packed tight in the actual message to reduce */ |
678 | /* the presence of holes. */ |
679 | /********************** Caution **************************/ |
680 | |
681 | /* typedefs for all requests */ |
682 | |
683 | #ifndef __Request__mach_port_subsystem__defined |
684 | #define __Request__mach_port_subsystem__defined |
685 | |
686 | #ifdef __MigPackStructs |
687 | #pragma pack(push, 4) |
688 | #endif |
689 | typedef struct { |
690 | mach_msg_header_t Head; |
691 | } __Request__mach_port_names_t __attribute__((unused)); |
692 | #ifdef __MigPackStructs |
693 | #pragma pack(pop) |
694 | #endif |
695 | |
696 | #ifdef __MigPackStructs |
697 | #pragma pack(push, 4) |
698 | #endif |
699 | typedef struct { |
700 | mach_msg_header_t Head; |
701 | NDR_record_t NDR; |
702 | mach_port_name_t name; |
703 | } __Request__mach_port_type_t __attribute__((unused)); |
704 | #ifdef __MigPackStructs |
705 | #pragma pack(pop) |
706 | #endif |
707 | |
708 | #ifdef __MigPackStructs |
709 | #pragma pack(push, 4) |
710 | #endif |
711 | typedef struct { |
712 | mach_msg_header_t Head; |
713 | NDR_record_t NDR; |
714 | mach_port_name_t old_name; |
715 | mach_port_name_t new_name; |
716 | } __Request__mach_port_rename_t __attribute__((unused)); |
717 | #ifdef __MigPackStructs |
718 | #pragma pack(pop) |
719 | #endif |
720 | |
721 | #ifdef __MigPackStructs |
722 | #pragma pack(push, 4) |
723 | #endif |
724 | typedef struct { |
725 | mach_msg_header_t Head; |
726 | NDR_record_t NDR; |
727 | mach_port_right_t right; |
728 | mach_port_name_t name; |
729 | } __Request__mach_port_allocate_name_t __attribute__((unused)); |
730 | #ifdef __MigPackStructs |
731 | #pragma pack(pop) |
732 | #endif |
733 | |
734 | #ifdef __MigPackStructs |
735 | #pragma pack(push, 4) |
736 | #endif |
737 | typedef struct { |
738 | mach_msg_header_t Head; |
739 | NDR_record_t NDR; |
740 | mach_port_right_t right; |
741 | } __Request__mach_port_allocate_t __attribute__((unused)); |
742 | #ifdef __MigPackStructs |
743 | #pragma pack(pop) |
744 | #endif |
745 | |
746 | #ifdef __MigPackStructs |
747 | #pragma pack(push, 4) |
748 | #endif |
749 | typedef struct { |
750 | mach_msg_header_t Head; |
751 | NDR_record_t NDR; |
752 | mach_port_name_t name; |
753 | } __Request__mach_port_destroy_t __attribute__((unused)); |
754 | #ifdef __MigPackStructs |
755 | #pragma pack(pop) |
756 | #endif |
757 | |
758 | #ifdef __MigPackStructs |
759 | #pragma pack(push, 4) |
760 | #endif |
761 | typedef struct { |
762 | mach_msg_header_t Head; |
763 | NDR_record_t NDR; |
764 | mach_port_name_t name; |
765 | } __Request__mach_port_deallocate_t __attribute__((unused)); |
766 | #ifdef __MigPackStructs |
767 | #pragma pack(pop) |
768 | #endif |
769 | |
770 | #ifdef __MigPackStructs |
771 | #pragma pack(push, 4) |
772 | #endif |
773 | typedef struct { |
774 | mach_msg_header_t Head; |
775 | NDR_record_t NDR; |
776 | mach_port_name_t name; |
777 | mach_port_right_t right; |
778 | } __Request__mach_port_get_refs_t __attribute__((unused)); |
779 | #ifdef __MigPackStructs |
780 | #pragma pack(pop) |
781 | #endif |
782 | |
783 | #ifdef __MigPackStructs |
784 | #pragma pack(push, 4) |
785 | #endif |
786 | typedef struct { |
787 | mach_msg_header_t Head; |
788 | NDR_record_t NDR; |
789 | mach_port_name_t name; |
790 | mach_port_right_t right; |
791 | mach_port_delta_t delta; |
792 | } __Request__mach_port_mod_refs_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_name_t name; |
804 | mach_msg_trailer_type_t trailer_type; |
805 | mach_port_seqno_t request_seqnop; |
806 | mach_msg_type_number_t trailer_infopCnt; |
807 | } __Request__mach_port_peek_t __attribute__((unused)); |
808 | #ifdef __MigPackStructs |
809 | #pragma pack(pop) |
810 | #endif |
811 | |
812 | #ifdef __MigPackStructs |
813 | #pragma pack(push, 4) |
814 | #endif |
815 | typedef struct { |
816 | mach_msg_header_t Head; |
817 | NDR_record_t NDR; |
818 | mach_port_name_t name; |
819 | mach_port_mscount_t mscount; |
820 | } __Request__mach_port_set_mscount_t __attribute__((unused)); |
821 | #ifdef __MigPackStructs |
822 | #pragma pack(pop) |
823 | #endif |
824 | |
825 | #ifdef __MigPackStructs |
826 | #pragma pack(push, 4) |
827 | #endif |
828 | typedef struct { |
829 | mach_msg_header_t Head; |
830 | NDR_record_t NDR; |
831 | mach_port_name_t name; |
832 | } __Request__mach_port_get_set_status_t __attribute__((unused)); |
833 | #ifdef __MigPackStructs |
834 | #pragma pack(pop) |
835 | #endif |
836 | |
837 | #ifdef __MigPackStructs |
838 | #pragma pack(push, 4) |
839 | #endif |
840 | typedef struct { |
841 | mach_msg_header_t Head; |
842 | NDR_record_t NDR; |
843 | mach_port_name_t member; |
844 | mach_port_name_t after; |
845 | } __Request__mach_port_move_member_t __attribute__((unused)); |
846 | #ifdef __MigPackStructs |
847 | #pragma pack(pop) |
848 | #endif |
849 | |
850 | #ifdef __MigPackStructs |
851 | #pragma pack(push, 4) |
852 | #endif |
853 | typedef struct { |
854 | mach_msg_header_t Head; |
855 | /* start of the kernel processed data */ |
856 | mach_msg_body_t msgh_body; |
857 | mach_msg_port_descriptor_t notify; |
858 | /* end of the kernel processed data */ |
859 | NDR_record_t NDR; |
860 | mach_port_name_t name; |
861 | mach_msg_id_t msgid; |
862 | mach_port_mscount_t sync; |
863 | } __Request__mach_port_request_notification_t __attribute__((unused)); |
864 | #ifdef __MigPackStructs |
865 | #pragma pack(pop) |
866 | #endif |
867 | |
868 | #ifdef __MigPackStructs |
869 | #pragma pack(push, 4) |
870 | #endif |
871 | typedef struct { |
872 | mach_msg_header_t Head; |
873 | /* start of the kernel processed data */ |
874 | mach_msg_body_t msgh_body; |
875 | mach_msg_port_descriptor_t poly; |
876 | /* end of the kernel processed data */ |
877 | NDR_record_t NDR; |
878 | mach_port_name_t name; |
879 | } __Request__mach_port_insert_right_t __attribute__((unused)); |
880 | #ifdef __MigPackStructs |
881 | #pragma pack(pop) |
882 | #endif |
883 | |
884 | #ifdef __MigPackStructs |
885 | #pragma pack(push, 4) |
886 | #endif |
887 | typedef struct { |
888 | mach_msg_header_t ; |
889 | NDR_record_t ; |
890 | mach_port_name_t ; |
891 | mach_msg_type_name_t ; |
892 | } __attribute__((unused)); |
893 | #ifdef __MigPackStructs |
894 | #pragma pack(pop) |
895 | #endif |
896 | |
897 | #ifdef __MigPackStructs |
898 | #pragma pack(push, 4) |
899 | #endif |
900 | typedef struct { |
901 | mach_msg_header_t Head; |
902 | NDR_record_t NDR; |
903 | mach_port_name_t name; |
904 | mach_port_seqno_t seqno; |
905 | } __Request__mach_port_set_seqno_t __attribute__((unused)); |
906 | #ifdef __MigPackStructs |
907 | #pragma pack(pop) |
908 | #endif |
909 | |
910 | #ifdef __MigPackStructs |
911 | #pragma pack(push, 4) |
912 | #endif |
913 | typedef struct { |
914 | mach_msg_header_t Head; |
915 | NDR_record_t NDR; |
916 | mach_port_name_t name; |
917 | mach_port_flavor_t flavor; |
918 | mach_msg_type_number_t port_info_outCnt; |
919 | } __Request__mach_port_get_attributes_t __attribute__((unused)); |
920 | #ifdef __MigPackStructs |
921 | #pragma pack(pop) |
922 | #endif |
923 | |
924 | #ifdef __MigPackStructs |
925 | #pragma pack(push, 4) |
926 | #endif |
927 | typedef struct { |
928 | mach_msg_header_t Head; |
929 | NDR_record_t NDR; |
930 | mach_port_name_t name; |
931 | mach_port_flavor_t flavor; |
932 | mach_msg_type_number_t port_infoCnt; |
933 | integer_t port_info[17]; |
934 | } __Request__mach_port_set_attributes_t __attribute__((unused)); |
935 | #ifdef __MigPackStructs |
936 | #pragma pack(pop) |
937 | #endif |
938 | |
939 | #ifdef __MigPackStructs |
940 | #pragma pack(push, 4) |
941 | #endif |
942 | typedef struct { |
943 | mach_msg_header_t Head; |
944 | NDR_record_t NDR; |
945 | mach_port_right_t right; |
946 | mach_port_qos_t qos; |
947 | } __Request__mach_port_allocate_qos_t __attribute__((unused)); |
948 | #ifdef __MigPackStructs |
949 | #pragma pack(pop) |
950 | #endif |
951 | |
952 | #ifdef __MigPackStructs |
953 | #pragma pack(push, 4) |
954 | #endif |
955 | typedef struct { |
956 | mach_msg_header_t Head; |
957 | /* start of the kernel processed data */ |
958 | mach_msg_body_t msgh_body; |
959 | mach_msg_port_descriptor_t proto; |
960 | /* end of the kernel processed data */ |
961 | NDR_record_t NDR; |
962 | mach_port_right_t right; |
963 | mach_port_qos_t qos; |
964 | mach_port_name_t name; |
965 | } __Request__mach_port_allocate_full_t __attribute__((unused)); |
966 | #ifdef __MigPackStructs |
967 | #pragma pack(pop) |
968 | #endif |
969 | |
970 | #ifdef __MigPackStructs |
971 | #pragma pack(push, 4) |
972 | #endif |
973 | typedef struct { |
974 | mach_msg_header_t Head; |
975 | NDR_record_t NDR; |
976 | int table_entries; |
977 | } __Request__task_set_port_space_t __attribute__((unused)); |
978 | #ifdef __MigPackStructs |
979 | #pragma pack(pop) |
980 | #endif |
981 | |
982 | #ifdef __MigPackStructs |
983 | #pragma pack(push, 4) |
984 | #endif |
985 | typedef struct { |
986 | mach_msg_header_t Head; |
987 | NDR_record_t NDR; |
988 | mach_port_name_t name; |
989 | } __Request__mach_port_get_srights_t __attribute__((unused)); |
990 | #ifdef __MigPackStructs |
991 | #pragma pack(pop) |
992 | #endif |
993 | |
994 | #ifdef __MigPackStructs |
995 | #pragma pack(push, 4) |
996 | #endif |
997 | typedef struct { |
998 | mach_msg_header_t Head; |
999 | } __Request__mach_port_space_info_t __attribute__((unused)); |
1000 | #ifdef __MigPackStructs |
1001 | #pragma pack(pop) |
1002 | #endif |
1003 | |
1004 | #ifdef __MigPackStructs |
1005 | #pragma pack(push, 4) |
1006 | #endif |
1007 | typedef struct { |
1008 | mach_msg_header_t Head; |
1009 | NDR_record_t NDR; |
1010 | mach_port_name_t name; |
1011 | } __Request__mach_port_dnrequest_info_t __attribute__((unused)); |
1012 | #ifdef __MigPackStructs |
1013 | #pragma pack(pop) |
1014 | #endif |
1015 | |
1016 | #ifdef __MigPackStructs |
1017 | #pragma pack(push, 4) |
1018 | #endif |
1019 | typedef struct { |
1020 | mach_msg_header_t Head; |
1021 | NDR_record_t NDR; |
1022 | mach_port_name_t name; |
1023 | } __Request__mach_port_kernel_object_t __attribute__((unused)); |
1024 | #ifdef __MigPackStructs |
1025 | #pragma pack(pop) |
1026 | #endif |
1027 | |
1028 | #ifdef __MigPackStructs |
1029 | #pragma pack(push, 4) |
1030 | #endif |
1031 | typedef struct { |
1032 | mach_msg_header_t Head; |
1033 | NDR_record_t NDR; |
1034 | mach_port_name_t name; |
1035 | mach_port_name_t pset; |
1036 | } __Request__mach_port_insert_member_t __attribute__((unused)); |
1037 | #ifdef __MigPackStructs |
1038 | #pragma pack(pop) |
1039 | #endif |
1040 | |
1041 | #ifdef __MigPackStructs |
1042 | #pragma pack(push, 4) |
1043 | #endif |
1044 | typedef struct { |
1045 | mach_msg_header_t ; |
1046 | NDR_record_t ; |
1047 | mach_port_name_t ; |
1048 | mach_port_name_t ; |
1049 | } __attribute__((unused)); |
1050 | #ifdef __MigPackStructs |
1051 | #pragma pack(pop) |
1052 | #endif |
1053 | |
1054 | #ifdef __MigPackStructs |
1055 | #pragma pack(push, 4) |
1056 | #endif |
1057 | typedef struct { |
1058 | mach_msg_header_t Head; |
1059 | NDR_record_t NDR; |
1060 | mach_port_name_t name; |
1061 | } __Request__mach_port_get_context_t __attribute__((unused)); |
1062 | #ifdef __MigPackStructs |
1063 | #pragma pack(pop) |
1064 | #endif |
1065 | |
1066 | #ifdef __MigPackStructs |
1067 | #pragma pack(push, 4) |
1068 | #endif |
1069 | typedef struct { |
1070 | mach_msg_header_t Head; |
1071 | NDR_record_t NDR; |
1072 | mach_port_name_t name; |
1073 | mach_vm_address_t context; |
1074 | } __Request__mach_port_set_context_t __attribute__((unused)); |
1075 | #ifdef __MigPackStructs |
1076 | #pragma pack(pop) |
1077 | #endif |
1078 | |
1079 | #ifdef __MigPackStructs |
1080 | #pragma pack(push, 4) |
1081 | #endif |
1082 | typedef struct { |
1083 | mach_msg_header_t Head; |
1084 | NDR_record_t NDR; |
1085 | mach_port_name_t name; |
1086 | } __Request__mach_port_kobject_t __attribute__((unused)); |
1087 | #ifdef __MigPackStructs |
1088 | #pragma pack(pop) |
1089 | #endif |
1090 | |
1091 | #ifdef __MigPackStructs |
1092 | #pragma pack(push, 4) |
1093 | #endif |
1094 | typedef struct { |
1095 | mach_msg_header_t Head; |
1096 | /* start of the kernel processed data */ |
1097 | mach_msg_body_t msgh_body; |
1098 | mach_msg_ool_descriptor_t options; |
1099 | /* end of the kernel processed data */ |
1100 | NDR_record_t NDR; |
1101 | uint64_t context; |
1102 | } __Request__mach_port_construct_t __attribute__((unused)); |
1103 | #ifdef __MigPackStructs |
1104 | #pragma pack(pop) |
1105 | #endif |
1106 | |
1107 | #ifdef __MigPackStructs |
1108 | #pragma pack(push, 4) |
1109 | #endif |
1110 | typedef struct { |
1111 | mach_msg_header_t Head; |
1112 | NDR_record_t NDR; |
1113 | mach_port_name_t name; |
1114 | mach_port_delta_t srdelta; |
1115 | uint64_t guard; |
1116 | } __Request__mach_port_destruct_t __attribute__((unused)); |
1117 | #ifdef __MigPackStructs |
1118 | #pragma pack(pop) |
1119 | #endif |
1120 | |
1121 | #ifdef __MigPackStructs |
1122 | #pragma pack(push, 4) |
1123 | #endif |
1124 | typedef struct { |
1125 | mach_msg_header_t Head; |
1126 | NDR_record_t NDR; |
1127 | mach_port_name_t name; |
1128 | uint64_t guard; |
1129 | boolean_t strict; |
1130 | } __Request__mach_port_guard_t __attribute__((unused)); |
1131 | #ifdef __MigPackStructs |
1132 | #pragma pack(pop) |
1133 | #endif |
1134 | |
1135 | #ifdef __MigPackStructs |
1136 | #pragma pack(push, 4) |
1137 | #endif |
1138 | typedef struct { |
1139 | mach_msg_header_t Head; |
1140 | NDR_record_t NDR; |
1141 | mach_port_name_t name; |
1142 | uint64_t guard; |
1143 | } __Request__mach_port_unguard_t __attribute__((unused)); |
1144 | #ifdef __MigPackStructs |
1145 | #pragma pack(pop) |
1146 | #endif |
1147 | |
1148 | #ifdef __MigPackStructs |
1149 | #pragma pack(push, 4) |
1150 | #endif |
1151 | typedef struct { |
1152 | mach_msg_header_t Head; |
1153 | } __Request__mach_port_space_basic_info_t __attribute__((unused)); |
1154 | #ifdef __MigPackStructs |
1155 | #pragma pack(pop) |
1156 | #endif |
1157 | |
1158 | #ifdef __MigPackStructs |
1159 | #pragma pack(push, 4) |
1160 | #endif |
1161 | typedef struct { |
1162 | mach_msg_header_t Head; |
1163 | NDR_record_t NDR; |
1164 | mach_port_name_t name; |
1165 | } __Request__mach_port_special_reply_port_reset_link_t __attribute__((unused)); |
1166 | #ifdef __MigPackStructs |
1167 | #pragma pack(pop) |
1168 | #endif |
1169 | |
1170 | #ifdef __MigPackStructs |
1171 | #pragma pack(push, 4) |
1172 | #endif |
1173 | typedef struct { |
1174 | mach_msg_header_t Head; |
1175 | NDR_record_t NDR; |
1176 | mach_port_name_t name; |
1177 | uint64_t guard; |
1178 | uint64_t flags; |
1179 | } __Request__mach_port_guard_with_flags_t __attribute__((unused)); |
1180 | #ifdef __MigPackStructs |
1181 | #pragma pack(pop) |
1182 | #endif |
1183 | |
1184 | #ifdef __MigPackStructs |
1185 | #pragma pack(push, 4) |
1186 | #endif |
1187 | typedef struct { |
1188 | mach_msg_header_t Head; |
1189 | NDR_record_t NDR; |
1190 | mach_port_name_t name; |
1191 | uint64_t old_guard; |
1192 | uint64_t new_guard; |
1193 | } __Request__mach_port_swap_guard_t __attribute__((unused)); |
1194 | #ifdef __MigPackStructs |
1195 | #pragma pack(pop) |
1196 | #endif |
1197 | |
1198 | #ifdef __MigPackStructs |
1199 | #pragma pack(push, 4) |
1200 | #endif |
1201 | typedef struct { |
1202 | mach_msg_header_t Head; |
1203 | NDR_record_t NDR; |
1204 | mach_port_name_t name; |
1205 | } __Request__mach_port_kobject_description_t __attribute__((unused)); |
1206 | #ifdef __MigPackStructs |
1207 | #pragma pack(pop) |
1208 | #endif |
1209 | |
1210 | #ifdef __MigPackStructs |
1211 | #pragma pack(push, 4) |
1212 | #endif |
1213 | typedef struct { |
1214 | mach_msg_header_t Head; |
1215 | NDR_record_t NDR; |
1216 | mach_port_name_t connection_port; |
1217 | mach_port_name_t service_port; |
1218 | } __Request__mach_port_is_connection_for_service_t __attribute__((unused)); |
1219 | #ifdef __MigPackStructs |
1220 | #pragma pack(pop) |
1221 | #endif |
1222 | |
1223 | #ifdef __MigPackStructs |
1224 | #pragma pack(push, 4) |
1225 | #endif |
1226 | typedef struct { |
1227 | mach_msg_header_t Head; |
1228 | NDR_record_t NDR; |
1229 | mach_port_name_t name; |
1230 | } __Request__mach_port_get_service_port_info_t __attribute__((unused)); |
1231 | #ifdef __MigPackStructs |
1232 | #pragma pack(pop) |
1233 | #endif |
1234 | |
1235 | #ifdef __MigPackStructs |
1236 | #pragma pack(push, 4) |
1237 | #endif |
1238 | typedef struct { |
1239 | mach_msg_header_t Head; |
1240 | NDR_record_t NDR; |
1241 | mach_port_name_t name; |
1242 | mach_port_flavor_t flavor; |
1243 | mach_msg_type_number_t infoCnt; |
1244 | integer_t info[17]; |
1245 | } __Request__mach_port_assert_attributes_t __attribute__((unused)); |
1246 | #ifdef __MigPackStructs |
1247 | #pragma pack(pop) |
1248 | #endif |
1249 | #endif /* !__Request__mach_port_subsystem__defined */ |
1250 | |
1251 | /* union of all requests */ |
1252 | |
1253 | #ifndef __RequestUnion__mach_port_subsystem__defined |
1254 | #define __RequestUnion__mach_port_subsystem__defined |
1255 | union __RequestUnion__mach_port_subsystem { |
1256 | __Request__mach_port_names_t Request_mach_port_names; |
1257 | __Request__mach_port_type_t Request_mach_port_type; |
1258 | __Request__mach_port_rename_t Request_mach_port_rename; |
1259 | __Request__mach_port_allocate_name_t Request_mach_port_allocate_name; |
1260 | __Request__mach_port_allocate_t Request_mach_port_allocate; |
1261 | __Request__mach_port_destroy_t Request_mach_port_destroy; |
1262 | __Request__mach_port_deallocate_t Request_mach_port_deallocate; |
1263 | __Request__mach_port_get_refs_t Request_mach_port_get_refs; |
1264 | __Request__mach_port_mod_refs_t Request_mach_port_mod_refs; |
1265 | __Request__mach_port_peek_t Request_mach_port_peek; |
1266 | __Request__mach_port_set_mscount_t Request_mach_port_set_mscount; |
1267 | __Request__mach_port_get_set_status_t Request_mach_port_get_set_status; |
1268 | __Request__mach_port_move_member_t Request_mach_port_move_member; |
1269 | __Request__mach_port_request_notification_t Request_mach_port_request_notification; |
1270 | __Request__mach_port_insert_right_t Request_mach_port_insert_right; |
1271 | __Request__mach_port_extract_right_t ; |
1272 | __Request__mach_port_set_seqno_t Request_mach_port_set_seqno; |
1273 | __Request__mach_port_get_attributes_t Request_mach_port_get_attributes; |
1274 | __Request__mach_port_set_attributes_t Request_mach_port_set_attributes; |
1275 | __Request__mach_port_allocate_qos_t Request_mach_port_allocate_qos; |
1276 | __Request__mach_port_allocate_full_t Request_mach_port_allocate_full; |
1277 | __Request__task_set_port_space_t Request_task_set_port_space; |
1278 | __Request__mach_port_get_srights_t Request_mach_port_get_srights; |
1279 | __Request__mach_port_space_info_t Request_mach_port_space_info; |
1280 | __Request__mach_port_dnrequest_info_t Request_mach_port_dnrequest_info; |
1281 | __Request__mach_port_kernel_object_t Request_mach_port_kernel_object; |
1282 | __Request__mach_port_insert_member_t Request_mach_port_insert_member; |
1283 | __Request__mach_port_extract_member_t ; |
1284 | __Request__mach_port_get_context_t Request_mach_port_get_context; |
1285 | __Request__mach_port_set_context_t Request_mach_port_set_context; |
1286 | __Request__mach_port_kobject_t Request_mach_port_kobject; |
1287 | __Request__mach_port_construct_t Request_mach_port_construct; |
1288 | __Request__mach_port_destruct_t Request_mach_port_destruct; |
1289 | __Request__mach_port_guard_t Request_mach_port_guard; |
1290 | __Request__mach_port_unguard_t Request_mach_port_unguard; |
1291 | __Request__mach_port_space_basic_info_t Request_mach_port_space_basic_info; |
1292 | __Request__mach_port_special_reply_port_reset_link_t Request_mach_port_special_reply_port_reset_link; |
1293 | __Request__mach_port_guard_with_flags_t Request_mach_port_guard_with_flags; |
1294 | __Request__mach_port_swap_guard_t Request_mach_port_swap_guard; |
1295 | __Request__mach_port_kobject_description_t Request_mach_port_kobject_description; |
1296 | __Request__mach_port_is_connection_for_service_t Request_mach_port_is_connection_for_service; |
1297 | __Request__mach_port_get_service_port_info_t Request_mach_port_get_service_port_info; |
1298 | __Request__mach_port_assert_attributes_t Request_mach_port_assert_attributes; |
1299 | }; |
1300 | #endif /* !__RequestUnion__mach_port_subsystem__defined */ |
1301 | /* typedefs for all replies */ |
1302 | |
1303 | #ifndef __Reply__mach_port_subsystem__defined |
1304 | #define __Reply__mach_port_subsystem__defined |
1305 | |
1306 | #ifdef __MigPackStructs |
1307 | #pragma pack(push, 4) |
1308 | #endif |
1309 | typedef struct { |
1310 | mach_msg_header_t Head; |
1311 | /* start of the kernel processed data */ |
1312 | mach_msg_body_t msgh_body; |
1313 | mach_msg_ool_descriptor_t names; |
1314 | mach_msg_ool_descriptor_t types; |
1315 | /* end of the kernel processed data */ |
1316 | NDR_record_t NDR; |
1317 | mach_msg_type_number_t namesCnt; |
1318 | mach_msg_type_number_t typesCnt; |
1319 | } __Reply__mach_port_names_t __attribute__((unused)); |
1320 | #ifdef __MigPackStructs |
1321 | #pragma pack(pop) |
1322 | #endif |
1323 | |
1324 | #ifdef __MigPackStructs |
1325 | #pragma pack(push, 4) |
1326 | #endif |
1327 | typedef struct { |
1328 | mach_msg_header_t Head; |
1329 | NDR_record_t NDR; |
1330 | kern_return_t RetCode; |
1331 | mach_port_type_t ptype; |
1332 | } __Reply__mach_port_type_t __attribute__((unused)); |
1333 | #ifdef __MigPackStructs |
1334 | #pragma pack(pop) |
1335 | #endif |
1336 | |
1337 | #ifdef __MigPackStructs |
1338 | #pragma pack(push, 4) |
1339 | #endif |
1340 | typedef struct { |
1341 | mach_msg_header_t Head; |
1342 | NDR_record_t NDR; |
1343 | kern_return_t RetCode; |
1344 | } __Reply__mach_port_rename_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 | kern_return_t RetCode; |
1356 | } __Reply__mach_port_allocate_name_t __attribute__((unused)); |
1357 | #ifdef __MigPackStructs |
1358 | #pragma pack(pop) |
1359 | #endif |
1360 | |
1361 | #ifdef __MigPackStructs |
1362 | #pragma pack(push, 4) |
1363 | #endif |
1364 | typedef struct { |
1365 | mach_msg_header_t Head; |
1366 | NDR_record_t NDR; |
1367 | kern_return_t RetCode; |
1368 | mach_port_name_t name; |
1369 | } __Reply__mach_port_allocate_t __attribute__((unused)); |
1370 | #ifdef __MigPackStructs |
1371 | #pragma pack(pop) |
1372 | #endif |
1373 | |
1374 | #ifdef __MigPackStructs |
1375 | #pragma pack(push, 4) |
1376 | #endif |
1377 | typedef struct { |
1378 | mach_msg_header_t Head; |
1379 | NDR_record_t NDR; |
1380 | kern_return_t RetCode; |
1381 | } __Reply__mach_port_destroy_t __attribute__((unused)); |
1382 | #ifdef __MigPackStructs |
1383 | #pragma pack(pop) |
1384 | #endif |
1385 | |
1386 | #ifdef __MigPackStructs |
1387 | #pragma pack(push, 4) |
1388 | #endif |
1389 | typedef struct { |
1390 | mach_msg_header_t Head; |
1391 | NDR_record_t NDR; |
1392 | kern_return_t RetCode; |
1393 | } __Reply__mach_port_deallocate_t __attribute__((unused)); |
1394 | #ifdef __MigPackStructs |
1395 | #pragma pack(pop) |
1396 | #endif |
1397 | |
1398 | #ifdef __MigPackStructs |
1399 | #pragma pack(push, 4) |
1400 | #endif |
1401 | typedef struct { |
1402 | mach_msg_header_t Head; |
1403 | NDR_record_t NDR; |
1404 | kern_return_t RetCode; |
1405 | mach_port_urefs_t refs; |
1406 | } __Reply__mach_port_get_refs_t __attribute__((unused)); |
1407 | #ifdef __MigPackStructs |
1408 | #pragma pack(pop) |
1409 | #endif |
1410 | |
1411 | #ifdef __MigPackStructs |
1412 | #pragma pack(push, 4) |
1413 | #endif |
1414 | typedef struct { |
1415 | mach_msg_header_t Head; |
1416 | NDR_record_t NDR; |
1417 | kern_return_t RetCode; |
1418 | } __Reply__mach_port_mod_refs_t __attribute__((unused)); |
1419 | #ifdef __MigPackStructs |
1420 | #pragma pack(pop) |
1421 | #endif |
1422 | |
1423 | #ifdef __MigPackStructs |
1424 | #pragma pack(push, 4) |
1425 | #endif |
1426 | typedef struct { |
1427 | mach_msg_header_t Head; |
1428 | NDR_record_t NDR; |
1429 | kern_return_t RetCode; |
1430 | mach_port_seqno_t request_seqnop; |
1431 | mach_msg_size_t msg_sizep; |
1432 | mach_msg_id_t msg_idp; |
1433 | mach_msg_type_number_t trailer_infopCnt; |
1434 | char trailer_infop[68]; |
1435 | } __Reply__mach_port_peek_t __attribute__((unused)); |
1436 | #ifdef __MigPackStructs |
1437 | #pragma pack(pop) |
1438 | #endif |
1439 | |
1440 | #ifdef __MigPackStructs |
1441 | #pragma pack(push, 4) |
1442 | #endif |
1443 | typedef struct { |
1444 | mach_msg_header_t Head; |
1445 | NDR_record_t NDR; |
1446 | kern_return_t RetCode; |
1447 | } __Reply__mach_port_set_mscount_t __attribute__((unused)); |
1448 | #ifdef __MigPackStructs |
1449 | #pragma pack(pop) |
1450 | #endif |
1451 | |
1452 | #ifdef __MigPackStructs |
1453 | #pragma pack(push, 4) |
1454 | #endif |
1455 | typedef struct { |
1456 | mach_msg_header_t Head; |
1457 | /* start of the kernel processed data */ |
1458 | mach_msg_body_t msgh_body; |
1459 | mach_msg_ool_descriptor_t members; |
1460 | /* end of the kernel processed data */ |
1461 | NDR_record_t NDR; |
1462 | mach_msg_type_number_t membersCnt; |
1463 | } __Reply__mach_port_get_set_status_t __attribute__((unused)); |
1464 | #ifdef __MigPackStructs |
1465 | #pragma pack(pop) |
1466 | #endif |
1467 | |
1468 | #ifdef __MigPackStructs |
1469 | #pragma pack(push, 4) |
1470 | #endif |
1471 | typedef struct { |
1472 | mach_msg_header_t Head; |
1473 | NDR_record_t NDR; |
1474 | kern_return_t RetCode; |
1475 | } __Reply__mach_port_move_member_t __attribute__((unused)); |
1476 | #ifdef __MigPackStructs |
1477 | #pragma pack(pop) |
1478 | #endif |
1479 | |
1480 | #ifdef __MigPackStructs |
1481 | #pragma pack(push, 4) |
1482 | #endif |
1483 | typedef struct { |
1484 | mach_msg_header_t Head; |
1485 | /* start of the kernel processed data */ |
1486 | mach_msg_body_t msgh_body; |
1487 | mach_msg_port_descriptor_t previous; |
1488 | /* end of the kernel processed data */ |
1489 | } __Reply__mach_port_request_notification_t __attribute__((unused)); |
1490 | #ifdef __MigPackStructs |
1491 | #pragma pack(pop) |
1492 | #endif |
1493 | |
1494 | #ifdef __MigPackStructs |
1495 | #pragma pack(push, 4) |
1496 | #endif |
1497 | typedef struct { |
1498 | mach_msg_header_t Head; |
1499 | NDR_record_t NDR; |
1500 | kern_return_t RetCode; |
1501 | } __Reply__mach_port_insert_right_t __attribute__((unused)); |
1502 | #ifdef __MigPackStructs |
1503 | #pragma pack(pop) |
1504 | #endif |
1505 | |
1506 | #ifdef __MigPackStructs |
1507 | #pragma pack(push, 4) |
1508 | #endif |
1509 | typedef struct { |
1510 | mach_msg_header_t ; |
1511 | /* start of the kernel processed data */ |
1512 | mach_msg_body_t msgh_body; |
1513 | mach_msg_port_descriptor_t ; |
1514 | /* end of the kernel processed data */ |
1515 | } __attribute__((unused)); |
1516 | #ifdef __MigPackStructs |
1517 | #pragma pack(pop) |
1518 | #endif |
1519 | |
1520 | #ifdef __MigPackStructs |
1521 | #pragma pack(push, 4) |
1522 | #endif |
1523 | typedef struct { |
1524 | mach_msg_header_t Head; |
1525 | NDR_record_t NDR; |
1526 | kern_return_t RetCode; |
1527 | } __Reply__mach_port_set_seqno_t __attribute__((unused)); |
1528 | #ifdef __MigPackStructs |
1529 | #pragma pack(pop) |
1530 | #endif |
1531 | |
1532 | #ifdef __MigPackStructs |
1533 | #pragma pack(push, 4) |
1534 | #endif |
1535 | typedef struct { |
1536 | mach_msg_header_t Head; |
1537 | NDR_record_t NDR; |
1538 | kern_return_t RetCode; |
1539 | mach_msg_type_number_t port_info_outCnt; |
1540 | integer_t port_info_out[17]; |
1541 | } __Reply__mach_port_get_attributes_t __attribute__((unused)); |
1542 | #ifdef __MigPackStructs |
1543 | #pragma pack(pop) |
1544 | #endif |
1545 | |
1546 | #ifdef __MigPackStructs |
1547 | #pragma pack(push, 4) |
1548 | #endif |
1549 | typedef struct { |
1550 | mach_msg_header_t Head; |
1551 | NDR_record_t NDR; |
1552 | kern_return_t RetCode; |
1553 | } __Reply__mach_port_set_attributes_t __attribute__((unused)); |
1554 | #ifdef __MigPackStructs |
1555 | #pragma pack(pop) |
1556 | #endif |
1557 | |
1558 | #ifdef __MigPackStructs |
1559 | #pragma pack(push, 4) |
1560 | #endif |
1561 | typedef struct { |
1562 | mach_msg_header_t Head; |
1563 | NDR_record_t NDR; |
1564 | kern_return_t RetCode; |
1565 | mach_port_qos_t qos; |
1566 | mach_port_name_t name; |
1567 | } __Reply__mach_port_allocate_qos_t __attribute__((unused)); |
1568 | #ifdef __MigPackStructs |
1569 | #pragma pack(pop) |
1570 | #endif |
1571 | |
1572 | #ifdef __MigPackStructs |
1573 | #pragma pack(push, 4) |
1574 | #endif |
1575 | typedef struct { |
1576 | mach_msg_header_t Head; |
1577 | NDR_record_t NDR; |
1578 | kern_return_t RetCode; |
1579 | mach_port_qos_t qos; |
1580 | mach_port_name_t name; |
1581 | } __Reply__mach_port_allocate_full_t __attribute__((unused)); |
1582 | #ifdef __MigPackStructs |
1583 | #pragma pack(pop) |
1584 | #endif |
1585 | |
1586 | #ifdef __MigPackStructs |
1587 | #pragma pack(push, 4) |
1588 | #endif |
1589 | typedef struct { |
1590 | mach_msg_header_t Head; |
1591 | NDR_record_t NDR; |
1592 | kern_return_t RetCode; |
1593 | } __Reply__task_set_port_space_t __attribute__((unused)); |
1594 | #ifdef __MigPackStructs |
1595 | #pragma pack(pop) |
1596 | #endif |
1597 | |
1598 | #ifdef __MigPackStructs |
1599 | #pragma pack(push, 4) |
1600 | #endif |
1601 | typedef struct { |
1602 | mach_msg_header_t Head; |
1603 | NDR_record_t NDR; |
1604 | kern_return_t RetCode; |
1605 | mach_port_rights_t srights; |
1606 | } __Reply__mach_port_get_srights_t __attribute__((unused)); |
1607 | #ifdef __MigPackStructs |
1608 | #pragma pack(pop) |
1609 | #endif |
1610 | |
1611 | #ifdef __MigPackStructs |
1612 | #pragma pack(push, 4) |
1613 | #endif |
1614 | typedef struct { |
1615 | mach_msg_header_t Head; |
1616 | /* start of the kernel processed data */ |
1617 | mach_msg_body_t msgh_body; |
1618 | mach_msg_ool_descriptor_t table_info; |
1619 | mach_msg_ool_descriptor_t tree_info; |
1620 | /* end of the kernel processed data */ |
1621 | NDR_record_t NDR; |
1622 | ipc_info_space_t space_info; |
1623 | mach_msg_type_number_t table_infoCnt; |
1624 | mach_msg_type_number_t tree_infoCnt; |
1625 | } __Reply__mach_port_space_info_t __attribute__((unused)); |
1626 | #ifdef __MigPackStructs |
1627 | #pragma pack(pop) |
1628 | #endif |
1629 | |
1630 | #ifdef __MigPackStructs |
1631 | #pragma pack(push, 4) |
1632 | #endif |
1633 | typedef struct { |
1634 | mach_msg_header_t Head; |
1635 | NDR_record_t NDR; |
1636 | kern_return_t RetCode; |
1637 | unsigned dnr_total; |
1638 | unsigned dnr_used; |
1639 | } __Reply__mach_port_dnrequest_info_t __attribute__((unused)); |
1640 | #ifdef __MigPackStructs |
1641 | #pragma pack(pop) |
1642 | #endif |
1643 | |
1644 | #ifdef __MigPackStructs |
1645 | #pragma pack(push, 4) |
1646 | #endif |
1647 | typedef struct { |
1648 | mach_msg_header_t Head; |
1649 | NDR_record_t NDR; |
1650 | kern_return_t RetCode; |
1651 | unsigned object_type; |
1652 | unsigned object_addr; |
1653 | } __Reply__mach_port_kernel_object_t __attribute__((unused)); |
1654 | #ifdef __MigPackStructs |
1655 | #pragma pack(pop) |
1656 | #endif |
1657 | |
1658 | #ifdef __MigPackStructs |
1659 | #pragma pack(push, 4) |
1660 | #endif |
1661 | typedef struct { |
1662 | mach_msg_header_t Head; |
1663 | NDR_record_t NDR; |
1664 | kern_return_t RetCode; |
1665 | } __Reply__mach_port_insert_member_t __attribute__((unused)); |
1666 | #ifdef __MigPackStructs |
1667 | #pragma pack(pop) |
1668 | #endif |
1669 | |
1670 | #ifdef __MigPackStructs |
1671 | #pragma pack(push, 4) |
1672 | #endif |
1673 | typedef struct { |
1674 | mach_msg_header_t ; |
1675 | NDR_record_t ; |
1676 | kern_return_t ; |
1677 | } __attribute__((unused)); |
1678 | #ifdef __MigPackStructs |
1679 | #pragma pack(pop) |
1680 | #endif |
1681 | |
1682 | #ifdef __MigPackStructs |
1683 | #pragma pack(push, 4) |
1684 | #endif |
1685 | typedef struct { |
1686 | mach_msg_header_t Head; |
1687 | NDR_record_t NDR; |
1688 | kern_return_t RetCode; |
1689 | mach_vm_address_t context; |
1690 | } __Reply__mach_port_get_context_t __attribute__((unused)); |
1691 | #ifdef __MigPackStructs |
1692 | #pragma pack(pop) |
1693 | #endif |
1694 | |
1695 | #ifdef __MigPackStructs |
1696 | #pragma pack(push, 4) |
1697 | #endif |
1698 | typedef struct { |
1699 | mach_msg_header_t Head; |
1700 | NDR_record_t NDR; |
1701 | kern_return_t RetCode; |
1702 | } __Reply__mach_port_set_context_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 | kern_return_t RetCode; |
1714 | natural_t object_type; |
1715 | mach_vm_address_t object_addr; |
1716 | } __Reply__mach_port_kobject_t __attribute__((unused)); |
1717 | #ifdef __MigPackStructs |
1718 | #pragma pack(pop) |
1719 | #endif |
1720 | |
1721 | #ifdef __MigPackStructs |
1722 | #pragma pack(push, 4) |
1723 | #endif |
1724 | typedef struct { |
1725 | mach_msg_header_t Head; |
1726 | NDR_record_t NDR; |
1727 | kern_return_t RetCode; |
1728 | mach_port_name_t name; |
1729 | } __Reply__mach_port_construct_t __attribute__((unused)); |
1730 | #ifdef __MigPackStructs |
1731 | #pragma pack(pop) |
1732 | #endif |
1733 | |
1734 | #ifdef __MigPackStructs |
1735 | #pragma pack(push, 4) |
1736 | #endif |
1737 | typedef struct { |
1738 | mach_msg_header_t Head; |
1739 | NDR_record_t NDR; |
1740 | kern_return_t RetCode; |
1741 | } __Reply__mach_port_destruct_t __attribute__((unused)); |
1742 | #ifdef __MigPackStructs |
1743 | #pragma pack(pop) |
1744 | #endif |
1745 | |
1746 | #ifdef __MigPackStructs |
1747 | #pragma pack(push, 4) |
1748 | #endif |
1749 | typedef struct { |
1750 | mach_msg_header_t Head; |
1751 | NDR_record_t NDR; |
1752 | kern_return_t RetCode; |
1753 | } __Reply__mach_port_guard_t __attribute__((unused)); |
1754 | #ifdef __MigPackStructs |
1755 | #pragma pack(pop) |
1756 | #endif |
1757 | |
1758 | #ifdef __MigPackStructs |
1759 | #pragma pack(push, 4) |
1760 | #endif |
1761 | typedef struct { |
1762 | mach_msg_header_t Head; |
1763 | NDR_record_t NDR; |
1764 | kern_return_t RetCode; |
1765 | } __Reply__mach_port_unguard_t __attribute__((unused)); |
1766 | #ifdef __MigPackStructs |
1767 | #pragma pack(pop) |
1768 | #endif |
1769 | |
1770 | #ifdef __MigPackStructs |
1771 | #pragma pack(push, 4) |
1772 | #endif |
1773 | typedef struct { |
1774 | mach_msg_header_t Head; |
1775 | NDR_record_t NDR; |
1776 | kern_return_t RetCode; |
1777 | ipc_info_space_basic_t basic_info; |
1778 | } __Reply__mach_port_space_basic_info_t __attribute__((unused)); |
1779 | #ifdef __MigPackStructs |
1780 | #pragma pack(pop) |
1781 | #endif |
1782 | |
1783 | #ifdef __MigPackStructs |
1784 | #pragma pack(push, 4) |
1785 | #endif |
1786 | typedef struct { |
1787 | mach_msg_header_t Head; |
1788 | NDR_record_t NDR; |
1789 | kern_return_t RetCode; |
1790 | boolean_t srp_lost_link; |
1791 | } __Reply__mach_port_special_reply_port_reset_link_t __attribute__((unused)); |
1792 | #ifdef __MigPackStructs |
1793 | #pragma pack(pop) |
1794 | #endif |
1795 | |
1796 | #ifdef __MigPackStructs |
1797 | #pragma pack(push, 4) |
1798 | #endif |
1799 | typedef struct { |
1800 | mach_msg_header_t Head; |
1801 | NDR_record_t NDR; |
1802 | kern_return_t RetCode; |
1803 | } __Reply__mach_port_guard_with_flags_t __attribute__((unused)); |
1804 | #ifdef __MigPackStructs |
1805 | #pragma pack(pop) |
1806 | #endif |
1807 | |
1808 | #ifdef __MigPackStructs |
1809 | #pragma pack(push, 4) |
1810 | #endif |
1811 | typedef struct { |
1812 | mach_msg_header_t Head; |
1813 | NDR_record_t NDR; |
1814 | kern_return_t RetCode; |
1815 | } __Reply__mach_port_swap_guard_t __attribute__((unused)); |
1816 | #ifdef __MigPackStructs |
1817 | #pragma pack(pop) |
1818 | #endif |
1819 | |
1820 | #ifdef __MigPackStructs |
1821 | #pragma pack(push, 4) |
1822 | #endif |
1823 | typedef struct { |
1824 | mach_msg_header_t Head; |
1825 | NDR_record_t NDR; |
1826 | kern_return_t RetCode; |
1827 | natural_t object_type; |
1828 | mach_vm_address_t object_addr; |
1829 | mach_msg_type_number_t descriptionOffset; /* MiG doesn't use it */ |
1830 | mach_msg_type_number_t descriptionCnt; |
1831 | char description[512]; |
1832 | } __Reply__mach_port_kobject_description_t __attribute__((unused)); |
1833 | #ifdef __MigPackStructs |
1834 | #pragma pack(pop) |
1835 | #endif |
1836 | |
1837 | #ifdef __MigPackStructs |
1838 | #pragma pack(push, 4) |
1839 | #endif |
1840 | typedef struct { |
1841 | mach_msg_header_t Head; |
1842 | NDR_record_t NDR; |
1843 | kern_return_t RetCode; |
1844 | uint64_t filter_policy_id; |
1845 | } __Reply__mach_port_is_connection_for_service_t __attribute__((unused)); |
1846 | #ifdef __MigPackStructs |
1847 | #pragma pack(pop) |
1848 | #endif |
1849 | |
1850 | #ifdef __MigPackStructs |
1851 | #pragma pack(push, 4) |
1852 | #endif |
1853 | typedef struct { |
1854 | mach_msg_header_t Head; |
1855 | NDR_record_t NDR; |
1856 | kern_return_t RetCode; |
1857 | mach_service_port_info_data_t sp_info_out; |
1858 | } __Reply__mach_port_get_service_port_info_t __attribute__((unused)); |
1859 | #ifdef __MigPackStructs |
1860 | #pragma pack(pop) |
1861 | #endif |
1862 | |
1863 | #ifdef __MigPackStructs |
1864 | #pragma pack(push, 4) |
1865 | #endif |
1866 | typedef struct { |
1867 | mach_msg_header_t Head; |
1868 | NDR_record_t NDR; |
1869 | kern_return_t RetCode; |
1870 | } __Reply__mach_port_assert_attributes_t __attribute__((unused)); |
1871 | #ifdef __MigPackStructs |
1872 | #pragma pack(pop) |
1873 | #endif |
1874 | #endif /* !__Reply__mach_port_subsystem__defined */ |
1875 | |
1876 | /* union of all replies */ |
1877 | |
1878 | #ifndef __ReplyUnion__mach_port_subsystem__defined |
1879 | #define __ReplyUnion__mach_port_subsystem__defined |
1880 | union __ReplyUnion__mach_port_subsystem { |
1881 | __Reply__mach_port_names_t Reply_mach_port_names; |
1882 | __Reply__mach_port_type_t Reply_mach_port_type; |
1883 | __Reply__mach_port_rename_t Reply_mach_port_rename; |
1884 | __Reply__mach_port_allocate_name_t Reply_mach_port_allocate_name; |
1885 | __Reply__mach_port_allocate_t Reply_mach_port_allocate; |
1886 | __Reply__mach_port_destroy_t Reply_mach_port_destroy; |
1887 | __Reply__mach_port_deallocate_t Reply_mach_port_deallocate; |
1888 | __Reply__mach_port_get_refs_t Reply_mach_port_get_refs; |
1889 | __Reply__mach_port_mod_refs_t Reply_mach_port_mod_refs; |
1890 | __Reply__mach_port_peek_t Reply_mach_port_peek; |
1891 | __Reply__mach_port_set_mscount_t Reply_mach_port_set_mscount; |
1892 | __Reply__mach_port_get_set_status_t Reply_mach_port_get_set_status; |
1893 | __Reply__mach_port_move_member_t Reply_mach_port_move_member; |
1894 | __Reply__mach_port_request_notification_t Reply_mach_port_request_notification; |
1895 | __Reply__mach_port_insert_right_t Reply_mach_port_insert_right; |
1896 | __Reply__mach_port_extract_right_t ; |
1897 | __Reply__mach_port_set_seqno_t Reply_mach_port_set_seqno; |
1898 | __Reply__mach_port_get_attributes_t Reply_mach_port_get_attributes; |
1899 | __Reply__mach_port_set_attributes_t Reply_mach_port_set_attributes; |
1900 | __Reply__mach_port_allocate_qos_t Reply_mach_port_allocate_qos; |
1901 | __Reply__mach_port_allocate_full_t Reply_mach_port_allocate_full; |
1902 | __Reply__task_set_port_space_t Reply_task_set_port_space; |
1903 | __Reply__mach_port_get_srights_t Reply_mach_port_get_srights; |
1904 | __Reply__mach_port_space_info_t Reply_mach_port_space_info; |
1905 | __Reply__mach_port_dnrequest_info_t Reply_mach_port_dnrequest_info; |
1906 | __Reply__mach_port_kernel_object_t Reply_mach_port_kernel_object; |
1907 | __Reply__mach_port_insert_member_t Reply_mach_port_insert_member; |
1908 | __Reply__mach_port_extract_member_t ; |
1909 | __Reply__mach_port_get_context_t Reply_mach_port_get_context; |
1910 | __Reply__mach_port_set_context_t Reply_mach_port_set_context; |
1911 | __Reply__mach_port_kobject_t Reply_mach_port_kobject; |
1912 | __Reply__mach_port_construct_t Reply_mach_port_construct; |
1913 | __Reply__mach_port_destruct_t Reply_mach_port_destruct; |
1914 | __Reply__mach_port_guard_t Reply_mach_port_guard; |
1915 | __Reply__mach_port_unguard_t Reply_mach_port_unguard; |
1916 | __Reply__mach_port_space_basic_info_t Reply_mach_port_space_basic_info; |
1917 | __Reply__mach_port_special_reply_port_reset_link_t Reply_mach_port_special_reply_port_reset_link; |
1918 | __Reply__mach_port_guard_with_flags_t Reply_mach_port_guard_with_flags; |
1919 | __Reply__mach_port_swap_guard_t Reply_mach_port_swap_guard; |
1920 | __Reply__mach_port_kobject_description_t Reply_mach_port_kobject_description; |
1921 | __Reply__mach_port_is_connection_for_service_t Reply_mach_port_is_connection_for_service; |
1922 | __Reply__mach_port_get_service_port_info_t Reply_mach_port_get_service_port_info; |
1923 | __Reply__mach_port_assert_attributes_t Reply_mach_port_assert_attributes; |
1924 | }; |
1925 | #endif /* !__RequestUnion__mach_port_subsystem__defined */ |
1926 | |
1927 | #ifndef subsystem_to_name_map_mach_port |
1928 | #define subsystem_to_name_map_mach_port \ |
1929 | { "mach_port_names", 3200 },\ |
1930 | { "mach_port_type", 3201 },\ |
1931 | { "mach_port_rename", 3202 },\ |
1932 | { "mach_port_allocate_name", 3203 },\ |
1933 | { "mach_port_allocate", 3204 },\ |
1934 | { "mach_port_destroy", 3205 },\ |
1935 | { "mach_port_deallocate", 3206 },\ |
1936 | { "mach_port_get_refs", 3207 },\ |
1937 | { "mach_port_mod_refs", 3208 },\ |
1938 | { "mach_port_peek", 3209 },\ |
1939 | { "mach_port_set_mscount", 3210 },\ |
1940 | { "mach_port_get_set_status", 3211 },\ |
1941 | { "mach_port_move_member", 3212 },\ |
1942 | { "mach_port_request_notification", 3213 },\ |
1943 | { "mach_port_insert_right", 3214 },\ |
1944 | { "mach_port_extract_right", 3215 },\ |
1945 | { "mach_port_set_seqno", 3216 },\ |
1946 | { "mach_port_get_attributes", 3217 },\ |
1947 | { "mach_port_set_attributes", 3218 },\ |
1948 | { "mach_port_allocate_qos", 3219 },\ |
1949 | { "mach_port_allocate_full", 3220 },\ |
1950 | { "task_set_port_space", 3221 },\ |
1951 | { "mach_port_get_srights", 3222 },\ |
1952 | { "mach_port_space_info", 3223 },\ |
1953 | { "mach_port_dnrequest_info", 3224 },\ |
1954 | { "mach_port_kernel_object", 3225 },\ |
1955 | { "mach_port_insert_member", 3226 },\ |
1956 | { "mach_port_extract_member", 3227 },\ |
1957 | { "mach_port_get_context", 3228 },\ |
1958 | { "mach_port_set_context", 3229 },\ |
1959 | { "mach_port_kobject", 3230 },\ |
1960 | { "mach_port_construct", 3231 },\ |
1961 | { "mach_port_destruct", 3232 },\ |
1962 | { "mach_port_guard", 3233 },\ |
1963 | { "mach_port_unguard", 3234 },\ |
1964 | { "mach_port_space_basic_info", 3235 },\ |
1965 | { "mach_port_special_reply_port_reset_link", 3236 },\ |
1966 | { "mach_port_guard_with_flags", 3237 },\ |
1967 | { "mach_port_swap_guard", 3238 },\ |
1968 | { "mach_port_kobject_description", 3239 },\ |
1969 | { "mach_port_is_connection_for_service", 3240 },\ |
1970 | { "mach_port_get_service_port_info", 3241 },\ |
1971 | { "mach_port_assert_attributes", 3242 } |
1972 | #endif |
1973 | |
1974 | #ifdef __AfterMigUserHeader |
1975 | __AfterMigUserHeader |
1976 | #endif /* __AfterMigUserHeader */ |
1977 | |
1978 | #endif /* _mach_port_user_ */ |
1979 | |