this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Copy over generated mach header files

Thomas A df122723 216a6718

+553 -43
+1 -1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_host.h
··· 386 386 #endif /* mig_external */ 387 387 kern_return_t host_set_atm_diagnostic_flag 388 388 ( 389 - host_priv_t host_priv, 389 + host_t host, 390 390 uint32_t diagnostic_flag 391 391 ); 392 392
+55 -8
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_port.h
··· 74 74 #endif /* AUTOTEST */ 75 75 76 76 #ifndef mach_port_MSG_COUNT 77 - #define mach_port_MSG_COUNT 39 77 + #define mach_port_MSG_COUNT 40 78 78 #endif /* mach_port_MSG_COUNT */ 79 79 80 80 #include <mach/std_types.h> ··· 249 249 #endif /* mig_external */ 250 250 kern_return_t mach_port_get_set_status 251 251 ( 252 - ipc_space_inspect_t task, 252 + ipc_space_read_t task, 253 253 mach_port_name_t name, 254 254 mach_port_name_array_t *members, 255 255 mach_msg_type_number_t *membersCnt ··· 335 335 #endif /* mig_external */ 336 336 kern_return_t mach_port_get_attributes 337 337 ( 338 - ipc_space_inspect_t task, 338 + ipc_space_read_t task, 339 339 mach_port_name_t name, 340 340 mach_port_flavor_t flavor, 341 341 mach_port_info_t port_info_out, ··· 419 419 #endif /* mig_external */ 420 420 kern_return_t mach_port_space_info 421 421 ( 422 - ipc_space_inspect_t task, 422 + ipc_space_read_t space, 423 423 ipc_info_space_t *space_info, 424 424 ipc_info_name_array_t *table_info, 425 425 mach_msg_type_number_t *table_infoCnt, ··· 449 449 #endif /* mig_external */ 450 450 kern_return_t mach_port_kernel_object 451 451 ( 452 - ipc_space_inspect_t task, 452 + ipc_space_read_t task, 453 453 mach_port_name_t name, 454 454 unsigned *object_type, 455 455 unsigned *object_addr ··· 489 489 #endif /* mig_external */ 490 490 kern_return_t mach_port_get_context 491 491 ( 492 - ipc_space_inspect_t task, 492 + ipc_space_read_t task, 493 493 mach_port_name_t name, 494 494 mach_port_context_t *context 495 495 ); ··· 515 515 #endif /* mig_external */ 516 516 kern_return_t mach_port_kobject 517 517 ( 518 - ipc_space_inspect_t task, 518 + ipc_space_read_t task, 519 519 mach_port_name_t name, 520 520 natural_t *object_type, 521 521 mach_vm_address_t *object_addr ··· 616 616 mach_port_context_t new_guard 617 617 ); 618 618 619 + /* Routine mach_port_kobject_description */ 620 + #ifdef mig_external 621 + mig_external 622 + #else 623 + extern 624 + #endif /* mig_external */ 625 + kern_return_t mach_port_kobject_description 626 + ( 627 + ipc_space_read_t task, 628 + mach_port_name_t name, 629 + natural_t *object_type, 630 + mach_vm_address_t *object_addr, 631 + kobject_description_t description 632 + ); 633 + 619 634 __END_DECLS 620 635 621 636 /********************** Caution **************************/ ··· 1133 1148 #ifdef __MigPackStructs 1134 1149 #pragma pack(pop) 1135 1150 #endif 1151 + 1152 + #ifdef __MigPackStructs 1153 + #pragma pack(push, 4) 1154 + #endif 1155 + typedef struct { 1156 + mach_msg_header_t Head; 1157 + NDR_record_t NDR; 1158 + mach_port_name_t name; 1159 + } __Request__mach_port_kobject_description_t __attribute__((unused)); 1160 + #ifdef __MigPackStructs 1161 + #pragma pack(pop) 1162 + #endif 1136 1163 #endif /* !__Request__mach_port_subsystem__defined */ 1137 1164 1138 1165 /* union of all requests */ ··· 1178 1205 __Request__mach_port_space_basic_info_t Request_mach_port_space_basic_info; 1179 1206 __Request__mach_port_guard_with_flags_t Request_mach_port_guard_with_flags; 1180 1207 __Request__mach_port_swap_guard_t Request_mach_port_swap_guard; 1208 + __Request__mach_port_kobject_description_t Request_mach_port_kobject_description; 1181 1209 }; 1182 1210 #endif /* !__RequestUnion__mach_port_subsystem__defined */ 1183 1211 /* typedefs for all replies */ ··· 1685 1713 #ifdef __MigPackStructs 1686 1714 #pragma pack(pop) 1687 1715 #endif 1716 + 1717 + #ifdef __MigPackStructs 1718 + #pragma pack(push, 4) 1719 + #endif 1720 + typedef struct { 1721 + mach_msg_header_t Head; 1722 + NDR_record_t NDR; 1723 + kern_return_t RetCode; 1724 + natural_t object_type; 1725 + mach_vm_address_t object_addr; 1726 + mach_msg_type_number_t descriptionOffset; /* MiG doesn't use it */ 1727 + mach_msg_type_number_t descriptionCnt; 1728 + char description[512]; 1729 + } __Reply__mach_port_kobject_description_t __attribute__((unused)); 1730 + #ifdef __MigPackStructs 1731 + #pragma pack(pop) 1732 + #endif 1688 1733 #endif /* !__Reply__mach_port_subsystem__defined */ 1689 1734 1690 1735 /* union of all replies */ ··· 1730 1775 __Reply__mach_port_space_basic_info_t Reply_mach_port_space_basic_info; 1731 1776 __Reply__mach_port_guard_with_flags_t Reply_mach_port_guard_with_flags; 1732 1777 __Reply__mach_port_swap_guard_t Reply_mach_port_swap_guard; 1778 + __Reply__mach_port_kobject_description_t Reply_mach_port_kobject_description; 1733 1779 }; 1734 1780 #endif /* !__RequestUnion__mach_port_subsystem__defined */ 1735 1781 ··· 1772 1818 { "mach_port_unguard", 3234 },\ 1773 1819 { "mach_port_space_basic_info", 3235 },\ 1774 1820 { "mach_port_guard_with_flags", 3237 },\ 1775 - { "mach_port_swap_guard", 3238 } 1821 + { "mach_port_swap_guard", 3238 },\ 1822 + { "mach_port_kobject_description", 3239 } 1776 1823 #endif 1777 1824 1778 1825 #ifdef __AfterMigUserHeader
+1 -1
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher.h
··· 156 156 #endif /* mig_external */ 157 157 kern_return_t mach_voucher_debug_info 158 158 ( 159 - ipc_space_t task, 159 + ipc_space_read_t task, 160 160 mach_port_name_t voucher_name, 161 161 mach_voucher_attr_raw_recipe_array_t recipes, 162 162 mach_msg_type_number_t *recipesCnt
+47 -2
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_set.h
··· 74 74 #endif /* AUTOTEST */ 75 75 76 76 #ifndef processor_set_MSG_COUNT 77 - #define processor_set_MSG_COUNT 10 77 + #define processor_set_MSG_COUNT 11 78 78 #endif /* processor_set_MSG_COUNT */ 79 79 80 80 #include <mach/std_types.h> ··· 225 225 mach_msg_type_number_t *info_outCnt 226 226 ); 227 227 228 + /* Routine processor_set_tasks_with_flavor */ 229 + #ifdef mig_external 230 + mig_external 231 + #else 232 + extern 233 + #endif /* mig_external */ 234 + kern_return_t processor_set_tasks_with_flavor 235 + ( 236 + processor_set_t processor_set, 237 + mach_task_flavor_t flavor, 238 + task_array_t *task_list, 239 + mach_msg_type_number_t *task_listCnt 240 + ); 241 + 228 242 __END_DECLS 229 243 230 244 /********************** Caution **************************/ ··· 361 375 #ifdef __MigPackStructs 362 376 #pragma pack(pop) 363 377 #endif 378 + 379 + #ifdef __MigPackStructs 380 + #pragma pack(push, 4) 381 + #endif 382 + typedef struct { 383 + mach_msg_header_t Head; 384 + NDR_record_t NDR; 385 + mach_task_flavor_t flavor; 386 + } __Request__processor_set_tasks_with_flavor_t __attribute__((unused)); 387 + #ifdef __MigPackStructs 388 + #pragma pack(pop) 389 + #endif 364 390 #endif /* !__Request__processor_set_subsystem__defined */ 365 391 366 392 /* union of all requests */ ··· 378 404 __Request__processor_set_policy_control_t Request_processor_set_policy_control; 379 405 __Request__processor_set_stack_usage_t Request_processor_set_stack_usage; 380 406 __Request__processor_set_info_t Request_processor_set_info; 407 + __Request__processor_set_tasks_with_flavor_t Request_processor_set_tasks_with_flavor; 381 408 }; 382 409 #endif /* !__RequestUnion__processor_set_subsystem__defined */ 383 410 /* typedefs for all replies */ ··· 524 551 #ifdef __MigPackStructs 525 552 #pragma pack(pop) 526 553 #endif 554 + 555 + #ifdef __MigPackStructs 556 + #pragma pack(push, 4) 557 + #endif 558 + typedef struct { 559 + mach_msg_header_t Head; 560 + /* start of the kernel processed data */ 561 + mach_msg_body_t msgh_body; 562 + mach_msg_ool_ports_descriptor_t task_list; 563 + /* end of the kernel processed data */ 564 + NDR_record_t NDR; 565 + mach_msg_type_number_t task_listCnt; 566 + } __Reply__processor_set_tasks_with_flavor_t __attribute__((unused)); 567 + #ifdef __MigPackStructs 568 + #pragma pack(pop) 569 + #endif 527 570 #endif /* !__Reply__processor_set_subsystem__defined */ 528 571 529 572 /* union of all replies */ ··· 541 584 __Reply__processor_set_policy_control_t Reply_processor_set_policy_control; 542 585 __Reply__processor_set_stack_usage_t Reply_processor_set_stack_usage; 543 586 __Reply__processor_set_info_t Reply_processor_set_info; 587 + __Reply__processor_set_tasks_with_flavor_t Reply_processor_set_tasks_with_flavor; 544 588 }; 545 589 #endif /* !__RequestUnion__processor_set_subsystem__defined */ 546 590 ··· 555 599 { "processor_set_threads", 4006 },\ 556 600 { "processor_set_policy_control", 4007 },\ 557 601 { "processor_set_stack_usage", 4008 },\ 558 - { "processor_set_info", 4009 } 602 + { "processor_set_info", 4009 },\ 603 + { "processor_set_tasks_with_flavor", 4010 } 559 604 #endif 560 605 561 606 #ifdef __AfterMigUserHeader
+275 -19
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task.h
··· 74 74 #endif /* AUTOTEST */ 75 75 76 76 #ifndef task_MSG_COUNT 77 - #define task_MSG_COUNT 54 77 + #define task_MSG_COUNT 61 78 78 #endif /* task_MSG_COUNT */ 79 79 80 80 #include <mach/std_types.h> ··· 192 192 #endif /* mig_external */ 193 193 kern_return_t task_suspend 194 194 ( 195 - task_t target_task 195 + task_read_t target_task 196 196 ); 197 197 198 198 /* Routine task_resume */ ··· 203 203 #endif /* mig_external */ 204 204 kern_return_t task_resume 205 205 ( 206 - task_t target_task 206 + task_read_t target_task 207 207 ); 208 208 209 209 /* Routine task_get_special_port */ ··· 282 282 #endif /* mig_external */ 283 283 kern_return_t task_get_exception_ports 284 284 ( 285 - task_inspect_t task, 285 + task_t task, 286 286 exception_mask_t exception_mask, 287 287 exception_mask_array_t masks, 288 288 mach_msg_type_number_t *masksCnt, ··· 306 306 thread_state_flavor_t new_flavor, 307 307 exception_mask_array_t masks, 308 308 mach_msg_type_number_t *masksCnt, 309 - exception_handler_array_t old_handlerss, 309 + exception_handler_array_t old_handlers, 310 310 exception_behavior_array_t old_behaviors, 311 311 exception_flavor_array_t old_flavors 312 312 ); ··· 371 371 #endif /* mig_external */ 372 372 kern_return_t task_policy_set 373 373 ( 374 - task_t task, 374 + task_policy_set_t task, 375 375 task_policy_flavor_t flavor, 376 376 task_policy_t policy_info, 377 377 mach_msg_type_number_t policy_infoCnt ··· 385 385 #endif /* mig_external */ 386 386 kern_return_t task_policy_get 387 387 ( 388 - task_t task, 388 + task_policy_get_t task, 389 389 task_policy_flavor_t flavor, 390 390 task_policy_t policy_info, 391 391 mach_msg_type_number_t *policy_infoCnt, ··· 482 482 #endif /* mig_external */ 483 483 kern_return_t task_zone_info 484 484 ( 485 - task_t target_task, 485 + task_inspect_t target_task, 486 486 mach_zone_name_array_t *names, 487 487 mach_msg_type_number_t *namesCnt, 488 488 task_zone_info_array_t *info, ··· 522 522 #endif /* mig_external */ 523 523 kern_return_t task_get_assignment 524 524 ( 525 - task_t task, 525 + task_inspect_t task, 526 526 processor_set_name_t *assigned_set 527 527 ); 528 528 ··· 552 552 #endif /* mig_external */ 553 553 kern_return_t task_get_state 554 554 ( 555 - task_t task, 555 + task_read_t task, 556 556 thread_state_flavor_t flavor, 557 557 thread_state_t old_state, 558 558 mach_msg_type_number_t *old_stateCnt ··· 593 593 #endif /* mig_external */ 594 594 kern_return_t task_suspend2 595 595 ( 596 - task_t target_task, 596 + task_read_t target_task, 597 597 task_suspension_token_t *suspend_token 598 598 ); 599 599 ··· 616 616 #endif /* mig_external */ 617 617 kern_return_t task_purgable_info 618 618 ( 619 - task_t task, 619 + task_inspect_t task, 620 620 task_purgable_info_t *stats 621 621 ); 622 622 ··· 628 628 #endif /* mig_external */ 629 629 kern_return_t task_get_mach_voucher 630 630 ( 631 - task_t task, 631 + task_read_t task, 632 632 mach_voucher_selector_t which, 633 633 ipc_voucher_t *voucher 634 634 ); ··· 666 666 #endif /* mig_external */ 667 667 kern_return_t task_generate_corpse 668 668 ( 669 - task_t task, 669 + task_read_t task, 670 670 mach_port_t *corpse_task_port 671 671 ); 672 672 ··· 679 679 kern_return_t task_map_corpse_info 680 680 ( 681 681 task_t task, 682 - task_t corspe_task, 682 + task_read_t corspe_task, 683 683 vm_address_t *kcd_addr_begin, 684 684 uint32_t *kcd_size 685 685 ); ··· 718 718 #endif /* mig_external */ 719 719 kern_return_t task_get_dyld_image_infos 720 720 ( 721 - task_inspect_t task, 721 + task_read_t task, 722 722 dyld_kernel_image_info_array_t *dyld_images, 723 723 mach_msg_type_number_t *dyld_imagesCnt 724 724 ); ··· 770 770 kern_return_t task_map_corpse_info_64 771 771 ( 772 772 task_t task, 773 - task_t corspe_task, 773 + task_read_t corspe_task, 774 774 mach_vm_address_t *kcd_addr_begin, 775 775 mach_vm_size_t *kcd_size 776 776 ); ··· 813 813 task_exc_guard_behavior_t behavior 814 814 ); 815 815 816 + /* Routine task_create_suid_cred */ 817 + #ifdef mig_external 818 + mig_external 819 + #else 820 + extern 821 + #endif /* mig_external */ 822 + kern_return_t task_create_suid_cred 823 + ( 824 + task_t task, 825 + suid_cred_path_t path, 826 + suid_cred_uid_t uid, 827 + suid_cred_t *delegation 828 + ); 829 + 830 + /* Routine task_dyld_process_info_notify_register */ 831 + #ifdef mig_external 832 + mig_external 833 + #else 834 + extern 835 + #endif /* mig_external */ 836 + kern_return_t task_dyld_process_info_notify_register 837 + ( 838 + task_read_t target_task, 839 + mach_port_t notify 840 + ); 841 + 842 + /* Routine task_create_identity_token */ 843 + #ifdef mig_external 844 + mig_external 845 + #else 846 + extern 847 + #endif /* mig_external */ 848 + kern_return_t task_create_identity_token 849 + ( 850 + task_t task, 851 + task_id_token_t *token 852 + ); 853 + 854 + /* Routine task_identity_token_get_task_port */ 855 + #ifdef mig_external 856 + mig_external 857 + #else 858 + extern 859 + #endif /* mig_external */ 860 + kern_return_t task_identity_token_get_task_port 861 + ( 862 + task_id_token_t token, 863 + task_flavor_t flavor, 864 + mach_port_t *task_port 865 + ); 866 + 867 + /* Routine task_dyld_process_info_notify_deregister */ 868 + #ifdef mig_external 869 + mig_external 870 + #else 871 + extern 872 + #endif /* mig_external */ 873 + kern_return_t task_dyld_process_info_notify_deregister 874 + ( 875 + task_read_t target_task, 876 + mach_port_name_t notify 877 + ); 878 + 879 + /* Routine task_get_exception_ports_info */ 880 + #ifdef mig_external 881 + mig_external 882 + #else 883 + extern 884 + #endif /* mig_external */ 885 + kern_return_t task_get_exception_ports_info 886 + ( 887 + mach_port_t port, 888 + exception_mask_t exception_mask, 889 + exception_mask_array_t masks, 890 + mach_msg_type_number_t *masksCnt, 891 + exception_handler_info_array_t old_handlers_info, 892 + exception_behavior_array_t old_behaviors, 893 + exception_flavor_array_t old_flavors 894 + ); 895 + 816 896 __END_DECLS 817 897 818 898 /********************** Caution **************************/ ··· 1536 1616 #ifdef __MigPackStructs 1537 1617 #pragma pack(pop) 1538 1618 #endif 1619 + 1620 + #ifdef __MigPackStructs 1621 + #pragma pack(push, 4) 1622 + #endif 1623 + typedef struct { 1624 + mach_msg_header_t Head; 1625 + NDR_record_t NDR; 1626 + mach_msg_type_number_t pathOffset; /* MiG doesn't use it */ 1627 + mach_msg_type_number_t pathCnt; 1628 + char path[1024]; 1629 + suid_cred_uid_t uid; 1630 + } __Request__task_create_suid_cred_t __attribute__((unused)); 1631 + #ifdef __MigPackStructs 1632 + #pragma pack(pop) 1633 + #endif 1634 + 1635 + #ifdef __MigPackStructs 1636 + #pragma pack(push, 4) 1637 + #endif 1638 + typedef struct { 1639 + mach_msg_header_t Head; 1640 + /* start of the kernel processed data */ 1641 + mach_msg_body_t msgh_body; 1642 + mach_msg_port_descriptor_t notify; 1643 + /* end of the kernel processed data */ 1644 + } __Request__task_dyld_process_info_notify_register_t __attribute__((unused)); 1645 + #ifdef __MigPackStructs 1646 + #pragma pack(pop) 1647 + #endif 1648 + 1649 + #ifdef __MigPackStructs 1650 + #pragma pack(push, 4) 1651 + #endif 1652 + typedef struct { 1653 + mach_msg_header_t Head; 1654 + } __Request__task_create_identity_token_t __attribute__((unused)); 1655 + #ifdef __MigPackStructs 1656 + #pragma pack(pop) 1657 + #endif 1658 + 1659 + #ifdef __MigPackStructs 1660 + #pragma pack(push, 4) 1661 + #endif 1662 + typedef struct { 1663 + mach_msg_header_t Head; 1664 + NDR_record_t NDR; 1665 + task_flavor_t flavor; 1666 + } __Request__task_identity_token_get_task_port_t __attribute__((unused)); 1667 + #ifdef __MigPackStructs 1668 + #pragma pack(pop) 1669 + #endif 1670 + 1671 + #ifdef __MigPackStructs 1672 + #pragma pack(push, 4) 1673 + #endif 1674 + typedef struct { 1675 + mach_msg_header_t Head; 1676 + NDR_record_t NDR; 1677 + mach_port_name_t notify; 1678 + } __Request__task_dyld_process_info_notify_deregister_t __attribute__((unused)); 1679 + #ifdef __MigPackStructs 1680 + #pragma pack(pop) 1681 + #endif 1682 + 1683 + #ifdef __MigPackStructs 1684 + #pragma pack(push, 4) 1685 + #endif 1686 + typedef struct { 1687 + mach_msg_header_t Head; 1688 + NDR_record_t NDR; 1689 + exception_mask_t exception_mask; 1690 + } __Request__task_get_exception_ports_info_t __attribute__((unused)); 1691 + #ifdef __MigPackStructs 1692 + #pragma pack(pop) 1693 + #endif 1539 1694 #endif /* !__Request__task_subsystem__defined */ 1540 1695 1541 1696 /* union of all requests */ ··· 1597 1752 __Request__task_inspect_t Request_task_inspect; 1598 1753 __Request__task_get_exc_guard_behavior_t Request_task_get_exc_guard_behavior; 1599 1754 __Request__task_set_exc_guard_behavior_t Request_task_set_exc_guard_behavior; 1755 + __Request__task_create_suid_cred_t Request_task_create_suid_cred; 1756 + __Request__task_dyld_process_info_notify_register_t Request_task_dyld_process_info_notify_register; 1757 + __Request__task_create_identity_token_t Request_task_create_identity_token; 1758 + __Request__task_identity_token_get_task_port_t Request_task_identity_token_get_task_port; 1759 + __Request__task_dyld_process_info_notify_deregister_t Request_task_dyld_process_info_notify_deregister; 1760 + __Request__task_get_exception_ports_info_t Request_task_get_exception_ports_info; 1600 1761 }; 1601 1762 #endif /* !__RequestUnion__task_subsystem__defined */ 1602 1763 /* typedefs for all replies */ ··· 1816 1977 mach_msg_header_t Head; 1817 1978 /* start of the kernel processed data */ 1818 1979 mach_msg_body_t msgh_body; 1819 - mach_msg_port_descriptor_t old_handlerss[32]; 1980 + mach_msg_port_descriptor_t old_handlers[32]; 1820 1981 /* end of the kernel processed data */ 1821 1982 NDR_record_t NDR; 1822 1983 mach_msg_type_number_t masksCnt; ··· 2327 2488 #ifdef __MigPackStructs 2328 2489 #pragma pack(pop) 2329 2490 #endif 2491 + 2492 + #ifdef __MigPackStructs 2493 + #pragma pack(push, 4) 2494 + #endif 2495 + typedef struct { 2496 + mach_msg_header_t Head; 2497 + /* start of the kernel processed data */ 2498 + mach_msg_body_t msgh_body; 2499 + mach_msg_port_descriptor_t delegation; 2500 + /* end of the kernel processed data */ 2501 + } __Reply__task_create_suid_cred_t __attribute__((unused)); 2502 + #ifdef __MigPackStructs 2503 + #pragma pack(pop) 2504 + #endif 2505 + 2506 + #ifdef __MigPackStructs 2507 + #pragma pack(push, 4) 2508 + #endif 2509 + typedef struct { 2510 + mach_msg_header_t Head; 2511 + NDR_record_t NDR; 2512 + kern_return_t RetCode; 2513 + } __Reply__task_dyld_process_info_notify_register_t __attribute__((unused)); 2514 + #ifdef __MigPackStructs 2515 + #pragma pack(pop) 2516 + #endif 2517 + 2518 + #ifdef __MigPackStructs 2519 + #pragma pack(push, 4) 2520 + #endif 2521 + typedef struct { 2522 + mach_msg_header_t Head; 2523 + /* start of the kernel processed data */ 2524 + mach_msg_body_t msgh_body; 2525 + mach_msg_port_descriptor_t token; 2526 + /* end of the kernel processed data */ 2527 + } __Reply__task_create_identity_token_t __attribute__((unused)); 2528 + #ifdef __MigPackStructs 2529 + #pragma pack(pop) 2530 + #endif 2531 + 2532 + #ifdef __MigPackStructs 2533 + #pragma pack(push, 4) 2534 + #endif 2535 + typedef struct { 2536 + mach_msg_header_t Head; 2537 + /* start of the kernel processed data */ 2538 + mach_msg_body_t msgh_body; 2539 + mach_msg_port_descriptor_t task_port; 2540 + /* end of the kernel processed data */ 2541 + } __Reply__task_identity_token_get_task_port_t __attribute__((unused)); 2542 + #ifdef __MigPackStructs 2543 + #pragma pack(pop) 2544 + #endif 2545 + 2546 + #ifdef __MigPackStructs 2547 + #pragma pack(push, 4) 2548 + #endif 2549 + typedef struct { 2550 + mach_msg_header_t Head; 2551 + NDR_record_t NDR; 2552 + kern_return_t RetCode; 2553 + } __Reply__task_dyld_process_info_notify_deregister_t __attribute__((unused)); 2554 + #ifdef __MigPackStructs 2555 + #pragma pack(pop) 2556 + #endif 2557 + 2558 + #ifdef __MigPackStructs 2559 + #pragma pack(push, 4) 2560 + #endif 2561 + typedef struct { 2562 + mach_msg_header_t Head; 2563 + NDR_record_t NDR; 2564 + kern_return_t RetCode; 2565 + mach_msg_type_number_t masksCnt; 2566 + exception_mask_t masks[32]; 2567 + exception_handler_info_t old_handlers_info[32]; 2568 + exception_behavior_t old_behaviors[32]; 2569 + thread_state_flavor_t old_flavors[32]; 2570 + } __Reply__task_get_exception_ports_info_t __attribute__((unused)); 2571 + #ifdef __MigPackStructs 2572 + #pragma pack(pop) 2573 + #endif 2330 2574 #endif /* !__Reply__task_subsystem__defined */ 2331 2575 2332 2576 /* union of all replies */ ··· 2388 2632 __Reply__task_inspect_t Reply_task_inspect; 2389 2633 __Reply__task_get_exc_guard_behavior_t Reply_task_get_exc_guard_behavior; 2390 2634 __Reply__task_set_exc_guard_behavior_t Reply_task_set_exc_guard_behavior; 2635 + __Reply__task_create_suid_cred_t Reply_task_create_suid_cred; 2636 + __Reply__task_dyld_process_info_notify_register_t Reply_task_dyld_process_info_notify_register; 2637 + __Reply__task_create_identity_token_t Reply_task_create_identity_token; 2638 + __Reply__task_identity_token_get_task_port_t Reply_task_identity_token_get_task_port; 2639 + __Reply__task_dyld_process_info_notify_deregister_t Reply_task_dyld_process_info_notify_deregister; 2640 + __Reply__task_get_exception_ports_info_t Reply_task_get_exception_ports_info; 2391 2641 }; 2392 2642 #endif /* !__RequestUnion__task_subsystem__defined */ 2393 2643 ··· 2446 2696 { "task_map_corpse_info_64", 3450 },\ 2447 2697 { "task_inspect", 3451 },\ 2448 2698 { "task_get_exc_guard_behavior", 3452 },\ 2449 - { "task_set_exc_guard_behavior", 3453 } 2699 + { "task_set_exc_guard_behavior", 3453 },\ 2700 + { "task_create_suid_cred", 3454 },\ 2701 + { "task_dyld_process_info_notify_register", 3456 },\ 2702 + { "task_create_identity_token", 3457 },\ 2703 + { "task_identity_token_get_task_port", 3458 },\ 2704 + { "task_dyld_process_info_notify_deregister", 3459 },\ 2705 + { "task_get_exception_ports_info", 3460 } 2450 2706 #endif 2451 2707 2452 2708 #ifdef __AfterMigUserHeader
+109 -10
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_act.h
··· 74 74 #endif /* AUTOTEST */ 75 75 76 76 #ifndef thread_act_MSG_COUNT 77 - #define thread_act_MSG_COUNT 28 77 + #define thread_act_MSG_COUNT 31 78 78 #endif /* thread_act_MSG_COUNT */ 79 79 80 80 #include <mach/std_types.h> ··· 109 109 #endif /* mig_external */ 110 110 kern_return_t act_get_state 111 111 ( 112 - thread_act_t target_act, 112 + thread_read_t target_act, 113 113 int flavor, 114 114 thread_state_t old_state, 115 115 mach_msg_type_number_t *old_stateCnt ··· 137 137 #endif /* mig_external */ 138 138 kern_return_t thread_get_state 139 139 ( 140 - thread_act_t target_act, 140 + thread_read_t target_act, 141 141 thread_state_flavor_t flavor, 142 142 thread_state_t old_state, 143 143 mach_msg_type_number_t *old_stateCnt ··· 165 165 #endif /* mig_external */ 166 166 kern_return_t thread_suspend 167 167 ( 168 - thread_act_t target_act 168 + thread_read_t target_act 169 169 ); 170 170 171 171 /* Routine thread_resume */ ··· 176 176 #endif /* mig_external */ 177 177 kern_return_t thread_resume 178 178 ( 179 - thread_act_t target_act 179 + thread_read_t target_act 180 180 ); 181 181 182 182 /* Routine thread_abort */ ··· 220 220 #endif /* mig_external */ 221 221 kern_return_t thread_get_special_port 222 222 ( 223 - thread_act_t thr_act, 223 + thread_inspect_t thr_act, 224 224 int which_port, 225 225 mach_port_t *special_port 226 226 ); ··· 275 275 #endif /* mig_external */ 276 276 kern_return_t thread_get_exception_ports 277 277 ( 278 - thread_inspect_t thread, 278 + thread_act_t thread, 279 279 exception_mask_t exception_mask, 280 280 exception_mask_array_t masks, 281 281 mach_msg_type_number_t *masksCnt, ··· 403 403 #endif /* mig_external */ 404 404 kern_return_t thread_get_assignment 405 405 ( 406 - thread_act_t thread, 406 + thread_inspect_t thread, 407 407 processor_set_name_t *assigned_set 408 408 ); 409 409 ··· 432 432 #endif /* mig_external */ 433 433 kern_return_t thread_get_mach_voucher 434 434 ( 435 - thread_act_t thr_act, 435 + thread_read_t thr_act, 436 436 mach_voucher_selector_t which, 437 437 ipc_voucher_t *voucher 438 438 ); ··· 462 462 ipc_voucher_t *old_voucher 463 463 ); 464 464 465 + /* Routine thread_convert_thread_state */ 466 + #ifdef mig_external 467 + mig_external 468 + #else 469 + extern 470 + #endif /* mig_external */ 471 + kern_return_t thread_convert_thread_state 472 + ( 473 + thread_act_t thread, 474 + int direction, 475 + thread_state_flavor_t flavor, 476 + thread_state_t in_state, 477 + mach_msg_type_number_t in_stateCnt, 478 + thread_state_t out_state, 479 + mach_msg_type_number_t *out_stateCnt 480 + ); 481 + 482 + /* Routine thread_get_exception_ports_info */ 483 + #ifdef mig_external 484 + mig_external 485 + #else 486 + extern 487 + #endif /* mig_external */ 488 + kern_return_t thread_get_exception_ports_info 489 + ( 490 + mach_port_t port, 491 + exception_mask_t exception_mask, 492 + exception_mask_array_t masks, 493 + mach_msg_type_number_t *masksCnt, 494 + exception_handler_info_array_t old_handlers_info, 495 + exception_behavior_array_t old_behaviors, 496 + exception_flavor_array_t old_flavors 497 + ); 498 + 465 499 __END_DECLS 466 500 467 501 /********************** Caution **************************/ ··· 846 880 #ifdef __MigPackStructs 847 881 #pragma pack(pop) 848 882 #endif 883 + 884 + #ifdef __MigPackStructs 885 + #pragma pack(push, 4) 886 + #endif 887 + typedef struct { 888 + mach_msg_header_t Head; 889 + NDR_record_t NDR; 890 + int direction; 891 + thread_state_flavor_t flavor; 892 + mach_msg_type_number_t in_stateCnt; 893 + natural_t in_state[614]; 894 + mach_msg_type_number_t out_stateCnt; 895 + } __Request__thread_convert_thread_state_t __attribute__((unused)); 896 + #ifdef __MigPackStructs 897 + #pragma pack(pop) 898 + #endif 899 + 900 + #ifdef __MigPackStructs 901 + #pragma pack(push, 4) 902 + #endif 903 + typedef struct { 904 + mach_msg_header_t Head; 905 + NDR_record_t NDR; 906 + exception_mask_t exception_mask; 907 + } __Request__thread_get_exception_ports_info_t __attribute__((unused)); 908 + #ifdef __MigPackStructs 909 + #pragma pack(pop) 910 + #endif 849 911 #endif /* !__Request__thread_act_subsystem__defined */ 850 912 851 913 /* union of all requests */ ··· 881 943 __Request__thread_get_mach_voucher_t Request_thread_get_mach_voucher; 882 944 __Request__thread_set_mach_voucher_t Request_thread_set_mach_voucher; 883 945 __Request__thread_swap_mach_voucher_t Request_thread_swap_mach_voucher; 946 + __Request__thread_convert_thread_state_t Request_thread_convert_thread_state; 947 + __Request__thread_get_exception_ports_info_t Request_thread_get_exception_ports_info; 884 948 }; 885 949 #endif /* !__RequestUnion__thread_act_subsystem__defined */ 886 950 /* typedefs for all replies */ ··· 1254 1318 #ifdef __MigPackStructs 1255 1319 #pragma pack(pop) 1256 1320 #endif 1321 + 1322 + #ifdef __MigPackStructs 1323 + #pragma pack(push, 4) 1324 + #endif 1325 + typedef struct { 1326 + mach_msg_header_t Head; 1327 + NDR_record_t NDR; 1328 + kern_return_t RetCode; 1329 + mach_msg_type_number_t out_stateCnt; 1330 + natural_t out_state[614]; 1331 + } __Reply__thread_convert_thread_state_t __attribute__((unused)); 1332 + #ifdef __MigPackStructs 1333 + #pragma pack(pop) 1334 + #endif 1335 + 1336 + #ifdef __MigPackStructs 1337 + #pragma pack(push, 4) 1338 + #endif 1339 + typedef struct { 1340 + mach_msg_header_t Head; 1341 + NDR_record_t NDR; 1342 + kern_return_t RetCode; 1343 + mach_msg_type_number_t masksCnt; 1344 + exception_mask_t masks[32]; 1345 + exception_handler_info_t old_handlers_info[32]; 1346 + exception_behavior_t old_behaviors[32]; 1347 + thread_state_flavor_t old_flavors[32]; 1348 + } __Reply__thread_get_exception_ports_info_t __attribute__((unused)); 1349 + #ifdef __MigPackStructs 1350 + #pragma pack(pop) 1351 + #endif 1257 1352 #endif /* !__Reply__thread_act_subsystem__defined */ 1258 1353 1259 1354 /* union of all replies */ ··· 1289 1384 __Reply__thread_get_mach_voucher_t Reply_thread_get_mach_voucher; 1290 1385 __Reply__thread_set_mach_voucher_t Reply_thread_set_mach_voucher; 1291 1386 __Reply__thread_swap_mach_voucher_t Reply_thread_swap_mach_voucher; 1387 + __Reply__thread_convert_thread_state_t Reply_thread_convert_thread_state; 1388 + __Reply__thread_get_exception_ports_info_t Reply_thread_get_exception_ports_info; 1292 1389 }; 1293 1390 #endif /* !__RequestUnion__thread_act_subsystem__defined */ 1294 1391 ··· 1321 1418 { "thread_set_policy", 3624 },\ 1322 1419 { "thread_get_mach_voucher", 3625 },\ 1323 1420 { "thread_set_mach_voucher", 3626 },\ 1324 - { "thread_swap_mach_voucher", 3627 } 1421 + { "thread_swap_mach_voucher", 3627 },\ 1422 + { "thread_convert_thread_state", 3628 },\ 1423 + { "thread_get_exception_ports_info", 3630 } 1325 1424 #endif 1326 1425 1327 1426 #ifdef __AfterMigUserHeader
+65 -2
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_map.h
··· 74 74 #endif /* AUTOTEST */ 75 75 76 76 #ifndef vm_map_MSG_COUNT 77 - #define vm_map_MSG_COUNT 32 77 + #define vm_map_MSG_COUNT 33 78 78 #endif /* vm_map_MSG_COUNT */ 79 79 80 80 #include <mach/std_types.h> ··· 516 516 vm_map_t target_task 517 517 ); 518 518 519 + /* Routine vm_remap_new */ 520 + #ifdef mig_external 521 + mig_external 522 + #else 523 + extern 524 + #endif /* mig_external */ 525 + kern_return_t vm_remap_new 526 + ( 527 + vm_map_t target_task, 528 + vm_address_t *target_address, 529 + vm_size_t size, 530 + vm_address_t mask, 531 + int flags, 532 + vm_map_read_t src_task, 533 + vm_address_t src_address, 534 + boolean_t copy, 535 + vm_prot_t *cur_protection, 536 + vm_prot_t *max_protection, 537 + vm_inherit_t inheritance 538 + ); 539 + 519 540 __END_DECLS 520 541 521 542 /********************** Caution **************************/ ··· 947 968 #ifdef __MigPackStructs 948 969 #pragma pack(pop) 949 970 #endif 971 + 972 + #ifdef __MigPackStructs 973 + #pragma pack(push, 4) 974 + #endif 975 + typedef struct { 976 + mach_msg_header_t Head; 977 + /* start of the kernel processed data */ 978 + mach_msg_body_t msgh_body; 979 + mach_msg_port_descriptor_t src_task; 980 + /* end of the kernel processed data */ 981 + NDR_record_t NDR; 982 + vm_address_t target_address; 983 + vm_size_t size; 984 + vm_address_t mask; 985 + int flags; 986 + vm_address_t src_address; 987 + boolean_t copy; 988 + vm_prot_t cur_protection; 989 + vm_prot_t max_protection; 990 + vm_inherit_t inheritance; 991 + } __Request__vm_remap_new_t __attribute__((unused)); 992 + #ifdef __MigPackStructs 993 + #pragma pack(pop) 994 + #endif 950 995 #endif /* !__Request__vm_map_subsystem__defined */ 951 996 952 997 /* union of all requests */ ··· 982 1027 __Request__vm_map_64_t Request_vm_map_64; 983 1028 __Request__vm_purgable_control_t Request_vm_purgable_control; 984 1029 __Request__vm_map_exec_lockdown_t Request_vm_map_exec_lockdown; 1030 + __Request__vm_remap_new_t Request_vm_remap_new; 985 1031 }; 986 1032 #endif /* !__RequestUnion__vm_map_subsystem__defined */ 987 1033 /* typedefs for all replies */ ··· 1386 1432 #ifdef __MigPackStructs 1387 1433 #pragma pack(pop) 1388 1434 #endif 1435 + 1436 + #ifdef __MigPackStructs 1437 + #pragma pack(push, 4) 1438 + #endif 1439 + typedef struct { 1440 + mach_msg_header_t Head; 1441 + NDR_record_t NDR; 1442 + kern_return_t RetCode; 1443 + vm_address_t target_address; 1444 + vm_prot_t cur_protection; 1445 + vm_prot_t max_protection; 1446 + } __Reply__vm_remap_new_t __attribute__((unused)); 1447 + #ifdef __MigPackStructs 1448 + #pragma pack(pop) 1449 + #endif 1389 1450 #endif /* !__Reply__vm_map_subsystem__defined */ 1390 1451 1391 1452 /* union of all replies */ ··· 1421 1482 __Reply__vm_map_64_t Reply_vm_map_64; 1422 1483 __Reply__vm_purgable_control_t Reply_vm_purgable_control; 1423 1484 __Reply__vm_map_exec_lockdown_t Reply_vm_map_exec_lockdown; 1485 + __Reply__vm_remap_new_t Reply_vm_remap_new; 1424 1486 }; 1425 1487 #endif /* !__RequestUnion__vm_map_subsystem__defined */ 1426 1488 ··· 1453 1515 { "mach_make_memory_entry_64", 3825 },\ 1454 1516 { "vm_map_64", 3826 },\ 1455 1517 { "vm_purgable_control", 3830 },\ 1456 - { "vm_map_exec_lockdown", 3831 } 1518 + { "vm_map_exec_lockdown", 3831 },\ 1519 + { "vm_remap_new", 3832 } 1457 1520 #endif 1458 1521 1459 1522 #ifdef __AfterMigUserHeader