authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2026-03-26 19:22:27+00:00
committergravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2026-03-26 19:25:56+00:00
logf19be20912b5c71553d6de343d25abed02a7fbf7
tree3efbe6349f84eb4ce4bce1b398a8fa6be7332914
parent13b1050d4c898d472d424f9067d990df12eff3fb

libc: Update macOS headers to SDK 26.4


52 files changed, 935 insertions(+), 612 deletions(-)

lib/libc/darwin/SDKSettings.json+1-1
......@@ -1 +1 @@
1{"MinimalDisplayName":"26.2"}
1{"MinimalDisplayName":"26.4"}
lib/libc/darwin/libSystem.tbd+357-427
......@@ -1,12 +1,10 @@
11--- !tapi-tbd
22tbd-version: 4
3targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
4 arm64e-macos, arm64e-maccatalyst ]
3targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
54install-name: '/usr/lib/libSystem.B.dylib'
65current-version: 1356
76reexported-libraries:
8 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
9 arm64e-macos, arm64e-maccatalyst ]
7 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
108 libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib',
119 '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib',
1210 '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib',
......@@ -38,23 +36,19 @@ exports:
3836 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction',
3937 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink',
4038 'R8289209$_write' ]
41 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
42 arm64e-macos, arm64e-maccatalyst ]
39 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
4340 symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd,
4441 _mach_init_routine ]
4542--- !tapi-tbd
4643tbd-version: 4
47targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
48 arm64e-macos, arm64e-maccatalyst ]
44targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
4945install-name: '/usr/lib/system/libcache.dylib'
5046current-version: 95
5147parent-umbrella:
52 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
53 arm64e-macos, arm64e-maccatalyst ]
48 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
5449 umbrella: System
5550exports:
56 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
57 arm64e-macos, arm64e-maccatalyst ]
51 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
5852 symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain,
5953 _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info,
6054 _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint,
......@@ -69,17 +63,14 @@ exports:
6963 _cache_value_make_purgeable_cb ]
7064--- !tapi-tbd
7165tbd-version: 4
72targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
73 arm64e-macos, arm64e-maccatalyst ]
66targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
7467install-name: '/usr/lib/system/libcommonCrypto.dylib'
7568current-version: 65535
7669parent-umbrella:
77 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
78 arm64e-macos, arm64e-maccatalyst ]
70 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
7971 umbrella: System
8072exports:
81 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
82 arm64e-macos, arm64e-maccatalyst ]
73 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
8374 symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal,
8475 _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd,
8576 _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear,
......@@ -382,28 +373,23 @@ exports:
382373 _atomic_signal_fence, _atomic_thread_fence ]
383374--- !tapi-tbd
384375tbd-version: 4
385targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
386 arm64e-macos, arm64e-maccatalyst ]
376targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
387377install-name: '/usr/lib/system/libcopyfile.dylib'
388378parent-umbrella:
389 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
390 arm64e-macos, arm64e-maccatalyst ]
379 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
391380 umbrella: System
392381exports:
393 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
394 arm64e-macos, arm64e-maccatalyst ]
382 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
395383 symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get,
396384 _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags,
397385 _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ]
398386--- !tapi-tbd
399387tbd-version: 4
400targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
401 arm64e-macos, arm64e-maccatalyst ]
388targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
402389install-name: '/usr/lib/system/libcorecrypto.dylib'
403current-version: 1922.60.11
390current-version: 1922.101.2
404391parent-umbrella:
405 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
406 arm64e-macos, arm64e-maccatalyst ]
392 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
407393 umbrella: System
408394exports:
409395 - targets: [ x86_64-macos, x86_64-maccatalyst ]
......@@ -415,8 +401,7 @@ exports:
415401 _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode,
416402 _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di,
417403 _ccsha256_vng_intel_SupplementalSSE3_di ]
418 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
419 arm64e-macos, arm64e-maccatalyst ]
404 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
420405 symbols: [ _CCEC_FAULT_CANARY, _CCMLDSA_FAULT_CANARY, _CCRSA_PKCS1_FAULT_CANARY,
421406 _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192, _CCSS_PRIME_P224,
422407 _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521, _cc_abort,
......@@ -561,15 +546,16 @@ exports:
561546 _ccec_rfc6637_unwrap_sha512_kek_aes256, _ccec_rfc6637_wrap_key,
562547 _ccec_rfc6637_wrap_key_diversified, _ccec_rfc6637_wrap_key_size,
563548 _ccec_rfc6637_wrap_sha256_kek_aes128, _ccec_rfc6637_wrap_sha512_kek_aes256,
564 _ccec_sign, _ccec_sign_composite, _ccec_sign_composite_msg,
565 _ccec_sign_msg, _ccec_signature_r_s_size, _ccec_unblind, _ccec_validate_pub,
566 _ccec_verify, _ccec_verify_composite, _ccec_verify_composite_digest,
567 _ccec_verify_composite_msg, _ccec_verify_digest, _ccec_verify_msg,
568 _ccec_x963_export, _ccec_x963_import_priv, _ccec_x963_import_priv_size,
569 _ccec_x963_import_pub, _ccec_x963_import_pub_size, _ccecb_block_size,
570 _ccecb_context_size, _ccecb_init, _ccecb_one_shot, _ccecb_one_shot_explicit,
571 _ccecb_update, _ccecdh_compute_shared_secret, _ccecdh_generate_key,
572 _ccecies_decrypt_gcm, _ccecies_decrypt_gcm_composite, _ccecies_decrypt_gcm_from_shared_secret,
549 _ccec_sign, _ccec_sign_composite, _ccec_sign_composite_hedged,
550 _ccec_sign_composite_msg, _ccec_sign_msg, _ccec_signature_r_s_size,
551 _ccec_unblind, _ccec_validate_pub, _ccec_verify, _ccec_verify_composite,
552 _ccec_verify_composite_digest, _ccec_verify_composite_msg,
553 _ccec_verify_digest, _ccec_verify_msg, _ccec_x963_export,
554 _ccec_x963_import_priv, _ccec_x963_import_priv_size, _ccec_x963_import_pub,
555 _ccec_x963_import_pub_size, _ccecb_block_size, _ccecb_context_size,
556 _ccecb_init, _ccecb_one_shot, _ccecb_one_shot_explicit, _ccecb_update,
557 _ccecdh_compute_shared_secret, _ccecdh_generate_key, _ccecies_decrypt_gcm,
558 _ccecies_decrypt_gcm_composite, _ccecies_decrypt_gcm_from_shared_secret,
573559 _ccecies_decrypt_gcm_plaintext_size, _ccecies_decrypt_gcm_plaintext_size_cp,
574560 _ccecies_decrypt_gcm_setup, _ccecies_encrypt_gcm, _ccecies_encrypt_gcm_ciphertext_size,
575561 _ccecies_encrypt_gcm_composite, _ccecies_encrypt_gcm_from_shared_secret,
......@@ -715,23 +701,27 @@ exports:
715701 _ccsha1_ltc_di, _ccsha224_di, _ccsha224_ltc_di, _ccsha256_di,
716702 _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_di,
717703 _ccsha3_256_di, _ccsha3_384_di, _ccsha3_512_di, _ccsha512_256_di,
718 _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccsigma_clear,
704 _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccshake128,
705 _ccshake128_xi, _ccshake256, _ccshake256_xi, _ccsigma_clear,
719706 _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys,
720 _ccsigma_exclave_pairing_info, _ccsigma_export_key_share,
721 _ccsigma_import_peer_key_share, _ccsigma_import_peer_verification_key,
722 _ccsigma_import_signing_key, _ccsigma_init, _ccsigma_kex_init_ctx,
723 _ccsigma_kex_resp_ctx, _ccsigma_mfi_info, _ccsigma_mfi_nvm_info,
724 _ccsigma_open, _ccsigma_peer_role, _ccsigma_seal, _ccsigma_set_signing_function,
725 _ccsigma_sign, _ccsigma_verify, _ccsiv_aad, _ccsiv_block_size,
726 _ccsiv_ciphertext_size, _ccsiv_context_size, _ccsiv_crypt,
727 _ccsiv_hmac_aad, _ccsiv_hmac_block_size, _ccsiv_hmac_ciphertext_size,
728 _ccsiv_hmac_context_size, _ccsiv_hmac_crypt, _ccsiv_hmac_init,
729 _ccsiv_hmac_one_shot, _ccsiv_hmac_plaintext_size, _ccsiv_hmac_reset,
730 _ccsiv_hmac_set_nonce, _ccsiv_init, _ccsiv_one_shot, _ccsiv_plaintext_size,
731 _ccsiv_reset, _ccsiv_set_nonce, _ccspake_cp_256, _ccspake_cp_256_rfc,
732 _ccspake_cp_384, _ccspake_cp_384_rfc, _ccspake_cp_521, _ccspake_cp_521_rfc,
733 _ccspake_generate_L, _ccspake_get_session_key, _ccspake_kex_generate,
734 _ccspake_kex_process, _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256,
707 _ccsigma_exclave_pairing_info, _ccsigma_exclave_pairing_session_info,
708 _ccsigma_export_key_share, _ccsigma_import_peer_key_share,
709 _ccsigma_import_peer_verification_key, _ccsigma_import_signing_key,
710 _ccsigma_init, _ccsigma_kex_init_ctx, _ccsigma_kex_resp_ctx,
711 _ccsigma_mfi_info, _ccsigma_mfi_nvm_info, _ccsigma_open, _ccsigma_peer_role,
712 _ccsigma_seal, _ccsigma_session_clear, _ccsigma_session_export,
713 _ccsigma_session_import, _ccsigma_session_init, _ccsigma_session_open,
714 _ccsigma_session_seal, _ccsigma_set_signing_function, _ccsigma_sign,
715 _ccsigma_verify, _ccsiv_aad, _ccsiv_block_size, _ccsiv_ciphertext_size,
716 _ccsiv_context_size, _ccsiv_crypt, _ccsiv_hmac_aad, _ccsiv_hmac_block_size,
717 _ccsiv_hmac_ciphertext_size, _ccsiv_hmac_context_size, _ccsiv_hmac_crypt,
718 _ccsiv_hmac_init, _ccsiv_hmac_one_shot, _ccsiv_hmac_plaintext_size,
719 _ccsiv_hmac_reset, _ccsiv_hmac_set_nonce, _ccsiv_init, _ccsiv_one_shot,
720 _ccsiv_plaintext_size, _ccsiv_reset, _ccsiv_set_nonce, _ccspake_cp_256,
721 _ccspake_cp_256_rfc, _ccspake_cp_384, _ccspake_cp_384_rfc,
722 _ccspake_cp_521, _ccspake_cp_521_rfc, _ccspake_generate_L,
723 _ccspake_get_session_key, _ccspake_kex_generate, _ccspake_kex_process,
724 _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256,
735725 _ccspake_mac_hkdf_hmac_sha256, _ccspake_mac_hkdf_hmac_sha512,
736726 _ccspake_mac_verify_and_get_session_key, _ccspake_prover_init,
737727 _ccspake_prover_initialize, _ccspake_reduce_w, _ccspake_reduce_w_RFC9383,
......@@ -761,13 +751,14 @@ exports:
761751 _ccvrf_sizeof_public_key, _ccvrf_sizeof_secret_key, _ccvrf_verify,
762752 _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt,
763753 _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size,
764 _ccxts_block_size, _ccxts_context_size, _ccxts_init, _ccxts_one_shot,
765 _ccxts_set_tweak, _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit,
766 _ccz_bitlen, _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod,
767 _ccz_expmod, _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one,
768 _ccz_is_prime, _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod,
769 _ccz_mul, _ccz_muli, _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits,
770 _ccz_read_radix, _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity,
754 _ccxof_absorb, _ccxof_init, _ccxof_squeeze, _ccxts_block_size,
755 _ccxts_context_size, _ccxts_init, _ccxts_one_shot, _ccxts_set_tweak,
756 _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit, _ccz_bitlen,
757 _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod, _ccz_expmod,
758 _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one, _ccz_is_prime,
759 _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod, _ccz_mul, _ccz_muli,
760 _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits, _ccz_read_radix,
761 _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity,
771762 _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size,
772763 _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int,
773764 _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size,
......@@ -775,7 +766,7 @@ exports:
775766 _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime,
776767 _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post,
777768 _fipspost_trace_vtable, _map_to_curve_sswu ]
778 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
769 - targets: [ arm64e-macos, arm64e-maccatalyst ]
779770 symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode,
780771 _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode,
781772 _ccaes_arm_ecb_decrypt_mode, _ccaes_arm_ecb_encrypt_mode,
......@@ -786,17 +777,14 @@ exports:
786777 _ccsha512_vng_arm_hw_di ]
787778--- !tapi-tbd
788779tbd-version: 4
789targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
790 arm64e-macos, arm64e-maccatalyst ]
780targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
791781install-name: '/usr/lib/system/libdispatch.dylib'
792current-version: 1542.0.4
782current-version: 1542.100.32
793783parent-umbrella:
794 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
795 arm64e-macos, arm64e-maccatalyst ]
784 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
796785 umbrella: System
797786exports:
798 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
799 arm64e-macos, arm64e-maccatalyst ]
787 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
800788 symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not',
801789 '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool,
802790 __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap,
......@@ -978,49 +966,55 @@ exports:
978966 __dyld_find_protocol_conformance, __dyld_find_protocol_conformance_on_disk,
979967 __dyld_find_unwind_sections, __dyld_for_each_objc_class, __dyld_for_each_objc_protocol,
980968 __dyld_for_each_prewarming_range, __dyld_for_objc_header_opt_ro,
981 __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_get_dlopen_image_header,
982 __dyld_get_image_header, __dyld_get_image_name, __dyld_get_image_slide,
983 __dyld_get_image_uuid, __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector,
984 __dyld_get_prog_image_header, __dyld_get_shared_cache_range,
985 __dyld_get_shared_cache_uuid, __dyld_get_swift_prespecialized_data,
986 __dyld_has_fix_for_radar, __dyld_has_preoptimized_swift_protocol_conformances,
987 __dyld_image_count, __dyld_images_for_addresses, __dyld_initializer,
988 __dyld_is_memory_immutable, __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded,
989 __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lookup_section_info,
990 __dyld_objc_class_count, __dyld_objc_notify_register, __dyld_objc_register_callbacks,
991 __dyld_objc_uses_large_shared_cache, __dyld_process_info_create,
992 __dyld_process_info_for_each_image, __dyld_process_info_for_each_segment,
993 __dyld_process_info_get_aot_cache, __dyld_process_info_get_cache,
994 __dyld_process_info_get_platform, __dyld_process_info_get_state,
995 __dyld_process_info_notify, __dyld_process_info_notify_main,
996 __dyld_process_info_notify_release, __dyld_process_info_notify_retain,
997 __dyld_process_info_release, __dyld_process_info_retain, __dyld_pseudodylib_deregister,
969 __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_framework_HWTrace_spis_enabled,
970 __dyld_get_dlopen_image_header, __dyld_get_dyld_header, __dyld_get_image_header,
971 __dyld_get_image_name, __dyld_get_image_slide, __dyld_get_image_uuid,
972 __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, __dyld_get_prog_image_header,
973 __dyld_get_shared_cache_range, __dyld_get_shared_cache_uuid,
974 __dyld_get_swift_prespecialized_data, __dyld_has_fix_for_radar,
975 __dyld_has_preoptimized_swift_protocol_conformances, __dyld_image_count,
976 __dyld_images_for_addresses, __dyld_initializer, __dyld_is_memory_immutable,
977 __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded,
978 __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lazy_load,
979 __dyld_lookup_section_info, __dyld_objc_class_count, __dyld_objc_notify_register,
980 __dyld_objc_register_callbacks, __dyld_objc_uses_large_shared_cache,
981 __dyld_process_info_create, __dyld_process_info_for_each_image,
982 __dyld_process_info_for_each_segment, __dyld_process_info_get_aot_cache,
983 __dyld_process_info_get_cache, __dyld_process_info_get_platform,
984 __dyld_process_info_get_state, __dyld_process_info_notify,
985 __dyld_process_info_notify_main, __dyld_process_info_notify_release,
986 __dyld_process_info_notify_retain, __dyld_process_info_release,
987 __dyld_process_info_retain, __dyld_pseudodylib_deregister,
998988 __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register,
999989 __dyld_pseudodylib_register_callbacks, __dyld_register_dlsym_notifier,
1000990 __dyld_register_driverkit_main, __dyld_register_for_bulk_image_loads,
1001991 __dyld_register_for_image_loads, __dyld_register_func_for_add_image,
1002992 __dyld_register_func_for_remove_image, __dyld_shared_cache_contains_path,
1003 __dyld_shared_cache_is_locally_built, __dyld_shared_cache_optimized,
1004 __dyld_shared_cache_real_path, __dyld_stack_bottom, __dyld_stack_range,
1005 __dyld_stack_top, __dyld_swift_optimizations_version, __dyld_visit_objc_classes,
993 __dyld_shared_cache_file_path_containing_address, __dyld_shared_cache_is_locally_built,
994 __dyld_shared_cache_optimized, __dyld_shared_cache_real_path,
995 __dyld_stack_bottom, __dyld_stack_range, __dyld_stack_top,
996 __dyld_swift_optimizations_version, __dyld_visit_objc_classes,
1006997 __tlv_atexit, __tlv_bootstrap, __tlv_exit, _dladdr, _dlclose,
1007998 _dlerror, _dlopen, _dlopen_audited, _dlopen_from, _dlopen_preflight,
1008999 _dlsym, _dyldVersionNumber, _dyldVersionString, _dyld_dynamic_interpose,
1009 _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_with_system_path,
1010 _dyld_get_active_platform, _dyld_get_base_platform, _dyld_get_image_versions,
1011 _dyld_get_min_os_version, _dyld_get_program_min_os_version,
1012 _dyld_get_program_minos_version_token, _dyld_get_program_sdk_version,
1013 _dyld_get_program_sdk_version_token, _dyld_get_sdk_version,
1014 _dyld_has_inserted_or_interposing_libraries, _dyld_image_content_for_section,
1015 _dyld_image_content_for_segment, _dyld_image_copy_uuid, _dyld_image_for_each_section_info,
1000 _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_ex,
1001 _dyld_for_each_installed_shared_cache_with_system_path, _dyld_get_active_platform,
1002 _dyld_get_base_platform, _dyld_get_image_versions, _dyld_get_min_os_version,
1003 _dyld_get_program_min_os_version, _dyld_get_program_minos_version_token,
1004 _dyld_get_program_sdk_version, _dyld_get_program_sdk_version_token,
1005 _dyld_get_sdk_version, _dyld_has_inserted_or_interposing_libraries,
1006 _dyld_image_content_for_section, _dyld_image_content_for_segment,
1007 _dyld_image_copy_uuid, _dyld_image_for_each_section_info,
10161008 _dyld_image_for_each_segment_info, _dyld_image_get_file_path,
10171009 _dyld_image_get_installname, _dyld_image_header_containing_address,
10181010 _dyld_image_local_nlist_content_4Symbolication, _dyld_image_path_containing_address,
1019 _dyld_is_simulator_platform, _dyld_minos_at_least, _dyld_need_closure,
1020 _dyld_process_create_for_current_task, _dyld_process_create_for_task,
1021 _dyld_process_dispose, _dyld_process_has_objc_patches, _dyld_process_is_restricted,
1022 _dyld_process_register_for_event_notification, _dyld_process_register_for_image_notifications,
1023 _dyld_process_snapshot_create_for_process, _dyld_process_snapshot_create_from_data,
1011 _dyld_image_release_4HWTrace, _dyld_image_retain_4HWTrace,
1012 _dyld_image_segment_data_4HWTrace, _dyld_is_simulator_platform,
1013 _dyld_minos_at_least, _dyld_need_closure, _dyld_process_create_for_current_task,
1014 _dyld_process_create_for_task, _dyld_process_dispose, _dyld_process_has_objc_patches,
1015 _dyld_process_is_restricted, _dyld_process_register_for_event_notification,
1016 _dyld_process_register_for_image_notifications, _dyld_process_snapshot_create_for_process,
1017 _dyld_process_snapshot_create_from_data, _dyld_process_snapshot_create_metrics,
10241018 _dyld_process_snapshot_dispose, _dyld_process_snapshot_for_each_image,
10251019 _dyld_process_snapshot_get_shared_cache, _dyld_process_unregister_for_notification,
10261020 _dyld_program_minos_at_least, _dyld_program_sdk_at_least,
......@@ -1057,17 +1051,14 @@ exports:
10571051 _dyld_shared_cache_for_each_subcache4Rosetta, _dyld_shared_subcache_get_info4Rosetta ]
10581052--- !tapi-tbd
10591053tbd-version: 4
1060targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1061 arm64e-macos, arm64e-maccatalyst ]
1054targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
10621055install-name: '/usr/lib/system/libkeymgr.dylib'
10631056current-version: 31
10641057parent-umbrella:
1065 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1066 arm64e-macos, arm64e-maccatalyst ]
1058 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
10671059 umbrella: System
10681060exports:
1069 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1070 arm64e-macos, arm64e-maccatalyst ]
1061 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
10711062 symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer,
10721063 __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2,
10731064 __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr,
......@@ -1077,7 +1068,7 @@ exports:
10771068tbd-version: 4
10781069targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
10791070install-name: '/usr/lib/system/libmacho.dylib'
1080current-version: 1030.6.3
1071current-version: 1040
10811072parent-umbrella:
10821073 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
10831074 umbrella: System
......@@ -1114,17 +1105,14 @@ exports:
11141105 _swap_x86_thread_state, _swap_x86_thread_state64 ]
11151106--- !tapi-tbd
11161107tbd-version: 4
1117targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1118 arm64e-macos, arm64e-maccatalyst ]
1108targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11191109install-name: '/usr/lib/system/libquarantine.dylib'
1120current-version: 196.40.3
1110current-version: 196.100.8
11211111parent-umbrella:
1122 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1123 arm64e-macos, arm64e-maccatalyst ]
1112 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11241113 umbrella: System
11251114exports:
1126 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1127 arm64e-macos, arm64e-maccatalyst ]
1115 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11281116 symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point,
11291117 __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free,
11301118 __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata,
......@@ -1145,7 +1133,7 @@ exports:
11451133 _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid,
11461134 _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init,
11471135 _responsibility_set_pid_responsible_for_pid ]
1148 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1136 - targets: [ x86_64-macos, arm64e-macos ]
11491137 symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data,
11501138 _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token,
11511139 _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform,
......@@ -1161,17 +1149,14 @@ exports:
11611149 _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ]
11621150--- !tapi-tbd
11631151tbd-version: 4
1164targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1165 arm64e-macos, arm64e-maccatalyst ]
1152targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11661153install-name: '/usr/lib/system/libremovefile.dylib'
1167current-version: 84
1154current-version: 85.100.6
11681155parent-umbrella:
1169 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1170 arm64e-macos, arm64e-maccatalyst ]
1156 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11711157 umbrella: System
11721158exports:
1173 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1174 arm64e-macos, arm64e-maccatalyst ]
1159 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11751160 symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer,
11761161 ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker,
11771162 ___removefile_tree_walker_slim, _removefile, _removefile_cancel,
......@@ -1179,17 +1164,14 @@ exports:
11791164 _removefile_state_set, _removefileat ]
11801165--- !tapi-tbd
11811166tbd-version: 4
1182targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1183 arm64e-macos, arm64e-maccatalyst ]
1167targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11841168install-name: '/usr/lib/system/libsystem_asl.dylib'
11851169current-version: 406
11861170parent-umbrella:
1187 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1188 arm64e-macos, arm64e-maccatalyst ]
1171 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11891172 umbrella: System
11901173exports:
1191 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1192 arm64e-macos, arm64e-maccatalyst ]
1174 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11931175 symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child,
11941176 __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child,
11951177 __asl_mt_shim_send_message, __asl_server_cancel_direct_watch,
......@@ -1260,17 +1242,14 @@ exports:
12601242 _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ]
12611243--- !tapi-tbd
12621244tbd-version: 4
1263targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1264 arm64e-macos, arm64e-maccatalyst ]
1245targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
12651246install-name: '/usr/lib/system/libsystem_blocks.dylib'
12661247current-version: 96
12671248parent-umbrella:
1268 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1269 arm64e-macos, arm64e-maccatalyst ]
1249 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
12701250 umbrella: System
12711251exports:
1272 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1273 arm64e-macos, arm64e-maccatalyst ]
1252 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
12741253 symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature,
12751254 __Block_isDeallocating, __Block_layout, __Block_object_assign,
12761255 __Block_object_dispose, __Block_release, __Block_signature,
......@@ -1279,29 +1258,28 @@ exports:
12791258 __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ]
12801259--- !tapi-tbd
12811260tbd-version: 4
1282targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1283 arm64e-macos, arm64e-maccatalyst ]
1261targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
12841262install-name: '/usr/lib/system/libsystem_c.dylib'
1285current-version: 1725.40.4
1263current-version: 1752.100.10
12861264parent-umbrella:
1287 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1288 arm64e-macos, arm64e-maccatalyst ]
1265 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
12891266 umbrella: System
12901267exports:
12911268 - targets: [ x86_64-macos, x86_64-maccatalyst ]
12921269 symbols: [ '___opendir2$INODE64', '__readdir_unlocked$INODE64', '__seekdir$INODE64',
12931270 '_alphasort$INODE64', '_daemon$1050', '_fdopendir$INODE64',
1294 _fstatx64_np, '_fstatx_np$INODE64', '_fts_children$INODE64',
1295 '_fts_close$INODE64', '_fts_open$INODE64', '_fts_open_b$INODE64',
1296 '_fts_read$INODE64', '_fts_set$INODE64', '_ftw$INODE64', '_getmntinfo$INODE64',
1271 '_fdscandir$INODE64', '_fdscandir_b$INODE64', _fstatx64_np,
1272 '_fstatx_np$INODE64', '_fts_children$INODE64', '_fts_close$INODE64',
1273 '_fts_open$INODE64', '_fts_open_b$INODE64', '_fts_read$INODE64',
1274 '_fts_set$INODE64', '_ftw$INODE64', '_getmntinfo$INODE64',
12971275 _getmntinfo64, '_getmntinfo_r_np$INODE64', '_glob$INODE64',
12981276 '_glob_b$INODE64', _lstatx64_np, '_lstatx_np$INODE64', '_nftw$INODE64',
12991277 '_opendir$INODE64', '_readdir$INODE64', '_readdir_r$INODE64',
13001278 '_rewinddir$INODE64', '_scandir$INODE64', '_scandir_b$INODE64',
1301 '_seekdir$INODE64', _statx64_np, '_statx_np$INODE64', _strtoencf80_l,
1302 '_telldir$INODE64', mcount ]
1303 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1304 arm64e-macos, arm64e-maccatalyst ]
1279 '_scandirat$INODE64', '_scandirat_b$INODE64', '_seekdir$INODE64',
1280 _statx64_np, '_statx_np$INODE64', _strtoencf80_l, '_telldir$INODE64',
1281 mcount ]
1282 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
13051283 symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres',
13061284 '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime',
13071285 '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy',
......@@ -1406,10 +1384,11 @@ exports:
14061384 _environ_unlock_np, _erand48, _err, _err_set_exit, _err_set_exit_b,
14071385 _err_set_file, _errc, _errx, _execl, _execle, _execlp, _execv,
14081386 _execvP, _execvp, _exit, _f_prealloc, _fchmodx_np, _fclose,
1409 _fcvt, _fdopen, '_fdopen$DARWIN_EXTSN', _fdopendir, _feof,
1410 _feof_unlocked, _ferror, _ferror_unlocked, _fflagstostr, _fflush,
1411 _fgetc, _fgetln, _fgetpos, _fgetrune, _fgets, _fgetwc, _fgetwc_l,
1412 _fgetwln, _fgetwln_l, _fgetws, _fgetws_l, _fileno, _fileno_unlocked,
1387 _fcvt, _fdclosedir, _fdopen, '_fdopen$DARWIN_EXTSN', _fdopendir,
1388 _fdscandir, _fdscandir_b, _feof, _feof_unlocked, _ferror,
1389 _ferror_unlocked, _fflagstostr, _fflush, _fgetc, _fgetln,
1390 _fgetpos, _fgetrune, _fgets, _fgetwc, _fgetwc_l, _fgetwln,
1391 _fgetwln_l, _fgetws, _fgetws_l, _fileno, _fileno_unlocked,
14131392 _filesec_dup, _filesec_free, _filesec_get_property, _filesec_init,
14141393 _filesec_query_property, _filesec_set_property, _filesec_unset_property,
14151394 _flockfile, _fmemopen, _fmtcheck, _fmtmsg, _fnmatch, _fopen,
......@@ -1490,16 +1469,17 @@ exports:
14901469 _regncomp, _regncomp_l, _regnexec, _regwcomp, _regwcomp_l,
14911470 _regwexec, _regwncomp, _regwncomp_l, _regwnexec, _remove,
14921471 _remque, _rewind, _rewinddir, _rindex, _rpmatch, _sbrk, _scandir,
1493 _scandir_b, _scanf, _scanf_l, _seed48, _seekdir, _send, '_send$NOCANCEL',
1494 _setbuf, _setbuffer, _setenv, _sethostid, _sethostname, _setinvalidrune,
1495 _setipv4sourcefilter, _setkey, _setlinebuf, _setlocale, _setlogin,
1496 _setmode, _setpgrp, _setprogname, _setrgid, _setruid, _setrunelocale,
1497 _setsourcefilter, _setstate, _settimeofday, _setttyent, _setusershell,
1498 _setutxent, _setutxent_wtmp, _setvbuf, _sigaction, _sigaddset,
1499 _sigaltstack, _sigblock, _sigdelset, _sigemptyset, _sigfillset,
1500 _sighold, _sigignore, _siginterrupt, _sigismember, _signal,
1501 _sigpause, '_sigpause$NOCANCEL', _sigrelse, _sigset, _sigsetmask,
1502 _sigvec, _sl_add, _sl_find, _sl_free, _sl_init, _sleep, '_sleep$NOCANCEL',
1472 _scandir_b, _scandirat, _scandirat_b, _scanf, _scanf_l, _seed48,
1473 _seekdir, _send, '_send$NOCANCEL', _setbuf, _setbuffer, _setenv,
1474 _sethostid, _sethostname, _setinvalidrune, _setipv4sourcefilter,
1475 _setkey, _setlinebuf, _setlocale, _setlogin, _setmode, _setpgrp,
1476 _setprogname, _setrgid, _setruid, _setrunelocale, _setsourcefilter,
1477 _setstate, _settimeofday, _setttyent, _setusershell, _setutxent,
1478 _setutxent_wtmp, _setvbuf, _sigaction, _sigaddset, _sigaltstack,
1479 _sigblock, _sigdelset, _sigemptyset, _sigfillset, _sighold,
1480 _sigignore, _siginterrupt, _sigismember, _signal, _sigpause,
1481 '_sigpause$NOCANCEL', _sigrelse, _sigset, _sigsetmask, _sigvec,
1482 _sl_add, _sl_find, _sl_free, _sl_init, _sleep, '_sleep$NOCANCEL',
15031483 _snprintf, _snprintf_l, _snvis, _sockatmark, _sprintf, _sprintf_l,
15041484 _sradixsort, _srand, _srand48, _sranddev, _srandom, _srandomdev,
15051485 _sscanf, _sscanf_l, _stat_with_subsystem, _statvfs, _statx_np,
......@@ -1568,25 +1548,21 @@ exports:
15681548 _xprintf_exec ]
15691549 weak-symbols: [ __os_debug_log_redirect_func ]
15701550reexports:
1571 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1572 arm64e-macos, arm64e-maccatalyst ]
1551 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15731552 symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy,
15741553 _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8,
15751554 _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp,
15761555 _strncpy, _strnlen, _strstr ]
15771556--- !tapi-tbd
15781557tbd-version: 4
1579targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1580 arm64e-macos, arm64e-maccatalyst ]
1558targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15811559install-name: '/usr/lib/system/libsystem_collections.dylib'
1582current-version: 1725.40.4
1560current-version: 1752.100.10
15831561parent-umbrella:
1584 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1585 arm64e-macos, arm64e-maccatalyst ]
1562 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15861563 umbrella: System
15871564exports:
1588 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1589 arm64e-macos, arm64e-maccatalyst ]
1565 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15901566 symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete,
15911567 _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach,
15921568 _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count,
......@@ -1606,17 +1582,14 @@ exports:
16061582 _os_set_str_ptr_foreach, _os_set_str_ptr_init, _os_set_str_ptr_insert ]
16071583--- !tapi-tbd
16081584tbd-version: 4
1609targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1610 arm64e-macos, arm64e-maccatalyst ]
1585targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
16111586install-name: '/usr/lib/system/libsystem_configuration.dylib'
1612current-version: 1385.60.3
1587current-version: 1405.100.8
16131588parent-umbrella:
1614 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1615 arm64e-macos, arm64e-maccatalyst ]
1589 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
16161590 umbrella: System
16171591exports:
1618 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1619 arm64e-macos, arm64e-maccatalyst ]
1592 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
16201593 symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent,
16211594 __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack,
16221595 __nwi_state_force_refresh, _config_agent_copy_dns_information,
......@@ -1633,16 +1606,13 @@ exports:
16331606 _nwi_state_get_reachability_flags, _nwi_state_release ]
16341607--- !tapi-tbd
16351608tbd-version: 4
1636targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1637 arm64e-macos, arm64e-maccatalyst ]
1609targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
16381610install-name: '/usr/lib/system/libsystem_containermanager.dylib'
16391611parent-umbrella:
1640 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1641 arm64e-macos, arm64e-maccatalyst ]
1612 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
16421613 umbrella: System
16431614exports:
1644 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1645 arm64e-macos, arm64e-maccatalyst ]
1615 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
16461616 symbols: [ _CMCONTAINERSEAM_DEFAULT, _CMDISPATCHSEAM_DEFAULT, _CMFSSEAM_DEFAULT,
16471617 _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT, _CMQUARANTINESEAM_DEFAULT,
16481618 _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES, _CONTAINER_NOTIFY_GENERATION_INITIAL,
......@@ -1834,7 +1804,7 @@ exports:
18341804 _container_xpc_shared_copy_connection, _gCMContainerSeam,
18351805 _gCMDispatchSeam, _gCMFSSeam, _gCMNotifySeam, _gCMPWDSeam,
18361806 _gCMQuarantineSeam, _gCMSandboxSeam ]
1837 - targets: [ x86_64-maccatalyst, arm64-maccatalyst, arm64e-maccatalyst ]
1807 - targets: [ x86_64-maccatalyst, arm64e-maccatalyst ]
18381808 symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID,
18391809 _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths,
18401810 _container_create_or_lookup_group_container_paths_for_current_user,
......@@ -1848,38 +1818,32 @@ exports:
18481818 _container_references_set_uid ]
18491819--- !tapi-tbd
18501820tbd-version: 4
1851targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1852 arm64e-macos, arm64e-maccatalyst ]
1821targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18531822install-name: '/usr/lib/system/libsystem_coreservices.dylib'
18541823current-version: 129
18551824parent-umbrella:
1856 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1857 arm64e-macos, arm64e-maccatalyst ]
1825 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18581826 umbrella: System
18591827exports:
1860 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1861 arm64e-macos, arm64e-maccatalyst ]
1828 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18621829 symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration,
18631830 _NSStartSearchPathEnumerationPrivate, ___user_local_dirname,
18641831 ___user_relative_dirname, __dirhelper, __dirhelper_relative,
18651832 __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix,
18661833 _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration,
18671834 _sysdir_start_search_path_enumeration_private ]
1868 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1835 - targets: [ x86_64-macos, arm64e-macos ]
18691836 symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints,
18701837 __dirhelper_remove_test, __dirhelper_test, __idle_exit ]
18711838--- !tapi-tbd
18721839tbd-version: 4
1873targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1874 arm64e-macos, arm64e-maccatalyst ]
1840targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18751841install-name: '/usr/lib/system/libsystem_darwin.dylib'
18761842parent-umbrella:
1877 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1878 arm64e-macos, arm64e-maccatalyst ]
1843 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18791844 umbrella: System
18801845exports:
1881 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1882 arm64e-macos, arm64e-maccatalyst ]
1846 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18831847 symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np,
18841848 _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np,
18851849 _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np,
......@@ -1906,35 +1870,29 @@ exports:
19061870 _sysctlbyname_get_data_np, _sysexit_np, _vcrfprintf_np, _verr_np,
19071871 _verrc_np, _vwarn_np, _vwfprintf_np, _warn_np, _wfprintf_np,
19081872 _xferfd_np, _zsnprintf_np ]
1909 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1873 - targets: [ x86_64-macos, arm64e-macos ]
19101874 symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ]
19111875--- !tapi-tbd
19121876tbd-version: 4
1913targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1914 arm64e-macos, arm64e-maccatalyst ]
1877targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19151878install-name: '/usr/lib/system/libsystem_darwindirectory.dylib'
19161879parent-umbrella:
1917 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1918 arm64e-macos, arm64e-maccatalyst ]
1880 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19191881 umbrella: System
19201882exports:
1921 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1922 arm64e-macos, arm64e-maccatalyst ]
1883 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19231884 symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply,
19241885 _DarwinDirectoryRecordStoreApplyWithFilter ]
19251886--- !tapi-tbd
19261887tbd-version: 4
1927targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1928 arm64e-macos, arm64e-maccatalyst ]
1888targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19291889install-name: '/usr/lib/system/libsystem_dnssd.dylib'
1930current-version: 2881.60.4
1890current-version: 2881.100.56
19311891parent-umbrella:
1932 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1933 arm64e-macos, arm64e-maccatalyst ]
1892 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19341893 umbrella: System
19351894exports:
1936 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1937 arm64e-macos, arm64e-maccatalyst ]
1895 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19381896 symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree,
19391897 _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData,
19401898 _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate,
......@@ -1962,14 +1920,14 @@ exports:
19621920 _kDNSServiceAttributeAAAAFallback ]
19631921--- !tapi-tbd
19641922tbd-version: 4
1965targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1923targets: [ x86_64-macos, arm64e-macos ]
19661924install-name: '/usr/lib/system/libsystem_eligibility.dylib'
1967current-version: 286.60.23
1925current-version: 319.101.1
19681926parent-umbrella:
1969 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1927 - targets: [ x86_64-macos, arm64e-macos ]
19701928 umbrella: System
19711929exports:
1972 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1930 - targets: [ x86_64-macos, arm64e-macos ]
19731931 symbols: [ _os_eligibility_domain_for_name, _os_eligibility_dump_sysdiagnose_data_to_dir,
19741932 _os_eligibility_fetch_newest_policies, _os_eligibility_force_domain_answer,
19751933 _os_eligibility_force_domain_set_answers, _os_eligibility_get_all_domain_answers,
......@@ -1980,30 +1938,24 @@ exports:
19801938 _os_eligibility_set_input, _os_eligibility_set_test_mode ]
19811939--- !tapi-tbd
19821940tbd-version: 4
1983targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1984 arm64e-macos, arm64e-maccatalyst ]
1941targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19851942install-name: '/usr/lib/system/libsystem_featureflags.dylib'
1986current-version: 101
1943current-version: 103
19871944parent-umbrella:
1988 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1989 arm64e-macos, arm64e-maccatalyst ]
1945 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19901946 umbrella: System
19911947exports:
1992 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1993 arm64e-macos, arm64e-maccatalyst ]
1948 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19941949 symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ]
19951950--- !tapi-tbd
19961951tbd-version: 4
1997targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1998 arm64e-macos, arm64e-maccatalyst ]
1952targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
19991953install-name: '/usr/lib/system/libsystem_info.dylib'
20001954parent-umbrella:
2001 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2002 arm64e-macos, arm64e-maccatalyst ]
1955 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
20031956 umbrella: System
20041957exports:
2005 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2006 arm64e-macos, arm64e-maccatalyst ]
1958 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
20071959 symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create,
20081960 _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname,
20091961 __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized,
......@@ -2121,7 +2073,7 @@ tbd-version: 4
21212073targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
21222074 arm64e-macos, arm64e-maccatalyst ]
21232075install-name: '/usr/lib/system/libsystem_kernel.dylib'
2124current-version: 12377.61.12
2076current-version: 12377.101.14
21252077parent-umbrella:
21262078 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
21272079 arm64e-macos, arm64e-maccatalyst ]
......@@ -2239,13 +2191,14 @@ exports:
22392191 __kernelrpc_mach_vm_map_trap, __kernelrpc_mach_vm_protect,
22402192 __kernelrpc_mach_vm_protect_trap, __kernelrpc_mach_vm_purgable_control,
22412193 __kernelrpc_mach_vm_purgable_control_trap, __kernelrpc_mach_vm_read,
2242 __kernelrpc_mach_vm_remap, __kernelrpc_mach_vm_remap_new,
2243 __kernelrpc_mach_vm_update_pointers_with_remote_tags, __kernelrpc_mach_voucher_extract_attr_recipe,
2244 __kernelrpc_task_set_port_space, __kernelrpc_thread_policy,
2245 __kernelrpc_thread_policy_set, __kernelrpc_thread_set_policy,
2246 __kernelrpc_vm_map, __kernelrpc_vm_purgable_control, __kernelrpc_vm_read,
2247 __kernelrpc_vm_remap, __kernelrpc_vm_remap_new, __mach_errors,
2248 __mach_fork_child, __mach_snprintf, __mach_vsnprintf, __os_alloc_once_table,
2194 __kernelrpc_mach_vm_reallocate, __kernelrpc_mach_vm_remap,
2195 __kernelrpc_mach_vm_remap_new, __kernelrpc_mach_vm_update_pointers_with_remote_tags,
2196 __kernelrpc_mach_voucher_extract_attr_recipe, __kernelrpc_task_set_port_space,
2197 __kernelrpc_thread_policy, __kernelrpc_thread_policy_set,
2198 __kernelrpc_thread_set_policy, __kernelrpc_vm_map, __kernelrpc_vm_purgable_control,
2199 __kernelrpc_vm_read, __kernelrpc_vm_reallocate, __kernelrpc_vm_remap,
2200 __kernelrpc_vm_remap_new, __mach_errors, __mach_fork_child,
2201 __mach_snprintf, __mach_vsnprintf, __os_alloc_once_table,
22492202 __os_xbs_chrooted, __register_gethostuuid_callback, __thread_set_tsd_base,
22502203 _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL',
22512204 _access, _accessx_np, _acct, _act_get_state, _act_set_state,
......@@ -2266,27 +2219,31 @@ exports:
22662219 _debug_syscall_reject, _debug_syscall_reject_config, _denap_boost_assertion_token,
22672220 _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server,
22682221 _exc_server_routine, _exception_raise, _exception_raise_state,
2269 _exception_raise_state_identity, _exchangedata, _exclaves_aoe_message_loop,
2270 _exclaves_aoe_setup, _exclaves_aoe_work_loop, _exclaves_audio_buffer_copyout,
2271 _exclaves_audio_buffer_copyout_with_status, _exclaves_audio_buffer_create,
2272 _exclaves_boot, _exclaves_endpoint_call, _exclaves_inbound_buffer_copyin,
2273 _exclaves_inbound_buffer_create, _exclaves_indicator_min_on_time,
2274 _exclaves_launch_conclave, _exclaves_lookup_service, _exclaves_named_buffer_copyin,
2275 _exclaves_named_buffer_copyout, _exclaves_named_buffer_create,
2276 _exclaves_notification_create, _exclaves_outbound_buffer_copyout,
2277 _exclaves_outbound_buffer_create, _exclaves_sensor_create,
2278 _exclaves_sensor_start, _exclaves_sensor_status, _exclaves_sensor_stop,
2279 _execve, _faccessat, _fchdir, _fchflags, _fchmod, _fchmodat,
2280 _fchown, _fchownat, _fclonefileat, _fcntl, '_fcntl$NOCANCEL',
2281 _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, _fhopen, _fileport_makefd,
2282 _fileport_makeport, _flistxattr, _flock, _fmount, _fpathconf,
2283 _freadlink, _fremovexattr, _fs_snapshot_create, _fs_snapshot_delete,
2284 _fs_snapshot_list, _fs_snapshot_mount, _fs_snapshot_rename,
2285 _fs_snapshot_revert, _fs_snapshot_root, _fsctl, _fsetattrlist,
2286 _fsetxattr, _fsgetpath, _fsgetpath_ext, _fstat, _fstat64,
2287 _fstatat, _fstatat64, _fstatfs, _fstatfs64, _fstatfs_ext,
2288 _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount, _futimens,
2289 _futimes, _getattrlist, _getattrlistat, _getattrlistbulk,
2222 _exception_raise_state_identity, _exchangedata, _exclaves_aoe_enumerate_and_setup_services,
2223 _exclaves_aoe_get_all_service_infos, _exclaves_aoe_message_loop,
2224 _exclaves_aoe_message_loop_with_service_id, _exclaves_aoe_setup,
2225 _exclaves_aoe_work_loop, _exclaves_aoe_work_loop_with_service_id,
2226 _exclaves_arbitrated_buffer_copyout, _exclaves_arbitrated_buffer_create,
2227 _exclaves_audio_buffer_copyout, _exclaves_audio_buffer_copyout_with_status,
2228 _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_daemon_notification_deregister,
2229 _exclaves_daemon_notification_register, _exclaves_endpoint_call,
2230 _exclaves_inbound_buffer_copyin, _exclaves_inbound_buffer_create,
2231 _exclaves_indicator_min_on_time, _exclaves_launch_conclave,
2232 _exclaves_lookup_service, _exclaves_named_buffer_copyin, _exclaves_named_buffer_copyout,
2233 _exclaves_named_buffer_create, _exclaves_notification_create,
2234 _exclaves_outbound_buffer_copyout, _exclaves_outbound_buffer_create,
2235 _exclaves_sensor_create, _exclaves_sensor_start, _exclaves_sensor_status,
2236 _exclaves_sensor_stop, _execve, _faccessat, _fchdir, _fchflags,
2237 _fchmod, _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl,
2238 '_fcntl$NOCANCEL', _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr,
2239 _fhopen, _fileport_makefd, _fileport_makeport, _flistxattr,
2240 _flock, _fmount, _fpathconf, _freadlink, _fremovexattr, _fs_snapshot_create,
2241 _fs_snapshot_delete, _fs_snapshot_list, _fs_snapshot_mount,
2242 _fs_snapshot_rename, _fs_snapshot_revert, _fs_snapshot_root,
2243 _fsctl, _fsetattrlist, _fsetxattr, _fsgetpath, _fsgetpath_ext,
2244 _fstat, _fstat64, _fstatat, _fstatat64, _fstatfs, _fstatfs64,
2245 _fstatfs_ext, _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount,
2246 _futimens, _futimes, _getattrlist, _getattrlistat, _getattrlistbulk,
22902247 _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr,
22912248 _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat,
22922249 _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np,
......@@ -2332,12 +2289,12 @@ exports:
23322289 _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64,
23332290 _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts,
23342291 _mach_memory_entry_ownership, _mach_memory_entry_purgable_control,
2335 _mach_memory_info, _mach_memory_object_memory_entry, _mach_memory_object_memory_entry_64,
2336 _mach_msg, _mach_msg2_internal, _mach_msg2_trap, _mach_msg_destroy,
2337 _mach_msg_overwrite, _mach_msg_overwrite_trap, _mach_msg_priority_encode,
2338 _mach_msg_priority_is_pthread_priority, _mach_msg_priority_overide_qos,
2339 _mach_msg_priority_qos, _mach_msg_priority_relpri, _mach_msg_receive,
2340 _mach_msg_send, _mach_msg_server, _mach_msg_server_importance,
2292 _mach_memory_info, _mach_memory_info_redacted, _mach_memory_object_memory_entry,
2293 _mach_memory_object_memory_entry_64, _mach_msg, _mach_msg2_internal,
2294 _mach_msg2_trap, _mach_msg_destroy, _mach_msg_overwrite, _mach_msg_overwrite_trap,
2295 _mach_msg_priority_encode, _mach_msg_priority_is_pthread_priority,
2296 _mach_msg_priority_overide_qos, _mach_msg_priority_qos, _mach_msg_priority_relpri,
2297 _mach_msg_receive, _mach_msg_send, _mach_msg_server, _mach_msg_server_importance,
23412298 _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name,
23422299 _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed,
23432300 _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full,
......@@ -2369,7 +2326,7 @@ exports:
23692326 _mach_vm_msync, _mach_vm_page_info, _mach_vm_page_query, _mach_vm_page_range_query,
23702327 _mach_vm_protect, _mach_vm_purgable_control, _mach_vm_range_create,
23712328 _mach_vm_read, _mach_vm_read_list, _mach_vm_read_overwrite,
2372 _mach_vm_reclaim_copied_ring_free, _mach_vm_reclaim_copied_ring_query,
2329 _mach_vm_reallocate, _mach_vm_reclaim_copied_ring_free, _mach_vm_reclaim_copied_ring_query,
23732330 _mach_vm_reclaim_get_rings_for_task, _mach_vm_reclaim_is_reusable,
23742331 _mach_vm_reclaim_query_state, _mach_vm_reclaim_ring_allocate,
23752332 _mach_vm_reclaim_ring_capacity, _mach_vm_reclaim_ring_copy,
......@@ -2495,61 +2452,61 @@ exports:
24952452 _posix_spawnattr_set_platform_np, _posix_spawnattr_set_portlimits_ext,
24962453 _posix_spawnattr_set_ptrauth_task_port_np, _posix_spawnattr_set_qos_clamp_np,
24972454 _posix_spawnattr_set_registered_ports_np, _posix_spawnattr_set_subsystem_root_path_np,
2498 _posix_spawnattr_set_threadlimit_ext, _posix_spawnattr_set_uid_np,
2499 _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_setarchpref_np,
2500 _posix_spawnattr_setauditsessionport_np, _posix_spawnattr_setbinpref_np,
2501 _posix_spawnattr_setcoalition_np, _posix_spawnattr_setcpumonitor,
2502 _posix_spawnattr_setcpumonitor_default, _posix_spawnattr_setdataless_iopolicy_np,
2503 _posix_spawnattr_setexceptionports_np, _posix_spawnattr_setflags,
2504 _posix_spawnattr_setjetsam_ext, _posix_spawnattr_setmacpolicyinfo_np,
2505 _posix_spawnattr_setnosmt_np, _posix_spawnattr_setpcontrol_np,
2506 _posix_spawnattr_setpgroup, _posix_spawnattr_setprocesstype_np,
2507 _posix_spawnattr_setsigdefault, _posix_spawnattr_setsigmask,
2508 _posix_spawnattr_setspecialport_np, _pread, '_pread$NOCANCEL',
2509 _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits, _proc_clear_delayidlesleep,
2510 _proc_clear_dirty, _proc_clear_vmpressure, _proc_current_thread_schedinfo,
2511 _proc_denap_assertion_begin_with_msg, _proc_denap_assertion_complete,
2512 _proc_disable_apptype, _proc_disable_cpumon, _proc_disable_wakemon,
2513 _proc_donate_importance_boost, _proc_enable_apptype, _proc_get_cpumon_params,
2514 _proc_get_dirty, _proc_get_wakemon_params, _proc_importance_assertion_begin_with_msg,
2515 _proc_importance_assertion_complete, _proc_kmsgbuf, _proc_libversion,
2516 _proc_list_dynkqueueids, _proc_list_uptrs, _proc_listallpids,
2517 _proc_listchildpids, _proc_listcoalitions, _proc_listpgrppids,
2518 _proc_listpids, _proc_listpidspath, _proc_name, _proc_pid_rusage,
2519 _proc_piddynkqueueinfo, _proc_pidfdinfo, _proc_pidfileportinfo,
2520 _proc_pidinfo, _proc_pidoriginatorinfo, _proc_pidpath, _proc_pidpath_audittoken,
2521 _proc_regionfilename, _proc_reset_footprint_interval, _proc_resume_cpumon,
2522 _proc_rlimit_control, _proc_set_cpumon_defaults, _proc_set_cpumon_params,
2523 _proc_set_cpumon_params_fatal, _proc_set_csm, _proc_set_delayidlesleep,
2524 _proc_set_dirty, _proc_set_no_smt, _proc_set_owner_vmpressure,
2525 _proc_set_wakemon_defaults, _proc_set_wakemon_params, _proc_setcpu_percentage,
2526 _proc_setpcontrol, _proc_setthread_cpupercent, _proc_setthread_csm,
2527 _proc_setthread_no_smt, _proc_signal_delegate, _proc_signal_with_audittoken,
2528 _proc_suppress, _proc_terminate, _proc_terminate_all_rsr,
2529 _proc_terminate_delegate, _proc_terminate_with_audittoken,
2530 _proc_trace_log, _proc_track_dirty, _proc_udata_info, _proc_uuid_policy,
2531 _processor_assign, _processor_control, _processor_exit, _processor_get_assignment,
2532 _processor_info, _processor_set_create, _processor_set_default,
2533 _processor_set_destroy, _processor_set_info, _processor_set_max_priority,
2534 _processor_set_policy_control, _processor_set_policy_disable,
2535 _processor_set_policy_enable, _processor_set_stack_usage,
2536 _processor_set_statistics, _processor_set_tasks, _processor_set_tasks_with_flavor,
2537 _processor_set_threads, _processor_start, _pselect, '_pselect$DARWIN_EXTSN',
2538 '_pselect$DARWIN_EXTSN$NOCANCEL', '_pselect$NOCANCEL', _pthread_getugid_np,
2539 _pthread_setugid_np, _ptrace, _pwrite, '_pwrite$NOCANCEL',
2540 _pwritev, '_pwritev$NOCANCEL', _quota, _quotactl, _read, '_read$NOCANCEL',
2541 _readlink, _readlinkat, _readv, '_readv$NOCANCEL', _reboot,
2542 _reboot_np, _record_system_event_as_kernel, _recvfrom, '_recvfrom$NOCANCEL',
2543 _recvmsg, '_recvmsg$NOCANCEL', _recvmsg_x, _register_uexc_handler,
2544 _removexattr, _rename, _rename_ext, _renameat, _renameatx_np,
2545 _renamex_np, _revoke, _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN',
2546 '_select$DARWIN_EXTSN$NOCANCEL', '_select$NOCANCEL', _sem_close,
2547 _sem_destroy, _sem_getvalue, _sem_init, _sem_open, _sem_post,
2548 _sem_trywait, _sem_unlink, _sem_wait, '_sem_wait$NOCANCEL',
2549 _semaphore_create, _semaphore_destroy, _semaphore_signal,
2550 _semaphore_signal_all, _semaphore_signal_all_trap, _semaphore_signal_thread,
2551 _semaphore_signal_thread_trap, _semaphore_signal_trap, _semaphore_timedwait,
2552 _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap,
2455 _posix_spawnattr_set_telemetry_np, _posix_spawnattr_set_threadlimit_ext,
2456 _posix_spawnattr_set_uid_np, _posix_spawnattr_set_use_sec_transition_shims_np,
2457 _posix_spawnattr_setarchpref_np, _posix_spawnattr_setauditsessionport_np,
2458 _posix_spawnattr_setbinpref_np, _posix_spawnattr_setcoalition_np,
2459 _posix_spawnattr_setcpumonitor, _posix_spawnattr_setcpumonitor_default,
2460 _posix_spawnattr_setdataless_iopolicy_np, _posix_spawnattr_setexceptionports_np,
2461 _posix_spawnattr_setflags, _posix_spawnattr_setjetsam_ext,
2462 _posix_spawnattr_setmacpolicyinfo_np, _posix_spawnattr_setnosmt_np,
2463 _posix_spawnattr_setpcontrol_np, _posix_spawnattr_setpgroup,
2464 _posix_spawnattr_setprocesstype_np, _posix_spawnattr_setsigdefault,
2465 _posix_spawnattr_setsigmask, _posix_spawnattr_setspecialport_np,
2466 _pread, '_pread$NOCANCEL', _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits,
2467 _proc_clear_delayidlesleep, _proc_clear_dirty, _proc_clear_vmpressure,
2468 _proc_current_thread_schedinfo, _proc_denap_assertion_begin_with_msg,
2469 _proc_denap_assertion_complete, _proc_disable_apptype, _proc_disable_cpumon,
2470 _proc_disable_wakemon, _proc_donate_importance_boost, _proc_enable_apptype,
2471 _proc_get_cpumon_params, _proc_get_dirty, _proc_get_wakemon_params,
2472 _proc_importance_assertion_begin_with_msg, _proc_importance_assertion_complete,
2473 _proc_kmsgbuf, _proc_libversion, _proc_list_dynkqueueids,
2474 _proc_list_uptrs, _proc_listallpids, _proc_listchildpids,
2475 _proc_listcoalitions, _proc_listpgrppids, _proc_listpids,
2476 _proc_listpidspath, _proc_name, _proc_pid_rusage, _proc_piddynkqueueinfo,
2477 _proc_pidfdinfo, _proc_pidfileportinfo, _proc_pidinfo, _proc_pidoriginatorinfo,
2478 _proc_pidpath, _proc_pidpath_audittoken, _proc_regionfilename,
2479 _proc_reset_footprint_interval, _proc_resume_cpumon, _proc_rlimit_control,
2480 _proc_set_cpumon_defaults, _proc_set_cpumon_params, _proc_set_cpumon_params_fatal,
2481 _proc_set_csm, _proc_set_delayidlesleep, _proc_set_dirty,
2482 _proc_set_no_smt, _proc_set_owner_vmpressure, _proc_set_wakemon_defaults,
2483 _proc_set_wakemon_params, _proc_setcpu_percentage, _proc_setpcontrol,
2484 _proc_setthread_cpupercent, _proc_setthread_csm, _proc_setthread_no_smt,
2485 _proc_signal_delegate, _proc_signal_with_audittoken, _proc_suppress,
2486 _proc_terminate, _proc_terminate_all_rsr, _proc_terminate_delegate,
2487 _proc_terminate_with_audittoken, _proc_trace_log, _proc_track_dirty,
2488 _proc_udata_info, _proc_uuid_policy, _processor_assign, _processor_control,
2489 _processor_exit, _processor_get_assignment, _processor_info,
2490 _processor_set_create, _processor_set_default, _processor_set_destroy,
2491 _processor_set_info, _processor_set_max_priority, _processor_set_policy_control,
2492 _processor_set_policy_disable, _processor_set_policy_enable,
2493 _processor_set_stack_usage, _processor_set_statistics, _processor_set_tasks,
2494 _processor_set_tasks_with_flavor, _processor_set_threads,
2495 _processor_start, _pselect, '_pselect$DARWIN_EXTSN', '_pselect$DARWIN_EXTSN$NOCANCEL',
2496 '_pselect$NOCANCEL', _pthread_getugid_np, _pthread_setugid_np,
2497 _ptrace, _pwrite, '_pwrite$NOCANCEL', _pwritev, '_pwritev$NOCANCEL',
2498 _quota, _quotactl, _read, '_read$NOCANCEL', _readlink, _readlinkat,
2499 _readv, '_readv$NOCANCEL', _reboot, _reboot_np, _record_system_event_as_kernel,
2500 _recvfrom, '_recvfrom$NOCANCEL', _recvmsg, '_recvmsg$NOCANCEL',
2501 _recvmsg_x, _register_uexc_handler, _removexattr, _rename,
2502 _rename_ext, _renameat, _renameatx_np, _renamex_np, _revoke,
2503 _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', '_select$DARWIN_EXTSN$NOCANCEL',
2504 '_select$NOCANCEL', _sem_close, _sem_destroy, _sem_getvalue,
2505 _sem_init, _sem_open, _sem_post, _sem_trywait, _sem_unlink,
2506 _sem_wait, '_sem_wait$NOCANCEL', _semaphore_create, _semaphore_destroy,
2507 _semaphore_signal, _semaphore_signal_all, _semaphore_signal_all_trap,
2508 _semaphore_signal_thread, _semaphore_signal_thread_trap, _semaphore_signal_trap,
2509 _semaphore_timedwait, _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap,
25532510 _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal,
25542511 _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl,
25552512 _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL',
......@@ -2602,10 +2559,11 @@ exports:
26022559 _thread_get_mach_voucher, _thread_get_register_pointer_values,
26032560 _thread_get_special_port, _thread_get_special_reply_port,
26042561 _thread_get_state, _thread_info, _thread_policy, _thread_policy_get,
2605 _thread_policy_set, _thread_resume, _thread_sample, _thread_self_trap,
2606 _thread_selfcounts, _thread_set_exception_ports, _thread_set_mach_voucher,
2607 _thread_set_policy, _thread_set_special_port, _thread_set_state,
2608 _thread_suspend, _thread_swap_exception_ports, _thread_swap_mach_voucher,
2562 _thread_policy_set, _thread_resume, _thread_resume2, _thread_sample,
2563 _thread_self_trap, _thread_selfcounts, _thread_set_exception_ports,
2564 _thread_set_mach_voucher, _thread_set_policy, _thread_set_special_port,
2565 _thread_set_state, _thread_set_x86_64_compat, _thread_suspend,
2566 _thread_suspend2, _thread_swap_exception_ports, _thread_swap_mach_voucher,
26092567 _thread_switch, _thread_terminate, _thread_wire, _tracker_action,
26102568 _truncate, _umask, _undelete, _ungraftdmg, _unlink, _unlinkat,
26112569 _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _vm_allocate,
......@@ -2614,7 +2572,7 @@ exports:
26142572 _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query,
26152573 _vm_msync, _vm_page_mask, _vm_page_shift, _vm_page_size, _vm_pressure_monitor,
26162574 _vm_protect, _vm_purgable_control, _vm_read, _vm_read_list,
2617 _vm_read_overwrite, _vm_region_64, _vm_region_recurse_64,
2575 _vm_read_overwrite, _vm_reallocate, _vm_region_64, _vm_region_recurse_64,
26182576 _vm_remap, _vm_remap_new, _vm_wire, _vm_write, _voucher_mach_msg_adopt,
26192577 _voucher_mach_msg_clear, _voucher_mach_msg_revert, _voucher_mach_msg_set,
26202578 _vprintf_stderr_func, _wait4, _waitid, '_waitid$NOCANCEL',
......@@ -2633,16 +2591,17 @@ exports:
26332591 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
26342592 symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat,
26352593 ___stat, ___statfs, __current_pid, _mach_absolute_time_kernel,
2636 _mach_continuous_time_kernel ]
2594 _mach_continuous_time_kernel, _os_custom_x18_abi, _os_custom_x18_abi_get,
2595 _update_tpidr ]
26372596--- !tapi-tbd
26382597tbd-version: 4
26392598targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
2640 arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2599 arm64e-macos, arm64e-maccatalyst ]
26412600install-name: '/usr/lib/system/libsystem_m.dylib'
2642current-version: 3309
2601current-version: 3312.100.1
26432602parent-umbrella:
26442603 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
2645 arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2604 arm64e-macos, arm64e-maccatalyst ]
26462605 umbrella: System
26472606exports:
26482607 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ]
......@@ -2684,7 +2643,7 @@ exports:
26842643 __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16,
26852644 __simd_tgamma_f8 ]
26862645 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
2687 arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2646 arm64e-macos, arm64e-maccatalyst ]
26882647 symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16,
26892648 ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f,
26902649 ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16,
......@@ -2854,21 +2813,18 @@ exports:
28542813 '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off',
28552814 '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off',
28562815 '_truncf$fenv_access_off', '_truncl$fenv_access_off' ]
2857 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2816 - targets: [ arm64e-macos, arm64e-maccatalyst ]
28582817 symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ]
28592818--- !tapi-tbd
28602819tbd-version: 4
2861targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2862 arm64e-macos, arm64e-maccatalyst ]
2820targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
28632821install-name: '/usr/lib/system/libsystem_malloc.dylib'
2864current-version: 792.60.6
2822current-version: 812.100.31
28652823parent-umbrella:
2866 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2867 arm64e-macos, arm64e-maccatalyst ]
2824 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
28682825 umbrella: System
28692826exports:
2870 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2871 arm64e-macos, arm64e-maccatalyst ]
2827 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
28722828 symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init,
28732829 ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent,
28742830 __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override,
......@@ -2913,16 +2869,13 @@ exports:
29132869 _zeroify_scalable_zone ]
29142870--- !tapi-tbd
29152871tbd-version: 4
2916targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2917 arm64e-macos, arm64e-maccatalyst ]
2872targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
29182873install-name: '/usr/lib/system/libsystem_networkextension.dylib'
29192874parent-umbrella:
2920 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2921 arm64e-macos, arm64e-maccatalyst ]
2875 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
29222876 umbrella: System
29232877exports:
2924 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2925 arm64e-macos, arm64e-maccatalyst ]
2878 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
29262879 symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses,
29272880 _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID,
29282881 _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended,
......@@ -3005,17 +2958,14 @@ exports:
30052958 _nelog_is_info_logging_enabled ]
30062959--- !tapi-tbd
30072960tbd-version: 4
3008targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3009 arm64e-macos, arm64e-maccatalyst ]
2961targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
30102962install-name: '/usr/lib/system/libsystem_notify.dylib'
3011current-version: 344.0.1
2963current-version: 348.100.7
30122964parent-umbrella:
3013 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3014 arm64e-macos, arm64e-maccatalyst ]
2965 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
30152966 umbrella: System
30162967exports:
3017 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3018 arm64e-macos, arm64e-maccatalyst ]
2968 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
30192969 symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status,
30202970 _notify_get_event, _notify_get_state, _notify_is_valid_token,
30212971 _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check,
......@@ -3028,7 +2978,7 @@ tbd-version: 4
30282978targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
30292979 arm64e-macos, arm64e-maccatalyst ]
30302980install-name: '/usr/lib/system/libsystem_platform.dylib'
3031current-version: 359.60.3
2981current-version: 375.100.10
30322982parent-umbrella:
30332983 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
30342984 arm64e-macos, arm64e-maccatalyst ]
......@@ -3085,15 +3035,15 @@ exports:
30853035 _ffs, _ffsl, _ffsll, _fls, _flsl, _flsll, _getcontext, _longjmp,
30863036 _makecontext, _os_apt_msg_async_task_running_4swift, _os_apt_msg_async_task_waiting_on_4swift,
30873037 _os_lock_lock, _os_lock_trylock, _os_lock_unlock, _os_log_simple_now,
3088 _os_log_simple_type_from_asl, _os_security_config_get, _os_security_config_get_for_proc,
3089 _os_security_config_get_for_task, _os_sync_wait_on_address,
3090 _os_sync_wait_on_address_with_deadline, _os_sync_wait_on_address_with_timeout,
3091 _os_sync_wake_by_address_all, _os_sync_wake_by_address_any,
3092 _os_unfair_lock_assert_not_owner, _os_unfair_lock_assert_owner,
3093 _os_unfair_lock_lock, _os_unfair_lock_lock_no_tsd, _os_unfair_lock_lock_with_flags,
3094 _os_unfair_lock_lock_with_options, _os_unfair_lock_trylock,
3095 _os_unfair_lock_trylock_with_options, _os_unfair_lock_unlock,
3096 _os_unfair_lock_unlock_no_tsd, _os_unfair_recursive_lock_lock_with_options,
3038 _os_log_simple_type_from_asl, _os_script_config_storage, _os_security_config_get,
3039 _os_security_config_get_for_proc, _os_security_config_get_for_task,
3040 _os_sync_wait_on_address, _os_sync_wait_on_address_with_deadline,
3041 _os_sync_wait_on_address_with_timeout, _os_sync_wake_by_address_all,
3042 _os_sync_wake_by_address_any, _os_unfair_lock_assert_not_owner,
3043 _os_unfair_lock_assert_owner, _os_unfair_lock_lock, _os_unfair_lock_lock_no_tsd,
3044 _os_unfair_lock_lock_with_flags, _os_unfair_lock_lock_with_options,
3045 _os_unfair_lock_trylock, _os_unfair_lock_trylock_with_options,
3046 _os_unfair_lock_unlock, _os_unfair_lock_unlock_no_tsd, _os_unfair_recursive_lock_lock_with_options,
30973047 _os_unfair_recursive_lock_owned, _os_unfair_recursive_lock_trylock,
30983048 _os_unfair_recursive_lock_tryunlock4objc, _os_unfair_recursive_lock_unlock,
30993049 _os_unfair_recursive_lock_unlock_forked_child, _setcontext,
......@@ -3102,13 +3052,13 @@ exports:
31023052 _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ]
31033053 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
31043054 symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset,
3105 __ctx_done ]
3055 __ctx_done, _os_apt_msg_async_task_stopped_4swift ]
31063056--- !tapi-tbd
31073057tbd-version: 4
31083058targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
31093059 arm64e-macos, arm64e-maccatalyst ]
31103060install-name: '/usr/lib/system/libsystem_pthread.dylib'
3111current-version: 539
3061current-version: 539.100.4
31123062parent-umbrella:
31133063 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
31143064 arm64e-macos, arm64e-maccatalyst ]
......@@ -3201,17 +3151,14 @@ exports:
32013151 symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ]
32023152--- !tapi-tbd
32033153tbd-version: 4
3204targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3205 arm64e-macos, arm64e-maccatalyst ]
3154targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
32063155install-name: '/usr/lib/system/libsystem_sandbox.dylib'
3207current-version: 2680.60.11
3156current-version: 2680.100.174
32083157parent-umbrella:
3209 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3210 arm64e-macos, arm64e-maccatalyst ]
3158 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
32113159 umbrella: System
32123160exports:
3213 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3214 arm64e-macos, arm64e-maccatalyst ]
3161 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
32153162 symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ,
32163163 _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER,
32173164 _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW,
......@@ -3244,13 +3191,15 @@ exports:
32443191 _sandbox_check_by_audit_token, _sandbox_check_by_reference,
32453192 _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path,
32463193 _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string,
3247 _sandbox_check_process_signal_target, _sandbox_check_protected_app_container,
3248 _sandbox_check_self_signal_target, _sandbox_check_storage_class,
3249 _sandbox_check_with_attribution, _sandbox_consume_extension,
3250 _sandbox_consume_fs_extension, _sandbox_consume_mach_extension,
3251 _sandbox_container_path_for_audit_token, _sandbox_container_path_for_pid,
3252 _sandbox_enable_local_state_flag, _sandbox_enable_root_translation,
3253 _sandbox_enable_state_flag, _sandbox_extension_consume, _sandbox_extension_issue_file,
3194 _sandbox_check_network, _sandbox_check_process_signal_target,
3195 _sandbox_check_protected_app_container, _sandbox_check_self_signal_target,
3196 _sandbox_check_storage_class, _sandbox_check_with_attribution,
3197 _sandbox_checkattr_alloc, _sandbox_checkattr_disable_reporting,
3198 _sandbox_checkattr_free, _sandbox_consume_extension, _sandbox_consume_fs_extension,
3199 _sandbox_consume_mach_extension, _sandbox_container_path_for_audit_token,
3200 _sandbox_container_path_for_pid, _sandbox_enable_local_state_flag,
3201 _sandbox_enable_root_translation, _sandbox_enable_state_flag,
3202 _sandbox_extension_consume, _sandbox_extension_issue_file,
32543203 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid,
32553204 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic,
32563205 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid,
......@@ -3282,20 +3231,20 @@ exports:
32823231 _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container,
32833232 _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store,
32843233 _sandbox_unsuspend ]
3285 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
3234 - targets: [ x86_64-macos, arm64e-macos ]
32863235 symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT,
32873236 _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply,
32883237 _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free,
32893238 _rootless_manifest_parse, _rootless_preflight ]
32903239--- !tapi-tbd
32913240tbd-version: 4
3292targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
3241targets: [ x86_64-macos, arm64e-macos ]
32933242install-name: '/usr/lib/system/libsystem_sanitizers.dylib'
32943243parent-umbrella:
3295 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
3244 - targets: [ x86_64-macos, arm64e-macos ]
32963245 umbrella: System
32973246exports:
3298 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
3247 - targets: [ x86_64-macos, arm64e-macos ]
32993248 symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned,
33003249 ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison,
33013250 ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init,
......@@ -3322,32 +3271,26 @@ exports:
33223271 _sanitizers_testonly_get_shadow_address ]
33233272--- !tapi-tbd
33243273tbd-version: 4
3325targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3326 arm64e-macos, arm64e-maccatalyst ]
3274targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33273275install-name: '/usr/lib/system/libsystem_secinit.dylib'
3328current-version: 168.40.2
3276current-version: 168.100.7
33293277parent-umbrella:
3330 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3331 arm64e-macos, arm64e-maccatalyst ]
3278 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33323279 umbrella: System
33333280exports:
3334 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3335 arm64e-macos, arm64e-maccatalyst ]
3281 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33363282 symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user,
33373283 _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes,
33383284 _libsecinit_fileoperation_symlink ]
33393285--- !tapi-tbd
33403286tbd-version: 4
3341targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3342 arm64e-macos, arm64e-maccatalyst ]
3287targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33433288install-name: '/usr/lib/system/libsystem_symptoms.dylib'
33443289parent-umbrella:
3345 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3346 arm64e-macos, arm64e-maccatalyst ]
3290 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33473291 umbrella: System
33483292exports:
3349 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3350 arm64e-macos, arm64e-maccatalyst ]
3293 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33513294 symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition,
33523295 __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init,
33533296 _symptom_framework_set_version, _symptom_new, _symptom_send,
......@@ -3355,17 +3298,14 @@ exports:
33553298 _symptom_set_qualifier ]
33563299--- !tapi-tbd
33573300tbd-version: 4
3358targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3359 arm64e-macos, arm64e-maccatalyst ]
3301targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33603302install-name: '/usr/lib/system/libsystem_trace.dylib'
3361current-version: 1815.61.1
3303current-version: 1861.100.19
33623304parent-umbrella:
3363 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3364 arm64e-macos, arm64e-maccatalyst ]
3305 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33653306 umbrella: System
33663307exports:
3367 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3368 arm64e-macos, arm64e-maccatalyst ]
3308 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33693309 symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource,
33703310 _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource,
33713311 _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate,
......@@ -3443,29 +3383,26 @@ exports:
34433383 objc-classes: [ OS_os_log ]
34443384--- !tapi-tbd
34453385tbd-version: 4
3446targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
3386targets: [ x86_64-macos, arm64e-macos ]
34473387install-name: '/usr/lib/system/libsystem_trial.dylib'
3448current-version: 474.2
3388current-version: 474.2.18
34493389parent-umbrella:
3450 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
3390 - targets: [ x86_64-macos, arm64e-macos ]
34513391 umbrella: System
34523392exports:
3453 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
3393 - targets: [ x86_64-macos, arm64e-macos ]
34543394 symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_impl,
34553395 __os_trial_factor_has_impl ]
34563396--- !tapi-tbd
34573397tbd-version: 4
3458targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3459 arm64e-macos, arm64e-maccatalyst ]
3398targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34603399install-name: '/usr/lib/system/libunwind.dylib'
3461current-version: 1900.125
3400current-version: 2100.2
34623401parent-umbrella:
3463 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3464 arm64e-macos, arm64e-maccatalyst ]
3402 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34653403 umbrella: System
34663404exports:
3467 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3468 arm64e-macos, arm64e-maccatalyst ]
3405 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34693406 symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction,
34703407 __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA,
34713408 __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo,
......@@ -3481,21 +3418,16 @@ exports:
34813418 _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache,
34823419 _unw_local_addr_space, _unw_regname, _unw_resume, _unw_resume_with_frames_walked,
34833420 _unw_set_fpreg, _unw_set_reg, _unw_step ]
3484 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3485 symbols: [ ___unw_is_pointer_auth_enabled ]
34863421--- !tapi-tbd
34873422tbd-version: 4
3488targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3489 arm64e-macos, arm64e-maccatalyst ]
3423targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34903424install-name: '/usr/lib/system/libxpc.dylib'
3491current-version: 3089.60.7
3425current-version: 3102.100.102
34923426parent-umbrella:
3493 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3494 arm64e-macos, arm64e-maccatalyst ]
3427 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34953428 umbrella: System
34963429exports:
3497 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3498 arm64e-macos, arm64e-maccatalyst ]
3430 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34993431 symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN,
35003432 _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE,
35013433 _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE,
......@@ -3537,10 +3469,7 @@ exports:
35373469 __launch_job_query_routine, __launch_job_routine, __launch_job_routine_async,
35383470 __launch_msg2, __launch_server_test_routine, __launch_service_stats_copy_4ppse_impl,
35393471 __launch_service_stats_copy_impl, __launch_trial_factors_routine,
3540 __libxpc_initializer, __spawn_via_launchd, __system_ios_support_version_copy_string_sysctl,
3541 __system_version_copy_string_plist, __system_version_copy_string_sysctl,
3542 __system_version_fallback, __system_version_parse_string,
3543 __system_version_plist_path, __vproc_get_last_exit_status,
3472 __libxpc_initializer, __spawn_via_launchd, __vproc_get_last_exit_status,
35443473 __vproc_grab_subset, __vproc_kickstart_by_label, __vproc_log,
35453474 __vproc_log_error, __vproc_logv, __vproc_pid_is_managed, __vproc_post_fork_ping,
35463475 __vproc_send_signal_by_label, __vproc_set_global_on_demand,
......@@ -3623,7 +3552,8 @@ exports:
36233552 _launch_extension_property_path, _launch_extension_property_pid,
36243553 _launch_extension_property_version, _launch_extension_property_xpc_bundle,
36253554 _launch_get_fd, _launch_get_service_enabled, _launch_get_system_service_enabled,
3626 _launch_job_query_get_additional_job_properties, _launch_load_mounted_jetsam_properties,
3555 _launch_get_user_context, _launch_job_query_get_additional_job_properties,
3556 _launch_load_jetsam_properties_path, _launch_load_mounted_jetsam_properties,
36273557 _launch_msg, _launch_path_for_user_service_4coresim, _launch_perfcheck_property_endpoint_active,
36283558 _launch_perfcheck_property_endpoint_event, _launch_perfcheck_property_endpoint_name,
36293559 _launch_perfcheck_property_endpoint_needs_activation, _launch_perfcheck_property_endpoints,
lib/libc/include/any-darwin-any/AssertMacros.h+1-1
......@@ -134,7 +134,7 @@
134134 * If you do not define DEBUG_ASSERT_PRODUCTION_CODE, the default value 1 will be used
135135 * (production code = no assertion code and no messages).
136136 *
137 * If you are building with modules modules this must be defined via a commandline
137 * If you are building with modules this must be defined via a commandline
138138 * flag (i.e. -DDEBUG_ASSERT_PRODUCTION_CODE=1) in order to work correctly.
139139 */
140140#ifndef DEBUG_ASSERT_PRODUCTION_CODE
lib/libc/include/any-darwin-any/AvailabilityInternal.h+10-10
......@@ -37,11 +37,11 @@
3737 #if __has_builtin(__is_target_os)
3838 #if __is_target_os(macos)
3939 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_2
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4
4141 #endif
4242 #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
4343 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_2
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4
4545 #endif /* __has_builtin(__is_target_os) */
4646 #endif /* defined(__has_builtin) */
4747#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */
......@@ -51,11 +51,11 @@
5151 #if __has_builtin(__is_target_os)
5252 #if __is_target_os(ios)
5353 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_2
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4
5555 #endif
5656 #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
5757 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_2
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4
5959 #endif /* __has_builtin(__is_target_os) */
6060 #endif /* defined(__has_builtin) */
6161#endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */
......@@ -65,13 +65,13 @@
6565 #if __has_builtin(__is_target_os)
6666 #if __is_target_os(watchos)
6767 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_2
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4
6969 /* for compatibility with existing code. New code should use platform specific checks */
7070 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
7171 #endif
7272 #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
7373 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_2
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4
7575 /* for compatibility with existing code. New code should use platform specific checks */
7676 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
7777 #endif /* __has_builtin(__is_target_os) */
......@@ -83,13 +83,13 @@
8383 #if __has_builtin(__is_target_os)
8484 #if __is_target_os(tvos)
8585 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_2
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4
8787 /* for compatibility with existing code. New code should use platform specific checks */
8888 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
8989 #endif
9090 #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
9191 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_2
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4
9393 /* for compatibility with existing code. New code should use platform specific checks */
9494 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
9595 #endif /* __has_builtin(__is_target_os) */
......@@ -103,7 +103,7 @@
103103 #if __has_builtin(__is_target_os)
104104 #if __is_target_os(driverkit)
105105 #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_2
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_4
107107 #endif
108108 #endif /* __has_builtin(__is_target_os) */
109109 #endif /* defined(__has_builtin) */
......@@ -114,7 +114,7 @@
114114 #if __has_builtin(__is_target_os)
115115 #if __is_target_os(visionos)
116116 #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_2
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_4
118118 /* for compatibility with existing code. New code should use platform specific checks */
119119 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1
120120 #endif
lib/libc/include/any-darwin-any/AvailabilityInternalLegacy.h+1-1
......@@ -2801,7 +2801,7 @@
28012801 #if __has_builtin(__is_target_environment)
28022802 #if __has_builtin(__is_target_variant_os)
28032803 #if __has_builtin(__is_target_variant_environment)
2804 #if ((__is_target_arch(x86_64) || __is_target_arch(arm64) || __is_target_arch(arm64e)) && __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(macabi))
2804 #if __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(macabi)
28052805 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION __attribute__((availability(ios,introduced=4.0)))
28062806 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION_DEP__IPHONE_COMPAT_VERSION __attribute__((availability(ios,unavailable)))
28072807 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION_DEP__IPHONE_COMPAT_VERSION_MSG(_msg) __attribute__((availability(ios,unavailable)))
lib/libc/include/any-darwin-any/AvailabilityVersions.h+16
......@@ -99,6 +99,8 @@
9999#define __MAC_26_0 260000
100100#define __MAC_26_1 260100
101101#define __MAC_26_2 260200
102#define __MAC_26_3 260300
103#define __MAC_26_4 260400
102104/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
103105
104106#define __IPHONE_2_0 20000
......@@ -192,6 +194,8 @@
192194#define __IPHONE_26_0 260000
193195#define __IPHONE_26_1 260100
194196#define __IPHONE_26_2 260200
197#define __IPHONE_26_3 260300
198#define __IPHONE_26_4 260400
195199/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
196200
197201#define __WATCHOS_1_0 10000
......@@ -254,6 +258,8 @@
254258#define __WATCHOS_26_0 260000
255259#define __WATCHOS_26_1 260100
256260#define __WATCHOS_26_2 260200
261#define __WATCHOS_26_3 260300
262#define __WATCHOS_26_4 260400
257263/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
258264
259265#define __TVOS_9_0 90000
......@@ -316,6 +322,8 @@
316322#define __TVOS_26_0 260000
317323#define __TVOS_26_1 260100
318324#define __TVOS_26_2 260200
325#define __TVOS_26_3 260300
326#define __TVOS_26_4 260400
319327/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
320328
321329#define __BRIDGEOS_2_0 20000
......@@ -355,6 +363,8 @@
355363#define __BRIDGEOS_10_0 100000
356364#define __BRIDGEOS_10_1 100100
357365#define __BRIDGEOS_10_2 100200
366#define __BRIDGEOS_10_3 100300
367#define __BRIDGEOS_10_4 100400
358368
359369
360370#define __DRIVERKIT_19_0 190000
......@@ -381,6 +391,8 @@
381391#define __DRIVERKIT_25_0 250000
382392#define __DRIVERKIT_25_1 250100
383393#define __DRIVERKIT_25_2 250200
394#define __DRIVERKIT_25_3 250300
395#define __DRIVERKIT_25_4 250400
384396/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
385397
386398#define __VISIONOS_1_0 10000
......@@ -398,6 +410,8 @@
398410#define __VISIONOS_26_0 260000
399411#define __VISIONOS_26_1 260100
400412#define __VISIONOS_26_2 260200
413#define __VISIONOS_26_3 260300
414#define __VISIONOS_26_4 260400
401415/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
402416
403417
......@@ -490,6 +504,8 @@
490504#define MAC_OS_VERSION_26_0 __MAC_26_0
491505#define MAC_OS_VERSION_26_1 __MAC_26_1
492506#define MAC_OS_VERSION_26_2 __MAC_26_2
507#define MAC_OS_VERSION_26_3 __MAC_26_3
508#define MAC_OS_VERSION_26_4 __MAC_26_4
493509
494510#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */
495511
lib/libc/include/any-darwin-any/TargetConditionals.h+5-21
......@@ -337,27 +337,9 @@
337337#endif
338338
339339/*
340 * __is_target_arch based defines
340 * GCC and clang
341341 */
342#if defined(__has_builtin) && __has_builtin(__is_target_arch)
343 #if __is_target_arch(arm64) || __is_target_arch(arm64e) || __is_target_arch(arm64_32)
344 #define TARGET_CPU_ARM64 1
345 #elif __is_target_arch(arm)
346 #define TARGET_CPU_ARM 1
347 #elif __is_target_arch(x86_64)
348 #define TARGET_CPU_X86_64 1
349 #elif __is_target_arch(i386)
350 #define TARGET_CPU_X86 1
351 #else
352
353 #error unrecognized arch using compiler with __is_target_arch support
354
355 #endif
356
357/*
358 * GCC and older clang fallback
359 */
360#elif defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__) )
342#if defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__) )
361343 #if defined(__ppc__)
362344 #define TARGET_CPU_PPC 1
363345 #elif defined(__ppc64__)
......@@ -371,7 +353,9 @@
371353 #elif defined(__arm64__)
372354 #define TARGET_CPU_ARM64 1
373355 #else
374 #error unrecognized GNU C compiler
356
357 #error unrecognized GNU C compiler
358
375359 #endif
376360
377361/*
lib/libc/include/any-darwin-any/_regex.h+11-3
......@@ -151,9 +151,12 @@ typedef struct {
151151#define REG_MINIMAL 0100 /* Compile using minimal repetition */
152152#define REG_UNGREEDY REG_MINIMAL
153153#endif
154
155154#define REG_DUMP 0200 /* Unused */
156
155#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_26_4 \
156 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_26_4 \
157 || defined(__DRIVERKIT_VERSION_MIN_REQUIRED)
158#define REG_USEBYTES REG_DUMP /* Used internally by TRE */
159#endif
157160#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \
158161 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \
159162 || defined(__DRIVERKIT_VERSION_MIN_REQUIRED)
......@@ -184,6 +187,7 @@ typedef struct {
184187#define REG_ASSERT 15 /* Unused */
185188#define REG_INVARG 16 /* invalid argument to regex routine */
186189#define REG_ILLSEQ 17 /* illegal byte sequence */
190#define REG_BADMAX 18 /* maximum repetition exceeds RE_DUP_MAX */
187191
188192#define REG_ATOI 255 /* convert name to number (!) */
189193#define REG_ITOA 0400 /* convert number to name (!) */
......@@ -199,8 +203,12 @@ typedef struct {
199203#define REG_STARTEND 00004 /* String start/end in pmatch[0] */
200204#define REG_TRACE 00400 /* Unused */
201205#define REG_LARGE 01000 /* Unused */
206#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_26_4 \
207 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_26_4 \
208 || defined(__DRIVERKIT_VERSION_MIN_REQUIRED)
209#define REG_APPROX_MATCHER REG_LARGE /* Used internally by TRE */
210#endif
202211#define REG_BACKR 02000 /* force use of backref code */
203
204212#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \
205213 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \
206214 || defined(__DRIVERKIT_VERSION_MIN_REQUIRED)
lib/libc/include/any-darwin-any/copyfile.h+1
......@@ -98,6 +98,7 @@ typedef int (*copyfile_callback_t)(int, int, copyfile_state_t, const char *__uns
9898#define COPYFILE_METADATA (COPYFILE_SECURITY | COPYFILE_XATTR)
9999#define COPYFILE_ALL (COPYFILE_METADATA | COPYFILE_DATA)
100100
101#define COPYFILE_NOCACHE (1<<14) /* when using fcopyfile() force the fd to turn caching off */
101102#define COPYFILE_RECURSIVE (1<<15) /* Descend into hierarchies */
102103#define COPYFILE_CHECK (1<<16) /* return flags for xattr or acls if set */
103104#define COPYFILE_EXCL (1<<17) /* fail if destination exists */
lib/libc/include/any-darwin-any/dirent.h+32-2
......@@ -67,6 +67,7 @@
6767#include <sys/cdefs.h>
6868#include <Availability.h>
6969#include <sys/_pthread/_pthread_types.h> /* __darwin_pthread_mutex_t */
70#include <sys/_types/_size_t.h>
7071
7172_LIBC_SINGLE_BY_DEFAULT()
7273
......@@ -75,8 +76,8 @@ struct _telldir; /* forward reference */
7576/* structure describing an open directory. */
7677typedef struct {
7778 int __dd_fd; /* file descriptor associated with directory */
78 long __dd_loc; /* offset in current buffer */
79 long __dd_size; /* amount of data returned */
79 size_t __dd_loc; /* offset in current buffer */
80 size_t __dd_size; /* amount of data returned */
8081 char *_LIBC_COUNT(__dd_len) __dd_buf; /* data buffer */
8182 int __dd_len; /* size of data buffer */
8283 long __dd_seek; /* magic cookie returned */
......@@ -110,6 +111,7 @@ int closedir(DIR *) __DARWIN_ALIAS(closedir);
110111DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir);
111112
112113struct dirent *readdir(DIR *) __DARWIN_INODE64(readdir);
114__deprecated_msg("This function cannot be used safely as it does not take into account the variability of {NAME_MAX}. It is highly recommended that you use readdir(3) instead.")
113115int readdir_r(DIR *, struct dirent *, struct dirent **) __DARWIN_INODE64(readdir_r);
114116
115117void rewinddir(DIR *) __DARWIN_ALIAS_I(rewinddir);
......@@ -171,6 +173,34 @@ __END_DECLS
171173#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
172174__BEGIN_DECLS
173175
176int fdclosedir(DIR *)
177 __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4));
178
179int fdscandir(int, struct dirent ***,
180 int (*)(const struct dirent *), int (*)(const struct dirent **,
181 const struct dirent **))
182 __DARWIN_INODE64(fdscandir)
183 __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4));
184#ifdef __BLOCKS__
185int fdscandir_b(int, struct dirent ***,
186 int (^)(const struct dirent *) __scandir_noescape,
187 int (^)(const struct dirent **, const struct dirent **) __scandir_noescape)
188 __DARWIN_INODE64(fdscandir_b)
189 __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4));
190#endif
191int scandirat(int, const char *, struct dirent ***,
192 int (*)(const struct dirent *), int (*)(const struct dirent **,
193 const struct dirent **))
194 __DARWIN_INODE64(scandirat)
195 __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4));
196#ifdef __BLOCKS__
197int scandirat_b(int, const char *, struct dirent ***,
198 int (^)(const struct dirent *) __scandir_noescape,
199 int (^)(const struct dirent **, const struct dirent **) __scandir_noescape)
200 __DARWIN_INODE64(scandirat_b)
201 __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4));
202#endif
203
174204int getdirentries(int, char *_LIBC_COUNT(__nbytes), int __nbytes, long *)
175205
176206#if __DARWIN_64_BIT_INO_T
lib/libc/include/any-darwin-any/dispatch/base.h+8
......@@ -222,6 +222,12 @@
222222#define DISPATCH_COLD
223223#endif
224224
225#if __has_attribute(no_sanitize)
226#define DISPATCH_NO_UBSAN __attribute__((no_sanitize("undefined")))
227#else
228#define DISPATCH_NO_UBSAN
229#endif
230
225231#if __has_feature(assume_nonnull)
226232#define DISPATCH_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
227233#define DISPATCH_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
......@@ -305,11 +311,13 @@
305311
306312#if __has_feature(enumerator_attributes)
307313#define DISPATCH_ENUM_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
314#define DISPATCH_ENUM_SPI_AVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
308315#define DISPATCH_ENUM_API_DEPRECATED(...) API_DEPRECATED(__VA_ARGS__)
309316#define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...) \
310317 API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
311318#else
312319#define DISPATCH_ENUM_API_AVAILABLE(...)
320#define DISPATCH_ENUM_SPI_AVAILABLE(...)
313321#define DISPATCH_ENUM_API_DEPRECATED(...)
314322#define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...)
315323#endif
lib/libc/include/any-darwin-any/dispatch/dispatch_swift_shims.h+4-2
......@@ -38,7 +38,8 @@ DISPATCH_REFINED_FOR_SWIFT DISPATCH_SWIFT_NAME(DispatchSerialQueue.init(__label:
3838static inline dispatch_queue_serial_t
3939dispatch_serial_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label,
4040 dispatch_queue_attr_t _Nullable attr, dispatch_queue_t _Nullable target) {
41 return dispatch_queue_create_with_target(label, attr, target);
41 return (dispatch_queue_serial_t)
42 dispatch_queue_create_with_target(label, attr, target);
4243}
4344
4445DISPATCH_MALLOC DISPATCH_RETURNS_RETAINED DISPATCH_WARN_RESULT
......@@ -47,7 +48,8 @@ DISPATCH_REFINED_FOR_SWIFT DISPATCH_SWIFT_NAME(DispatchConcurrentQueue.init(__la
4748static inline dispatch_queue_concurrent_t
4849dispatch_concurrent_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label,
4950 dispatch_queue_attr_t _Nullable attr, dispatch_queue_t _Nullable target) {
50 return dispatch_queue_create_with_target(label, attr, target);
51 return (dispatch_queue_concurrent_t)
52 dispatch_queue_create_with_target(label, attr, target);
5153}
5254#endif
5355
lib/libc/include/any-darwin-any/dispatch/once.h+2-1
......@@ -76,6 +76,7 @@ dispatch_once(dispatch_once_t *predicate,
7676
7777#if DISPATCH_ONCE_INLINE_FASTPATH
7878DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL_ALL DISPATCH_NOTHROW
79DISPATCH_NO_UBSAN
7980DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead")
8081void
8182_dispatch_once(dispatch_once_t *predicate,
......@@ -102,7 +103,7 @@ dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context,
102103
103104#if DISPATCH_ONCE_INLINE_FASTPATH
104105DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL1 DISPATCH_NONNULL3
105DISPATCH_NOTHROW
106DISPATCH_NOTHROW DISPATCH_NO_UBSAN
106107DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead")
107108void
108109_dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context,
lib/libc/include/any-darwin-any/dispatch/workloop.h+2
......@@ -136,6 +136,7 @@ void
136136dispatch_workloop_set_autorelease_frequency(dispatch_workloop_t workloop,
137137 dispatch_autorelease_frequency_t frequency);
138138
139#ifdef __APPLE__
139140/*!
140141 * @function dispatch_workloop_set_os_workgroup
141142 *
......@@ -167,6 +168,7 @@ DISPATCH_REFINED_FOR_SWIFT
167168void
168169dispatch_workloop_set_os_workgroup(dispatch_workloop_t workloop,
169170 os_workgroup_t workgroup);
171#endif
170172
171173__END_DECLS
172174
lib/libc/include/any-darwin-any/glob.h+7-5
......@@ -55,14 +55,14 @@ typedef struct {
5555 int gl_flags; /* Copy of flags parameter to glob. */
5656 char *_LIBC_CSTR *_LIBC_COUNT(gl_matchc) gl_pathv; /* List of paths matching pattern. */
5757 /* Copy of errfunc parameter to glob. */
58#ifdef __BLOCKS__
5958 union {
60#endif /* __BLOCKS__ */
6159 int (*gl_errfunc)(const char *, int);
6260#ifdef __BLOCKS__
6361 int (^gl_errblk)(const char *, int);
62#else
63 void *gl_errblk;
64#endif
6465 };
65#endif /* __BLOCKS__ */
6666
6767 /*
6868 * Alternate filesystem access methods for glob; replacement
......@@ -107,9 +107,11 @@ typedef struct {
107107#define GLOB_QUOTE 0x0400 /* Quote special chars with \. */
108108#define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */
109109#define GLOB_LIMIT 0x1000 /* limit number of returned paths */
110#ifdef __BLOCKS__
110#ifdef __APPLE__
111111#define _GLOB_ERR_BLOCK 0x80000000 /* (internal) error callback is a block */
112#endif /* __BLOCKS__ */
112#else
113#define _GLOB_ERR_BLOCK 0x08000000 /* (internal) error callback is a block */
114#endif
113115
114116/* source compatibility, these are the old names */
115117#define GLOB_MAXPATH GLOB_LIMIT
lib/libc/include/any-darwin-any/mach-o/loader.h+3-3
......@@ -346,7 +346,7 @@ struct load_command {
346346#define LC_FUNCTION_VARIANTS 0x37 /* used with linkedit_data_command */
347347#define LC_FUNCTION_VARIANT_FIXUPS 0x38 /* used with linkedit_data_command */
348348#define LC_TARGET_TRIPLE 0x39 /* target triple used to compile */
349
349#define LC_LAZY_LOAD_DYLIB_INFO 0x3A /* used with linkedit_data_command */
350350
351351
352352/*
......@@ -1250,8 +1250,8 @@ struct linkedit_data_command {
12501250 LC_DYLIB_CODE_SIGN_DRS, LC_ATOM_INFO,
12511251 LC_LINKER_OPTIMIZATION_HINT,
12521252 LC_DYLD_EXPORTS_TRIE,
1253 LC_FUNCTION_VARIANTS, LC_FUNCTION_VARIANT_FIXUPS, or
1254 LC_DYLD_CHAINED_FIXUPS. */
1253 LC_FUNCTION_VARIANTS, LC_FUNCTION_VARIANT_FIXUPS,
1254 LC_DYLD_CHAINED_FIXUPS, or LC_LAZY_LOAD_DYLIB_INFO */
12551255 uint32_t cmdsize; /* sizeof(struct linkedit_data_command) */
12561256 uint32_t dataoff; /* file offset of data in __LINKEDIT segment */
12571257 uint32_t datasize; /* file size of data in __LINKEDIT segment */
lib/libc/include/any-darwin-any/mach/arm/_structs.h+1
......@@ -198,6 +198,7 @@ _STRUCT_ARM_THREAD_STATE64
198198#define __DARWIN_ARM_THREAD_STATE64_FLAGS_IB_SIGNED_LR 0x2
199199#define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_PC 0x4
200200#define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_LR 0x8
201#define __DARWIN_ARM_THREAD_STATE64_FLAGS_CUSTOM_X18_ABI 0x10
201202
202203#define __DARWIN_ARM_THREAD_STATE64_USER_DIVERSIFIER_MASK 0xff000000
203204
lib/libc/include/any-darwin-any/mach/arm/exception.h+1
......@@ -75,6 +75,7 @@
7575#define EXC_ARM_MTE_TAGCHECK_FAIL 0x106 /* MTE Tag Check failure */
7676#define EXC_ARM_MTE_CANONICAL_FAIL 0x107 /* MTE Canonical Tag access fail */
7777
78
7879/*
7980 * EXC_BREAKPOINT
8081 */
lib/libc/include/any-darwin-any/mach/arm/thread_status.h+1-1
......@@ -89,7 +89,7 @@
8989#define ARM_SME_ZA_STATE9 40
9090#define ARM_SME_ZA_STATE10 41
9191#define ARM_SME_ZA_STATE11 42
92#define ARM_SME_ZA_STATE12 42
92#define ARM_SME_ZA_STATE12 43
9393#define ARM_SME_ZA_STATE13 44
9494#define ARM_SME_ZA_STATE14 45
9595#define ARM_SME_ZA_STATE15 46
lib/libc/include/any-darwin-any/mach/kern_return.h+4
......@@ -339,6 +339,10 @@
339339/* A search or query operation did not return a result
340340 */
341341
342#define KERN_INVALID_GUARD_OBJECT_SLOT 57
343/* Access to an guarded object slot attempted
344 */
345
342346#define KERN_RETURN_MAX 0x100
343347/* Maximum return value allowable
344348 */
lib/libc/include/any-darwin-any/mach/mach_host.h+52-2
......@@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t;
5252#endif /* AUTOTEST */
5353
5454#ifndef mach_host_MSG_COUNT
55#define mach_host_MSG_COUNT 35
55#define mach_host_MSG_COUNT 36
5656#endif /* mach_host_MSG_COUNT */
5757
5858#include <Availability.h>
......@@ -443,6 +443,23 @@ kern_return_t mach_zone_info_for_zone
443443 mach_zone_info_t *info
444444);
445445
446/* Routine mach_memory_info_redacted */
447#ifdef mig_external
448mig_external
449#else
450extern
451#endif /* mig_external */
452kern_return_t mach_memory_info_redacted
453(
454 mach_port_t host,
455 mach_zone_name_array_t *names,
456 mach_msg_type_number_t *namesCnt,
457 mach_zone_info_array_t *info,
458 mach_msg_type_number_t *infoCnt,
459 mach_memory_info_array_t *memory_info,
460 mach_msg_type_number_t *memory_infoCnt
461);
462
446463__END_DECLS
447464
448465/********************** Caution **************************/
......@@ -787,6 +804,16 @@ __END_DECLS
787804#ifdef __MigPackStructs
788805#pragma pack(pop)
789806#endif
807
808#ifdef __MigPackStructs
809#pragma pack(push, 4)
810#endif
811 typedef struct {
812 mach_msg_header_t Head;
813 } __Request__mach_memory_info_redacted_t __attribute__((unused));
814#ifdef __MigPackStructs
815#pragma pack(pop)
816#endif
790817#endif /* !__Request__mach_host_subsystem__defined */
791818
792819/* union of all requests */
......@@ -821,6 +848,7 @@ union __RequestUnion__mach_host_subsystem {
821848 __Request__host_get_multiuser_config_flags_t Request_host_get_multiuser_config_flags;
822849 __Request__host_check_multiuser_mode_t Request_host_check_multiuser_mode;
823850 __Request__mach_zone_info_for_zone_t Request_mach_zone_info_for_zone;
851 __Request__mach_memory_info_redacted_t Request_mach_memory_info_redacted;
824852};
825853#endif /* !__RequestUnion__mach_host_subsystem__defined */
826854/* typedefs for all replies */
......@@ -1217,6 +1245,26 @@ union __RequestUnion__mach_host_subsystem {
12171245#ifdef __MigPackStructs
12181246#pragma pack(pop)
12191247#endif
1248
1249#ifdef __MigPackStructs
1250#pragma pack(push, 4)
1251#endif
1252 typedef struct {
1253 mach_msg_header_t Head;
1254 /* start of the kernel processed data */
1255 mach_msg_body_t msgh_body;
1256 mach_msg_ool_descriptor_t names;
1257 mach_msg_ool_descriptor_t info;
1258 mach_msg_ool_descriptor_t memory_info;
1259 /* end of the kernel processed data */
1260 NDR_record_t NDR;
1261 mach_msg_type_number_t namesCnt;
1262 mach_msg_type_number_t infoCnt;
1263 mach_msg_type_number_t memory_infoCnt;
1264 } __Reply__mach_memory_info_redacted_t __attribute__((unused));
1265#ifdef __MigPackStructs
1266#pragma pack(pop)
1267#endif
12201268#endif /* !__Reply__mach_host_subsystem__defined */
12211269
12221270/* union of all replies */
......@@ -1251,6 +1299,7 @@ union __ReplyUnion__mach_host_subsystem {
12511299 __Reply__host_get_multiuser_config_flags_t Reply_host_get_multiuser_config_flags;
12521300 __Reply__host_check_multiuser_mode_t Reply_host_check_multiuser_mode;
12531301 __Reply__mach_zone_info_for_zone_t Reply_mach_zone_info_for_zone;
1302 __Reply__mach_memory_info_redacted_t Reply_mach_memory_info_redacted;
12541303};
12551304#endif /* !__RequestUnion__mach_host_subsystem__defined */
12561305
......@@ -1282,7 +1331,8 @@ union __ReplyUnion__mach_host_subsystem {
12821331 { "host_set_multiuser_config_flags", 228 },\
12831332 { "host_get_multiuser_config_flags", 229 },\
12841333 { "host_check_multiuser_mode", 230 },\
1285 { "mach_zone_info_for_zone", 231 }
1334 { "mach_zone_info_for_zone", 231 },\
1335 { "mach_memory_info_redacted", 235 }
12861336#endif
12871337
12881338#ifdef __AfterMigUserHeader
lib/libc/include/any-darwin-any/mach/mach_traps.h+5-1
......@@ -299,7 +299,11 @@ extern kern_return_t debug_control_port_for_pid(
299299
300300extern mach_error_t mach_vm_reclaim_update_kernel_accounting_trap(
301301 mach_port_name_t target_tport,
302 uint64_t *bytes_reclaimed);
302 uint64_t *bytes_reclaimed,
303 uint64_t *next_deadline);
304
305extern kern_return_t thread_set_x86_64_compat(
306 uint32_t enable);
303307
304308
305309__END_DECLS
lib/libc/include/any-darwin-any/mach/mach_types.h+4
......@@ -126,6 +126,7 @@ typedef mach_port_t thread_t;
126126typedef mach_port_t thread_act_t;
127127typedef mach_port_t thread_inspect_t;
128128typedef mach_port_t thread_read_t;
129typedef mach_port_t thread_suspension_token_t;
129130typedef mach_port_t ipc_space_t;
130131typedef mach_port_t ipc_space_read_t;
131132typedef mach_port_t ipc_space_inspect_t;
......@@ -278,6 +279,9 @@ typedef unsigned int mach_thread_flavor_t;
278279typedef natural_t ledger_item_t;
279280#define LEDGER_ITEM_INFINITY ((ledger_item_t) (~0))
280281
282typedef uint32_t ledger_entry_id_t;
283#define LEDGER_ENTRY_ID_INVALID ((ledger_entry_id_t)0)
284
281285typedef int64_t ledger_amount_t;
282286#define LEDGER_LIMIT_INFINITY ((ledger_amount_t)((1ULL << 63) - 1))
283287
lib/libc/include/any-darwin-any/mach/mach_voucher_types.h+9
......@@ -136,6 +136,15 @@ typedef mach_voucher_attr_recipe_command_t *mach_voucher_attr_recipe_command_arr
136136#define MACH_VOUCHER_ATTR_AUTO_REDEEM ((mach_voucher_attr_recipe_command_t)4)
137137#define MACH_VOUCHER_ATTR_SEND_PREPROCESS ((mach_voucher_attr_recipe_command_t)5)
138138
139#if __BUILDING_XNU_LIB_UNITTEST__
140/*
141 * These are test-only voucher commands exposed so we have a means to
142 * unit test 'allowed voucher command' and 'disallowed voucher command' logic.
143 */
144#define MACH_VOUCHER_ATTR_UNIT_TEST_VECTOR_ALLOWED ((mach_voucher_attr_recipe_command_t)6)
145#define MACH_VOUCHER_ATTR_UNIT_TEST_VECTOR_DISALLOWED ((mach_voucher_attr_recipe_command_t)7)
146#endif /* __BUILDING_XNU_LIB_UNITTEST__ */
147
139148/* redeem is on its way out? */
140149#define MACH_VOUCHER_ATTR_REDEEM ((mach_voucher_attr_recipe_command_t)10)
141150
lib/libc/include/any-darwin-any/mach/machine.h+1
......@@ -410,6 +410,7 @@ typedef integer_t cpu_threadtype_t;
410410#define CPUFAMILY_ARM_TAHITI 0x75d4acb9
411411#define CPUFAMILY_ARM_TUPAI 0x204526d0
412412#define CPUFAMILY_ARM_HIDRA 0x1d5a87e8
413#define CPUFAMILY_ARM_SOTRA 0xf76c5b1a
413414#define CPUFAMILY_ARM_THERA 0xab345f09
414415#define CPUFAMILY_ARM_TILOS 0x01d7a72b
415416
lib/libc/include/any-darwin-any/mach/message.h+21
......@@ -296,6 +296,7 @@ typedef struct {
296296 unsigned int pad3 : 24;
297297 mach_msg_descriptor_type_t type : 8;
298298} mach_msg_type_descriptor_t;
299xnu_static_assert_struct_size(mach_msg_type_descriptor_t, 12);
299300
300301typedef struct {
301302 mach_port_t name;
......@@ -304,6 +305,7 @@ typedef struct {
304305 mach_msg_type_name_t disposition : 8;
305306 mach_msg_descriptor_type_t type : 8;
306307} mach_msg_port_descriptor_t;
308xnu_static_assert_struct_size_kernel_user(mach_msg_port_descriptor_t, 16, 12);
307309
308310
309311typedef struct {
......@@ -314,6 +316,7 @@ typedef struct {
314316 unsigned int pad1: 8;
315317 mach_msg_descriptor_type_t type: 8;
316318} mach_msg_ool_descriptor32_t;
319xnu_static_assert_struct_size(mach_msg_ool_descriptor32_t, 12);
317320
318321typedef struct {
319322 uint64_t address;
......@@ -323,6 +326,7 @@ typedef struct {
323326 mach_msg_descriptor_type_t type: 8;
324327 mach_msg_size_t size;
325328} mach_msg_ool_descriptor64_t;
329xnu_static_assert_struct_size(mach_msg_ool_descriptor64_t, 16);
326330
327331typedef struct {
328332 void *address;
......@@ -337,6 +341,7 @@ typedef struct {
337341 mach_msg_size_t size;
338342#endif
339343} mach_msg_ool_descriptor_t;
344xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_ool_descriptor_t, 16, 16, 12);
340345
341346typedef struct {
342347 uint32_t address;
......@@ -346,6 +351,7 @@ typedef struct {
346351 mach_msg_type_name_t disposition : 8;
347352 mach_msg_descriptor_type_t type : 8;
348353} mach_msg_ool_ports_descriptor32_t;
354xnu_static_assert_struct_size(mach_msg_ool_descriptor32_t, 12);
349355
350356typedef struct {
351357 uint64_t address;
......@@ -355,6 +361,7 @@ typedef struct {
355361 mach_msg_descriptor_type_t type : 8;
356362 mach_msg_size_t count;
357363} mach_msg_ool_ports_descriptor64_t;
364xnu_static_assert_struct_size(mach_msg_ool_ports_descriptor64_t, 16);
358365
359366typedef struct {
360367 void *address;
......@@ -369,6 +376,7 @@ typedef struct {
369376 mach_msg_size_t count;
370377#endif
371378} mach_msg_ool_ports_descriptor_t;
379xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_ool_ports_descriptor_t, 16, 16, 12);
372380
373381typedef struct {
374382 uint32_t context;
......@@ -377,6 +385,7 @@ typedef struct {
377385 mach_msg_type_name_t disposition : 8;
378386 mach_msg_descriptor_type_t type : 8;
379387} mach_msg_guarded_port_descriptor32_t;
388xnu_static_assert_struct_size(mach_msg_guarded_port_descriptor32_t, 12);
380389
381390typedef struct {
382391 uint64_t context;
......@@ -385,6 +394,7 @@ typedef struct {
385394 mach_msg_descriptor_type_t type : 8;
386395 mach_port_name_t name;
387396} mach_msg_guarded_port_descriptor64_t;
397xnu_static_assert_struct_size(mach_msg_guarded_port_descriptor64_t, 16);
388398
389399typedef struct {
390400 mach_port_context_t context;
......@@ -398,6 +408,7 @@ typedef struct {
398408 mach_port_name_t name;
399409#endif /* defined(__LP64__) */
400410} mach_msg_guarded_port_descriptor_t;
411xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_guarded_port_descriptor_t, 16, 16, 12);
401412
402413/*
403414 * LP64support - This union definition is not really
......@@ -411,10 +422,12 @@ typedef union {
411422 mach_msg_type_descriptor_t type;
412423 mach_msg_guarded_port_descriptor_t guarded_port;
413424} mach_msg_descriptor_t;
425xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_descriptor_t, 16, 16, 12);
414426
415427typedef struct {
416428 mach_msg_size_t msgh_descriptor_count;
417429} mach_msg_body_t;
430xnu_static_assert_struct_size(mach_msg_body_t, 4);
418431
419432#define MACH_MSG_BODY_NULL ((mach_msg_body_t *) 0)
420433#define MACH_MSG_DESCRIPTOR_NULL ((mach_msg_descriptor_t *) 0)
......@@ -427,6 +440,7 @@ typedef struct {
427440 mach_port_name_t msgh_voucher_port;
428441 mach_msg_id_t msgh_id;
429442} mach_msg_header_t;
443xnu_static_assert_struct_size_kernel_user(mach_msg_header_t, 32, 24);
430444
431445
432446#define msgh_reserved msgh_voucher_port
......@@ -436,6 +450,7 @@ typedef struct {
436450 mach_msg_header_t header;
437451 mach_msg_body_t body;
438452} mach_msg_base_t;
453xnu_static_assert_struct_size_kernel_user(mach_msg_base_t, 36, 28);
439454
440455
441456typedef unsigned int mach_msg_trailer_type_t;
......@@ -449,6 +464,7 @@ typedef struct {
449464 mach_msg_trailer_type_t msgh_trailer_type;
450465 mach_msg_trailer_size_t msgh_trailer_size;
451466} mach_msg_trailer_t;
467xnu_static_assert_struct_size(mach_msg_trailer_t, 8);
452468
453469/*
454470 * The msgh_seqno field carries a sequence number
......@@ -464,6 +480,7 @@ typedef struct {
464480 mach_msg_trailer_size_t msgh_trailer_size;
465481 mach_port_seqno_t msgh_seqno;
466482} mach_msg_seqno_trailer_t;
483xnu_static_assert_struct_size(mach_msg_seqno_trailer_t, 12);
467484
468485typedef struct {
469486 unsigned int val[2];
......@@ -475,6 +492,7 @@ typedef struct {
475492 mach_port_seqno_t msgh_seqno;
476493 security_token_t msgh_sender;
477494} mach_msg_security_trailer_t;
495xnu_static_assert_struct_size(mach_msg_security_trailer_t, 20);
478496
479497/*
480498 * The audit token is an opaque token which identifies
......@@ -512,6 +530,7 @@ typedef struct {
512530 security_token_t msgh_sender;
513531 audit_token_t msgh_audit;
514532} mach_msg_audit_trailer_t;
533xnu_static_assert_struct_size(mach_msg_audit_trailer_t, 52);
515534
516535typedef struct {
517536 mach_msg_trailer_type_t msgh_trailer_type;
......@@ -521,6 +540,7 @@ typedef struct {
521540 audit_token_t msgh_audit;
522541 mach_port_context_t msgh_context;
523542} mach_msg_context_trailer_t;
543xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_context_trailer_t, 60, 60, 56);
524544
525545
526546
......@@ -546,6 +566,7 @@ typedef struct {
546566 mach_msg_filter_id msgh_ad;
547567 msg_labels_t msgh_labels;
548568} mach_msg_mac_trailer_t;
569xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_mac_trailer_t, 68, 68, 64);
549570
550571
551572#define MACH_MSG_TRAILER_MINIMUM_SIZE sizeof(mach_msg_trailer_t)
lib/libc/include/any-darwin-any/mach/port.h+48-11
......@@ -91,6 +91,29 @@
9191#include <mach/boolean.h>
9292#include <mach/machine/vm_types.h>
9393
94/*
95 * Helpers to declare and lock down the expected size for structures.
96 * Some structures must remain a constant size due to performance or ABI implications.
97 * It's not necessarily an issue if you need to bump a size passed to these macros: act judiciously.
98 */
99#if __arm64__
100#define xnu_static_assert_struct_size(name, expected_size) _Static_assert(\
101 sizeof(name) == expected_size, "struct changed size unexpectedly")
102#else /* __arm64__ */
103/* Don't bother trying to lock down structure sizes on !__arm64__ */
104#define xnu_static_assert_struct_size(name, expected_size) _Static_assert(0 == 0, "no-op assert")
105#endif /* __arm64__ */
106
107#define xnu_static_assert_struct_size_kernel_user(name, expected_kernel_size, expected_user_size) \
108 xnu_static_assert_struct_size(name, expected_user_size)
109#ifdef __LP64__
110#define xnu_static_assert_struct_size_kernel_user64_user32(name, _kern_size, expected_user64_size, _u32_size) \
111 xnu_static_assert_struct_size(name, expected_user64_size)
112#else /* __LP64__ */
113#define xnu_static_assert_struct_size_kernel_user64_user32(name, _kern_size, _u64_size, expected_user32_size) \
114 xnu_static_assert_struct_size(name, expected_user32_size)
115#endif /* __LP64__ */
116
94117/*
95118 * mach_port_name_t - the local identity for a Mach port
96119 *
......@@ -341,8 +364,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
341364 */
342365#define MACH_PORT_CONNECTION_PORT_WITH_PORT_ARRAY "com.apple.developer.allow-connection-port-with-port-array"
343366
344/* Allows 1p process to create provisional reply port (to be rename to weak reply port) */
345#define MACH_PORT_PROVISIONAL_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port"
367/* Allows 1p process to create weak reply port */
368#define MACH_PORT_WEAK_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port"
346369
347370/*
348371 * Flags for mach_port_options (used for
......@@ -387,7 +410,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
387410 #define MPO_SERVICE_PORT MPO_SERVICE_PORT
388411 #define MPO_CONNECTION_PORT MPO_CONNECTION_PORT
389412 #define MPO_REPLY_PORT MPO_REPLY_PORT
390 #define MPO_PROVISIONAL_REPLY_PORT MPO_PROVISIONAL_REPLY_PORT
413 #define MPO_WEAK_REPLY_PORT MPO_WEAK_REPLY_PORT
414 #define MPO_NOTIFICATION_PORT MPO_NOTIFICATION_PORT
391415 #define MPO_EXCEPTION_PORT MPO_EXCEPTION_PORT
392416 #define MPO_CONNECTION_PORT_WITH_PORT_ARRAY MPO_CONNECTION_PORT_WITH_PORT_ARRAY
393417__options_decl(mpo_flags_t, uint32_t, {
......@@ -399,13 +423,19 @@ __options_decl(mpo_flags_t, uint32_t, {
399423 MPO_CONNECTION_PORT = MPO_MAKE_PORT_TYPE(0, 2), /* 0x800 */
400424 /* Designate port as a reply port */
401425 MPO_REPLY_PORT = MPO_MAKE_PORT_TYPE(0, 4), /* 0x1000 */
402 /* Designate port as a provisional (fake) reply port */
403 MPO_PROVISIONAL_REPLY_PORT = MPO_MAKE_PORT_TYPE(1, 0), /* 0x4000 */
426 /* Designate port as a weak (fake) reply port */
427 MPO_WEAK_REPLY_PORT = MPO_MAKE_PORT_TYPE(1, 0), /* 0x4000 */
428 /* Designate port as a notification port */
429 MPO_NOTIFICATION_PORT = MPO_MAKE_PORT_TYPE(1, 1), /* 0x4400 */
404430 /* Used for hardened exceptions - immovable */
405431 MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */
406432 /* Can receive OOL port array descriptors */
407433 MPO_CONNECTION_PORT_WITH_PORT_ARRAY = MPO_MAKE_PORT_TYPE(4, 0), /* 0x10000 */
408434});
435
436/* For bincompat: weak reply port used to be called provisional reply port */
437#define MPO_PROVISIONAL_REPLY_PORT MPO_WEAK_REPLY_PORT
438
409439#define MPO_UNUSED_BITS ~(MPO_OPTIONS_MASK | MPO_PORT_TYPE_MASK)
410440
411441/* Denotes an anonymous service */
......@@ -455,7 +485,7 @@ enum mach_port_guard_exception_codes {
455485 kGUARD_EXC_SET_CONTEXT = 4,
456486 kGUARD_EXC_THREAD_SET_STATE = 5,
457487 kGUARD_EXC_EXCEPTION_BEHAVIOR_ENFORCE = 6,
458 kGUARD_EXC_SERVICE_PORT_VIOLATION_FATAL = 7, /* unused, for future sp defense enablement */
488 kGUARD_EXC_SERVICE_PORT_VIOLATION_FATAL = 7,
459489 kGUARD_EXC_UNGUARDED = 8,
460490 kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9,
461491 kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS = 10,
......@@ -465,7 +495,7 @@ enum mach_port_guard_exception_codes {
465495 kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65,
466496 kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66,
467497 kGUARD_EXC_DESCRIPTOR_VIOLATION = 67,
468 kGUARD_EXC_MSG_FILTERED = 128,
498 kGUARD_EXC_MSG_FILTERED = 128,
469499 /* start of [optionally] non-fatal guards */
470500 kGUARD_EXC_INVALID_RIGHT = 256,
471501 kGUARD_EXC_INVALID_NAME = 512,
......@@ -481,18 +511,25 @@ enum mach_port_guard_exception_codes {
481511 kGUARD_EXC_RCV_INVALID_NAME = 1u << 19,
482512 /* start of always non-fatal guards */
483513 kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */
484 kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused, for future sp defense enablement */
485 kGUARD_EXC_PROVISIONAL_REPLY_PORT = 0x00100002, /* unused */
514 kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused */
515 kGUARD_EXC_INVALID_NOTIFICATION_PORT = 0x00100006,
516 kGUARD_EXC_MACH_EXC_THREAD_SET_STATE = 0x00100007,
517 kGUARD_EXC_CV_NOTIFICATION_PORT_REQ = 0x00100008,
518 kGUARD_EXC_WEAK_REPLY_PORT = 0x00100002, /* unused */
486519 kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */
487 kGUARD_EXC_MOVE_PROVISIONAL_REPLY_PORT = 0x00100004,
520 kGUARD_EXC_MOVE_WEAK_REPLY_PORT = 0x00100004,
488521 kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005,
489522 kGUARD_EXC_MOD_REFS_NON_FATAL = 1u << 21,
490 kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22, /* unused*/
523 kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22, /* unused */
491524};
492525
493526#define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED
494527#define MAX_OPTIONAL_kGUARD_EXC_CODE kGUARD_EXC_RCV_INVALID_NAME
495528
529/* Temporary! Should be removed after rdar://166892063 */
530#define kGUARD_EXC_PROVISIONAL_REPLY_PORT kGUARD_EXC_WEAK_REPLY_PORT
531#define kGUARD_EXC_MOVE_PROVISIONAL_REPLY_PORT kGUARD_EXC_MOVE_WEAK_REPLY_PORT
532
496533
497534/*
498535 * Mach port guard flags.
lib/libc/include/any-darwin-any/mach/thread_act.h+79-2
......@@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t;
5252#endif /* AUTOTEST */
5353
5454#ifndef thread_act_MSG_COUNT
55#define thread_act_MSG_COUNT 32
55#define thread_act_MSG_COUNT 34
5656#endif /* thread_act_MSG_COUNT */
5757
5858#include <Availability.h>
......@@ -509,6 +509,31 @@ kern_return_t thread_adopt_exception_handler
509509 thread_state_flavor_t flavor_mask
510510);
511511
512/* Routine thread_suspend2 */
513#ifdef mig_external
514mig_external
515#else
516extern
517#endif /* mig_external */
518__WATCHOS_PROHIBITED
519kern_return_t thread_suspend2
520(
521 thread_read_t target_act,
522 mach_port_t *suspend_token
523);
524
525/* Routine thread_resume2 */
526#ifdef mig_external
527mig_external
528#else
529extern
530#endif /* mig_external */
531__WATCHOS_PROHIBITED
532kern_return_t thread_resume2
533(
534 mach_port_t suspend_token
535);
536
512537__END_DECLS
513538
514539/********************** Caution **************************/
......@@ -939,6 +964,26 @@ __END_DECLS
939964#ifdef __MigPackStructs
940965#pragma pack(pop)
941966#endif
967
968#ifdef __MigPackStructs
969#pragma pack(push, 4)
970#endif
971 typedef struct {
972 mach_msg_header_t Head;
973 } __Request__thread_suspend2_t __attribute__((unused));
974#ifdef __MigPackStructs
975#pragma pack(pop)
976#endif
977
978#ifdef __MigPackStructs
979#pragma pack(push, 4)
980#endif
981 typedef struct {
982 mach_msg_header_t Head;
983 } __Request__thread_resume2_t __attribute__((unused));
984#ifdef __MigPackStructs
985#pragma pack(pop)
986#endif
942987#endif /* !__Request__thread_act_subsystem__defined */
943988
944989/* union of all requests */
......@@ -977,6 +1022,8 @@ union __RequestUnion__thread_act_subsystem {
9771022 __Request__thread_convert_thread_state_t Request_thread_convert_thread_state;
9781023 __Request__thread_get_exception_ports_info_t Request_thread_get_exception_ports_info;
9791024 __Request__thread_adopt_exception_handler_t Request_thread_adopt_exception_handler;
1025 __Request__thread_suspend2_t Request_thread_suspend2;
1026 __Request__thread_resume2_t Request_thread_resume2;
9801027};
9811028#endif /* !__RequestUnion__thread_act_subsystem__defined */
9821029/* typedefs for all replies */
......@@ -1393,6 +1440,32 @@ union __RequestUnion__thread_act_subsystem {
13931440#ifdef __MigPackStructs
13941441#pragma pack(pop)
13951442#endif
1443
1444#ifdef __MigPackStructs
1445#pragma pack(push, 4)
1446#endif
1447 typedef struct {
1448 mach_msg_header_t Head;
1449 /* start of the kernel processed data */
1450 mach_msg_body_t msgh_body;
1451 mach_msg_port_descriptor_t suspend_token;
1452 /* end of the kernel processed data */
1453 } __Reply__thread_suspend2_t __attribute__((unused));
1454#ifdef __MigPackStructs
1455#pragma pack(pop)
1456#endif
1457
1458#ifdef __MigPackStructs
1459#pragma pack(push, 4)
1460#endif
1461 typedef struct {
1462 mach_msg_header_t Head;
1463 NDR_record_t NDR;
1464 kern_return_t RetCode;
1465 } __Reply__thread_resume2_t __attribute__((unused));
1466#ifdef __MigPackStructs
1467#pragma pack(pop)
1468#endif
13961469#endif /* !__Reply__thread_act_subsystem__defined */
13971470
13981471/* union of all replies */
......@@ -1431,6 +1504,8 @@ union __ReplyUnion__thread_act_subsystem {
14311504 __Reply__thread_convert_thread_state_t Reply_thread_convert_thread_state;
14321505 __Reply__thread_get_exception_ports_info_t Reply_thread_get_exception_ports_info;
14331506 __Reply__thread_adopt_exception_handler_t Reply_thread_adopt_exception_handler;
1507 __Reply__thread_suspend2_t Reply_thread_suspend2;
1508 __Reply__thread_resume2_t Reply_thread_resume2;
14341509};
14351510#endif /* !__RequestUnion__thread_act_subsystem__defined */
14361511
......@@ -1466,7 +1541,9 @@ union __ReplyUnion__thread_act_subsystem {
14661541 { "thread_swap_mach_voucher", 3627 },\
14671542 { "thread_convert_thread_state", 3628 },\
14681543 { "thread_get_exception_ports_info", 3630 },\
1469 { "thread_adopt_exception_handler", 3631 }
1544 { "thread_adopt_exception_handler", 3631 },\
1545 { "thread_suspend2", 3632 },\
1546 { "thread_resume2", 3633 }
14701547#endif
14711548
14721549#ifdef __AfterMigUserHeader
lib/libc/include/any-darwin-any/mach/vm_map.h+54-2
......@@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t;
5252#endif /* AUTOTEST */
5353
5454#ifndef vm_map_MSG_COUNT
55#define vm_map_MSG_COUNT 33
55#define vm_map_MSG_COUNT 34
5656#endif /* vm_map_MSG_COUNT */
5757
5858#include <Availability.h>
......@@ -517,6 +517,24 @@ kern_return_t vm_remap_new
517517 vm_inherit_t inheritance
518518);
519519
520/* Routine vm_reallocate */
521#ifdef mig_external
522mig_external
523#else
524extern
525#endif /* mig_external */
526kern_return_t vm_reallocate
527(
528 vm_map_t target_task,
529 vm_address_t src,
530 vm_size_t src_size,
531 vm_address_t *dst,
532 vm_size_t dst_size,
533 vm_offset_t align_mask,
534 int options,
535 int flags
536);
537
520538__END_DECLS
521539
522540/********************** Caution **************************/
......@@ -972,6 +990,24 @@ __END_DECLS
972990#ifdef __MigPackStructs
973991#pragma pack(pop)
974992#endif
993
994#ifdef __MigPackStructs
995#pragma pack(push, 4)
996#endif
997 typedef struct {
998 mach_msg_header_t Head;
999 NDR_record_t NDR;
1000 vm_address_t src;
1001 vm_size_t src_size;
1002 vm_address_t dst;
1003 vm_size_t dst_size;
1004 vm_offset_t align_mask;
1005 int options;
1006 int flags;
1007 } __Request__vm_reallocate_t __attribute__((unused));
1008#ifdef __MigPackStructs
1009#pragma pack(pop)
1010#endif
9751011#endif /* !__Request__vm_map_subsystem__defined */
9761012
9771013/* union of all requests */
......@@ -1008,6 +1044,7 @@ union __RequestUnion__vm_map_subsystem {
10081044 __Request__vm_purgable_control_t Request_vm_purgable_control;
10091045 __Request__vm_map_exec_lockdown_t Request_vm_map_exec_lockdown;
10101046 __Request__vm_remap_new_t Request_vm_remap_new;
1047 __Request__vm_reallocate_t Request_vm_reallocate;
10111048};
10121049#endif /* !__RequestUnion__vm_map_subsystem__defined */
10131050/* typedefs for all replies */
......@@ -1427,6 +1464,19 @@ union __RequestUnion__vm_map_subsystem {
14271464#ifdef __MigPackStructs
14281465#pragma pack(pop)
14291466#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 vm_address_t dst;
1476 } __Reply__vm_reallocate_t __attribute__((unused));
1477#ifdef __MigPackStructs
1478#pragma pack(pop)
1479#endif
14301480#endif /* !__Reply__vm_map_subsystem__defined */
14311481
14321482/* union of all replies */
......@@ -1463,6 +1513,7 @@ union __ReplyUnion__vm_map_subsystem {
14631513 __Reply__vm_purgable_control_t Reply_vm_purgable_control;
14641514 __Reply__vm_map_exec_lockdown_t Reply_vm_map_exec_lockdown;
14651515 __Reply__vm_remap_new_t Reply_vm_remap_new;
1516 __Reply__vm_reallocate_t Reply_vm_reallocate;
14661517};
14671518#endif /* !__RequestUnion__vm_map_subsystem__defined */
14681519
......@@ -1496,7 +1547,8 @@ union __ReplyUnion__vm_map_subsystem {
14961547 { "vm_map_64", 3826 },\
14971548 { "vm_purgable_control", 3830 },\
14981549 { "vm_map_exec_lockdown", 3831 },\
1499 { "vm_remap_new", 3832 }
1550 { "vm_remap_new", 3832 },\
1551 { "vm_reallocate", 3833 }
15001552#endif
15011553
15021554#ifdef __AfterMigUserHeader
lib/libc/include/any-darwin-any/mach/vm_prot.h-1
......@@ -154,7 +154,6 @@ typedef int vm_prot_t;
154154#define VM_PROT_STRIP_READ ((vm_prot_t) 0x80)
155155#define VM_PROT_EXECUTE_ONLY (VM_PROT_EXECUTE|VM_PROT_STRIP_READ)
156156
157
158157/*
159158 * Another invalid protection value to support pager TPRO protection.
160159 * VM_PROT_TPRO is a special marker that tells the a pager to
lib/libc/include/any-darwin-any/mach/vm_region.h+8
......@@ -50,6 +50,7 @@
5050
5151#include <sys/cdefs.h>
5252
53
5354#pragma pack(push, 4)
5455
5556// LP64todo: all the current tools are 32bit, obviously never worked for 64b
......@@ -118,6 +119,13 @@ typedef struct vm_region_basic_info vm_region_basic_info_data_t;
118119#define VM_REGION_BASIC_INFO_COUNT ((mach_msg_type_number_t) \
119120 (sizeof(vm_region_basic_info_data_t)/sizeof(int)))
120121
122/*
123 * Clients should move away from using these codes for anything other than debugging
124 * or best-effort accounting.
125 * Each value is only loosely defined, and even within those definitions it is not
126 * always possible for the VM to return the correct value. This behavior is also
127 * subject to change as VM internals evolve.
128 */
121129#define SM_COW 1
122130#define SM_PRIVATE 2
123131#define SM_EMPTY 3
lib/libc/include/any-darwin-any/mach/vm_statistics.h+39-12
......@@ -226,14 +226,16 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
226226
227227/* included for the vm_map_page_query call */
228228
229#define VM_PAGE_QUERY_PAGE_PRESENT 0x1
230#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x2
231#define VM_PAGE_QUERY_PAGE_REF 0x4
232#define VM_PAGE_QUERY_PAGE_DIRTY 0x8
233#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x10
234#define VM_PAGE_QUERY_PAGE_COPIED 0x20
235#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x40
236#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x80
229typedef int32_t vm_page_disposition_t;
230
231#define VM_PAGE_QUERY_PAGE_PRESENT 0x001
232#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x002
233#define VM_PAGE_QUERY_PAGE_REF 0x004
234#define VM_PAGE_QUERY_PAGE_DIRTY 0x008
235#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x010
236#define VM_PAGE_QUERY_PAGE_COPIED 0x020
237#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x040
238#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x080
237239#define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x100
238240#define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x200
239241#define VM_PAGE_QUERY_PAGE_CS_NX 0x400
......@@ -241,6 +243,20 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
241243
242244#pragma mark User Flags
243245
246/*
247 * Options for vm_reallocate:
248 *
249 * VM_REALLOCATE_DEALLOCATE_SOURCE
250 * When the source is relocated, the VA it previously occupied will be unmapped.
251 *
252 * VM_REALLOCATE_ZERO_FILL_SOURCE
253 * When the source is relocated, the VA it previously occupied will be mapped
254 * by new entries with equivalent protections and inheritance, equivalent to a
255 * fresh zero-filled allocation from vm_allocate().
256 */
257#define VM_REALLOCATE_DEALLOCATE_SOURCE 0x0
258#define VM_REALLOCATE_ZERO_FILL_SOURCE 0x1
259
244260/*
245261 * VM allocation flags:
246262 *
......@@ -271,6 +287,10 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
271287 * Pages brought in to this VM region are placed on the speculative
272288 * queue instead of the active queue. In other words, they are not
273289 * cached so that they will be stolen first if memory runs low.
290 *
291 * VM_FLAGS_GUARD_OBJECT_OPTOUT
292 * Opt out this allocation from the guard object allocation policy.
293 * And memory will be allocated in typical first-fit allocation order.
274294 */
275295
276296#define VM_FLAGS_FIXED 0x00000000
......@@ -284,7 +304,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
284304#define VM_FLAGS_PERMANENT 0x00000080
285305#define VM_FLAGS_TPRO 0x00001000
286306#define VM_FLAGS_MTE 0x00002000
287#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */
307#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */
288308/*
289309 * VM_FLAGS_SUPERPAGE_MASK
290310 * 3 bits that specify whether large pages should be used instead of
......@@ -292,6 +312,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
292312 */
293313#define VM_FLAGS_SUPERPAGE_MASK 0x00070000 /* bits 0x10000, 0x20000, 0x40000 */
294314#define VM_FLAGS_RETURN_DATA_ADDR 0x00100000 /* Return address of target data, rather than base of page */
315#define VM_FLAGS_GUARD_OBJECT_OPTOUT 0x00400000
295316#define VM_FLAGS_RETURN_4K_DATA_ADDR 0x00800000 /* Return 4K aligned address of target data */
296317#define VM_FLAGS_ALIAS_MASK 0xFF000000
297318#define VM_GET_FLAGS_ALIAS(flags, alias) \
......@@ -300,7 +321,8 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
300321 (flags) = (((flags) & ~VM_FLAGS_ALIAS_MASK) | \
301322 (((alias) & ~VM_FLAGS_ALIAS_MASK) << 24))
302323
303#define VM_FLAGS_HW (VM_FLAGS_TPRO | VM_FLAGS_MTE)
324#define VM_FLAGS_HW (VM_FLAGS_TPRO | \
325 VM_FLAGS_MTE)
304326
305327/* These are the flags that we accept from user-space */
306328#define VM_FLAGS_USER_ALLOCATE (VM_FLAGS_FIXED | \
......@@ -311,6 +333,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
311333 VM_FLAGS_NO_CACHE | \
312334 VM_FLAGS_PERMANENT | \
313335 VM_FLAGS_OVERWRITE | \
336 VM_FLAGS_GUARD_OBJECT_OPTOUT | \
314337 VM_FLAGS_SUPERPAGE_MASK | \
315338 VM_FLAGS_HW | \
316339 VM_FLAGS_ALIAS_MASK)
......@@ -350,6 +373,7 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
350373 kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10,
351374 kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11,
352375 kGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION = 12,
376 kGUARD_EXC_LARGE_ALLOCATION_TELEMETRY = 13,
353377 /*
354378 * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned)
355379 */
......@@ -362,7 +386,9 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
362386 /* Fault-related exceptions. */
363387 kGUARD_EXC_MTE_SYNC_FAULT = 200,
364388 kGUARD_EXC_MTE_ASYNC_USER_FAULT = 201,
365 kGUARD_EXC_MTE_ASYNC_KERN_FAULT = 202
389 kGUARD_EXC_MTE_ASYNC_KERN_FAULT = 202,
390 kGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT = 203,
391 kGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT = 204,
366392});
367393
368394#define kGUARD_EXC_MTE_SOFT_MODE 0x100000
......@@ -423,6 +449,8 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
423449
424450#define VM_MEMORY_MACH_MSG 20
425451#define VM_MEMORY_IOKIT 21
452#define VM_MEMORY_VM_RECLAIM 22
453
426454#define VM_MEMORY_STACK 30
427455#define VM_MEMORY_GUARD 31
428456#define VM_MEMORY_SHARED_PMAP 32
......@@ -636,7 +664,6 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
636664#define VM_MAKE_TAG(tag) ((tag) << 24)
637665
638666
639
640667__END_DECLS
641668
642669#endif /* _MACH_VM_STATISTICS_H_ */
lib/libc/include/any-darwin-any/mach/vm_types.h+6
......@@ -34,12 +34,18 @@
3434
3535#include <mach/port.h>
3636#include <mach/machine/vm_types.h>
37#include <mach/error.h>
3738
3839#include <stdint.h>
3940#include <sys/cdefs.h>
4041
4142__BEGIN_DECLS
4243
44/* (err_vm | err_sub(0)) reserved: vm_sanitize */
45#define err_vm_reclaim(e) (err_vm | err_sub(1) | e)
46/* (err_vm | err_sub(2)) reserved: vm_map_lock */
47
48
4349typedef vm_offset_t pointer_t __kernel_ptr_semantics;
4450typedef vm_offset_t vm_address_t __kernel_ptr_semantics;
4551
lib/libc/include/any-darwin-any/mach_debug/ipc_info.h+1
......@@ -140,6 +140,7 @@ __enum_decl(ipc_info_object_type_t, natural_t, {
140140 IPC_OTYPE_TASK_FATAL = 51,
141141 IPC_OTYPE_KCDATA = 52,
142142 IPC_OTYPE_EXCLAVES_RESOURCE = 53,
143 IPC_OTYPE_THREAD_RESUME = 54,
143144
144145 /* catchall */
145146 IPC_OTYPE_UNKNOWN = ~0u,
lib/libc/include/any-darwin-any/malloc/malloc.h-2
......@@ -86,8 +86,6 @@ __BEGIN_DECLS
8686 * @constant MALLOC_ZONE_MALLOC_OPTION_CLEAR
8787 * Zero out the allocated memory, similar to calloc().
8888 *
89 */
90/*!
9189 * @constant MALLOC_ZONE_MALLOC_OPTION_CANONICAL_TAG
9290 * Under MTE, use a tag of zero (canonical) instead of a random value.
9391 */
lib/libc/include/any-darwin-any/net/if_var.h+2-2
......@@ -219,11 +219,11 @@ struct if_data64 {
219219
220220#pragma pack()
221221
222#if defined(DRIVERKIT) || defined(PRIVATE) || defined(DRIVERKIT_PRIVATE)
222#if defined(DRIVERKIT) || (defined(PRIVATE) && !defined(MODULES_SUPPORTED)) || defined(DRIVERKIT_PRIVATE)
223223#include <net/if_var_status.h>
224224#else
225225struct ifnet_interface_advisory;
226#endif /* defined(DRIVERKIT) || defined(PRIVATE) || defined(DRIVERKIT_PRIVATE) */
226#endif /* defined(DRIVERKIT) || (defined(PRIVATE) && !defined(MODULES_SUPPORTED)) || defined(DRIVERKIT_PRIVATE) */
227227
228228
229229/*
lib/libc/include/any-darwin-any/signal.h+5-2
......@@ -113,10 +113,13 @@ int sigvec(int, struct sigvec *, struct sigvec *);
113113__END_DECLS
114114
115115/* List definitions after function declarations, or Reiser cpp gets upset. */
116__header_always_inline int
116__header_always_inline unsigned int
117117__sigbits(int __signo)
118118{
119 return __signo > __DARWIN_NSIG ? 0 : (1 << (__signo - 1));
119
120 if (__signo == 0 || __signo > __DARWIN_NSIG)
121 return (0);
122 return (1U << (__signo - 1));
120123}
121124
122125#define sigaddset(set, signo) (*(set) |= __sigbits(signo), 0)
lib/libc/include/any-darwin-any/simd/math.h+2-2
......@@ -6439,7 +6439,7 @@ static inline SIMD_CFUNC simd_double4 __tg_fdim(simd_double4 x, simd_double4 y)
64396439static inline SIMD_CFUNC simd_double8 __tg_fdim(simd_double8 x, simd_double8 y) { return simd_bitselect(x-y, 0, x<y); }
64406440
64416441static inline SIMD_CFUNC simd_float2 __tg_fma(simd_float2 x, simd_float2 y, simd_float2 z) {
6442#if defined __arm64__ || defined __aarch64__ || defined __ARM_VFPV4__
6442#if defined __arm64__ || defined __aarch64__ || defined __ARM_NEON
64436443 return vfma_f32(z, x, y);
64446444#else
64456445 return simd_make_float2(__tg_fma(simd_make_float4_undef(x), simd_make_float4_undef(y), simd_make_float4_undef(z)));
......@@ -6454,7 +6454,7 @@ static inline SIMD_CFUNC simd_float3 __tg_fma(simd_float3 x, simd_float3 y, simd
64546454extern simd_float4 _simd_fma_f4(simd_float4 x, simd_float4 y, simd_float4 z);
64556455#endif
64566456static inline SIMD_CFUNC simd_float4 __tg_fma(simd_float4 x, simd_float4 y, simd_float4 z) {
6457#if defined __arm64__ || defined __aarch64__ || defined __ARM_VFPV4__
6457#if defined __arm64__ || defined __aarch64__ || defined __ARM_NEON
64586458 return vfmaq_f32(z, x, y);
64596459#elif (defined __i386__ || defined __x86_64__) && defined __FMA__
64606460 return _mm_fmadd_ps(x, y, z);
lib/libc/include/any-darwin-any/sys/_symbol_aliasing.h+24
......@@ -575,6 +575,18 @@
575575#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_2(x)
576576#endif
577577
578#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 260300
579#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_3(x) x
580#else
581#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_3(x)
582#endif
583
584#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 260400
585#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_4(x) x
586#else
587#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_4(x)
588#endif
589
578590#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000
579591#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x
580592#else
......@@ -1025,3 +1037,15 @@
10251037#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_2(x)
10261038#endif
10271039
1040#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260300
1041#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_3(x) x
1042#else
1043#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_3(x)
1044#endif
1045
1046#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260400
1047#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_4(x) x
1048#else
1049#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_4(x)
1050#endif
1051
lib/libc/include/any-darwin-any/sys/attr.h+5-1
......@@ -54,6 +54,8 @@
5454#define FSOPT_RETURN_REALDEV 0x00000200
5555#define FSOPT_NOFOLLOW_ANY 0x00000800
5656#define FSOPT_RESOLVE_BENEATH 0x00001000
57#define FSOPT_UNIQUE 0x00002000
58
5759
5860/* we currently aren't anywhere near this amount for a valid
5961 * fssearchblock.sizeofsearchparams1 or fssearchblock.sizeofsearchparams2
......@@ -599,9 +601,11 @@ typedef struct vol_attributes_attr {
599601#define SRCHFS_SKIPINVISIBLE 0x00000020
600602#define SRCHFS_SKIPPACKAGES 0x00000040
601603#define SRCHFS_SKIPINAPPROPRIATE 0x00000080
604#define SRCHFS_NOFOLLOW 0x00000100
605#define SRCHFS_NOFOLLOW_ANY 0x00000200
602606
603607#define SRCHFS_NEGATEPARAMS 0x80000000
604#define SRCHFS_VALIDOPTIONSMASK 0x800000FF
608#define SRCHFS_VALIDOPTIONSMASK 0x800003FF
605609
606610struct fssearchblock {
607611 struct attrlist *returnattrs;
lib/libc/include/any-darwin-any/sys/fcntl.h+2
......@@ -340,6 +340,7 @@
340340
341341#define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */
342342
343
343344// FS-specific fcntl()'s numbers begin at 0x00010000 and go up
344345#define FCNTL_FS_SPECIFIC_BASE 0x00010000
345346
......@@ -532,6 +533,7 @@ typedef struct fattributiontag {
532533#define F_DELETE_TAG 0x00000002
533534#define F_QUERY_TAG 0x00000004
534535
536
535537/*
536538 * For F_LOG2PHYS this information is passed back to user
537539 * Currently only devoffset is returned - that is the VOP_BMAP
lib/libc/include/any-darwin-any/sys/mman.h+3-4
......@@ -1,5 +1,5 @@
11/*
2 * Copyright (c) 2000-2020 Apple Computer, Inc. All rights reserved.
2 * Copyright (c) 2000-2025 Apple Computer, Inc. All rights reserved.
33 *
44 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55 *
......@@ -153,7 +153,6 @@
153153#define MAP_32BIT 0x8000 /* Return virtual addresses <4G only */
154154#endif /* defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 */
155155
156
157156/*
158157 * Flags used to support translated processes.
159158 */
......@@ -236,7 +235,6 @@
236235
237236
238237
239
240238__BEGIN_DECLS
241239/* [ML] */
242240int mlockall(int);
......@@ -268,7 +266,8 @@ int mincore(const void *, size_t, char *);
268266int minherit(void *, size_t, int);
269267#endif
270268
271
272269__END_DECLS
273270
271
272
274273#endif /* !_SYS_MMAN_H_ */
lib/libc/include/any-darwin-any/sys/paths.h+12-9
......@@ -41,15 +41,18 @@
4141#define _PATH_RSRCFORKSPEC "/..namedfork/rsrc"
4242
4343/* Prefix Path Namespace */
44#define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */
45#define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */
46#define RESOLVE_LOCAL 0x00000004 /* prevent a path lookup into a network filesystem */
47#define RESOLVE_NODEVFS 0x00000008 /* prevent a path lookup into `devfs` filesystem */
48#define RESOLVE_IMMOVABLE 0x00000010 /* prevent a path lookup into a removable filesystem */
49#define RESOLVE_UNIQUE 0x00000020 /* prevent a path lookup on a vnode with multiple links */
50#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */
51
52#define RESOLVE_VALIDMASK 0x0000007F
44#define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */
45#define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */
46#define RESOLVE_LOCAL 0x00000004 /* prevent a path lookup into a network filesystem */
47#define RESOLVE_NODEVFS 0x00000008 /* prevent a path lookup into `devfs` filesystem */
48#define RESOLVE_IMMOVABLE 0x00000010 /* prevent a path lookup into a removable filesystem */
49#define RESOLVE_UNIQUE 0x00000020 /* prevent a path lookup on a vnode with multiple links */
50#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */
51#define RESOLVE_NOQUARANTINE 0x00000080 /* prevent operating on a quarantined file */
52#define RESOLVE_NOUNION 0x00000100 /* prevent a path lookup on filesystem with MNT_UNION from traversing to covered filesystem */
53
54#define RESOLVE_VALIDMASK 0x000001FF
55
5356
5457#endif /* __APPLE_API_PRIVATE */
5558#endif /* !_SYS_PATHS_H_ */
lib/libc/include/any-darwin-any/sys/proc.h+2-2
......@@ -1,5 +1,5 @@
11/*
2 * Copyright (c) 2000-2018 Apple Inc. All rights reserved.
2 * Copyright (c) 2000-2025 Apple Inc. All rights reserved.
33 *
44 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55 *
......@@ -79,7 +79,6 @@
7979#include <sys/time.h>
8080#include <mach/boolean.h>
8181
82
8382#include <Availability.h>
8483
8584
......@@ -217,6 +216,7 @@ struct extern_proc {
217216#define P_DIRTY_DEFER_ALWAYS 0x00000400 /* defer going to idle-exit after every dirty->clean transition.
218217 * For legacy jetsam policy only. This is the default with the other policies.*/
219218#define P_DIRTY_SHUTDOWN_ON_CLEAN 0x00000800 /* process should shutdown on going clean */
219#define P_DIRTY_IM_NEW_HERE 0x00001000 /* process just enrolled in dirty tracking and has not yet marked itself dirty for the first time */
220220
221221#define P_DIRTY_IS_DIRTY (P_DIRTY | P_DIRTY_SHUTDOWN)
222222#define P_DIRTY_IDLE_EXIT_ENABLED (P_DIRTY_TRACK|P_DIRTY_ALLOW_IDLE_EXIT)
lib/libc/include/any-darwin-any/sys/sysctl.h+24-20
......@@ -135,27 +135,31 @@ struct ctlname {
135135 int ctl_type; /* type of name */
136136};
137137
138#define CTLTYPE 0xf /* Mask for the type */
139#define CTLTYPE_NODE 1 /* name is a node */
140#define CTLTYPE_INT 2 /* name describes an integer */
141#define CTLTYPE_STRING 3 /* name describes a string */
142#define CTLTYPE_QUAD 4 /* name describes a 64-bit number */
143#define CTLTYPE_OPAQUE 5 /* name describes a structure */
144#define CTLTYPE_STRUCT CTLTYPE_OPAQUE /* name describes a structure */
145
146#define CTLFLAG_RD 0x80000000 /* Allow reads of variable */
147#define CTLFLAG_WR 0x40000000 /* Allow writes to the variable */
148#define CTLFLAG_RW (CTLFLAG_RD|CTLFLAG_WR)
149#define CTLFLAG_NOLOCK 0x20000000 /* XXX Don't Lock */
150#define CTLFLAG_ANYBODY 0x10000000 /* All users can set this var */
151#define CTLFLAG_SECURE 0x08000000 /* Permit set only if securelevel<=0 */
152#define CTLFLAG_MASKED 0x04000000 /* deprecated variable, do not display */
153#define CTLFLAG_NOAUTO 0x02000000 /* do not auto-register */
154#define CTLFLAG_KERN 0x01000000 /* valid inside the kernel */
155#define CTLFLAG_LOCKED 0x00800000 /* node will handle locking itself */
156#define CTLFLAG_OID2 0x00400000 /* struct sysctl_oid has version info */
157#define CTLFLAG_EXPERIMENT 0x00100000 /* Allows read/write w/ the trial experiment entitlement. */
138#define CTLTYPE 0xf /* Mask for the type */
139#define CTLTYPE_NODE 1 /* name is a node */
140#define CTLTYPE_INT 2 /* name describes an integer */
141#define CTLTYPE_STRING 3 /* name describes a string */
142#define CTLTYPE_QUAD 4 /* name describes a 64-bit number */
143#define CTLTYPE_OPAQUE 5 /* name describes a structure */
144#define CTLTYPE_STRUCT CTLTYPE_OPAQUE /* name describes a structure */
145
146#define CTLFLAG_RD 0x80000000 /* Allow reads of variable */
147#define CTLFLAG_WR 0x40000000 /* Allow writes to the variable */
148#define CTLFLAG_RW (CTLFLAG_RD|CTLFLAG_WR)
149#define CTLFLAG_NOLOCK 0x20000000 /* XXX Don't Lock */
150#define CTLFLAG_ANYBODY 0x10000000 /* All users can set this var */
151#define CTLFLAG_SECURE 0x08000000 /* Permit set only if securelevel<=0 */
152#define CTLFLAG_MASKED 0x04000000 /* deprecated variable, do not display */
153#define CTLFLAG_NOAUTO 0x02000000 /* do not auto-register */
154#define CTLFLAG_KERN 0x01000000 /* valid inside the kernel */
155#define CTLFLAG_LOCKED 0x00800000 /* node will handle locking itself */
156#define CTLFLAG_OID2 0x00400000 /* struct sysctl_oid has version info */
157#define CTLFLAG_EXPERIMENT 0x00100000 /* Allows read/write w/ the trial experiment entitlement. */
158158#define CTLFLAG_LEGACY_EXPERIMENT 0x00080000 /* Allows writing w/ the legacy trial experiment entitlement. */
159#define CTLFLAG_OID_AUTO 0x00040000 /* Remembers OID_AUTO to restore oid_number on unregister */
160
161/* mask of flags which are kernel private and will be masked for user space */
162#define CTLFLAG_KERNEL_PRIVATE_MASK (CTLFLAG_OID_AUTO)
159163
160164/*
161165 * USE THIS instead of a hardwired number from the categories below
lib/libc/include/any-darwin-any/unistd.h+2-2
......@@ -538,14 +538,14 @@ __END_DECLS
538538#define F_TLOCK 2 /* test and lock a section for exclusive use */
539539#define F_TEST 3 /* test a section for locks by other procs */
540540
541 __BEGIN_DECLS
542
543541/* Begin XSI */
544542/* Removed in Issue 7 */
545543#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200809L
546544#include <_ctermid.h>
547545#endif
548546
547__BEGIN_DECLS
548
549549/* Removed in Issue 6 */
550550#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200112L
551551#if !defined(_POSIX_C_SOURCE)
lib/libc/include/any-darwin-any/xpc/activity.h+7-7
......@@ -302,7 +302,7 @@ const xpc_object_t XPC_ACTIVITY_CHECK_IN;
302302 * dispatch queue with an appropriate priority to perform the activity.
303303 */
304304API_AVAILABLE(macos(10.9))
305API_UNAVAILABLE(ios)
305API_UNAVAILABLE(ios, tvos, watchos)
306306XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 XPC_NONNULL3
307307void
308308xpc_activity_register(const char *identifier, xpc_object_t criteria,
......@@ -317,7 +317,7 @@ xpc_activity_register(const char *identifier, xpc_object_t criteria,
317317 * when checking in to an event that finished and was not rescheduled.
318318 */
319319API_AVAILABLE(macos(10.9))
320API_UNAVAILABLE(ios)
320API_UNAVAILABLE(ios, tvos, watchos)
321321XPC_EXPORT XPC_WARN_RESULT XPC_RETURNS_RETAINED XPC_NONNULL1
322322xpc_object_t _Nullable
323323xpc_activity_copy_criteria(xpc_activity_t activity);
......@@ -329,7 +329,7 @@ xpc_activity_copy_criteria(xpc_activity_t activity);
329329 * Modifies the execution criteria of an activity.
330330 */
331331API_AVAILABLE(macos(10.9))
332API_UNAVAILABLE(ios)
332API_UNAVAILABLE(ios, tvos, watchos)
333333XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2
334334void
335335xpc_activity_set_criteria(xpc_activity_t activity, xpc_object_t criteria);
......@@ -411,7 +411,7 @@ typedef long xpc_activity_state_t;
411411 * Returns the current state of an activity.
412412 */
413413API_AVAILABLE(macos(10.9))
414API_UNAVAILABLE(ios)
414API_UNAVAILABLE(ios, tvos, watchos)
415415XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1
416416xpc_activity_state_t
417417xpc_activity_get_state(xpc_activity_t activity);
......@@ -427,7 +427,7 @@ xpc_activity_get_state(xpc_activity_t activity);
427427 * false if the requested state transition is not valid.
428428 */
429429API_AVAILABLE(macos(10.9))
430API_UNAVAILABLE(ios)
430API_UNAVAILABLE(ios, tvos, watchos)
431431XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1
432432bool
433433xpc_activity_set_state(xpc_activity_t activity, xpc_activity_state_t state);
......@@ -451,7 +451,7 @@ xpc_activity_set_state(xpc_activity_t activity, xpc_activity_state_t state);
451451 * Returns true if the activity should be deferred.
452452 */
453453API_AVAILABLE(macos(10.9))
454API_UNAVAILABLE(ios)
454API_UNAVAILABLE(ios, tvos, watchos)
455455XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1
456456bool
457457xpc_activity_should_defer(xpc_activity_t activity);
......@@ -475,7 +475,7 @@ xpc_activity_should_defer(xpc_activity_t activity);
475475 * The identifier of the activity to unregister.
476476 */
477477API_AVAILABLE(macos(10.9))
478API_UNAVAILABLE(ios)
478API_UNAVAILABLE(ios, tvos, watchos)
479479XPC_EXPORT XPC_NONNULL1
480480void
481481xpc_activity_unregister(const char *identifier);
lib/libc/include/any-darwin-any/xpc/connection.h+15-15
......@@ -199,7 +199,7 @@ xpc_connection_create(const char * _Nullable name,
199199 * connection has been activated. See {@link xpc_connection_activate()}.
200200 */
201201API_AVAILABLE(macos(10.7), macCatalyst(5.0))
202API_UNAVAILABLE(ios)
202API_UNAVAILABLE(ios, tvos, watchos)
203203XPC_EXPORT XPC_MALLOC XPC_RETURNS_RETAINED XPC_WARN_RESULT XPC_NONNULL1
204204xpc_connection_t
205205xpc_connection_create_mach_service(const char *name,
......@@ -679,7 +679,7 @@ xpc_connection_get_egid(xpc_connection_t connection);
679679 * delivery either at the kernel layer or at the XPC layer.
680680 */
681681API_AVAILABLE(macos(10.7))
682API_UNAVAILABLE(ios)
682API_UNAVAILABLE(ios, tvos, watchos)
683683XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
684684pid_t
685685xpc_connection_get_pid(xpc_connection_t connection);
......@@ -695,7 +695,7 @@ xpc_connection_get_pid(xpc_connection_t connection);
695695 * The audit session ID of the remote peer at the time the connection was made.
696696 */
697697API_AVAILABLE(macos(10.7))
698API_UNAVAILABLE(ios)
698API_UNAVAILABLE(ios, tvos, watchos)
699699XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
700700au_asid_t
701701xpc_connection_get_asid(xpc_connection_t connection);
......@@ -828,8 +828,8 @@ xpc_connection_set_peer_code_signing_requirement(xpc_connection_t connection, co
828828 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
829829 * will be delivered instead of the reply.
830830 */
831API_AVAILABLE(macos(14.4), ios(17.4))
832API_UNAVAILABLE(tvos, watchos)
831API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
832
833833XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
834834int
835835xpc_connection_set_peer_entitlement_exists_requirement(xpc_connection_t connection, const char *entitlement);
......@@ -866,8 +866,8 @@ xpc_connection_set_peer_entitlement_exists_requirement(xpc_connection_t connecti
866866 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
867867 * will be delivered instead of the reply.
868868 */
869API_AVAILABLE(macos(14.4), ios(17.4))
870API_UNAVAILABLE(tvos, watchos)
869API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
870
871871XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
872872int
873873xpc_connection_set_peer_entitlement_matches_value_requirement(xpc_connection_t connection, const char *entitlement, xpc_object_t value);
......@@ -903,8 +903,8 @@ xpc_connection_set_peer_entitlement_matches_value_requirement(xpc_connection_t c
903903 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
904904 * will be delivered instead of the reply.
905905 */
906API_AVAILABLE(macos(14.4), ios(17.4))
907API_UNAVAILABLE(tvos, watchos)
906API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
907
908908XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT
909909int
910910xpc_connection_set_peer_team_identity_requirement(xpc_connection_t connection, const char * _Nullable signing_identifier);
......@@ -938,8 +938,8 @@ xpc_connection_set_peer_team_identity_requirement(xpc_connection_t connection, c
938938 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
939939 * will be delivered instead of the reply.
940940 */
941API_AVAILABLE(macos(14.4), ios(17.4))
942API_UNAVAILABLE(tvos, watchos)
941API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
942
943943XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT
944944int
945945xpc_connection_set_peer_platform_identity_requirement(xpc_connection_t connection, const char * _Nullable signing_identifier);
......@@ -986,8 +986,8 @@ xpc_connection_set_peer_platform_identity_requirement(xpc_connection_t connectio
986986 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
987987 * will be delivered instead of the reply.
988988 */
989API_AVAILABLE(macos(14.4), ios(17.4))
990API_UNAVAILABLE(tvos, watchos)
989API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
990
991991XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
992992int
993993xpc_connection_set_peer_lightweight_code_requirement(xpc_connection_t connection, xpc_object_t lwcr);
......@@ -1012,8 +1012,8 @@ xpc_connection_set_peer_lightweight_code_requirement(xpc_connection_t connection
10121012 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
10131013 * will be delivered instead of the reply.
10141014 */
1015API_AVAILABLE(macos(26.0), ios(26.0))
1016API_UNAVAILABLE(tvos, watchos)
1015API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
1016
10171017XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL
10181018void
10191019xpc_connection_set_peer_requirement(xpc_connection_t connection,
lib/libc/include/any-darwin-any/xpc/listener.h+2-2
......@@ -129,7 +129,7 @@ xpc_listener_create(const char * service,
129129 dispatch_queue_t _Nullable target_queue,
130130 xpc_listener_create_flags_t flags,
131131 xpc_listener_incoming_session_handler_t incoming_session_handler,
132 xpc_rich_error_t _Nullable * _Nullable error_out);
132 xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out);
133133
134134#pragma mark Lifecycle
135135/*!
......@@ -156,7 +156,7 @@ API_UNAVAILABLE(ios, tvos, watchos)
156156XPC_EXPORT XPC_SWIFT_NOEXPORT
157157bool
158158xpc_listener_activate(xpc_listener_t listener,
159 xpc_rich_error_t _Nullable * _Nullable error_out);
159 xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out);
160160
161161/*!
162162 * @function xpc_listener_cancel
lib/libc/include/any-darwin-any/xpc/peer_requirement.h+13-13
......@@ -28,7 +28,7 @@ XPC_SWIFT_NOEXPORT
2828 * xpc_peer_requirement_t can be shared among multiple connections, sessions
2929 * or listeners.
3030 */
31OS_OBJECT_DECL_CLASS(xpc_peer_requirement);
31OS_OBJECT_DECL_SENDABLE_CLASS(xpc_peer_requirement);
3232
3333#pragma mark Constructors
3434
......@@ -53,8 +53,8 @@ OS_OBJECT_DECL_CLASS(xpc_peer_requirement);
5353 * This function will return NULL promptly if the entitlement requirement is
5454 * invalid.
5555 */
56API_AVAILABLE(macos(26.0), ios(26.0))
57API_UNAVAILABLE(tvos, watchos)
56API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
57
5858XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
5959xpc_peer_requirement_t _Nullable
6060xpc_peer_requirement_create_entitlement_exists(const char *entitlement,
......@@ -86,8 +86,8 @@ xpc_peer_requirement_create_entitlement_exists(const char *entitlement,
8686 * This function will return NULL promptly if the entitlement requirement is
8787 * invalid.
8888 */
89API_AVAILABLE(macos(26.0), ios(26.0))
90API_UNAVAILABLE(tvos, watchos)
89API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
90
9191XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
9292xpc_peer_requirement_t _Nullable
9393xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement,
......@@ -121,8 +121,8 @@ xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement,
121121 * distributed certificate (embedded only), or a Developer ID certificate (macOS
122122 * only)
123123 */
124API_AVAILABLE(macos(26.0), ios(26.0))
125API_UNAVAILABLE(tvos, watchos)
124API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
125
126126XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
127127xpc_peer_requirement_t _Nullable
128128xpc_peer_requirement_create_team_identity(
......@@ -153,8 +153,8 @@ xpc_peer_requirement_create_team_identity(
153153 * This function will return NULL promptly if the identity requirement is
154154 * invalid.
155155 */
156API_AVAILABLE(macos(26.0), ios(26.0))
157API_UNAVAILABLE(tvos, watchos)
156API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
157
158158XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
159159xpc_peer_requirement_t _Nullable
160160xpc_peer_requirement_create_platform_identity(
......@@ -201,8 +201,8 @@ xpc_peer_requirement_create_platform_identity(
201201 * xpc_peer_requirement_t req = xpc_peer_requirement_create_lwcr(lwcr, NULL);
202202 * ```
203203 */
204API_AVAILABLE(macos(26.0), ios(26.0))
205API_UNAVAILABLE(tvos, watchos)
204API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
205
206206XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
207207xpc_peer_requirement_t _Nullable
208208xpc_peer_requirement_create_lwcr(xpc_object_t lwcr,
......@@ -228,8 +228,8 @@ xpc_peer_requirement_create_lwcr(xpc_object_t lwcr,
228228 * On match this returns true. On mismatch or failure this will return false and
229229 * if set, error_out will be set to an error describing the failure.
230230 */
231API_AVAILABLE(macos(26.0), ios(26.0))
232API_UNAVAILABLE(tvos, watchos)
231API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
232
233233XPC_EXPORT XPC_SWIFT_NOEXPORT
234234bool
235235xpc_peer_requirement_match_received_message(xpc_peer_requirement_t peer_requirement,
lib/libc/include/any-darwin-any/xpc/session.h+6-6
......@@ -118,7 +118,7 @@ xpc_session_t _Nullable
118118xpc_session_create_xpc_service(const char *name,
119119 dispatch_queue_t _Nullable target_queue,
120120 xpc_session_create_flags_t flags,
121 xpc_rich_error_t _Nullable * _Nullable error_out);
121 xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out);
122122
123123/*!
124124 * @function xpc_session_create_mach_service
......@@ -161,7 +161,7 @@ xpc_session_t _Nullable
161161xpc_session_create_mach_service(const char *mach_service,
162162 dispatch_queue_t _Nullable target_queue,
163163 xpc_session_create_flags_t flags,
164 xpc_rich_error_t _Nullable * _Nullable error_out);
164 xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out);
165165
166166#pragma mark Session Configuration
167167/*!
......@@ -256,7 +256,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0))
256256XPC_EXPORT XPC_SWIFT_NOEXPORT
257257bool
258258xpc_session_activate(xpc_session_t session,
259 xpc_rich_error_t _Nullable * _Nullable error_out);
259 xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out);
260260
261261/*!
262262 * @function xpc_session_cancel
......@@ -350,7 +350,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0))
350350XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED XPC_WARN_RESULT
351351xpc_object_t _Nullable
352352xpc_session_send_message_with_reply_sync(xpc_session_t session,
353 xpc_object_t message, xpc_rich_error_t _Nullable * _Nullable error_out);
353 xpc_object_t message, xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out);
354354
355355/*!
356356 * @function xpc_session_send_message_with_reply_async
......@@ -443,8 +443,8 @@ xpc_session_set_peer_code_signing_requirement(xpc_session_t session, const char
443443 * will be returned instead of reply, with `error_out` (if set) pointing to the
444444 * rich error describing the peer code signing error.
445445 */
446API_AVAILABLE(macos(26.0), ios(26.0))
447API_UNAVAILABLE(tvos, watchos)
446API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
447
448448XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL
449449void
450450xpc_session_set_peer_requirement(xpc_session_t session, xpc_peer_requirement_t requirement);
lib/libc/include/any-darwin-any/xpc/xpc.h+14-14
......@@ -1473,18 +1473,18 @@ xpc_array_set_date(xpc_object_t xarray, size_t index, int64_t value);
14731473 * undefined.
14741474 *
14751475 * @param bytes
1476 * The raw data to insert. After calling this method, the XPC object
1477 * corresponding to the primitive value inserted may be safely retrieved with
1478 * {@link xpc_array_get_value()}.
1476 * The raw data to insert. May be NULL if length is zero. After calling this
1477 * method, the XPC object corresponding to the primitive value inserted may be
1478 * safely retrieved with {@link xpc_array_get_value()}.
14791479 *
14801480 * @param length
14811481 * The length of the data.
14821482 */
14831483__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0)
1484XPC_EXPORT XPC_NONNULL1 XPC_NONNULL3
1484XPC_EXPORT XPC_NONNULL1
14851485void
14861486xpc_array_set_data(xpc_object_t xarray, size_t index,
1487 const void *XPC_SIZEDBY(length) bytes, size_t length);
1487 const void *XPC_SIZEDBY(length) _Nullable bytes, size_t length);
14881488
14891489/*!
14901490 * @function xpc_array_set_string
......@@ -2231,18 +2231,18 @@ xpc_dictionary_set_date(xpc_object_t xdict, const char *key, int64_t value);
22312231 * The key for which the primitive value shall be set.
22322232 *
22332233 * @param bytes
2234 * The bytes to insert. After calling this method, the XPC object corresponding
2235 * to the primitive value inserted may be safely retrieved with
2236 * {@link xpc_dictionary_get_value()}.
2234 * The bytes to insert. May be NULL if length is zero. After calling this method,
2235 * the XPC object corresponding to the primitive value inserted may be safely
2236 * retrieved with {@link xpc_dictionary_get_value()}.
22372237 *
22382238 * @param length
22392239 * The length of the data.
22402240 */
22412241__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0)
2242XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 XPC_NONNULL3
2242XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2
22432243void
22442244xpc_dictionary_set_data(xpc_object_t xdict, const char *key,
2245 const void *XPC_SIZEDBY(length) bytes, size_t length);
2245 const void *XPC_SIZEDBY(length) _Nullable bytes, size_t length);
22462246
22472247/*!
22482248 * @function xpc_dictionary_set_string
......@@ -2692,7 +2692,7 @@ xpc_dictionary_copy_mach_send(xpc_object_t xdict, const char *key);
26922692 * state, potentially causing resource leaks or transaction issues.
26932693 */
26942694API_AVAILABLE(macos(10.7), macCatalyst(5.0))
2695API_UNAVAILABLE(ios)
2695API_UNAVAILABLE(ios, tvos, watchos)
26962696XPC_EXPORT XPC_NORETURN XPC_NONNULL1
26972697void
26982698xpc_main(xpc_connection_handler_t handler);
......@@ -2729,7 +2729,7 @@ xpc_main(xpc_connection_handler_t handler);
27292729 * connection.
27302730 */
27312731API_AVAILABLE(macos(10.7))
2732API_UNAVAILABLE(ios)
2732API_UNAVAILABLE(ios, tvos, watchos)
27332733XPC_TRANSACTION_DEPRECATED
27342734XPC_EXPORT
27352735void
......@@ -2747,7 +2747,7 @@ xpc_transaction_begin(void);
27472747 * the XPC runtime's idle-exit policy.
27482748 */
27492749API_AVAILABLE(macos(10.7))
2750API_UNAVAILABLE(ios)
2750API_UNAVAILABLE(ios, tvos, watchos)
27512751XPC_TRANSACTION_DEPRECATED
27522752XPC_EXPORT
27532753void
......@@ -2783,7 +2783,7 @@ xpc_transaction_end(void);
27832783 */
27842784#if __BLOCKS__
27852785API_AVAILABLE(macos(10.7))
2786API_UNAVAILABLE(ios)
2786API_UNAVAILABLE(ios, tvos, watchos)
27872787XPC_EXPORT XPC_NONNULL1 XPC_NONNULL3
27882788void
27892789xpc_set_event_stream_handler(const char *stream,