authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-03-27 01:30:00+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-03-27 01:30:00+01:00
logc3d474bf6f247469f1277a2b4a5d3810f8222a21
tree057783531c00aebb82b1c61df1524833778d6834
parentabd131e3367bb10a67bc4c240b87b05d1de4e42f
parentf19be20912b5c71553d6de343d25abed02a7fbf7

Merge pull request '`link.MachO.Dylib`: allow `aarch64-macos` to match `arm64e-macos` TBD entries' (#31673) from alexrp/zig:thanks-apple into master

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31673

59 files changed, 1009 insertions(+), 666 deletions(-)

lib/libc/darwin/SDKSettings.json+1-1
...@@ -1 +1 @@...@@ -1 +1 @@
1{"MinimalDisplayName":"26.2"}1{"MinimalDisplayName":"26.4"}
lib/libc/darwin/libSystem.tbd+357-427
...@@ -1,12 +1,10 @@...@@ -1,12 +1,10 @@
1--- !tapi-tbd1--- !tapi-tbd
2tbd-version: 42tbd-version: 4
3targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
4 arm64e-macos, arm64e-maccatalyst ]
5install-name: '/usr/lib/libSystem.B.dylib'4install-name: '/usr/lib/libSystem.B.dylib'
6current-version: 13565current-version: 1356
7reexported-libraries:6reexported-libraries:
8 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 7 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
9 arm64e-macos, arm64e-maccatalyst ]
10 libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib', 8 libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib',
11 '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib', 9 '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib',
12 '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib', 10 '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib',
...@@ -38,23 +36,19 @@ exports:...@@ -38,23 +36,19 @@ exports:
38 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction', 36 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction',
39 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink', 37 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink',
40 'R8289209$_write' ]38 'R8289209$_write' ]
41 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 39 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
42 arm64e-macos, arm64e-maccatalyst ]
43 symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd, 40 symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd,
44 _mach_init_routine ]41 _mach_init_routine ]
45--- !tapi-tbd42--- !tapi-tbd
46tbd-version: 443tbd-version: 4
47targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 44targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
48 arm64e-macos, arm64e-maccatalyst ]
49install-name: '/usr/lib/system/libcache.dylib'45install-name: '/usr/lib/system/libcache.dylib'
50current-version: 9546current-version: 95
51parent-umbrella:47parent-umbrella:
52 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 48 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
53 arm64e-macos, arm64e-maccatalyst ]
54 umbrella: System49 umbrella: System
55exports:50exports:
56 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 51 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
57 arm64e-macos, arm64e-maccatalyst ]
58 symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain, 52 symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain,
59 _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info, 53 _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info,
60 _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint, 54 _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint,
...@@ -69,17 +63,14 @@ exports:...@@ -69,17 +63,14 @@ exports:
69 _cache_value_make_purgeable_cb ]63 _cache_value_make_purgeable_cb ]
70--- !tapi-tbd64--- !tapi-tbd
71tbd-version: 465tbd-version: 4
72targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 66targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
73 arm64e-macos, arm64e-maccatalyst ]
74install-name: '/usr/lib/system/libcommonCrypto.dylib'67install-name: '/usr/lib/system/libcommonCrypto.dylib'
75current-version: 6553568current-version: 65535
76parent-umbrella:69parent-umbrella:
77 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 70 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
78 arm64e-macos, arm64e-maccatalyst ]
79 umbrella: System71 umbrella: System
80exports:72exports:
81 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 73 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
82 arm64e-macos, arm64e-maccatalyst ]
83 symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal, 74 symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal,
84 _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd, 75 _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd,
85 _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear, 76 _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear,
...@@ -382,28 +373,23 @@ exports:...@@ -382,28 +373,23 @@ exports:
382 _atomic_signal_fence, _atomic_thread_fence ]373 _atomic_signal_fence, _atomic_thread_fence ]
383--- !tapi-tbd374--- !tapi-tbd
384tbd-version: 4375tbd-version: 4
385targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 376targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
386 arm64e-macos, arm64e-maccatalyst ]
387install-name: '/usr/lib/system/libcopyfile.dylib'377install-name: '/usr/lib/system/libcopyfile.dylib'
388parent-umbrella:378parent-umbrella:
389 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 379 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
390 arm64e-macos, arm64e-maccatalyst ]
391 umbrella: System380 umbrella: System
392exports:381exports:
393 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 382 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
394 arm64e-macos, arm64e-maccatalyst ]
395 symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get, 383 symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get,
396 _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags, 384 _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags,
397 _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ]385 _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ]
398--- !tapi-tbd386--- !tapi-tbd
399tbd-version: 4387tbd-version: 4
400targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 388targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
401 arm64e-macos, arm64e-maccatalyst ]
402install-name: '/usr/lib/system/libcorecrypto.dylib'389install-name: '/usr/lib/system/libcorecrypto.dylib'
403current-version: 1922.60.11390current-version: 1922.101.2
404parent-umbrella:391parent-umbrella:
405 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 392 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
406 arm64e-macos, arm64e-maccatalyst ]
407 umbrella: System393 umbrella: System
408exports:394exports:
409 - targets: [ x86_64-macos, x86_64-maccatalyst ]395 - targets: [ x86_64-macos, x86_64-maccatalyst ]
...@@ -415,8 +401,7 @@ exports:...@@ -415,8 +401,7 @@ exports:
415 _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode, 401 _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode,
416 _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di, 402 _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di,
417 _ccsha256_vng_intel_SupplementalSSE3_di ]403 _ccsha256_vng_intel_SupplementalSSE3_di ]
418 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 404 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
419 arm64e-macos, arm64e-maccatalyst ]
420 symbols: [ _CCEC_FAULT_CANARY, _CCMLDSA_FAULT_CANARY, _CCRSA_PKCS1_FAULT_CANARY, 405 symbols: [ _CCEC_FAULT_CANARY, _CCMLDSA_FAULT_CANARY, _CCRSA_PKCS1_FAULT_CANARY,
421 _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192, _CCSS_PRIME_P224, 406 _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192, _CCSS_PRIME_P224,
422 _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521, _cc_abort, 407 _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521, _cc_abort,
...@@ -561,15 +546,16 @@ exports:...@@ -561,15 +546,16 @@ exports:
561 _ccec_rfc6637_unwrap_sha512_kek_aes256, _ccec_rfc6637_wrap_key, 546 _ccec_rfc6637_unwrap_sha512_kek_aes256, _ccec_rfc6637_wrap_key,
562 _ccec_rfc6637_wrap_key_diversified, _ccec_rfc6637_wrap_key_size, 547 _ccec_rfc6637_wrap_key_diversified, _ccec_rfc6637_wrap_key_size,
563 _ccec_rfc6637_wrap_sha256_kek_aes128, _ccec_rfc6637_wrap_sha512_kek_aes256, 548 _ccec_rfc6637_wrap_sha256_kek_aes128, _ccec_rfc6637_wrap_sha512_kek_aes256,
564 _ccec_sign, _ccec_sign_composite, _ccec_sign_composite_msg, 549 _ccec_sign, _ccec_sign_composite, _ccec_sign_composite_hedged,
565 _ccec_sign_msg, _ccec_signature_r_s_size, _ccec_unblind, _ccec_validate_pub, 550 _ccec_sign_composite_msg, _ccec_sign_msg, _ccec_signature_r_s_size,
566 _ccec_verify, _ccec_verify_composite, _ccec_verify_composite_digest, 551 _ccec_unblind, _ccec_validate_pub, _ccec_verify, _ccec_verify_composite,
567 _ccec_verify_composite_msg, _ccec_verify_digest, _ccec_verify_msg, 552 _ccec_verify_composite_digest, _ccec_verify_composite_msg,
568 _ccec_x963_export, _ccec_x963_import_priv, _ccec_x963_import_priv_size, 553 _ccec_verify_digest, _ccec_verify_msg, _ccec_x963_export,
569 _ccec_x963_import_pub, _ccec_x963_import_pub_size, _ccecb_block_size, 554 _ccec_x963_import_priv, _ccec_x963_import_priv_size, _ccec_x963_import_pub,
570 _ccecb_context_size, _ccecb_init, _ccecb_one_shot, _ccecb_one_shot_explicit, 555 _ccec_x963_import_pub_size, _ccecb_block_size, _ccecb_context_size,
571 _ccecb_update, _ccecdh_compute_shared_secret, _ccecdh_generate_key, 556 _ccecb_init, _ccecb_one_shot, _ccecb_one_shot_explicit, _ccecb_update,
572 _ccecies_decrypt_gcm, _ccecies_decrypt_gcm_composite, _ccecies_decrypt_gcm_from_shared_secret, 557 _ccecdh_compute_shared_secret, _ccecdh_generate_key, _ccecies_decrypt_gcm,
558 _ccecies_decrypt_gcm_composite, _ccecies_decrypt_gcm_from_shared_secret,
573 _ccecies_decrypt_gcm_plaintext_size, _ccecies_decrypt_gcm_plaintext_size_cp, 559 _ccecies_decrypt_gcm_plaintext_size, _ccecies_decrypt_gcm_plaintext_size_cp,
574 _ccecies_decrypt_gcm_setup, _ccecies_encrypt_gcm, _ccecies_encrypt_gcm_ciphertext_size, 560 _ccecies_decrypt_gcm_setup, _ccecies_encrypt_gcm, _ccecies_encrypt_gcm_ciphertext_size,
575 _ccecies_encrypt_gcm_composite, _ccecies_encrypt_gcm_from_shared_secret, 561 _ccecies_encrypt_gcm_composite, _ccecies_encrypt_gcm_from_shared_secret,
...@@ -715,23 +701,27 @@ exports:...@@ -715,23 +701,27 @@ exports:
715 _ccsha1_ltc_di, _ccsha224_di, _ccsha224_ltc_di, _ccsha256_di, 701 _ccsha1_ltc_di, _ccsha224_di, _ccsha224_ltc_di, _ccsha256_di,
716 _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_di, 702 _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_di,
717 _ccsha3_256_di, _ccsha3_384_di, _ccsha3_512_di, _ccsha512_256_di, 703 _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,
719 _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys, 706 _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys,
720 _ccsigma_exclave_pairing_info, _ccsigma_export_key_share, 707 _ccsigma_exclave_pairing_info, _ccsigma_exclave_pairing_session_info,
721 _ccsigma_import_peer_key_share, _ccsigma_import_peer_verification_key, 708 _ccsigma_export_key_share, _ccsigma_import_peer_key_share,
722 _ccsigma_import_signing_key, _ccsigma_init, _ccsigma_kex_init_ctx, 709 _ccsigma_import_peer_verification_key, _ccsigma_import_signing_key,
723 _ccsigma_kex_resp_ctx, _ccsigma_mfi_info, _ccsigma_mfi_nvm_info, 710 _ccsigma_init, _ccsigma_kex_init_ctx, _ccsigma_kex_resp_ctx,
724 _ccsigma_open, _ccsigma_peer_role, _ccsigma_seal, _ccsigma_set_signing_function, 711 _ccsigma_mfi_info, _ccsigma_mfi_nvm_info, _ccsigma_open, _ccsigma_peer_role,
725 _ccsigma_sign, _ccsigma_verify, _ccsiv_aad, _ccsiv_block_size, 712 _ccsigma_seal, _ccsigma_session_clear, _ccsigma_session_export,
726 _ccsiv_ciphertext_size, _ccsiv_context_size, _ccsiv_crypt, 713 _ccsigma_session_import, _ccsigma_session_init, _ccsigma_session_open,
727 _ccsiv_hmac_aad, _ccsiv_hmac_block_size, _ccsiv_hmac_ciphertext_size, 714 _ccsigma_session_seal, _ccsigma_set_signing_function, _ccsigma_sign,
728 _ccsiv_hmac_context_size, _ccsiv_hmac_crypt, _ccsiv_hmac_init, 715 _ccsigma_verify, _ccsiv_aad, _ccsiv_block_size, _ccsiv_ciphertext_size,
729 _ccsiv_hmac_one_shot, _ccsiv_hmac_plaintext_size, _ccsiv_hmac_reset, 716 _ccsiv_context_size, _ccsiv_crypt, _ccsiv_hmac_aad, _ccsiv_hmac_block_size,
730 _ccsiv_hmac_set_nonce, _ccsiv_init, _ccsiv_one_shot, _ccsiv_plaintext_size, 717 _ccsiv_hmac_ciphertext_size, _ccsiv_hmac_context_size, _ccsiv_hmac_crypt,
731 _ccsiv_reset, _ccsiv_set_nonce, _ccspake_cp_256, _ccspake_cp_256_rfc, 718 _ccsiv_hmac_init, _ccsiv_hmac_one_shot, _ccsiv_hmac_plaintext_size,
732 _ccspake_cp_384, _ccspake_cp_384_rfc, _ccspake_cp_521, _ccspake_cp_521_rfc, 719 _ccsiv_hmac_reset, _ccsiv_hmac_set_nonce, _ccsiv_init, _ccsiv_one_shot,
733 _ccspake_generate_L, _ccspake_get_session_key, _ccspake_kex_generate, 720 _ccsiv_plaintext_size, _ccsiv_reset, _ccsiv_set_nonce, _ccspake_cp_256,
734 _ccspake_kex_process, _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256, 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,
735 _ccspake_mac_hkdf_hmac_sha256, _ccspake_mac_hkdf_hmac_sha512, 725 _ccspake_mac_hkdf_hmac_sha256, _ccspake_mac_hkdf_hmac_sha512,
736 _ccspake_mac_verify_and_get_session_key, _ccspake_prover_init, 726 _ccspake_mac_verify_and_get_session_key, _ccspake_prover_init,
737 _ccspake_prover_initialize, _ccspake_reduce_w, _ccspake_reduce_w_RFC9383, 727 _ccspake_prover_initialize, _ccspake_reduce_w, _ccspake_reduce_w_RFC9383,
...@@ -761,13 +751,14 @@ exports:...@@ -761,13 +751,14 @@ exports:
761 _ccvrf_sizeof_public_key, _ccvrf_sizeof_secret_key, _ccvrf_verify, 751 _ccvrf_sizeof_public_key, _ccvrf_sizeof_secret_key, _ccvrf_verify,
762 _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt, 752 _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt,
763 _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size, 753 _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size,
764 _ccxts_block_size, _ccxts_context_size, _ccxts_init, _ccxts_one_shot, 754 _ccxof_absorb, _ccxof_init, _ccxof_squeeze, _ccxts_block_size,
765 _ccxts_set_tweak, _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit, 755 _ccxts_context_size, _ccxts_init, _ccxts_one_shot, _ccxts_set_tweak,
766 _ccz_bitlen, _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod, 756 _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit, _ccz_bitlen,
767 _ccz_expmod, _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one, 757 _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod, _ccz_expmod,
768 _ccz_is_prime, _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod, 758 _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one, _ccz_is_prime,
769 _ccz_mul, _ccz_muli, _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits, 759 _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod, _ccz_mul, _ccz_muli,
770 _ccz_read_radix, _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity, 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,
771 _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size, 762 _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size,
772 _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int, 763 _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int,
773 _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size, 764 _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size,
...@@ -775,7 +766,7 @@ exports:...@@ -775,7 +766,7 @@ exports:
775 _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime, 766 _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime,
776 _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post, 767 _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post,
777 _fipspost_trace_vtable, _map_to_curve_sswu ]768 _fipspost_trace_vtable, _map_to_curve_sswu ]
778 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]769 - targets: [ arm64e-macos, arm64e-maccatalyst ]
779 symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode, 770 symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode,
780 _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode, 771 _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode,
781 _ccaes_arm_ecb_decrypt_mode, _ccaes_arm_ecb_encrypt_mode, 772 _ccaes_arm_ecb_decrypt_mode, _ccaes_arm_ecb_encrypt_mode,
...@@ -786,17 +777,14 @@ exports:...@@ -786,17 +777,14 @@ exports:
786 _ccsha512_vng_arm_hw_di ]777 _ccsha512_vng_arm_hw_di ]
787--- !tapi-tbd778--- !tapi-tbd
788tbd-version: 4779tbd-version: 4
789targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 780targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
790 arm64e-macos, arm64e-maccatalyst ]
791install-name: '/usr/lib/system/libdispatch.dylib'781install-name: '/usr/lib/system/libdispatch.dylib'
792current-version: 1542.0.4782current-version: 1542.100.32
793parent-umbrella:783parent-umbrella:
794 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 784 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
795 arm64e-macos, arm64e-maccatalyst ]
796 umbrella: System785 umbrella: System
797exports:786exports:
798 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 787 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
799 arm64e-macos, arm64e-maccatalyst ]
800 symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not', 788 symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not',
801 '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool, 789 '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool,
802 __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap, 790 __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap,
...@@ -978,49 +966,55 @@ exports:...@@ -978,49 +966,55 @@ exports:
978 __dyld_find_protocol_conformance, __dyld_find_protocol_conformance_on_disk, 966 __dyld_find_protocol_conformance, __dyld_find_protocol_conformance_on_disk,
979 __dyld_find_unwind_sections, __dyld_for_each_objc_class, __dyld_for_each_objc_protocol, 967 __dyld_find_unwind_sections, __dyld_for_each_objc_class, __dyld_for_each_objc_protocol,
980 __dyld_for_each_prewarming_range, __dyld_for_objc_header_opt_ro, 968 __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, 969 __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_framework_HWTrace_spis_enabled,
982 __dyld_get_image_header, __dyld_get_image_name, __dyld_get_image_slide, 970 __dyld_get_dlopen_image_header, __dyld_get_dyld_header, __dyld_get_image_header,
983 __dyld_get_image_uuid, __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, 971 __dyld_get_image_name, __dyld_get_image_slide, __dyld_get_image_uuid,
984 __dyld_get_prog_image_header, __dyld_get_shared_cache_range, 972 __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, __dyld_get_prog_image_header,
985 __dyld_get_shared_cache_uuid, __dyld_get_swift_prespecialized_data, 973 __dyld_get_shared_cache_range, __dyld_get_shared_cache_uuid,
986 __dyld_has_fix_for_radar, __dyld_has_preoptimized_swift_protocol_conformances, 974 __dyld_get_swift_prespecialized_data, __dyld_has_fix_for_radar,
987 __dyld_image_count, __dyld_images_for_addresses, __dyld_initializer, 975 __dyld_has_preoptimized_swift_protocol_conformances, __dyld_image_count,
988 __dyld_is_memory_immutable, __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded, 976 __dyld_images_for_addresses, __dyld_initializer, __dyld_is_memory_immutable,
989 __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lookup_section_info, 977 __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded,
990 __dyld_objc_class_count, __dyld_objc_notify_register, __dyld_objc_register_callbacks, 978 __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lazy_load,
991 __dyld_objc_uses_large_shared_cache, __dyld_process_info_create, 979 __dyld_lookup_section_info, __dyld_objc_class_count, __dyld_objc_notify_register,
992 __dyld_process_info_for_each_image, __dyld_process_info_for_each_segment, 980 __dyld_objc_register_callbacks, __dyld_objc_uses_large_shared_cache,
993 __dyld_process_info_get_aot_cache, __dyld_process_info_get_cache, 981 __dyld_process_info_create, __dyld_process_info_for_each_image,
994 __dyld_process_info_get_platform, __dyld_process_info_get_state, 982 __dyld_process_info_for_each_segment, __dyld_process_info_get_aot_cache,
995 __dyld_process_info_notify, __dyld_process_info_notify_main, 983 __dyld_process_info_get_cache, __dyld_process_info_get_platform,
996 __dyld_process_info_notify_release, __dyld_process_info_notify_retain, 984 __dyld_process_info_get_state, __dyld_process_info_notify,
997 __dyld_process_info_release, __dyld_process_info_retain, __dyld_pseudodylib_deregister, 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,
998 __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register, 988 __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register,
999 __dyld_pseudodylib_register_callbacks, __dyld_register_dlsym_notifier, 989 __dyld_pseudodylib_register_callbacks, __dyld_register_dlsym_notifier,
1000 __dyld_register_driverkit_main, __dyld_register_for_bulk_image_loads, 990 __dyld_register_driverkit_main, __dyld_register_for_bulk_image_loads,
1001 __dyld_register_for_image_loads, __dyld_register_func_for_add_image, 991 __dyld_register_for_image_loads, __dyld_register_func_for_add_image,
1002 __dyld_register_func_for_remove_image, __dyld_shared_cache_contains_path, 992 __dyld_register_func_for_remove_image, __dyld_shared_cache_contains_path,
1003 __dyld_shared_cache_is_locally_built, __dyld_shared_cache_optimized, 993 __dyld_shared_cache_file_path_containing_address, __dyld_shared_cache_is_locally_built,
1004 __dyld_shared_cache_real_path, __dyld_stack_bottom, __dyld_stack_range, 994 __dyld_shared_cache_optimized, __dyld_shared_cache_real_path,
1005 __dyld_stack_top, __dyld_swift_optimizations_version, __dyld_visit_objc_classes, 995 __dyld_stack_bottom, __dyld_stack_range, __dyld_stack_top,
996 __dyld_swift_optimizations_version, __dyld_visit_objc_classes,
1006 __tlv_atexit, __tlv_bootstrap, __tlv_exit, _dladdr, _dlclose, 997 __tlv_atexit, __tlv_bootstrap, __tlv_exit, _dladdr, _dlclose,
1007 _dlerror, _dlopen, _dlopen_audited, _dlopen_from, _dlopen_preflight, 998 _dlerror, _dlopen, _dlopen_audited, _dlopen_from, _dlopen_preflight,
1008 _dlsym, _dyldVersionNumber, _dyldVersionString, _dyld_dynamic_interpose, 999 _dlsym, _dyldVersionNumber, _dyldVersionString, _dyld_dynamic_interpose,
1009 _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_with_system_path, 1000 _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_ex,
1010 _dyld_get_active_platform, _dyld_get_base_platform, _dyld_get_image_versions, 1001 _dyld_for_each_installed_shared_cache_with_system_path, _dyld_get_active_platform,
1011 _dyld_get_min_os_version, _dyld_get_program_min_os_version, 1002 _dyld_get_base_platform, _dyld_get_image_versions, _dyld_get_min_os_version,
1012 _dyld_get_program_minos_version_token, _dyld_get_program_sdk_version, 1003 _dyld_get_program_min_os_version, _dyld_get_program_minos_version_token,
1013 _dyld_get_program_sdk_version_token, _dyld_get_sdk_version, 1004 _dyld_get_program_sdk_version, _dyld_get_program_sdk_version_token,
1014 _dyld_has_inserted_or_interposing_libraries, _dyld_image_content_for_section, 1005 _dyld_get_sdk_version, _dyld_has_inserted_or_interposing_libraries,
1015 _dyld_image_content_for_segment, _dyld_image_copy_uuid, _dyld_image_for_each_section_info, 1006 _dyld_image_content_for_section, _dyld_image_content_for_segment,
1007 _dyld_image_copy_uuid, _dyld_image_for_each_section_info,
1016 _dyld_image_for_each_segment_info, _dyld_image_get_file_path, 1008 _dyld_image_for_each_segment_info, _dyld_image_get_file_path,
1017 _dyld_image_get_installname, _dyld_image_header_containing_address, 1009 _dyld_image_get_installname, _dyld_image_header_containing_address,
1018 _dyld_image_local_nlist_content_4Symbolication, _dyld_image_path_containing_address, 1010 _dyld_image_local_nlist_content_4Symbolication, _dyld_image_path_containing_address,
1019 _dyld_is_simulator_platform, _dyld_minos_at_least, _dyld_need_closure, 1011 _dyld_image_release_4HWTrace, _dyld_image_retain_4HWTrace,
1020 _dyld_process_create_for_current_task, _dyld_process_create_for_task, 1012 _dyld_image_segment_data_4HWTrace, _dyld_is_simulator_platform,
1021 _dyld_process_dispose, _dyld_process_has_objc_patches, _dyld_process_is_restricted, 1013 _dyld_minos_at_least, _dyld_need_closure, _dyld_process_create_for_current_task,
1022 _dyld_process_register_for_event_notification, _dyld_process_register_for_image_notifications, 1014 _dyld_process_create_for_task, _dyld_process_dispose, _dyld_process_has_objc_patches,
1023 _dyld_process_snapshot_create_for_process, _dyld_process_snapshot_create_from_data, 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,
1024 _dyld_process_snapshot_dispose, _dyld_process_snapshot_for_each_image, 1018 _dyld_process_snapshot_dispose, _dyld_process_snapshot_for_each_image,
1025 _dyld_process_snapshot_get_shared_cache, _dyld_process_unregister_for_notification, 1019 _dyld_process_snapshot_get_shared_cache, _dyld_process_unregister_for_notification,
1026 _dyld_program_minos_at_least, _dyld_program_sdk_at_least, 1020 _dyld_program_minos_at_least, _dyld_program_sdk_at_least,
...@@ -1057,17 +1051,14 @@ exports:...@@ -1057,17 +1051,14 @@ exports:
1057 _dyld_shared_cache_for_each_subcache4Rosetta, _dyld_shared_subcache_get_info4Rosetta ]1051 _dyld_shared_cache_for_each_subcache4Rosetta, _dyld_shared_subcache_get_info4Rosetta ]
1058--- !tapi-tbd1052--- !tapi-tbd
1059tbd-version: 41053tbd-version: 4
1060targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1054targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1061 arm64e-macos, arm64e-maccatalyst ]
1062install-name: '/usr/lib/system/libkeymgr.dylib'1055install-name: '/usr/lib/system/libkeymgr.dylib'
1063current-version: 311056current-version: 31
1064parent-umbrella:1057parent-umbrella:
1065 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1058 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1066 arm64e-macos, arm64e-maccatalyst ]
1067 umbrella: System1059 umbrella: System
1068exports:1060exports:
1069 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1061 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1070 arm64e-macos, arm64e-maccatalyst ]
1071 symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer, 1062 symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer,
1072 __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2, 1063 __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2,
1073 __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr, 1064 __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr,
...@@ -1077,7 +1068,7 @@ exports:...@@ -1077,7 +1068,7 @@ exports:
1077tbd-version: 41068tbd-version: 4
1078targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1069targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1079install-name: '/usr/lib/system/libmacho.dylib'1070install-name: '/usr/lib/system/libmacho.dylib'
1080current-version: 1030.6.31071current-version: 1040
1081parent-umbrella:1072parent-umbrella:
1082 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1073 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1083 umbrella: System1074 umbrella: System
...@@ -1114,17 +1105,14 @@ exports:...@@ -1114,17 +1105,14 @@ exports:
1114 _swap_x86_thread_state, _swap_x86_thread_state64 ]1105 _swap_x86_thread_state, _swap_x86_thread_state64 ]
1115--- !tapi-tbd1106--- !tapi-tbd
1116tbd-version: 41107tbd-version: 4
1117targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1108targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1118 arm64e-macos, arm64e-maccatalyst ]
1119install-name: '/usr/lib/system/libquarantine.dylib'1109install-name: '/usr/lib/system/libquarantine.dylib'
1120current-version: 196.40.31110current-version: 196.100.8
1121parent-umbrella:1111parent-umbrella:
1122 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1112 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1123 arm64e-macos, arm64e-maccatalyst ]
1124 umbrella: System1113 umbrella: System
1125exports:1114exports:
1126 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1115 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1127 arm64e-macos, arm64e-maccatalyst ]
1128 symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point, 1116 symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point,
1129 __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free, 1117 __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free,
1130 __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata, 1118 __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata,
...@@ -1145,7 +1133,7 @@ exports:...@@ -1145,7 +1133,7 @@ exports:
1145 _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid, 1133 _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid,
1146 _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init, 1134 _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init,
1147 _responsibility_set_pid_responsible_for_pid ]1135 _responsibility_set_pid_responsible_for_pid ]
1148 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1136 - targets: [ x86_64-macos, arm64e-macos ]
1149 symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data, 1137 symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data,
1150 _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token, 1138 _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token,
1151 _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform, 1139 _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform,
...@@ -1161,17 +1149,14 @@ exports:...@@ -1161,17 +1149,14 @@ exports:
1161 _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ]1149 _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ]
1162--- !tapi-tbd1150--- !tapi-tbd
1163tbd-version: 41151tbd-version: 4
1164targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1152targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1165 arm64e-macos, arm64e-maccatalyst ]
1166install-name: '/usr/lib/system/libremovefile.dylib'1153install-name: '/usr/lib/system/libremovefile.dylib'
1167current-version: 841154current-version: 85.100.6
1168parent-umbrella:1155parent-umbrella:
1169 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1156 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1170 arm64e-macos, arm64e-maccatalyst ]
1171 umbrella: System1157 umbrella: System
1172exports:1158exports:
1173 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1159 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1174 arm64e-macos, arm64e-maccatalyst ]
1175 symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer, 1160 symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer,
1176 ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker, 1161 ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker,
1177 ___removefile_tree_walker_slim, _removefile, _removefile_cancel, 1162 ___removefile_tree_walker_slim, _removefile, _removefile_cancel,
...@@ -1179,17 +1164,14 @@ exports:...@@ -1179,17 +1164,14 @@ exports:
1179 _removefile_state_set, _removefileat ]1164 _removefile_state_set, _removefileat ]
1180--- !tapi-tbd1165--- !tapi-tbd
1181tbd-version: 41166tbd-version: 4
1182targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1167targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1183 arm64e-macos, arm64e-maccatalyst ]
1184install-name: '/usr/lib/system/libsystem_asl.dylib'1168install-name: '/usr/lib/system/libsystem_asl.dylib'
1185current-version: 4061169current-version: 406
1186parent-umbrella:1170parent-umbrella:
1187 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1171 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1188 arm64e-macos, arm64e-maccatalyst ]
1189 umbrella: System1172 umbrella: System
1190exports:1173exports:
1191 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1174 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1192 arm64e-macos, arm64e-maccatalyst ]
1193 symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child, 1175 symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child,
1194 __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child, 1176 __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child,
1195 __asl_mt_shim_send_message, __asl_server_cancel_direct_watch, 1177 __asl_mt_shim_send_message, __asl_server_cancel_direct_watch,
...@@ -1260,17 +1242,14 @@ exports:...@@ -1260,17 +1242,14 @@ exports:
1260 _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ]1242 _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ]
1261--- !tapi-tbd1243--- !tapi-tbd
1262tbd-version: 41244tbd-version: 4
1263targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1245targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1264 arm64e-macos, arm64e-maccatalyst ]
1265install-name: '/usr/lib/system/libsystem_blocks.dylib'1246install-name: '/usr/lib/system/libsystem_blocks.dylib'
1266current-version: 961247current-version: 96
1267parent-umbrella:1248parent-umbrella:
1268 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1249 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1269 arm64e-macos, arm64e-maccatalyst ]
1270 umbrella: System1250 umbrella: System
1271exports:1251exports:
1272 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1252 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1273 arm64e-macos, arm64e-maccatalyst ]
1274 symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature, 1253 symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature,
1275 __Block_isDeallocating, __Block_layout, __Block_object_assign, 1254 __Block_isDeallocating, __Block_layout, __Block_object_assign,
1276 __Block_object_dispose, __Block_release, __Block_signature, 1255 __Block_object_dispose, __Block_release, __Block_signature,
...@@ -1279,29 +1258,28 @@ exports:...@@ -1279,29 +1258,28 @@ exports:
1279 __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ]1258 __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ]
1280--- !tapi-tbd1259--- !tapi-tbd
1281tbd-version: 41260tbd-version: 4
1282targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1261targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1283 arm64e-macos, arm64e-maccatalyst ]
1284install-name: '/usr/lib/system/libsystem_c.dylib'1262install-name: '/usr/lib/system/libsystem_c.dylib'
1285current-version: 1725.40.41263current-version: 1752.100.10
1286parent-umbrella:1264parent-umbrella:
1287 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1265 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1288 arm64e-macos, arm64e-maccatalyst ]
1289 umbrella: System1266 umbrella: System
1290exports:1267exports:
1291 - targets: [ x86_64-macos, x86_64-maccatalyst ]1268 - targets: [ x86_64-macos, x86_64-maccatalyst ]
1292 symbols: [ '___opendir2$INODE64', '__readdir_unlocked$INODE64', '__seekdir$INODE64', 1269 symbols: [ '___opendir2$INODE64', '__readdir_unlocked$INODE64', '__seekdir$INODE64',
1293 '_alphasort$INODE64', '_daemon$1050', '_fdopendir$INODE64', 1270 '_alphasort$INODE64', '_daemon$1050', '_fdopendir$INODE64',
1294 _fstatx64_np, '_fstatx_np$INODE64', '_fts_children$INODE64', 1271 '_fdscandir$INODE64', '_fdscandir_b$INODE64', _fstatx64_np,
1295 '_fts_close$INODE64', '_fts_open$INODE64', '_fts_open_b$INODE64', 1272 '_fstatx_np$INODE64', '_fts_children$INODE64', '_fts_close$INODE64',
1296 '_fts_read$INODE64', '_fts_set$INODE64', '_ftw$INODE64', '_getmntinfo$INODE64', 1273 '_fts_open$INODE64', '_fts_open_b$INODE64', '_fts_read$INODE64',
1274 '_fts_set$INODE64', '_ftw$INODE64', '_getmntinfo$INODE64',
1297 _getmntinfo64, '_getmntinfo_r_np$INODE64', '_glob$INODE64', 1275 _getmntinfo64, '_getmntinfo_r_np$INODE64', '_glob$INODE64',
1298 '_glob_b$INODE64', _lstatx64_np, '_lstatx_np$INODE64', '_nftw$INODE64', 1276 '_glob_b$INODE64', _lstatx64_np, '_lstatx_np$INODE64', '_nftw$INODE64',
1299 '_opendir$INODE64', '_readdir$INODE64', '_readdir_r$INODE64', 1277 '_opendir$INODE64', '_readdir$INODE64', '_readdir_r$INODE64',
1300 '_rewinddir$INODE64', '_scandir$INODE64', '_scandir_b$INODE64', 1278 '_rewinddir$INODE64', '_scandir$INODE64', '_scandir_b$INODE64',
1301 '_seekdir$INODE64', _statx64_np, '_statx_np$INODE64', _strtoencf80_l, 1279 '_scandirat$INODE64', '_scandirat_b$INODE64', '_seekdir$INODE64',
1302 '_telldir$INODE64', mcount ]1280 _statx64_np, '_statx_np$INODE64', _strtoencf80_l, '_telldir$INODE64',
1303 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1281 mcount ]
1304 arm64e-macos, arm64e-maccatalyst ]1282 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1305 symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres', 1283 symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres',
1306 '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime', 1284 '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime',
1307 '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy', 1285 '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy',
...@@ -1406,10 +1384,11 @@ exports:...@@ -1406,10 +1384,11 @@ exports:
1406 _environ_unlock_np, _erand48, _err, _err_set_exit, _err_set_exit_b, 1384 _environ_unlock_np, _erand48, _err, _err_set_exit, _err_set_exit_b,
1407 _err_set_file, _errc, _errx, _execl, _execle, _execlp, _execv, 1385 _err_set_file, _errc, _errx, _execl, _execle, _execlp, _execv,
1408 _execvP, _execvp, _exit, _f_prealloc, _fchmodx_np, _fclose, 1386 _execvP, _execvp, _exit, _f_prealloc, _fchmodx_np, _fclose,
1409 _fcvt, _fdopen, '_fdopen$DARWIN_EXTSN', _fdopendir, _feof, 1387 _fcvt, _fdclosedir, _fdopen, '_fdopen$DARWIN_EXTSN', _fdopendir,
1410 _feof_unlocked, _ferror, _ferror_unlocked, _fflagstostr, _fflush, 1388 _fdscandir, _fdscandir_b, _feof, _feof_unlocked, _ferror,
1411 _fgetc, _fgetln, _fgetpos, _fgetrune, _fgets, _fgetwc, _fgetwc_l, 1389 _ferror_unlocked, _fflagstostr, _fflush, _fgetc, _fgetln,
1412 _fgetwln, _fgetwln_l, _fgetws, _fgetws_l, _fileno, _fileno_unlocked, 1390 _fgetpos, _fgetrune, _fgets, _fgetwc, _fgetwc_l, _fgetwln,
1391 _fgetwln_l, _fgetws, _fgetws_l, _fileno, _fileno_unlocked,
1413 _filesec_dup, _filesec_free, _filesec_get_property, _filesec_init, 1392 _filesec_dup, _filesec_free, _filesec_get_property, _filesec_init,
1414 _filesec_query_property, _filesec_set_property, _filesec_unset_property, 1393 _filesec_query_property, _filesec_set_property, _filesec_unset_property,
1415 _flockfile, _fmemopen, _fmtcheck, _fmtmsg, _fnmatch, _fopen, 1394 _flockfile, _fmemopen, _fmtcheck, _fmtmsg, _fnmatch, _fopen,
...@@ -1490,16 +1469,17 @@ exports:...@@ -1490,16 +1469,17 @@ exports:
1490 _regncomp, _regncomp_l, _regnexec, _regwcomp, _regwcomp_l, 1469 _regncomp, _regncomp_l, _regnexec, _regwcomp, _regwcomp_l,
1491 _regwexec, _regwncomp, _regwncomp_l, _regwnexec, _remove, 1470 _regwexec, _regwncomp, _regwncomp_l, _regwnexec, _remove,
1492 _remque, _rewind, _rewinddir, _rindex, _rpmatch, _sbrk, _scandir, 1471 _remque, _rewind, _rewinddir, _rindex, _rpmatch, _sbrk, _scandir,
1493 _scandir_b, _scanf, _scanf_l, _seed48, _seekdir, _send, '_send$NOCANCEL', 1472 _scandir_b, _scandirat, _scandirat_b, _scanf, _scanf_l, _seed48,
1494 _setbuf, _setbuffer, _setenv, _sethostid, _sethostname, _setinvalidrune, 1473 _seekdir, _send, '_send$NOCANCEL', _setbuf, _setbuffer, _setenv,
1495 _setipv4sourcefilter, _setkey, _setlinebuf, _setlocale, _setlogin, 1474 _sethostid, _sethostname, _setinvalidrune, _setipv4sourcefilter,
1496 _setmode, _setpgrp, _setprogname, _setrgid, _setruid, _setrunelocale, 1475 _setkey, _setlinebuf, _setlocale, _setlogin, _setmode, _setpgrp,
1497 _setsourcefilter, _setstate, _settimeofday, _setttyent, _setusershell, 1476 _setprogname, _setrgid, _setruid, _setrunelocale, _setsourcefilter,
1498 _setutxent, _setutxent_wtmp, _setvbuf, _sigaction, _sigaddset, 1477 _setstate, _settimeofday, _setttyent, _setusershell, _setutxent,
1499 _sigaltstack, _sigblock, _sigdelset, _sigemptyset, _sigfillset, 1478 _setutxent_wtmp, _setvbuf, _sigaction, _sigaddset, _sigaltstack,
1500 _sighold, _sigignore, _siginterrupt, _sigismember, _signal, 1479 _sigblock, _sigdelset, _sigemptyset, _sigfillset, _sighold,
1501 _sigpause, '_sigpause$NOCANCEL', _sigrelse, _sigset, _sigsetmask, 1480 _sigignore, _siginterrupt, _sigismember, _signal, _sigpause,
1502 _sigvec, _sl_add, _sl_find, _sl_free, _sl_init, _sleep, '_sleep$NOCANCEL', 1481 '_sigpause$NOCANCEL', _sigrelse, _sigset, _sigsetmask, _sigvec,
1482 _sl_add, _sl_find, _sl_free, _sl_init, _sleep, '_sleep$NOCANCEL',
1503 _snprintf, _snprintf_l, _snvis, _sockatmark, _sprintf, _sprintf_l, 1483 _snprintf, _snprintf_l, _snvis, _sockatmark, _sprintf, _sprintf_l,
1504 _sradixsort, _srand, _srand48, _sranddev, _srandom, _srandomdev, 1484 _sradixsort, _srand, _srand48, _sranddev, _srandom, _srandomdev,
1505 _sscanf, _sscanf_l, _stat_with_subsystem, _statvfs, _statx_np, 1485 _sscanf, _sscanf_l, _stat_with_subsystem, _statvfs, _statx_np,
...@@ -1568,25 +1548,21 @@ exports:...@@ -1568,25 +1548,21 @@ exports:
1568 _xprintf_exec ]1548 _xprintf_exec ]
1569 weak-symbols: [ __os_debug_log_redirect_func ]1549 weak-symbols: [ __os_debug_log_redirect_func ]
1570reexports:1550reexports:
1571 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1551 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1572 arm64e-macos, arm64e-maccatalyst ]
1573 symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy, 1552 symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy,
1574 _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8, 1553 _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8,
1575 _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp, 1554 _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp,
1576 _strncpy, _strnlen, _strstr ]1555 _strncpy, _strnlen, _strstr ]
1577--- !tapi-tbd1556--- !tapi-tbd
1578tbd-version: 41557tbd-version: 4
1579targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1558targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1580 arm64e-macos, arm64e-maccatalyst ]
1581install-name: '/usr/lib/system/libsystem_collections.dylib'1559install-name: '/usr/lib/system/libsystem_collections.dylib'
1582current-version: 1725.40.41560current-version: 1752.100.10
1583parent-umbrella:1561parent-umbrella:
1584 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1562 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1585 arm64e-macos, arm64e-maccatalyst ]
1586 umbrella: System1563 umbrella: System
1587exports:1564exports:
1588 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1565 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1589 arm64e-macos, arm64e-maccatalyst ]
1590 symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete, 1566 symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete,
1591 _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach, 1567 _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach,
1592 _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count, 1568 _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count,
...@@ -1606,17 +1582,14 @@ exports:...@@ -1606,17 +1582,14 @@ exports:
1606 _os_set_str_ptr_foreach, _os_set_str_ptr_init, _os_set_str_ptr_insert ]1582 _os_set_str_ptr_foreach, _os_set_str_ptr_init, _os_set_str_ptr_insert ]
1607--- !tapi-tbd1583--- !tapi-tbd
1608tbd-version: 41584tbd-version: 4
1609targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1585targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1610 arm64e-macos, arm64e-maccatalyst ]
1611install-name: '/usr/lib/system/libsystem_configuration.dylib'1586install-name: '/usr/lib/system/libsystem_configuration.dylib'
1612current-version: 1385.60.31587current-version: 1405.100.8
1613parent-umbrella:1588parent-umbrella:
1614 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1589 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1615 arm64e-macos, arm64e-maccatalyst ]
1616 umbrella: System1590 umbrella: System
1617exports:1591exports:
1618 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1592 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1619 arm64e-macos, arm64e-maccatalyst ]
1620 symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent, 1593 symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent,
1621 __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack, 1594 __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack,
1622 __nwi_state_force_refresh, _config_agent_copy_dns_information, 1595 __nwi_state_force_refresh, _config_agent_copy_dns_information,
...@@ -1633,16 +1606,13 @@ exports:...@@ -1633,16 +1606,13 @@ exports:
1633 _nwi_state_get_reachability_flags, _nwi_state_release ]1606 _nwi_state_get_reachability_flags, _nwi_state_release ]
1634--- !tapi-tbd1607--- !tapi-tbd
1635tbd-version: 41608tbd-version: 4
1636targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1609targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1637 arm64e-macos, arm64e-maccatalyst ]
1638install-name: '/usr/lib/system/libsystem_containermanager.dylib'1610install-name: '/usr/lib/system/libsystem_containermanager.dylib'
1639parent-umbrella:1611parent-umbrella:
1640 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1612 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1641 arm64e-macos, arm64e-maccatalyst ]
1642 umbrella: System1613 umbrella: System
1643exports:1614exports:
1644 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1615 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1645 arm64e-macos, arm64e-maccatalyst ]
1646 symbols: [ _CMCONTAINERSEAM_DEFAULT, _CMDISPATCHSEAM_DEFAULT, _CMFSSEAM_DEFAULT, 1616 symbols: [ _CMCONTAINERSEAM_DEFAULT, _CMDISPATCHSEAM_DEFAULT, _CMFSSEAM_DEFAULT,
1647 _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT, _CMQUARANTINESEAM_DEFAULT, 1617 _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT, _CMQUARANTINESEAM_DEFAULT,
1648 _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES, _CONTAINER_NOTIFY_GENERATION_INITIAL, 1618 _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES, _CONTAINER_NOTIFY_GENERATION_INITIAL,
...@@ -1834,7 +1804,7 @@ exports:...@@ -1834,7 +1804,7 @@ exports:
1834 _container_xpc_shared_copy_connection, _gCMContainerSeam, 1804 _container_xpc_shared_copy_connection, _gCMContainerSeam,
1835 _gCMDispatchSeam, _gCMFSSeam, _gCMNotifySeam, _gCMPWDSeam, 1805 _gCMDispatchSeam, _gCMFSSeam, _gCMNotifySeam, _gCMPWDSeam,
1836 _gCMQuarantineSeam, _gCMSandboxSeam ]1806 _gCMQuarantineSeam, _gCMSandboxSeam ]
1837 - targets: [ x86_64-maccatalyst, arm64-maccatalyst, arm64e-maccatalyst ]1807 - targets: [ x86_64-maccatalyst, arm64e-maccatalyst ]
1838 symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID, 1808 symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID,
1839 _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths, 1809 _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths,
1840 _container_create_or_lookup_group_container_paths_for_current_user, 1810 _container_create_or_lookup_group_container_paths_for_current_user,
...@@ -1848,38 +1818,32 @@ exports:...@@ -1848,38 +1818,32 @@ exports:
1848 _container_references_set_uid ]1818 _container_references_set_uid ]
1849--- !tapi-tbd1819--- !tapi-tbd
1850tbd-version: 41820tbd-version: 4
1851targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1821targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1852 arm64e-macos, arm64e-maccatalyst ]
1853install-name: '/usr/lib/system/libsystem_coreservices.dylib'1822install-name: '/usr/lib/system/libsystem_coreservices.dylib'
1854current-version: 1291823current-version: 129
1855parent-umbrella:1824parent-umbrella:
1856 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1825 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1857 arm64e-macos, arm64e-maccatalyst ]
1858 umbrella: System1826 umbrella: System
1859exports:1827exports:
1860 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1828 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1861 arm64e-macos, arm64e-maccatalyst ]
1862 symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration, 1829 symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration,
1863 _NSStartSearchPathEnumerationPrivate, ___user_local_dirname, 1830 _NSStartSearchPathEnumerationPrivate, ___user_local_dirname,
1864 ___user_relative_dirname, __dirhelper, __dirhelper_relative, 1831 ___user_relative_dirname, __dirhelper, __dirhelper_relative,
1865 __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix, 1832 __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix,
1866 _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration, 1833 _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration,
1867 _sysdir_start_search_path_enumeration_private ]1834 _sysdir_start_search_path_enumeration_private ]
1868 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1835 - targets: [ x86_64-macos, arm64e-macos ]
1869 symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints, 1836 symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints,
1870 __dirhelper_remove_test, __dirhelper_test, __idle_exit ]1837 __dirhelper_remove_test, __dirhelper_test, __idle_exit ]
1871--- !tapi-tbd1838--- !tapi-tbd
1872tbd-version: 41839tbd-version: 4
1873targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1840targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1874 arm64e-macos, arm64e-maccatalyst ]
1875install-name: '/usr/lib/system/libsystem_darwin.dylib'1841install-name: '/usr/lib/system/libsystem_darwin.dylib'
1876parent-umbrella:1842parent-umbrella:
1877 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1843 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1878 arm64e-macos, arm64e-maccatalyst ]
1879 umbrella: System1844 umbrella: System
1880exports:1845exports:
1881 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1846 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1882 arm64e-macos, arm64e-maccatalyst ]
1883 symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np, 1847 symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np,
1884 _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np, 1848 _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np,
1885 _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np, 1849 _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np,
...@@ -1906,35 +1870,29 @@ exports:...@@ -1906,35 +1870,29 @@ exports:
1906 _sysctlbyname_get_data_np, _sysexit_np, _vcrfprintf_np, _verr_np, 1870 _sysctlbyname_get_data_np, _sysexit_np, _vcrfprintf_np, _verr_np,
1907 _verrc_np, _vwarn_np, _vwfprintf_np, _warn_np, _wfprintf_np, 1871 _verrc_np, _vwarn_np, _vwfprintf_np, _warn_np, _wfprintf_np,
1908 _xferfd_np, _zsnprintf_np ]1872 _xferfd_np, _zsnprintf_np ]
1909 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1873 - targets: [ x86_64-macos, arm64e-macos ]
1910 symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ]1874 symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ]
1911--- !tapi-tbd1875--- !tapi-tbd
1912tbd-version: 41876tbd-version: 4
1913targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1877targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1914 arm64e-macos, arm64e-maccatalyst ]
1915install-name: '/usr/lib/system/libsystem_darwindirectory.dylib'1878install-name: '/usr/lib/system/libsystem_darwindirectory.dylib'
1916parent-umbrella:1879parent-umbrella:
1917 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1880 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1918 arm64e-macos, arm64e-maccatalyst ]
1919 umbrella: System1881 umbrella: System
1920exports:1882exports:
1921 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1883 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1922 arm64e-macos, arm64e-maccatalyst ]
1923 symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply, 1884 symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply,
1924 _DarwinDirectoryRecordStoreApplyWithFilter ]1885 _DarwinDirectoryRecordStoreApplyWithFilter ]
1925--- !tapi-tbd1886--- !tapi-tbd
1926tbd-version: 41887tbd-version: 4
1927targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1888targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1928 arm64e-macos, arm64e-maccatalyst ]
1929install-name: '/usr/lib/system/libsystem_dnssd.dylib'1889install-name: '/usr/lib/system/libsystem_dnssd.dylib'
1930current-version: 2881.60.41890current-version: 2881.100.56
1931parent-umbrella:1891parent-umbrella:
1932 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1892 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1933 arm64e-macos, arm64e-maccatalyst ]
1934 umbrella: System1893 umbrella: System
1935exports:1894exports:
1936 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1895 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1937 arm64e-macos, arm64e-maccatalyst ]
1938 symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree, 1896 symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree,
1939 _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData, 1897 _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData,
1940 _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate, 1898 _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate,
...@@ -1962,14 +1920,14 @@ exports:...@@ -1962,14 +1920,14 @@ exports:
1962 _kDNSServiceAttributeAAAAFallback ]1920 _kDNSServiceAttributeAAAAFallback ]
1963--- !tapi-tbd1921--- !tapi-tbd
1964tbd-version: 41922tbd-version: 4
1965targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1923targets: [ x86_64-macos, arm64e-macos ]
1966install-name: '/usr/lib/system/libsystem_eligibility.dylib'1924install-name: '/usr/lib/system/libsystem_eligibility.dylib'
1967current-version: 286.60.231925current-version: 319.101.1
1968parent-umbrella:1926parent-umbrella:
1969 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1927 - targets: [ x86_64-macos, arm64e-macos ]
1970 umbrella: System1928 umbrella: System
1971exports:1929exports:
1972 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1930 - targets: [ x86_64-macos, arm64e-macos ]
1973 symbols: [ _os_eligibility_domain_for_name, _os_eligibility_dump_sysdiagnose_data_to_dir, 1931 symbols: [ _os_eligibility_domain_for_name, _os_eligibility_dump_sysdiagnose_data_to_dir,
1974 _os_eligibility_fetch_newest_policies, _os_eligibility_force_domain_answer, 1932 _os_eligibility_fetch_newest_policies, _os_eligibility_force_domain_answer,
1975 _os_eligibility_force_domain_set_answers, _os_eligibility_get_all_domain_answers, 1933 _os_eligibility_force_domain_set_answers, _os_eligibility_get_all_domain_answers,
...@@ -1980,30 +1938,24 @@ exports:...@@ -1980,30 +1938,24 @@ exports:
1980 _os_eligibility_set_input, _os_eligibility_set_test_mode ]1938 _os_eligibility_set_input, _os_eligibility_set_test_mode ]
1981--- !tapi-tbd1939--- !tapi-tbd
1982tbd-version: 41940tbd-version: 4
1983targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1941targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1984 arm64e-macos, arm64e-maccatalyst ]
1985install-name: '/usr/lib/system/libsystem_featureflags.dylib'1942install-name: '/usr/lib/system/libsystem_featureflags.dylib'
1986current-version: 1011943current-version: 103
1987parent-umbrella:1944parent-umbrella:
1988 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1945 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1989 arm64e-macos, arm64e-maccatalyst ]
1990 umbrella: System1946 umbrella: System
1991exports:1947exports:
1992 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1948 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1993 arm64e-macos, arm64e-maccatalyst ]
1994 symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ]1949 symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ]
1995--- !tapi-tbd1950--- !tapi-tbd
1996tbd-version: 41951tbd-version: 4
1997targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1952targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
1998 arm64e-macos, arm64e-maccatalyst ]
1999install-name: '/usr/lib/system/libsystem_info.dylib'1953install-name: '/usr/lib/system/libsystem_info.dylib'
2000parent-umbrella:1954parent-umbrella:
2001 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1955 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2002 arm64e-macos, arm64e-maccatalyst ]
2003 umbrella: System1956 umbrella: System
2004exports:1957exports:
2005 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1958 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2006 arm64e-macos, arm64e-maccatalyst ]
2007 symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create, 1959 symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create,
2008 _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname, 1960 _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname,
2009 __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized, 1961 __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized,
...@@ -2121,7 +2073,7 @@ tbd-version: 4...@@ -2121,7 +2073,7 @@ tbd-version: 4
2121targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2073targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2122 arm64e-macos, arm64e-maccatalyst ]2074 arm64e-macos, arm64e-maccatalyst ]
2123install-name: '/usr/lib/system/libsystem_kernel.dylib'2075install-name: '/usr/lib/system/libsystem_kernel.dylib'
2124current-version: 12377.61.122076current-version: 12377.101.14
2125parent-umbrella:2077parent-umbrella:
2126 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2078 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2127 arm64e-macos, arm64e-maccatalyst ]2079 arm64e-macos, arm64e-maccatalyst ]
...@@ -2239,13 +2191,14 @@ exports:...@@ -2239,13 +2191,14 @@ exports:
2239 __kernelrpc_mach_vm_map_trap, __kernelrpc_mach_vm_protect, 2191 __kernelrpc_mach_vm_map_trap, __kernelrpc_mach_vm_protect,
2240 __kernelrpc_mach_vm_protect_trap, __kernelrpc_mach_vm_purgable_control, 2192 __kernelrpc_mach_vm_protect_trap, __kernelrpc_mach_vm_purgable_control,
2241 __kernelrpc_mach_vm_purgable_control_trap, __kernelrpc_mach_vm_read, 2193 __kernelrpc_mach_vm_purgable_control_trap, __kernelrpc_mach_vm_read,
2242 __kernelrpc_mach_vm_remap, __kernelrpc_mach_vm_remap_new, 2194 __kernelrpc_mach_vm_reallocate, __kernelrpc_mach_vm_remap,
2243 __kernelrpc_mach_vm_update_pointers_with_remote_tags, __kernelrpc_mach_voucher_extract_attr_recipe, 2195 __kernelrpc_mach_vm_remap_new, __kernelrpc_mach_vm_update_pointers_with_remote_tags,
2244 __kernelrpc_task_set_port_space, __kernelrpc_thread_policy, 2196 __kernelrpc_mach_voucher_extract_attr_recipe, __kernelrpc_task_set_port_space,
2245 __kernelrpc_thread_policy_set, __kernelrpc_thread_set_policy, 2197 __kernelrpc_thread_policy, __kernelrpc_thread_policy_set,
2246 __kernelrpc_vm_map, __kernelrpc_vm_purgable_control, __kernelrpc_vm_read, 2198 __kernelrpc_thread_set_policy, __kernelrpc_vm_map, __kernelrpc_vm_purgable_control,
2247 __kernelrpc_vm_remap, __kernelrpc_vm_remap_new, __mach_errors, 2199 __kernelrpc_vm_read, __kernelrpc_vm_reallocate, __kernelrpc_vm_remap,
2248 __mach_fork_child, __mach_snprintf, __mach_vsnprintf, __os_alloc_once_table, 2200 __kernelrpc_vm_remap_new, __mach_errors, __mach_fork_child,
2201 __mach_snprintf, __mach_vsnprintf, __os_alloc_once_table,
2249 __os_xbs_chrooted, __register_gethostuuid_callback, __thread_set_tsd_base, 2202 __os_xbs_chrooted, __register_gethostuuid_callback, __thread_set_tsd_base,
2250 _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL', 2203 _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL',
2251 _access, _accessx_np, _acct, _act_get_state, _act_set_state, 2204 _access, _accessx_np, _acct, _act_get_state, _act_set_state,
...@@ -2266,27 +2219,31 @@ exports:...@@ -2266,27 +2219,31 @@ exports:
2266 _debug_syscall_reject, _debug_syscall_reject_config, _denap_boost_assertion_token, 2219 _debug_syscall_reject, _debug_syscall_reject_config, _denap_boost_assertion_token,
2267 _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server, 2220 _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server,
2268 _exc_server_routine, _exception_raise, _exception_raise_state, 2221 _exc_server_routine, _exception_raise, _exception_raise_state,
2269 _exception_raise_state_identity, _exchangedata, _exclaves_aoe_message_loop, 2222 _exception_raise_state_identity, _exchangedata, _exclaves_aoe_enumerate_and_setup_services,
2270 _exclaves_aoe_setup, _exclaves_aoe_work_loop, _exclaves_audio_buffer_copyout, 2223 _exclaves_aoe_get_all_service_infos, _exclaves_aoe_message_loop,
2271 _exclaves_audio_buffer_copyout_with_status, _exclaves_audio_buffer_create, 2224 _exclaves_aoe_message_loop_with_service_id, _exclaves_aoe_setup,
2272 _exclaves_boot, _exclaves_endpoint_call, _exclaves_inbound_buffer_copyin, 2225 _exclaves_aoe_work_loop, _exclaves_aoe_work_loop_with_service_id,
2273 _exclaves_inbound_buffer_create, _exclaves_indicator_min_on_time, 2226 _exclaves_arbitrated_buffer_copyout, _exclaves_arbitrated_buffer_create,
2274 _exclaves_launch_conclave, _exclaves_lookup_service, _exclaves_named_buffer_copyin, 2227 _exclaves_audio_buffer_copyout, _exclaves_audio_buffer_copyout_with_status,
2275 _exclaves_named_buffer_copyout, _exclaves_named_buffer_create, 2228 _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_daemon_notification_deregister,
2276 _exclaves_notification_create, _exclaves_outbound_buffer_copyout, 2229 _exclaves_daemon_notification_register, _exclaves_endpoint_call,
2277 _exclaves_outbound_buffer_create, _exclaves_sensor_create, 2230 _exclaves_inbound_buffer_copyin, _exclaves_inbound_buffer_create,
2278 _exclaves_sensor_start, _exclaves_sensor_status, _exclaves_sensor_stop, 2231 _exclaves_indicator_min_on_time, _exclaves_launch_conclave,
2279 _execve, _faccessat, _fchdir, _fchflags, _fchmod, _fchmodat, 2232 _exclaves_lookup_service, _exclaves_named_buffer_copyin, _exclaves_named_buffer_copyout,
2280 _fchown, _fchownat, _fclonefileat, _fcntl, '_fcntl$NOCANCEL', 2233 _exclaves_named_buffer_create, _exclaves_notification_create,
2281 _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, _fhopen, _fileport_makefd, 2234 _exclaves_outbound_buffer_copyout, _exclaves_outbound_buffer_create,
2282 _fileport_makeport, _flistxattr, _flock, _fmount, _fpathconf, 2235 _exclaves_sensor_create, _exclaves_sensor_start, _exclaves_sensor_status,
2283 _freadlink, _fremovexattr, _fs_snapshot_create, _fs_snapshot_delete, 2236 _exclaves_sensor_stop, _execve, _faccessat, _fchdir, _fchflags,
2284 _fs_snapshot_list, _fs_snapshot_mount, _fs_snapshot_rename, 2237 _fchmod, _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl,
2285 _fs_snapshot_revert, _fs_snapshot_root, _fsctl, _fsetattrlist, 2238 '_fcntl$NOCANCEL', _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr,
2286 _fsetxattr, _fsgetpath, _fsgetpath_ext, _fstat, _fstat64, 2239 _fhopen, _fileport_makefd, _fileport_makeport, _flistxattr,
2287 _fstatat, _fstatat64, _fstatfs, _fstatfs64, _fstatfs_ext, 2240 _flock, _fmount, _fpathconf, _freadlink, _fremovexattr, _fs_snapshot_create,
2288 _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount, _futimens, 2241 _fs_snapshot_delete, _fs_snapshot_list, _fs_snapshot_mount,
2289 _futimes, _getattrlist, _getattrlistat, _getattrlistbulk, 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,
2290 _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr, 2247 _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr,
2291 _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat, 2248 _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat,
2292 _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np, 2249 _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np,
...@@ -2332,12 +2289,12 @@ exports:...@@ -2332,12 +2289,12 @@ exports:
2332 _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64, 2289 _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64,
2333 _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts, 2290 _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts,
2334 _mach_memory_entry_ownership, _mach_memory_entry_purgable_control, 2291 _mach_memory_entry_ownership, _mach_memory_entry_purgable_control,
2335 _mach_memory_info, _mach_memory_object_memory_entry, _mach_memory_object_memory_entry_64, 2292 _mach_memory_info, _mach_memory_info_redacted, _mach_memory_object_memory_entry,
2336 _mach_msg, _mach_msg2_internal, _mach_msg2_trap, _mach_msg_destroy, 2293 _mach_memory_object_memory_entry_64, _mach_msg, _mach_msg2_internal,
2337 _mach_msg_overwrite, _mach_msg_overwrite_trap, _mach_msg_priority_encode, 2294 _mach_msg2_trap, _mach_msg_destroy, _mach_msg_overwrite, _mach_msg_overwrite_trap,
2338 _mach_msg_priority_is_pthread_priority, _mach_msg_priority_overide_qos, 2295 _mach_msg_priority_encode, _mach_msg_priority_is_pthread_priority,
2339 _mach_msg_priority_qos, _mach_msg_priority_relpri, _mach_msg_receive, 2296 _mach_msg_priority_overide_qos, _mach_msg_priority_qos, _mach_msg_priority_relpri,
2340 _mach_msg_send, _mach_msg_server, _mach_msg_server_importance, 2297 _mach_msg_receive, _mach_msg_send, _mach_msg_server, _mach_msg_server_importance,
2341 _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name, 2298 _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name,
2342 _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed, 2299 _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed,
2343 _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full, 2300 _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full,
...@@ -2369,7 +2326,7 @@ exports:...@@ -2369,7 +2326,7 @@ exports:
2369 _mach_vm_msync, _mach_vm_page_info, _mach_vm_page_query, _mach_vm_page_range_query, 2326 _mach_vm_msync, _mach_vm_page_info, _mach_vm_page_query, _mach_vm_page_range_query,
2370 _mach_vm_protect, _mach_vm_purgable_control, _mach_vm_range_create, 2327 _mach_vm_protect, _mach_vm_purgable_control, _mach_vm_range_create,
2371 _mach_vm_read, _mach_vm_read_list, _mach_vm_read_overwrite, 2328 _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,
2373 _mach_vm_reclaim_get_rings_for_task, _mach_vm_reclaim_is_reusable, 2330 _mach_vm_reclaim_get_rings_for_task, _mach_vm_reclaim_is_reusable,
2374 _mach_vm_reclaim_query_state, _mach_vm_reclaim_ring_allocate, 2331 _mach_vm_reclaim_query_state, _mach_vm_reclaim_ring_allocate,
2375 _mach_vm_reclaim_ring_capacity, _mach_vm_reclaim_ring_copy, 2332 _mach_vm_reclaim_ring_capacity, _mach_vm_reclaim_ring_copy,
...@@ -2495,61 +2452,61 @@ exports:...@@ -2495,61 +2452,61 @@ exports:
2495 _posix_spawnattr_set_platform_np, _posix_spawnattr_set_portlimits_ext, 2452 _posix_spawnattr_set_platform_np, _posix_spawnattr_set_portlimits_ext,
2496 _posix_spawnattr_set_ptrauth_task_port_np, _posix_spawnattr_set_qos_clamp_np, 2453 _posix_spawnattr_set_ptrauth_task_port_np, _posix_spawnattr_set_qos_clamp_np,
2497 _posix_spawnattr_set_registered_ports_np, _posix_spawnattr_set_subsystem_root_path_np, 2454 _posix_spawnattr_set_registered_ports_np, _posix_spawnattr_set_subsystem_root_path_np,
2498 _posix_spawnattr_set_threadlimit_ext, _posix_spawnattr_set_uid_np, 2455 _posix_spawnattr_set_telemetry_np, _posix_spawnattr_set_threadlimit_ext,
2499 _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_setarchpref_np, 2456 _posix_spawnattr_set_uid_np, _posix_spawnattr_set_use_sec_transition_shims_np,
2500 _posix_spawnattr_setauditsessionport_np, _posix_spawnattr_setbinpref_np, 2457 _posix_spawnattr_setarchpref_np, _posix_spawnattr_setauditsessionport_np,
2501 _posix_spawnattr_setcoalition_np, _posix_spawnattr_setcpumonitor, 2458 _posix_spawnattr_setbinpref_np, _posix_spawnattr_setcoalition_np,
2502 _posix_spawnattr_setcpumonitor_default, _posix_spawnattr_setdataless_iopolicy_np, 2459 _posix_spawnattr_setcpumonitor, _posix_spawnattr_setcpumonitor_default,
2503 _posix_spawnattr_setexceptionports_np, _posix_spawnattr_setflags, 2460 _posix_spawnattr_setdataless_iopolicy_np, _posix_spawnattr_setexceptionports_np,
2504 _posix_spawnattr_setjetsam_ext, _posix_spawnattr_setmacpolicyinfo_np, 2461 _posix_spawnattr_setflags, _posix_spawnattr_setjetsam_ext,
2505 _posix_spawnattr_setnosmt_np, _posix_spawnattr_setpcontrol_np, 2462 _posix_spawnattr_setmacpolicyinfo_np, _posix_spawnattr_setnosmt_np,
2506 _posix_spawnattr_setpgroup, _posix_spawnattr_setprocesstype_np, 2463 _posix_spawnattr_setpcontrol_np, _posix_spawnattr_setpgroup,
2507 _posix_spawnattr_setsigdefault, _posix_spawnattr_setsigmask, 2464 _posix_spawnattr_setprocesstype_np, _posix_spawnattr_setsigdefault,
2508 _posix_spawnattr_setspecialport_np, _pread, '_pread$NOCANCEL', 2465 _posix_spawnattr_setsigmask, _posix_spawnattr_setspecialport_np,
2509 _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits, _proc_clear_delayidlesleep, 2466 _pread, '_pread$NOCANCEL', _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits,
2510 _proc_clear_dirty, _proc_clear_vmpressure, _proc_current_thread_schedinfo, 2467 _proc_clear_delayidlesleep, _proc_clear_dirty, _proc_clear_vmpressure,
2511 _proc_denap_assertion_begin_with_msg, _proc_denap_assertion_complete, 2468 _proc_current_thread_schedinfo, _proc_denap_assertion_begin_with_msg,
2512 _proc_disable_apptype, _proc_disable_cpumon, _proc_disable_wakemon, 2469 _proc_denap_assertion_complete, _proc_disable_apptype, _proc_disable_cpumon,
2513 _proc_donate_importance_boost, _proc_enable_apptype, _proc_get_cpumon_params, 2470 _proc_disable_wakemon, _proc_donate_importance_boost, _proc_enable_apptype,
2514 _proc_get_dirty, _proc_get_wakemon_params, _proc_importance_assertion_begin_with_msg, 2471 _proc_get_cpumon_params, _proc_get_dirty, _proc_get_wakemon_params,
2515 _proc_importance_assertion_complete, _proc_kmsgbuf, _proc_libversion, 2472 _proc_importance_assertion_begin_with_msg, _proc_importance_assertion_complete,
2516 _proc_list_dynkqueueids, _proc_list_uptrs, _proc_listallpids, 2473 _proc_kmsgbuf, _proc_libversion, _proc_list_dynkqueueids,
2517 _proc_listchildpids, _proc_listcoalitions, _proc_listpgrppids, 2474 _proc_list_uptrs, _proc_listallpids, _proc_listchildpids,
2518 _proc_listpids, _proc_listpidspath, _proc_name, _proc_pid_rusage, 2475 _proc_listcoalitions, _proc_listpgrppids, _proc_listpids,
2519 _proc_piddynkqueueinfo, _proc_pidfdinfo, _proc_pidfileportinfo, 2476 _proc_listpidspath, _proc_name, _proc_pid_rusage, _proc_piddynkqueueinfo,
2520 _proc_pidinfo, _proc_pidoriginatorinfo, _proc_pidpath, _proc_pidpath_audittoken, 2477 _proc_pidfdinfo, _proc_pidfileportinfo, _proc_pidinfo, _proc_pidoriginatorinfo,
2521 _proc_regionfilename, _proc_reset_footprint_interval, _proc_resume_cpumon, 2478 _proc_pidpath, _proc_pidpath_audittoken, _proc_regionfilename,
2522 _proc_rlimit_control, _proc_set_cpumon_defaults, _proc_set_cpumon_params, 2479 _proc_reset_footprint_interval, _proc_resume_cpumon, _proc_rlimit_control,
2523 _proc_set_cpumon_params_fatal, _proc_set_csm, _proc_set_delayidlesleep, 2480 _proc_set_cpumon_defaults, _proc_set_cpumon_params, _proc_set_cpumon_params_fatal,
2524 _proc_set_dirty, _proc_set_no_smt, _proc_set_owner_vmpressure, 2481 _proc_set_csm, _proc_set_delayidlesleep, _proc_set_dirty,
2525 _proc_set_wakemon_defaults, _proc_set_wakemon_params, _proc_setcpu_percentage, 2482 _proc_set_no_smt, _proc_set_owner_vmpressure, _proc_set_wakemon_defaults,
2526 _proc_setpcontrol, _proc_setthread_cpupercent, _proc_setthread_csm, 2483 _proc_set_wakemon_params, _proc_setcpu_percentage, _proc_setpcontrol,
2527 _proc_setthread_no_smt, _proc_signal_delegate, _proc_signal_with_audittoken, 2484 _proc_setthread_cpupercent, _proc_setthread_csm, _proc_setthread_no_smt,
2528 _proc_suppress, _proc_terminate, _proc_terminate_all_rsr, 2485 _proc_signal_delegate, _proc_signal_with_audittoken, _proc_suppress,
2529 _proc_terminate_delegate, _proc_terminate_with_audittoken, 2486 _proc_terminate, _proc_terminate_all_rsr, _proc_terminate_delegate,
2530 _proc_trace_log, _proc_track_dirty, _proc_udata_info, _proc_uuid_policy, 2487 _proc_terminate_with_audittoken, _proc_trace_log, _proc_track_dirty,
2531 _processor_assign, _processor_control, _processor_exit, _processor_get_assignment, 2488 _proc_udata_info, _proc_uuid_policy, _processor_assign, _processor_control,
2532 _processor_info, _processor_set_create, _processor_set_default, 2489 _processor_exit, _processor_get_assignment, _processor_info,
2533 _processor_set_destroy, _processor_set_info, _processor_set_max_priority, 2490 _processor_set_create, _processor_set_default, _processor_set_destroy,
2534 _processor_set_policy_control, _processor_set_policy_disable, 2491 _processor_set_info, _processor_set_max_priority, _processor_set_policy_control,
2535 _processor_set_policy_enable, _processor_set_stack_usage, 2492 _processor_set_policy_disable, _processor_set_policy_enable,
2536 _processor_set_statistics, _processor_set_tasks, _processor_set_tasks_with_flavor, 2493 _processor_set_stack_usage, _processor_set_statistics, _processor_set_tasks,
2537 _processor_set_threads, _processor_start, _pselect, '_pselect$DARWIN_EXTSN', 2494 _processor_set_tasks_with_flavor, _processor_set_threads,
2538 '_pselect$DARWIN_EXTSN$NOCANCEL', '_pselect$NOCANCEL', _pthread_getugid_np, 2495 _processor_start, _pselect, '_pselect$DARWIN_EXTSN', '_pselect$DARWIN_EXTSN$NOCANCEL',
2539 _pthread_setugid_np, _ptrace, _pwrite, '_pwrite$NOCANCEL', 2496 '_pselect$NOCANCEL', _pthread_getugid_np, _pthread_setugid_np,
2540 _pwritev, '_pwritev$NOCANCEL', _quota, _quotactl, _read, '_read$NOCANCEL', 2497 _ptrace, _pwrite, '_pwrite$NOCANCEL', _pwritev, '_pwritev$NOCANCEL',
2541 _readlink, _readlinkat, _readv, '_readv$NOCANCEL', _reboot, 2498 _quota, _quotactl, _read, '_read$NOCANCEL', _readlink, _readlinkat,
2542 _reboot_np, _record_system_event_as_kernel, _recvfrom, '_recvfrom$NOCANCEL', 2499 _readv, '_readv$NOCANCEL', _reboot, _reboot_np, _record_system_event_as_kernel,
2543 _recvmsg, '_recvmsg$NOCANCEL', _recvmsg_x, _register_uexc_handler, 2500 _recvfrom, '_recvfrom$NOCANCEL', _recvmsg, '_recvmsg$NOCANCEL',
2544 _removexattr, _rename, _rename_ext, _renameat, _renameatx_np, 2501 _recvmsg_x, _register_uexc_handler, _removexattr, _rename,
2545 _renamex_np, _revoke, _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', 2502 _rename_ext, _renameat, _renameatx_np, _renamex_np, _revoke,
2546 '_select$DARWIN_EXTSN$NOCANCEL', '_select$NOCANCEL', _sem_close, 2503 _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', '_select$DARWIN_EXTSN$NOCANCEL',
2547 _sem_destroy, _sem_getvalue, _sem_init, _sem_open, _sem_post, 2504 '_select$NOCANCEL', _sem_close, _sem_destroy, _sem_getvalue,
2548 _sem_trywait, _sem_unlink, _sem_wait, '_sem_wait$NOCANCEL', 2505 _sem_init, _sem_open, _sem_post, _sem_trywait, _sem_unlink,
2549 _semaphore_create, _semaphore_destroy, _semaphore_signal, 2506 _sem_wait, '_sem_wait$NOCANCEL', _semaphore_create, _semaphore_destroy,
2550 _semaphore_signal_all, _semaphore_signal_all_trap, _semaphore_signal_thread, 2507 _semaphore_signal, _semaphore_signal_all, _semaphore_signal_all_trap,
2551 _semaphore_signal_thread_trap, _semaphore_signal_trap, _semaphore_timedwait, 2508 _semaphore_signal_thread, _semaphore_signal_thread_trap, _semaphore_signal_trap,
2552 _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap, 2509 _semaphore_timedwait, _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap,
2553 _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal, 2510 _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal,
2554 _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl, 2511 _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl,
2555 _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL', 2512 _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL',
...@@ -2602,10 +2559,11 @@ exports:...@@ -2602,10 +2559,11 @@ exports:
2602 _thread_get_mach_voucher, _thread_get_register_pointer_values, 2559 _thread_get_mach_voucher, _thread_get_register_pointer_values,
2603 _thread_get_special_port, _thread_get_special_reply_port, 2560 _thread_get_special_port, _thread_get_special_reply_port,
2604 _thread_get_state, _thread_info, _thread_policy, _thread_policy_get, 2561 _thread_get_state, _thread_info, _thread_policy, _thread_policy_get,
2605 _thread_policy_set, _thread_resume, _thread_sample, _thread_self_trap, 2562 _thread_policy_set, _thread_resume, _thread_resume2, _thread_sample,
2606 _thread_selfcounts, _thread_set_exception_ports, _thread_set_mach_voucher, 2563 _thread_self_trap, _thread_selfcounts, _thread_set_exception_ports,
2607 _thread_set_policy, _thread_set_special_port, _thread_set_state, 2564 _thread_set_mach_voucher, _thread_set_policy, _thread_set_special_port,
2608 _thread_suspend, _thread_swap_exception_ports, _thread_swap_mach_voucher, 2565 _thread_set_state, _thread_set_x86_64_compat, _thread_suspend,
2566 _thread_suspend2, _thread_swap_exception_ports, _thread_swap_mach_voucher,
2609 _thread_switch, _thread_terminate, _thread_wire, _tracker_action, 2567 _thread_switch, _thread_terminate, _thread_wire, _tracker_action,
2610 _truncate, _umask, _undelete, _ungraftdmg, _unlink, _unlinkat, 2568 _truncate, _umask, _undelete, _ungraftdmg, _unlink, _unlinkat,
2611 _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _vm_allocate, 2569 _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _vm_allocate,
...@@ -2614,7 +2572,7 @@ exports:...@@ -2614,7 +2572,7 @@ exports:
2614 _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query, 2572 _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query,
2615 _vm_msync, _vm_page_mask, _vm_page_shift, _vm_page_size, _vm_pressure_monitor, 2573 _vm_msync, _vm_page_mask, _vm_page_shift, _vm_page_size, _vm_pressure_monitor,
2616 _vm_protect, _vm_purgable_control, _vm_read, _vm_read_list, 2574 _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,
2618 _vm_remap, _vm_remap_new, _vm_wire, _vm_write, _voucher_mach_msg_adopt, 2576 _vm_remap, _vm_remap_new, _vm_wire, _vm_write, _voucher_mach_msg_adopt,
2619 _voucher_mach_msg_clear, _voucher_mach_msg_revert, _voucher_mach_msg_set, 2577 _voucher_mach_msg_clear, _voucher_mach_msg_revert, _voucher_mach_msg_set,
2620 _vprintf_stderr_func, _wait4, _waitid, '_waitid$NOCANCEL', 2578 _vprintf_stderr_func, _wait4, _waitid, '_waitid$NOCANCEL',
...@@ -2633,16 +2591,17 @@ exports:...@@ -2633,16 +2591,17 @@ exports:
2633 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2591 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2634 symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat, 2592 symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat,
2635 ___stat, ___statfs, __current_pid, _mach_absolute_time_kernel, 2593 ___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 ]
2637--- !tapi-tbd2596--- !tapi-tbd
2638tbd-version: 42597tbd-version: 4
2639targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, 2598targets: [ 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 ]
2641install-name: '/usr/lib/system/libsystem_m.dylib'2600install-name: '/usr/lib/system/libsystem_m.dylib'
2642current-version: 33092601current-version: 3312.100.1
2643parent-umbrella:2602parent-umbrella:
2644 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, 2603 - 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 ]
2646 umbrella: System2605 umbrella: System
2647exports:2606exports:
2648 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ]2607 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ]
...@@ -2684,7 +2643,7 @@ exports:...@@ -2684,7 +2643,7 @@ exports:
2684 __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16, 2643 __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16,
2685 __simd_tgamma_f8 ]2644 __simd_tgamma_f8 ]
2686 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, 2645 - 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 ]
2688 symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16, 2647 symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16,
2689 ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f, 2648 ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f,
2690 ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16, 2649 ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16,
...@@ -2854,21 +2813,18 @@ exports:...@@ -2854,21 +2813,18 @@ exports:
2854 '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off', 2813 '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off',
2855 '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off', 2814 '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off',
2856 '_truncf$fenv_access_off', '_truncl$fenv_access_off' ]2815 '_truncf$fenv_access_off', '_truncl$fenv_access_off' ]
2857 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2816 - targets: [ arm64e-macos, arm64e-maccatalyst ]
2858 symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ]2817 symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ]
2859--- !tapi-tbd2818--- !tapi-tbd
2860tbd-version: 42819tbd-version: 4
2861targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2820targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2862 arm64e-macos, arm64e-maccatalyst ]
2863install-name: '/usr/lib/system/libsystem_malloc.dylib'2821install-name: '/usr/lib/system/libsystem_malloc.dylib'
2864current-version: 792.60.62822current-version: 812.100.31
2865parent-umbrella:2823parent-umbrella:
2866 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2824 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2867 arm64e-macos, arm64e-maccatalyst ]
2868 umbrella: System2825 umbrella: System
2869exports:2826exports:
2870 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2827 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2871 arm64e-macos, arm64e-maccatalyst ]
2872 symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init, 2828 symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init,
2873 ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent, 2829 ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent,
2874 __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override, 2830 __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override,
...@@ -2913,16 +2869,13 @@ exports:...@@ -2913,16 +2869,13 @@ exports:
2913 _zeroify_scalable_zone ]2869 _zeroify_scalable_zone ]
2914--- !tapi-tbd2870--- !tapi-tbd
2915tbd-version: 42871tbd-version: 4
2916targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2872targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2917 arm64e-macos, arm64e-maccatalyst ]
2918install-name: '/usr/lib/system/libsystem_networkextension.dylib'2873install-name: '/usr/lib/system/libsystem_networkextension.dylib'
2919parent-umbrella:2874parent-umbrella:
2920 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2875 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2921 arm64e-macos, arm64e-maccatalyst ]
2922 umbrella: System2876 umbrella: System
2923exports:2877exports:
2924 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2878 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
2925 arm64e-macos, arm64e-maccatalyst ]
2926 symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses, 2879 symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses,
2927 _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID, 2880 _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID,
2928 _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended, 2881 _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended,
...@@ -3005,17 +2958,14 @@ exports:...@@ -3005,17 +2958,14 @@ exports:
3005 _nelog_is_info_logging_enabled ]2958 _nelog_is_info_logging_enabled ]
3006--- !tapi-tbd2959--- !tapi-tbd
3007tbd-version: 42960tbd-version: 4
3008targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2961targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3009 arm64e-macos, arm64e-maccatalyst ]
3010install-name: '/usr/lib/system/libsystem_notify.dylib'2962install-name: '/usr/lib/system/libsystem_notify.dylib'
3011current-version: 344.0.12963current-version: 348.100.7
3012parent-umbrella:2964parent-umbrella:
3013 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2965 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3014 arm64e-macos, arm64e-maccatalyst ]
3015 umbrella: System2966 umbrella: System
3016exports:2967exports:
3017 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2968 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3018 arm64e-macos, arm64e-maccatalyst ]
3019 symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status, 2969 symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status,
3020 _notify_get_event, _notify_get_state, _notify_is_valid_token, 2970 _notify_get_event, _notify_get_state, _notify_is_valid_token,
3021 _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check, 2971 _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check,
...@@ -3028,7 +2978,7 @@ tbd-version: 4...@@ -3028,7 +2978,7 @@ tbd-version: 4
3028targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2978targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3029 arm64e-macos, arm64e-maccatalyst ]2979 arm64e-macos, arm64e-maccatalyst ]
3030install-name: '/usr/lib/system/libsystem_platform.dylib'2980install-name: '/usr/lib/system/libsystem_platform.dylib'
3031current-version: 359.60.32981current-version: 375.100.10
3032parent-umbrella:2982parent-umbrella:
3033 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2983 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3034 arm64e-macos, arm64e-maccatalyst ]2984 arm64e-macos, arm64e-maccatalyst ]
...@@ -3085,15 +3035,15 @@ exports:...@@ -3085,15 +3035,15 @@ exports:
3085 _ffs, _ffsl, _ffsll, _fls, _flsl, _flsll, _getcontext, _longjmp, 3035 _ffs, _ffsl, _ffsll, _fls, _flsl, _flsll, _getcontext, _longjmp,
3086 _makecontext, _os_apt_msg_async_task_running_4swift, _os_apt_msg_async_task_waiting_on_4swift, 3036 _makecontext, _os_apt_msg_async_task_running_4swift, _os_apt_msg_async_task_waiting_on_4swift,
3087 _os_lock_lock, _os_lock_trylock, _os_lock_unlock, _os_log_simple_now, 3037 _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, 3038 _os_log_simple_type_from_asl, _os_script_config_storage, _os_security_config_get,
3089 _os_security_config_get_for_task, _os_sync_wait_on_address, 3039 _os_security_config_get_for_proc, _os_security_config_get_for_task,
3090 _os_sync_wait_on_address_with_deadline, _os_sync_wait_on_address_with_timeout, 3040 _os_sync_wait_on_address, _os_sync_wait_on_address_with_deadline,
3091 _os_sync_wake_by_address_all, _os_sync_wake_by_address_any, 3041 _os_sync_wait_on_address_with_timeout, _os_sync_wake_by_address_all,
3092 _os_unfair_lock_assert_not_owner, _os_unfair_lock_assert_owner, 3042 _os_sync_wake_by_address_any, _os_unfair_lock_assert_not_owner,
3093 _os_unfair_lock_lock, _os_unfair_lock_lock_no_tsd, _os_unfair_lock_lock_with_flags, 3043 _os_unfair_lock_assert_owner, _os_unfair_lock_lock, _os_unfair_lock_lock_no_tsd,
3094 _os_unfair_lock_lock_with_options, _os_unfair_lock_trylock, 3044 _os_unfair_lock_lock_with_flags, _os_unfair_lock_lock_with_options,
3095 _os_unfair_lock_trylock_with_options, _os_unfair_lock_unlock, 3045 _os_unfair_lock_trylock, _os_unfair_lock_trylock_with_options,
3096 _os_unfair_lock_unlock_no_tsd, _os_unfair_recursive_lock_lock_with_options, 3046 _os_unfair_lock_unlock, _os_unfair_lock_unlock_no_tsd, _os_unfair_recursive_lock_lock_with_options,
3097 _os_unfair_recursive_lock_owned, _os_unfair_recursive_lock_trylock, 3047 _os_unfair_recursive_lock_owned, _os_unfair_recursive_lock_trylock,
3098 _os_unfair_recursive_lock_tryunlock4objc, _os_unfair_recursive_lock_unlock, 3048 _os_unfair_recursive_lock_tryunlock4objc, _os_unfair_recursive_lock_unlock,
3099 _os_unfair_recursive_lock_unlock_forked_child, _setcontext, 3049 _os_unfair_recursive_lock_unlock_forked_child, _setcontext,
...@@ -3102,13 +3052,13 @@ exports:...@@ -3102,13 +3052,13 @@ exports:
3102 _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ]3052 _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ]
3103 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3053 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3104 symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset, 3054 symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset,
3105 __ctx_done ]3055 __ctx_done, _os_apt_msg_async_task_stopped_4swift ]
3106--- !tapi-tbd3056--- !tapi-tbd
3107tbd-version: 43057tbd-version: 4
3108targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3058targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3109 arm64e-macos, arm64e-maccatalyst ]3059 arm64e-macos, arm64e-maccatalyst ]
3110install-name: '/usr/lib/system/libsystem_pthread.dylib'3060install-name: '/usr/lib/system/libsystem_pthread.dylib'
3111current-version: 5393061current-version: 539.100.4
3112parent-umbrella:3062parent-umbrella:
3113 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3063 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3114 arm64e-macos, arm64e-maccatalyst ]3064 arm64e-macos, arm64e-maccatalyst ]
...@@ -3201,17 +3151,14 @@ exports:...@@ -3201,17 +3151,14 @@ exports:
3201 symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ]3151 symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ]
3202--- !tapi-tbd3152--- !tapi-tbd
3203tbd-version: 43153tbd-version: 4
3204targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3154targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3205 arm64e-macos, arm64e-maccatalyst ]
3206install-name: '/usr/lib/system/libsystem_sandbox.dylib'3155install-name: '/usr/lib/system/libsystem_sandbox.dylib'
3207current-version: 2680.60.113156current-version: 2680.100.174
3208parent-umbrella:3157parent-umbrella:
3209 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3158 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3210 arm64e-macos, arm64e-maccatalyst ]
3211 umbrella: System3159 umbrella: System
3212exports:3160exports:
3213 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3161 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3214 arm64e-macos, arm64e-maccatalyst ]
3215 symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ, 3162 symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ,
3216 _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER, 3163 _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER,
3217 _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW, 3164 _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW,
...@@ -3244,13 +3191,15 @@ exports:...@@ -3244,13 +3191,15 @@ exports:
3244 _sandbox_check_by_audit_token, _sandbox_check_by_reference, 3191 _sandbox_check_by_audit_token, _sandbox_check_by_reference,
3245 _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path, 3192 _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path,
3246 _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string, 3193 _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string,
3247 _sandbox_check_process_signal_target, _sandbox_check_protected_app_container, 3194 _sandbox_check_network, _sandbox_check_process_signal_target,
3248 _sandbox_check_self_signal_target, _sandbox_check_storage_class, 3195 _sandbox_check_protected_app_container, _sandbox_check_self_signal_target,
3249 _sandbox_check_with_attribution, _sandbox_consume_extension, 3196 _sandbox_check_storage_class, _sandbox_check_with_attribution,
3250 _sandbox_consume_fs_extension, _sandbox_consume_mach_extension, 3197 _sandbox_checkattr_alloc, _sandbox_checkattr_disable_reporting,
3251 _sandbox_container_path_for_audit_token, _sandbox_container_path_for_pid, 3198 _sandbox_checkattr_free, _sandbox_consume_extension, _sandbox_consume_fs_extension,
3252 _sandbox_enable_local_state_flag, _sandbox_enable_root_translation, 3199 _sandbox_consume_mach_extension, _sandbox_container_path_for_audit_token,
3253 _sandbox_enable_state_flag, _sandbox_extension_consume, _sandbox_extension_issue_file, 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,
3254 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid, 3203 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid,
3255 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic, 3204 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic,
3256 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid, 3205 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid,
...@@ -3282,20 +3231,20 @@ exports:...@@ -3282,20 +3231,20 @@ exports:
3282 _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container, 3231 _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container,
3283 _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store, 3232 _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store,
3284 _sandbox_unsuspend ]3233 _sandbox_unsuspend ]
3285 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3234 - targets: [ x86_64-macos, arm64e-macos ]
3286 symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT, 3235 symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT,
3287 _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply, 3236 _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply,
3288 _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free, 3237 _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free,
3289 _rootless_manifest_parse, _rootless_preflight ]3238 _rootless_manifest_parse, _rootless_preflight ]
3290--- !tapi-tbd3239--- !tapi-tbd
3291tbd-version: 43240tbd-version: 4
3292targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3241targets: [ x86_64-macos, arm64e-macos ]
3293install-name: '/usr/lib/system/libsystem_sanitizers.dylib'3242install-name: '/usr/lib/system/libsystem_sanitizers.dylib'
3294parent-umbrella:3243parent-umbrella:
3295 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3244 - targets: [ x86_64-macos, arm64e-macos ]
3296 umbrella: System3245 umbrella: System
3297exports:3246exports:
3298 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3247 - targets: [ x86_64-macos, arm64e-macos ]
3299 symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned, 3248 symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned,
3300 ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison, 3249 ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison,
3301 ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init, 3250 ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init,
...@@ -3322,32 +3271,26 @@ exports:...@@ -3322,32 +3271,26 @@ exports:
3322 _sanitizers_testonly_get_shadow_address ]3271 _sanitizers_testonly_get_shadow_address ]
3323--- !tapi-tbd3272--- !tapi-tbd
3324tbd-version: 43273tbd-version: 4
3325targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3274targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3326 arm64e-macos, arm64e-maccatalyst ]
3327install-name: '/usr/lib/system/libsystem_secinit.dylib'3275install-name: '/usr/lib/system/libsystem_secinit.dylib'
3328current-version: 168.40.23276current-version: 168.100.7
3329parent-umbrella:3277parent-umbrella:
3330 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3278 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3331 arm64e-macos, arm64e-maccatalyst ]
3332 umbrella: System3279 umbrella: System
3333exports:3280exports:
3334 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3281 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3335 arm64e-macos, arm64e-maccatalyst ]
3336 symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user, 3282 symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user,
3337 _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes, 3283 _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes,
3338 _libsecinit_fileoperation_symlink ]3284 _libsecinit_fileoperation_symlink ]
3339--- !tapi-tbd3285--- !tapi-tbd
3340tbd-version: 43286tbd-version: 4
3341targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3287targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3342 arm64e-macos, arm64e-maccatalyst ]
3343install-name: '/usr/lib/system/libsystem_symptoms.dylib'3288install-name: '/usr/lib/system/libsystem_symptoms.dylib'
3344parent-umbrella:3289parent-umbrella:
3345 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3290 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3346 arm64e-macos, arm64e-maccatalyst ]
3347 umbrella: System3291 umbrella: System
3348exports:3292exports:
3349 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3293 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3350 arm64e-macos, arm64e-maccatalyst ]
3351 symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition, 3294 symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition,
3352 __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init, 3295 __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init,
3353 _symptom_framework_set_version, _symptom_new, _symptom_send, 3296 _symptom_framework_set_version, _symptom_new, _symptom_send,
...@@ -3355,17 +3298,14 @@ exports:...@@ -3355,17 +3298,14 @@ exports:
3355 _symptom_set_qualifier ]3298 _symptom_set_qualifier ]
3356--- !tapi-tbd3299--- !tapi-tbd
3357tbd-version: 43300tbd-version: 4
3358targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3301targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3359 arm64e-macos, arm64e-maccatalyst ]
3360install-name: '/usr/lib/system/libsystem_trace.dylib'3302install-name: '/usr/lib/system/libsystem_trace.dylib'
3361current-version: 1815.61.13303current-version: 1861.100.19
3362parent-umbrella:3304parent-umbrella:
3363 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3305 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3364 arm64e-macos, arm64e-maccatalyst ]
3365 umbrella: System3306 umbrella: System
3366exports:3307exports:
3367 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3308 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3368 arm64e-macos, arm64e-maccatalyst ]
3369 symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource, 3309 symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource,
3370 _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource, 3310 _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource,
3371 _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate, 3311 _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate,
...@@ -3443,29 +3383,26 @@ exports:...@@ -3443,29 +3383,26 @@ exports:
3443 objc-classes: [ OS_os_log ]3383 objc-classes: [ OS_os_log ]
3444--- !tapi-tbd3384--- !tapi-tbd
3445tbd-version: 43385tbd-version: 4
3446targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3386targets: [ x86_64-macos, arm64e-macos ]
3447install-name: '/usr/lib/system/libsystem_trial.dylib'3387install-name: '/usr/lib/system/libsystem_trial.dylib'
3448current-version: 474.23388current-version: 474.2.18
3449parent-umbrella:3389parent-umbrella:
3450 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3390 - targets: [ x86_64-macos, arm64e-macos ]
3451 umbrella: System3391 umbrella: System
3452exports:3392exports:
3453 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3393 - targets: [ x86_64-macos, arm64e-macos ]
3454 symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_impl, 3394 symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_impl,
3455 __os_trial_factor_has_impl ]3395 __os_trial_factor_has_impl ]
3456--- !tapi-tbd3396--- !tapi-tbd
3457tbd-version: 43397tbd-version: 4
3458targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3398targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3459 arm64e-macos, arm64e-maccatalyst ]
3460install-name: '/usr/lib/system/libunwind.dylib'3399install-name: '/usr/lib/system/libunwind.dylib'
3461current-version: 1900.1253400current-version: 2100.2
3462parent-umbrella:3401parent-umbrella:
3463 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3402 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3464 arm64e-macos, arm64e-maccatalyst ]
3465 umbrella: System3403 umbrella: System
3466exports:3404exports:
3467 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3405 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3468 arm64e-macos, arm64e-maccatalyst ]
3469 symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction, 3406 symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction,
3470 __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA, 3407 __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA,
3471 __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo, 3408 __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo,
...@@ -3481,21 +3418,16 @@ exports:...@@ -3481,21 +3418,16 @@ exports:
3481 _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache, 3418 _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache,
3482 _unw_local_addr_space, _unw_regname, _unw_resume, _unw_resume_with_frames_walked, 3419 _unw_local_addr_space, _unw_regname, _unw_resume, _unw_resume_with_frames_walked,
3483 _unw_set_fpreg, _unw_set_reg, _unw_step ]3420 _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 ]
3486--- !tapi-tbd3421--- !tapi-tbd
3487tbd-version: 43422tbd-version: 4
3488targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3423targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3489 arm64e-macos, arm64e-maccatalyst ]
3490install-name: '/usr/lib/system/libxpc.dylib'3424install-name: '/usr/lib/system/libxpc.dylib'
3491current-version: 3089.60.73425current-version: 3102.100.102
3492parent-umbrella:3426parent-umbrella:
3493 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3427 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3494 arm64e-macos, arm64e-maccatalyst ]
3495 umbrella: System3428 umbrella: System
3496exports:3429exports:
3497 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3430 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3498 arm64e-macos, arm64e-maccatalyst ]
3499 symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN, 3431 symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN,
3500 _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE, 3432 _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE,
3501 _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE, 3433 _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE,
...@@ -3537,10 +3469,7 @@ exports:...@@ -3537,10 +3469,7 @@ exports:
3537 __launch_job_query_routine, __launch_job_routine, __launch_job_routine_async, 3469 __launch_job_query_routine, __launch_job_routine, __launch_job_routine_async,
3538 __launch_msg2, __launch_server_test_routine, __launch_service_stats_copy_4ppse_impl, 3470 __launch_msg2, __launch_server_test_routine, __launch_service_stats_copy_4ppse_impl,
3539 __launch_service_stats_copy_impl, __launch_trial_factors_routine, 3471 __launch_service_stats_copy_impl, __launch_trial_factors_routine,
3540 __libxpc_initializer, __spawn_via_launchd, __system_ios_support_version_copy_string_sysctl, 3472 __libxpc_initializer, __spawn_via_launchd, __vproc_get_last_exit_status,
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,
3544 __vproc_grab_subset, __vproc_kickstart_by_label, __vproc_log, 3473 __vproc_grab_subset, __vproc_kickstart_by_label, __vproc_log,
3545 __vproc_log_error, __vproc_logv, __vproc_pid_is_managed, __vproc_post_fork_ping, 3474 __vproc_log_error, __vproc_logv, __vproc_pid_is_managed, __vproc_post_fork_ping,
3546 __vproc_send_signal_by_label, __vproc_set_global_on_demand, 3475 __vproc_send_signal_by_label, __vproc_set_global_on_demand,
...@@ -3623,7 +3552,8 @@ exports:...@@ -3623,7 +3552,8 @@ exports:
3623 _launch_extension_property_path, _launch_extension_property_pid, 3552 _launch_extension_property_path, _launch_extension_property_pid,
3624 _launch_extension_property_version, _launch_extension_property_xpc_bundle, 3553 _launch_extension_property_version, _launch_extension_property_xpc_bundle,
3625 _launch_get_fd, _launch_get_service_enabled, _launch_get_system_service_enabled, 3554 _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,
3627 _launch_msg, _launch_path_for_user_service_4coresim, _launch_perfcheck_property_endpoint_active, 3557 _launch_msg, _launch_path_for_user_service_4coresim, _launch_perfcheck_property_endpoint_active,
3628 _launch_perfcheck_property_endpoint_event, _launch_perfcheck_property_endpoint_name, 3558 _launch_perfcheck_property_endpoint_event, _launch_perfcheck_property_endpoint_name,
3629 _launch_perfcheck_property_endpoint_needs_activation, _launch_perfcheck_property_endpoints, 3559 _launch_perfcheck_property_endpoint_needs_activation, _launch_perfcheck_property_endpoints,
lib/libc/include/any-darwin-any/AssertMacros.h+1-1
...@@ -134,7 +134,7 @@...@@ -134,7 +134,7 @@
134 * If you do not define DEBUG_ASSERT_PRODUCTION_CODE, the default value 1 will be used134 * If you do not define DEBUG_ASSERT_PRODUCTION_CODE, the default value 1 will be used
135 * (production code = no assertion code and no messages).135 * (production code = no assertion code and no messages).
136 *136 *
137 * If you are building with modules modules this must be defined via a commandline137 * If you are building with modules this must be defined via a commandline
138 * flag (i.e. -DDEBUG_ASSERT_PRODUCTION_CODE=1) in order to work correctly.138 * flag (i.e. -DDEBUG_ASSERT_PRODUCTION_CODE=1) in order to work correctly.
139 */139 */
140#ifndef DEBUG_ASSERT_PRODUCTION_CODE140#ifndef DEBUG_ASSERT_PRODUCTION_CODE
lib/libc/include/any-darwin-any/AvailabilityInternal.h+10-10
...@@ -37,11 +37,11 @@...@@ -37,11 +37,11 @@
37 #if __has_builtin(__is_target_os)37 #if __has_builtin(__is_target_os)
38 #if __is_target_os(macos)38 #if __is_target_os(macos)
39 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__39 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_240 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4
41 #endif41 #endif
42 #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 42 #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
43 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__43 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_244 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4
45 #endif /* __has_builtin(__is_target_os) */45 #endif /* __has_builtin(__is_target_os) */
46 #endif /* defined(__has_builtin) */46 #endif /* defined(__has_builtin) */
47#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */47#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */
...@@ -51,11 +51,11 @@...@@ -51,11 +51,11 @@
51 #if __has_builtin(__is_target_os)51 #if __has_builtin(__is_target_os)
52 #if __is_target_os(ios)52 #if __is_target_os(ios)
53 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__53 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_254 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4
55 #endif55 #endif
56 #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ 56 #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
57 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__57 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_258 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4
59 #endif /* __has_builtin(__is_target_os) */59 #endif /* __has_builtin(__is_target_os) */
60 #endif /* defined(__has_builtin) */60 #endif /* defined(__has_builtin) */
61#endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */61#endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */
...@@ -65,13 +65,13 @@...@@ -65,13 +65,13 @@
65 #if __has_builtin(__is_target_os)65 #if __has_builtin(__is_target_os)
66 #if __is_target_os(watchos)66 #if __is_target_os(watchos)
67 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__67 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_268 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4
69 /* for compatibility with existing code. New code should use platform specific checks */69 /* for compatibility with existing code. New code should use platform specific checks */
70 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_070 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
71 #endif71 #endif
72 #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ 72 #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
73 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__73 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_274 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4
75 /* for compatibility with existing code. New code should use platform specific checks */75 /* for compatibility with existing code. New code should use platform specific checks */
76 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_076 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
77 #endif /* __has_builtin(__is_target_os) */77 #endif /* __has_builtin(__is_target_os) */
...@@ -83,13 +83,13 @@...@@ -83,13 +83,13 @@
83 #if __has_builtin(__is_target_os)83 #if __has_builtin(__is_target_os)
84 #if __is_target_os(tvos)84 #if __is_target_os(tvos)
85 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__85 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_286 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4
87 /* for compatibility with existing code. New code should use platform specific checks */87 /* for compatibility with existing code. New code should use platform specific checks */
88 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_088 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
89 #endif89 #endif
90 #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ 90 #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
91 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__91 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_292 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4
93 /* for compatibility with existing code. New code should use platform specific checks */93 /* for compatibility with existing code. New code should use platform specific checks */
94 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_094 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
95 #endif /* __has_builtin(__is_target_os) */95 #endif /* __has_builtin(__is_target_os) */
...@@ -103,7 +103,7 @@...@@ -103,7 +103,7 @@
103 #if __has_builtin(__is_target_os)103 #if __has_builtin(__is_target_os)
104 #if __is_target_os(driverkit)104 #if __is_target_os(driverkit)
105 #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__105 #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_2106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_4
107 #endif107 #endif
108 #endif /* __has_builtin(__is_target_os) */108 #endif /* __has_builtin(__is_target_os) */
109 #endif /* defined(__has_builtin) */109 #endif /* defined(__has_builtin) */
...@@ -114,7 +114,7 @@...@@ -114,7 +114,7 @@
114 #if __has_builtin(__is_target_os)114 #if __has_builtin(__is_target_os)
115 #if __is_target_os(visionos)115 #if __is_target_os(visionos)
116 #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__116 #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_2117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_4
118 /* for compatibility with existing code. New code should use platform specific checks */118 /* for compatibility with existing code. New code should use platform specific checks */
119 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1119 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1
120 #endif120 #endif
lib/libc/include/any-darwin-any/AvailabilityInternalLegacy.h+1-1
...@@ -2801,7 +2801,7 @@...@@ -2801,7 +2801,7 @@
2801 #if __has_builtin(__is_target_environment)2801 #if __has_builtin(__is_target_environment)
2802 #if __has_builtin(__is_target_variant_os)2802 #if __has_builtin(__is_target_variant_os)
2803 #if __has_builtin(__is_target_variant_environment)2803 #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)
2805 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION __attribute__((availability(ios,introduced=4.0)))2805 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION __attribute__((availability(ios,introduced=4.0)))
2806 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION_DEP__IPHONE_COMPAT_VERSION __attribute__((availability(ios,unavailable)))2806 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION_DEP__IPHONE_COMPAT_VERSION __attribute__((availability(ios,unavailable)))
2807 #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION_DEP__IPHONE_COMPAT_VERSION_MSG(_msg) __attribute__((availability(ios,unavailable)))2807 #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 @@...@@ -99,6 +99,8 @@
99#define __MAC_26_0 26000099#define __MAC_26_0 260000
100#define __MAC_26_1 260100100#define __MAC_26_1 260100
101#define __MAC_26_2 260200101#define __MAC_26_2 260200
102#define __MAC_26_3 260300
103#define __MAC_26_4 260400
102/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */104/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
103105
104#define __IPHONE_2_0 20000106#define __IPHONE_2_0 20000
...@@ -192,6 +194,8 @@...@@ -192,6 +194,8 @@
192#define __IPHONE_26_0 260000194#define __IPHONE_26_0 260000
193#define __IPHONE_26_1 260100195#define __IPHONE_26_1 260100
194#define __IPHONE_26_2 260200196#define __IPHONE_26_2 260200
197#define __IPHONE_26_3 260300
198#define __IPHONE_26_4 260400
195/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */199/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
196200
197#define __WATCHOS_1_0 10000201#define __WATCHOS_1_0 10000
...@@ -254,6 +258,8 @@...@@ -254,6 +258,8 @@
254#define __WATCHOS_26_0 260000258#define __WATCHOS_26_0 260000
255#define __WATCHOS_26_1 260100259#define __WATCHOS_26_1 260100
256#define __WATCHOS_26_2 260200260#define __WATCHOS_26_2 260200
261#define __WATCHOS_26_3 260300
262#define __WATCHOS_26_4 260400
257/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */263/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
258264
259#define __TVOS_9_0 90000265#define __TVOS_9_0 90000
...@@ -316,6 +322,8 @@...@@ -316,6 +322,8 @@
316#define __TVOS_26_0 260000322#define __TVOS_26_0 260000
317#define __TVOS_26_1 260100323#define __TVOS_26_1 260100
318#define __TVOS_26_2 260200324#define __TVOS_26_2 260200
325#define __TVOS_26_3 260300
326#define __TVOS_26_4 260400
319/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */327/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
320328
321#define __BRIDGEOS_2_0 20000329#define __BRIDGEOS_2_0 20000
...@@ -355,6 +363,8 @@...@@ -355,6 +363,8 @@
355#define __BRIDGEOS_10_0 100000363#define __BRIDGEOS_10_0 100000
356#define __BRIDGEOS_10_1 100100364#define __BRIDGEOS_10_1 100100
357#define __BRIDGEOS_10_2 100200365#define __BRIDGEOS_10_2 100200
366#define __BRIDGEOS_10_3 100300
367#define __BRIDGEOS_10_4 100400
358368
359369
360#define __DRIVERKIT_19_0 190000370#define __DRIVERKIT_19_0 190000
...@@ -381,6 +391,8 @@...@@ -381,6 +391,8 @@
381#define __DRIVERKIT_25_0 250000391#define __DRIVERKIT_25_0 250000
382#define __DRIVERKIT_25_1 250100392#define __DRIVERKIT_25_1 250100
383#define __DRIVERKIT_25_2 250200393#define __DRIVERKIT_25_2 250200
394#define __DRIVERKIT_25_3 250300
395#define __DRIVERKIT_25_4 250400
384/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */396/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
385397
386#define __VISIONOS_1_0 10000398#define __VISIONOS_1_0 10000
...@@ -398,6 +410,8 @@...@@ -398,6 +410,8 @@
398#define __VISIONOS_26_0 260000410#define __VISIONOS_26_0 260000
399#define __VISIONOS_26_1 260100411#define __VISIONOS_26_1 260100
400#define __VISIONOS_26_2 260200412#define __VISIONOS_26_2 260200
413#define __VISIONOS_26_3 260300
414#define __VISIONOS_26_4 260400
401/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */415/* __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 @@...@@ -490,6 +504,8 @@
490#define MAC_OS_VERSION_26_0 __MAC_26_0504#define MAC_OS_VERSION_26_0 __MAC_26_0
491#define MAC_OS_VERSION_26_1 __MAC_26_1505#define MAC_OS_VERSION_26_1 __MAC_26_1
492#define MAC_OS_VERSION_26_2 __MAC_26_2506#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
494#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */510#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 @@...@@ -337,27 +337,9 @@
337#endif337#endif
338338
339/*339/*
340 * __is_target_arch based defines340 * GCC and clang
341 */341 */
342#if defined(__has_builtin) && __has_builtin(__is_target_arch)342#if defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__) )
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__) )
361 #if defined(__ppc__)343 #if defined(__ppc__)
362 #define TARGET_CPU_PPC 1344 #define TARGET_CPU_PPC 1
363 #elif defined(__ppc64__)345 #elif defined(__ppc64__)
...@@ -371,7 +353,9 @@...@@ -371,7 +353,9 @@
371 #elif defined(__arm64__)353 #elif defined(__arm64__)
372 #define TARGET_CPU_ARM64 1354 #define TARGET_CPU_ARM64 1
373 #else355 #else
374 #error unrecognized GNU C compiler356
357 #error unrecognized GNU C compiler
358
375 #endif359 #endif
376360
377/*361/*
lib/libc/include/any-darwin-any/_regex.h+11-3
...@@ -151,9 +151,12 @@ typedef struct {...@@ -151,9 +151,12 @@ typedef struct {
151#define REG_MINIMAL 0100 /* Compile using minimal repetition */151#define REG_MINIMAL 0100 /* Compile using minimal repetition */
152#define REG_UNGREEDY REG_MINIMAL152#define REG_UNGREEDY REG_MINIMAL
153#endif153#endif
154
155#define REG_DUMP 0200 /* Unused */154#define REG_DUMP 0200 /* Unused */
156155#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
157#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \160#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \
158 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \161 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \
159 || defined(__DRIVERKIT_VERSION_MIN_REQUIRED)162 || defined(__DRIVERKIT_VERSION_MIN_REQUIRED)
...@@ -184,6 +187,7 @@ typedef struct {...@@ -184,6 +187,7 @@ typedef struct {
184#define REG_ASSERT 15 /* Unused */187#define REG_ASSERT 15 /* Unused */
185#define REG_INVARG 16 /* invalid argument to regex routine */188#define REG_INVARG 16 /* invalid argument to regex routine */
186#define REG_ILLSEQ 17 /* illegal byte sequence */189#define REG_ILLSEQ 17 /* illegal byte sequence */
190#define REG_BADMAX 18 /* maximum repetition exceeds RE_DUP_MAX */
187191
188#define REG_ATOI 255 /* convert name to number (!) */192#define REG_ATOI 255 /* convert name to number (!) */
189#define REG_ITOA 0400 /* convert number to name (!) */193#define REG_ITOA 0400 /* convert number to name (!) */
...@@ -199,8 +203,12 @@ typedef struct {...@@ -199,8 +203,12 @@ typedef struct {
199#define REG_STARTEND 00004 /* String start/end in pmatch[0] */203#define REG_STARTEND 00004 /* String start/end in pmatch[0] */
200#define REG_TRACE 00400 /* Unused */204#define REG_TRACE 00400 /* Unused */
201#define REG_LARGE 01000 /* Unused */205#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
202#define REG_BACKR 02000 /* force use of backref code */211#define REG_BACKR 02000 /* force use of backref code */
203
204#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \212#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \
205 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \213 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \
206 || defined(__DRIVERKIT_VERSION_MIN_REQUIRED)214 || 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...@@ -98,6 +98,7 @@ typedef int (*copyfile_callback_t)(int, int, copyfile_state_t, const char *__uns
98#define COPYFILE_METADATA (COPYFILE_SECURITY | COPYFILE_XATTR)98#define COPYFILE_METADATA (COPYFILE_SECURITY | COPYFILE_XATTR)
99#define COPYFILE_ALL (COPYFILE_METADATA | COPYFILE_DATA)99#define COPYFILE_ALL (COPYFILE_METADATA | COPYFILE_DATA)
100100
101#define COPYFILE_NOCACHE (1<<14) /* when using fcopyfile() force the fd to turn caching off */
101#define COPYFILE_RECURSIVE (1<<15) /* Descend into hierarchies */102#define COPYFILE_RECURSIVE (1<<15) /* Descend into hierarchies */
102#define COPYFILE_CHECK (1<<16) /* return flags for xattr or acls if set */103#define COPYFILE_CHECK (1<<16) /* return flags for xattr or acls if set */
103#define COPYFILE_EXCL (1<<17) /* fail if destination exists */104#define COPYFILE_EXCL (1<<17) /* fail if destination exists */
lib/libc/include/any-darwin-any/dirent.h+32-2
...@@ -67,6 +67,7 @@...@@ -67,6 +67,7 @@
67#include <sys/cdefs.h>67#include <sys/cdefs.h>
68#include <Availability.h>68#include <Availability.h>
69#include <sys/_pthread/_pthread_types.h> /* __darwin_pthread_mutex_t */69#include <sys/_pthread/_pthread_types.h> /* __darwin_pthread_mutex_t */
70#include <sys/_types/_size_t.h>
7071
71_LIBC_SINGLE_BY_DEFAULT()72_LIBC_SINGLE_BY_DEFAULT()
7273
...@@ -75,8 +76,8 @@ struct _telldir; /* forward reference */...@@ -75,8 +76,8 @@ struct _telldir; /* forward reference */
75/* structure describing an open directory. */76/* structure describing an open directory. */
76typedef struct {77typedef struct {
77 int __dd_fd; /* file descriptor associated with directory */78 int __dd_fd; /* file descriptor associated with directory */
78 long __dd_loc; /* offset in current buffer */79 size_t __dd_loc; /* offset in current buffer */
79 long __dd_size; /* amount of data returned */80 size_t __dd_size; /* amount of data returned */
80 char *_LIBC_COUNT(__dd_len) __dd_buf; /* data buffer */81 char *_LIBC_COUNT(__dd_len) __dd_buf; /* data buffer */
81 int __dd_len; /* size of data buffer */82 int __dd_len; /* size of data buffer */
82 long __dd_seek; /* magic cookie returned */83 long __dd_seek; /* magic cookie returned */
...@@ -110,6 +111,7 @@ int closedir(DIR *) __DARWIN_ALIAS(closedir);...@@ -110,6 +111,7 @@ int closedir(DIR *) __DARWIN_ALIAS(closedir);
110DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir);111DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir);
111112
112struct dirent *readdir(DIR *) __DARWIN_INODE64(readdir);113struct 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.")
113int readdir_r(DIR *, struct dirent *, struct dirent **) __DARWIN_INODE64(readdir_r);115int readdir_r(DIR *, struct dirent *, struct dirent **) __DARWIN_INODE64(readdir_r);
114116
115void rewinddir(DIR *) __DARWIN_ALIAS_I(rewinddir);117void rewinddir(DIR *) __DARWIN_ALIAS_I(rewinddir);
...@@ -171,6 +173,34 @@ __END_DECLS...@@ -171,6 +173,34 @@ __END_DECLS
171#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL173#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
172__BEGIN_DECLS174__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
174int getdirentries(int, char *_LIBC_COUNT(__nbytes), int __nbytes, long *)204int getdirentries(int, char *_LIBC_COUNT(__nbytes), int __nbytes, long *)
175205
176#if __DARWIN_64_BIT_INO_T206#if __DARWIN_64_BIT_INO_T
lib/libc/include/any-darwin-any/dispatch/base.h+8
...@@ -222,6 +222,12 @@...@@ -222,6 +222,12 @@
222#define DISPATCH_COLD222#define DISPATCH_COLD
223#endif223#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
225#if __has_feature(assume_nonnull)231#if __has_feature(assume_nonnull)
226#define DISPATCH_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")232#define DISPATCH_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
227#define DISPATCH_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")233#define DISPATCH_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
...@@ -305,11 +311,13 @@...@@ -305,11 +311,13 @@
305311
306#if __has_feature(enumerator_attributes)312#if __has_feature(enumerator_attributes)
307#define DISPATCH_ENUM_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)313#define DISPATCH_ENUM_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
314#define DISPATCH_ENUM_SPI_AVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
308#define DISPATCH_ENUM_API_DEPRECATED(...) API_DEPRECATED(__VA_ARGS__)315#define DISPATCH_ENUM_API_DEPRECATED(...) API_DEPRECATED(__VA_ARGS__)
309#define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...) \316#define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...) \
310 API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)317 API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
311#else318#else
312#define DISPATCH_ENUM_API_AVAILABLE(...)319#define DISPATCH_ENUM_API_AVAILABLE(...)
320#define DISPATCH_ENUM_SPI_AVAILABLE(...)
313#define DISPATCH_ENUM_API_DEPRECATED(...)321#define DISPATCH_ENUM_API_DEPRECATED(...)
314#define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...)322#define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...)
315#endif323#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:...@@ -38,7 +38,8 @@ DISPATCH_REFINED_FOR_SWIFT DISPATCH_SWIFT_NAME(DispatchSerialQueue.init(__label:
38static inline dispatch_queue_serial_t38static inline dispatch_queue_serial_t
39dispatch_serial_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label,39dispatch_serial_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label,
40 dispatch_queue_attr_t _Nullable attr, dispatch_queue_t _Nullable target) {40 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);
42}43}
4344
44DISPATCH_MALLOC DISPATCH_RETURNS_RETAINED DISPATCH_WARN_RESULT45DISPATCH_MALLOC DISPATCH_RETURNS_RETAINED DISPATCH_WARN_RESULT
...@@ -47,7 +48,8 @@ DISPATCH_REFINED_FOR_SWIFT DISPATCH_SWIFT_NAME(DispatchConcurrentQueue.init(__la...@@ -47,7 +48,8 @@ DISPATCH_REFINED_FOR_SWIFT DISPATCH_SWIFT_NAME(DispatchConcurrentQueue.init(__la
47static inline dispatch_queue_concurrent_t48static inline dispatch_queue_concurrent_t
48dispatch_concurrent_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label,49dispatch_concurrent_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label,
49 dispatch_queue_attr_t _Nullable attr, dispatch_queue_t _Nullable target) {50 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);
51}53}
52#endif54#endif
5355
lib/libc/include/any-darwin-any/dispatch/once.h+2-1
...@@ -76,6 +76,7 @@ dispatch_once(dispatch_once_t *predicate,...@@ -76,6 +76,7 @@ dispatch_once(dispatch_once_t *predicate,
7676
77#if DISPATCH_ONCE_INLINE_FASTPATH77#if DISPATCH_ONCE_INLINE_FASTPATH
78DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL_ALL DISPATCH_NOTHROW78DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL_ALL DISPATCH_NOTHROW
79DISPATCH_NO_UBSAN
79DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead")80DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead")
80void81void
81_dispatch_once(dispatch_once_t *predicate,82_dispatch_once(dispatch_once_t *predicate,
...@@ -102,7 +103,7 @@ dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context,...@@ -102,7 +103,7 @@ dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context,
102103
103#if DISPATCH_ONCE_INLINE_FASTPATH104#if DISPATCH_ONCE_INLINE_FASTPATH
104DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL1 DISPATCH_NONNULL3105DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL1 DISPATCH_NONNULL3
105DISPATCH_NOTHROW106DISPATCH_NOTHROW DISPATCH_NO_UBSAN
106DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead")107DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead")
107void108void
108_dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context,109_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...@@ -136,6 +136,7 @@ void
136dispatch_workloop_set_autorelease_frequency(dispatch_workloop_t workloop,136dispatch_workloop_set_autorelease_frequency(dispatch_workloop_t workloop,
137 dispatch_autorelease_frequency_t frequency);137 dispatch_autorelease_frequency_t frequency);
138138
139#ifdef __APPLE__
139/*!140/*!
140 * @function dispatch_workloop_set_os_workgroup141 * @function dispatch_workloop_set_os_workgroup
141 *142 *
...@@ -167,6 +168,7 @@ DISPATCH_REFINED_FOR_SWIFT...@@ -167,6 +168,7 @@ DISPATCH_REFINED_FOR_SWIFT
167void168void
168dispatch_workloop_set_os_workgroup(dispatch_workloop_t workloop,169dispatch_workloop_set_os_workgroup(dispatch_workloop_t workloop,
169 os_workgroup_t workgroup);170 os_workgroup_t workgroup);
171#endif
170172
171__END_DECLS173__END_DECLS
172174
lib/libc/include/any-darwin-any/glob.h+7-5
...@@ -55,14 +55,14 @@ typedef struct {...@@ -55,14 +55,14 @@ typedef struct {
55 int gl_flags; /* Copy of flags parameter to glob. */55 int gl_flags; /* Copy of flags parameter to glob. */
56 char *_LIBC_CSTR *_LIBC_COUNT(gl_matchc) gl_pathv; /* List of paths matching pattern. */56 char *_LIBC_CSTR *_LIBC_COUNT(gl_matchc) gl_pathv; /* List of paths matching pattern. */
57 /* Copy of errfunc parameter to glob. */57 /* Copy of errfunc parameter to glob. */
58#ifdef __BLOCKS__
59 union {58 union {
60#endif /* __BLOCKS__ */
61 int (*gl_errfunc)(const char *, int);59 int (*gl_errfunc)(const char *, int);
62#ifdef __BLOCKS__60#ifdef __BLOCKS__
63 int (^gl_errblk)(const char *, int);61 int (^gl_errblk)(const char *, int);
62#else
63 void *gl_errblk;
64#endif
64 };65 };
65#endif /* __BLOCKS__ */
6666
67 /*67 /*
68 * Alternate filesystem access methods for glob; replacement68 * Alternate filesystem access methods for glob; replacement
...@@ -107,9 +107,11 @@ typedef struct {...@@ -107,9 +107,11 @@ typedef struct {
107#define GLOB_QUOTE 0x0400 /* Quote special chars with \. */107#define GLOB_QUOTE 0x0400 /* Quote special chars with \. */
108#define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */108#define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */
109#define GLOB_LIMIT 0x1000 /* limit number of returned paths */109#define GLOB_LIMIT 0x1000 /* limit number of returned paths */
110#ifdef __BLOCKS__110#ifdef __APPLE__
111#define _GLOB_ERR_BLOCK 0x80000000 /* (internal) error callback is a block */111#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
114/* source compatibility, these are the old names */116/* source compatibility, these are the old names */
115#define GLOB_MAXPATH GLOB_LIMIT117#define GLOB_MAXPATH GLOB_LIMIT
lib/libc/include/any-darwin-any/mach-o/loader.h+3-3
...@@ -346,7 +346,7 @@ struct load_command {...@@ -346,7 +346,7 @@ struct load_command {
346#define LC_FUNCTION_VARIANTS 0x37 /* used with linkedit_data_command */346#define LC_FUNCTION_VARIANTS 0x37 /* used with linkedit_data_command */
347#define LC_FUNCTION_VARIANT_FIXUPS 0x38 /* used with linkedit_data_command */347#define LC_FUNCTION_VARIANT_FIXUPS 0x38 /* used with linkedit_data_command */
348#define LC_TARGET_TRIPLE 0x39 /* target triple used to compile */348#define LC_TARGET_TRIPLE 0x39 /* target triple used to compile */
349349#define LC_LAZY_LOAD_DYLIB_INFO 0x3A /* used with linkedit_data_command */
350350
351351
352/*352/*
...@@ -1250,8 +1250,8 @@ struct linkedit_data_command {...@@ -1250,8 +1250,8 @@ struct linkedit_data_command {
1250 LC_DYLIB_CODE_SIGN_DRS, LC_ATOM_INFO,1250 LC_DYLIB_CODE_SIGN_DRS, LC_ATOM_INFO,
1251 LC_LINKER_OPTIMIZATION_HINT,1251 LC_LINKER_OPTIMIZATION_HINT,
1252 LC_DYLD_EXPORTS_TRIE,1252 LC_DYLD_EXPORTS_TRIE,
1253 LC_FUNCTION_VARIANTS, LC_FUNCTION_VARIANT_FIXUPS, or1253 LC_FUNCTION_VARIANTS, LC_FUNCTION_VARIANT_FIXUPS,
1254 LC_DYLD_CHAINED_FIXUPS. */1254 LC_DYLD_CHAINED_FIXUPS, or LC_LAZY_LOAD_DYLIB_INFO */
1255 uint32_t cmdsize; /* sizeof(struct linkedit_data_command) */1255 uint32_t cmdsize; /* sizeof(struct linkedit_data_command) */
1256 uint32_t dataoff; /* file offset of data in __LINKEDIT segment */1256 uint32_t dataoff; /* file offset of data in __LINKEDIT segment */
1257 uint32_t datasize; /* file size of data in __LINKEDIT segment */1257 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...@@ -198,6 +198,7 @@ _STRUCT_ARM_THREAD_STATE64
198#define __DARWIN_ARM_THREAD_STATE64_FLAGS_IB_SIGNED_LR 0x2198#define __DARWIN_ARM_THREAD_STATE64_FLAGS_IB_SIGNED_LR 0x2
199#define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_PC 0x4199#define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_PC 0x4
200#define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_LR 0x8200#define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_LR 0x8
201#define __DARWIN_ARM_THREAD_STATE64_FLAGS_CUSTOM_X18_ABI 0x10
201202
202#define __DARWIN_ARM_THREAD_STATE64_USER_DIVERSIFIER_MASK 0xff000000203#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 @@...@@ -75,6 +75,7 @@
75#define EXC_ARM_MTE_TAGCHECK_FAIL 0x106 /* MTE Tag Check failure */75#define EXC_ARM_MTE_TAGCHECK_FAIL 0x106 /* MTE Tag Check failure */
76#define EXC_ARM_MTE_CANONICAL_FAIL 0x107 /* MTE Canonical Tag access fail */76#define EXC_ARM_MTE_CANONICAL_FAIL 0x107 /* MTE Canonical Tag access fail */
7777
78
78/*79/*
79 * EXC_BREAKPOINT80 * EXC_BREAKPOINT
80 */81 */
lib/libc/include/any-darwin-any/mach/arm/thread_status.h+1-1
...@@ -89,7 +89,7 @@...@@ -89,7 +89,7 @@
89#define ARM_SME_ZA_STATE9 4089#define ARM_SME_ZA_STATE9 40
90#define ARM_SME_ZA_STATE10 4190#define ARM_SME_ZA_STATE10 41
91#define ARM_SME_ZA_STATE11 4291#define ARM_SME_ZA_STATE11 42
92#define ARM_SME_ZA_STATE12 4292#define ARM_SME_ZA_STATE12 43
93#define ARM_SME_ZA_STATE13 4493#define ARM_SME_ZA_STATE13 44
94#define ARM_SME_ZA_STATE14 4594#define ARM_SME_ZA_STATE14 45
95#define ARM_SME_ZA_STATE15 4695#define ARM_SME_ZA_STATE15 46
lib/libc/include/any-darwin-any/mach/kern_return.h+4
...@@ -339,6 +339,10 @@...@@ -339,6 +339,10 @@
339/* A search or query operation did not return a result339/* A search or query operation did not return a result
340 */340 */
341341
342#define KERN_INVALID_GUARD_OBJECT_SLOT 57
343/* Access to an guarded object slot attempted
344 */
345
342#define KERN_RETURN_MAX 0x100346#define KERN_RETURN_MAX 0x100
343/* Maximum return value allowable347/* Maximum return value allowable
344 */348 */
lib/libc/include/any-darwin-any/mach/mach_host.h+52-2
...@@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t;...@@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t;
52#endif /* AUTOTEST */52#endif /* AUTOTEST */
5353
54#ifndef mach_host_MSG_COUNT54#ifndef mach_host_MSG_COUNT
55#define mach_host_MSG_COUNT 3555#define mach_host_MSG_COUNT 36
56#endif /* mach_host_MSG_COUNT */56#endif /* mach_host_MSG_COUNT */
5757
58#include <Availability.h>58#include <Availability.h>
...@@ -443,6 +443,23 @@ kern_return_t mach_zone_info_for_zone...@@ -443,6 +443,23 @@ kern_return_t mach_zone_info_for_zone
443 mach_zone_info_t *info443 mach_zone_info_t *info
444);444);
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
446__END_DECLS463__END_DECLS
447464
448/********************** Caution **************************/465/********************** Caution **************************/
...@@ -787,6 +804,16 @@ __END_DECLS...@@ -787,6 +804,16 @@ __END_DECLS
787#ifdef __MigPackStructs804#ifdef __MigPackStructs
788#pragma pack(pop)805#pragma pack(pop)
789#endif806#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
790#endif /* !__Request__mach_host_subsystem__defined */817#endif /* !__Request__mach_host_subsystem__defined */
791818
792/* union of all requests */819/* union of all requests */
...@@ -821,6 +848,7 @@ union __RequestUnion__mach_host_subsystem {...@@ -821,6 +848,7 @@ union __RequestUnion__mach_host_subsystem {
821 __Request__host_get_multiuser_config_flags_t Request_host_get_multiuser_config_flags;848 __Request__host_get_multiuser_config_flags_t Request_host_get_multiuser_config_flags;
822 __Request__host_check_multiuser_mode_t Request_host_check_multiuser_mode;849 __Request__host_check_multiuser_mode_t Request_host_check_multiuser_mode;
823 __Request__mach_zone_info_for_zone_t Request_mach_zone_info_for_zone;850 __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;
824};852};
825#endif /* !__RequestUnion__mach_host_subsystem__defined */853#endif /* !__RequestUnion__mach_host_subsystem__defined */
826/* typedefs for all replies */854/* typedefs for all replies */
...@@ -1217,6 +1245,26 @@ union __RequestUnion__mach_host_subsystem {...@@ -1217,6 +1245,26 @@ union __RequestUnion__mach_host_subsystem {
1217#ifdef __MigPackStructs1245#ifdef __MigPackStructs
1218#pragma pack(pop)1246#pragma pack(pop)
1219#endif1247#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
1220#endif /* !__Reply__mach_host_subsystem__defined */1268#endif /* !__Reply__mach_host_subsystem__defined */
12211269
1222/* union of all replies */1270/* union of all replies */
...@@ -1251,6 +1299,7 @@ union __ReplyUnion__mach_host_subsystem {...@@ -1251,6 +1299,7 @@ union __ReplyUnion__mach_host_subsystem {
1251 __Reply__host_get_multiuser_config_flags_t Reply_host_get_multiuser_config_flags;1299 __Reply__host_get_multiuser_config_flags_t Reply_host_get_multiuser_config_flags;
1252 __Reply__host_check_multiuser_mode_t Reply_host_check_multiuser_mode;1300 __Reply__host_check_multiuser_mode_t Reply_host_check_multiuser_mode;
1253 __Reply__mach_zone_info_for_zone_t Reply_mach_zone_info_for_zone;1301 __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;
1254};1303};
1255#endif /* !__RequestUnion__mach_host_subsystem__defined */1304#endif /* !__RequestUnion__mach_host_subsystem__defined */
12561305
...@@ -1282,7 +1331,8 @@ union __ReplyUnion__mach_host_subsystem {...@@ -1282,7 +1331,8 @@ union __ReplyUnion__mach_host_subsystem {
1282 { "host_set_multiuser_config_flags", 228 },\1331 { "host_set_multiuser_config_flags", 228 },\
1283 { "host_get_multiuser_config_flags", 229 },\1332 { "host_get_multiuser_config_flags", 229 },\
1284 { "host_check_multiuser_mode", 230 },\1333 { "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 }
1286#endif1336#endif
12871337
1288#ifdef __AfterMigUserHeader1338#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(...@@ -299,7 +299,11 @@ extern kern_return_t debug_control_port_for_pid(
299299
300extern mach_error_t mach_vm_reclaim_update_kernel_accounting_trap(300extern mach_error_t mach_vm_reclaim_update_kernel_accounting_trap(
301 mach_port_name_t target_tport,301 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
305__END_DECLS309__END_DECLS
lib/libc/include/any-darwin-any/mach/mach_types.h+4
...@@ -126,6 +126,7 @@ typedef mach_port_t thread_t;...@@ -126,6 +126,7 @@ typedef mach_port_t thread_t;
126typedef mach_port_t thread_act_t;126typedef mach_port_t thread_act_t;
127typedef mach_port_t thread_inspect_t;127typedef mach_port_t thread_inspect_t;
128typedef mach_port_t thread_read_t;128typedef mach_port_t thread_read_t;
129typedef mach_port_t thread_suspension_token_t;
129typedef mach_port_t ipc_space_t;130typedef mach_port_t ipc_space_t;
130typedef mach_port_t ipc_space_read_t;131typedef mach_port_t ipc_space_read_t;
131typedef mach_port_t ipc_space_inspect_t;132typedef mach_port_t ipc_space_inspect_t;
...@@ -278,6 +279,9 @@ typedef unsigned int mach_thread_flavor_t;...@@ -278,6 +279,9 @@ typedef unsigned int mach_thread_flavor_t;
278typedef natural_t ledger_item_t;279typedef natural_t ledger_item_t;
279#define LEDGER_ITEM_INFINITY ((ledger_item_t) (~0))280#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
281typedef int64_t ledger_amount_t;285typedef int64_t ledger_amount_t;
282#define LEDGER_LIMIT_INFINITY ((ledger_amount_t)((1ULL << 63) - 1))286#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...@@ -136,6 +136,15 @@ typedef mach_voucher_attr_recipe_command_t *mach_voucher_attr_recipe_command_arr
136#define MACH_VOUCHER_ATTR_AUTO_REDEEM ((mach_voucher_attr_recipe_command_t)4)136#define MACH_VOUCHER_ATTR_AUTO_REDEEM ((mach_voucher_attr_recipe_command_t)4)
137#define MACH_VOUCHER_ATTR_SEND_PREPROCESS ((mach_voucher_attr_recipe_command_t)5)137#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
139/* redeem is on its way out? */148/* redeem is on its way out? */
140#define MACH_VOUCHER_ATTR_REDEEM ((mach_voucher_attr_recipe_command_t)10)149#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;...@@ -410,6 +410,7 @@ typedef integer_t cpu_threadtype_t;
410#define CPUFAMILY_ARM_TAHITI 0x75d4acb9410#define CPUFAMILY_ARM_TAHITI 0x75d4acb9
411#define CPUFAMILY_ARM_TUPAI 0x204526d0411#define CPUFAMILY_ARM_TUPAI 0x204526d0
412#define CPUFAMILY_ARM_HIDRA 0x1d5a87e8412#define CPUFAMILY_ARM_HIDRA 0x1d5a87e8
413#define CPUFAMILY_ARM_SOTRA 0xf76c5b1a
413#define CPUFAMILY_ARM_THERA 0xab345f09414#define CPUFAMILY_ARM_THERA 0xab345f09
414#define CPUFAMILY_ARM_TILOS 0x01d7a72b415#define CPUFAMILY_ARM_TILOS 0x01d7a72b
415416
lib/libc/include/any-darwin-any/mach/message.h+21
...@@ -296,6 +296,7 @@ typedef struct {...@@ -296,6 +296,7 @@ typedef struct {
296 unsigned int pad3 : 24;296 unsigned int pad3 : 24;
297 mach_msg_descriptor_type_t type : 8;297 mach_msg_descriptor_type_t type : 8;
298} mach_msg_type_descriptor_t;298} mach_msg_type_descriptor_t;
299xnu_static_assert_struct_size(mach_msg_type_descriptor_t, 12);
299300
300typedef struct {301typedef struct {
301 mach_port_t name;302 mach_port_t name;
...@@ -304,6 +305,7 @@ typedef struct {...@@ -304,6 +305,7 @@ typedef struct {
304 mach_msg_type_name_t disposition : 8;305 mach_msg_type_name_t disposition : 8;
305 mach_msg_descriptor_type_t type : 8;306 mach_msg_descriptor_type_t type : 8;
306} mach_msg_port_descriptor_t;307} mach_msg_port_descriptor_t;
308xnu_static_assert_struct_size_kernel_user(mach_msg_port_descriptor_t, 16, 12);
307309
308310
309typedef struct {311typedef struct {
...@@ -314,6 +316,7 @@ typedef struct {...@@ -314,6 +316,7 @@ typedef struct {
314 unsigned int pad1: 8;316 unsigned int pad1: 8;
315 mach_msg_descriptor_type_t type: 8;317 mach_msg_descriptor_type_t type: 8;
316} mach_msg_ool_descriptor32_t;318} mach_msg_ool_descriptor32_t;
319xnu_static_assert_struct_size(mach_msg_ool_descriptor32_t, 12);
317320
318typedef struct {321typedef struct {
319 uint64_t address;322 uint64_t address;
...@@ -323,6 +326,7 @@ typedef struct {...@@ -323,6 +326,7 @@ typedef struct {
323 mach_msg_descriptor_type_t type: 8;326 mach_msg_descriptor_type_t type: 8;
324 mach_msg_size_t size;327 mach_msg_size_t size;
325} mach_msg_ool_descriptor64_t;328} mach_msg_ool_descriptor64_t;
329xnu_static_assert_struct_size(mach_msg_ool_descriptor64_t, 16);
326330
327typedef struct {331typedef struct {
328 void *address;332 void *address;
...@@ -337,6 +341,7 @@ typedef struct {...@@ -337,6 +341,7 @@ typedef struct {
337 mach_msg_size_t size;341 mach_msg_size_t size;
338#endif342#endif
339} mach_msg_ool_descriptor_t;343} mach_msg_ool_descriptor_t;
344xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_ool_descriptor_t, 16, 16, 12);
340345
341typedef struct {346typedef struct {
342 uint32_t address;347 uint32_t address;
...@@ -346,6 +351,7 @@ typedef struct {...@@ -346,6 +351,7 @@ typedef struct {
346 mach_msg_type_name_t disposition : 8;351 mach_msg_type_name_t disposition : 8;
347 mach_msg_descriptor_type_t type : 8;352 mach_msg_descriptor_type_t type : 8;
348} mach_msg_ool_ports_descriptor32_t;353} mach_msg_ool_ports_descriptor32_t;
354xnu_static_assert_struct_size(mach_msg_ool_descriptor32_t, 12);
349355
350typedef struct {356typedef struct {
351 uint64_t address;357 uint64_t address;
...@@ -355,6 +361,7 @@ typedef struct {...@@ -355,6 +361,7 @@ typedef struct {
355 mach_msg_descriptor_type_t type : 8;361 mach_msg_descriptor_type_t type : 8;
356 mach_msg_size_t count;362 mach_msg_size_t count;
357} mach_msg_ool_ports_descriptor64_t;363} mach_msg_ool_ports_descriptor64_t;
364xnu_static_assert_struct_size(mach_msg_ool_ports_descriptor64_t, 16);
358365
359typedef struct {366typedef struct {
360 void *address;367 void *address;
...@@ -369,6 +376,7 @@ typedef struct {...@@ -369,6 +376,7 @@ typedef struct {
369 mach_msg_size_t count;376 mach_msg_size_t count;
370#endif377#endif
371} mach_msg_ool_ports_descriptor_t;378} mach_msg_ool_ports_descriptor_t;
379xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_ool_ports_descriptor_t, 16, 16, 12);
372380
373typedef struct {381typedef struct {
374 uint32_t context;382 uint32_t context;
...@@ -377,6 +385,7 @@ typedef struct {...@@ -377,6 +385,7 @@ typedef struct {
377 mach_msg_type_name_t disposition : 8;385 mach_msg_type_name_t disposition : 8;
378 mach_msg_descriptor_type_t type : 8;386 mach_msg_descriptor_type_t type : 8;
379} mach_msg_guarded_port_descriptor32_t;387} mach_msg_guarded_port_descriptor32_t;
388xnu_static_assert_struct_size(mach_msg_guarded_port_descriptor32_t, 12);
380389
381typedef struct {390typedef struct {
382 uint64_t context;391 uint64_t context;
...@@ -385,6 +394,7 @@ typedef struct {...@@ -385,6 +394,7 @@ typedef struct {
385 mach_msg_descriptor_type_t type : 8;394 mach_msg_descriptor_type_t type : 8;
386 mach_port_name_t name;395 mach_port_name_t name;
387} mach_msg_guarded_port_descriptor64_t;396} mach_msg_guarded_port_descriptor64_t;
397xnu_static_assert_struct_size(mach_msg_guarded_port_descriptor64_t, 16);
388398
389typedef struct {399typedef struct {
390 mach_port_context_t context;400 mach_port_context_t context;
...@@ -398,6 +408,7 @@ typedef struct {...@@ -398,6 +408,7 @@ typedef struct {
398 mach_port_name_t name;408 mach_port_name_t name;
399#endif /* defined(__LP64__) */409#endif /* defined(__LP64__) */
400} mach_msg_guarded_port_descriptor_t;410} mach_msg_guarded_port_descriptor_t;
411xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_guarded_port_descriptor_t, 16, 16, 12);
401412
402/*413/*
403 * LP64support - This union definition is not really414 * LP64support - This union definition is not really
...@@ -411,10 +422,12 @@ typedef union {...@@ -411,10 +422,12 @@ typedef union {
411 mach_msg_type_descriptor_t type;422 mach_msg_type_descriptor_t type;
412 mach_msg_guarded_port_descriptor_t guarded_port;423 mach_msg_guarded_port_descriptor_t guarded_port;
413} mach_msg_descriptor_t;424} mach_msg_descriptor_t;
425xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_descriptor_t, 16, 16, 12);
414426
415typedef struct {427typedef struct {
416 mach_msg_size_t msgh_descriptor_count;428 mach_msg_size_t msgh_descriptor_count;
417} mach_msg_body_t;429} mach_msg_body_t;
430xnu_static_assert_struct_size(mach_msg_body_t, 4);
418431
419#define MACH_MSG_BODY_NULL ((mach_msg_body_t *) 0)432#define MACH_MSG_BODY_NULL ((mach_msg_body_t *) 0)
420#define MACH_MSG_DESCRIPTOR_NULL ((mach_msg_descriptor_t *) 0)433#define MACH_MSG_DESCRIPTOR_NULL ((mach_msg_descriptor_t *) 0)
...@@ -427,6 +440,7 @@ typedef struct {...@@ -427,6 +440,7 @@ typedef struct {
427 mach_port_name_t msgh_voucher_port;440 mach_port_name_t msgh_voucher_port;
428 mach_msg_id_t msgh_id;441 mach_msg_id_t msgh_id;
429} mach_msg_header_t;442} mach_msg_header_t;
443xnu_static_assert_struct_size_kernel_user(mach_msg_header_t, 32, 24);
430444
431445
432#define msgh_reserved msgh_voucher_port446#define msgh_reserved msgh_voucher_port
...@@ -436,6 +450,7 @@ typedef struct {...@@ -436,6 +450,7 @@ typedef struct {
436 mach_msg_header_t header;450 mach_msg_header_t header;
437 mach_msg_body_t body;451 mach_msg_body_t body;
438} mach_msg_base_t;452} mach_msg_base_t;
453xnu_static_assert_struct_size_kernel_user(mach_msg_base_t, 36, 28);
439454
440455
441typedef unsigned int mach_msg_trailer_type_t;456typedef unsigned int mach_msg_trailer_type_t;
...@@ -449,6 +464,7 @@ typedef struct {...@@ -449,6 +464,7 @@ typedef struct {
449 mach_msg_trailer_type_t msgh_trailer_type;464 mach_msg_trailer_type_t msgh_trailer_type;
450 mach_msg_trailer_size_t msgh_trailer_size;465 mach_msg_trailer_size_t msgh_trailer_size;
451} mach_msg_trailer_t;466} mach_msg_trailer_t;
467xnu_static_assert_struct_size(mach_msg_trailer_t, 8);
452468
453/*469/*
454 * The msgh_seqno field carries a sequence number470 * The msgh_seqno field carries a sequence number
...@@ -464,6 +480,7 @@ typedef struct {...@@ -464,6 +480,7 @@ typedef struct {
464 mach_msg_trailer_size_t msgh_trailer_size;480 mach_msg_trailer_size_t msgh_trailer_size;
465 mach_port_seqno_t msgh_seqno;481 mach_port_seqno_t msgh_seqno;
466} mach_msg_seqno_trailer_t;482} mach_msg_seqno_trailer_t;
483xnu_static_assert_struct_size(mach_msg_seqno_trailer_t, 12);
467484
468typedef struct {485typedef struct {
469 unsigned int val[2];486 unsigned int val[2];
...@@ -475,6 +492,7 @@ typedef struct {...@@ -475,6 +492,7 @@ typedef struct {
475 mach_port_seqno_t msgh_seqno;492 mach_port_seqno_t msgh_seqno;
476 security_token_t msgh_sender;493 security_token_t msgh_sender;
477} mach_msg_security_trailer_t;494} mach_msg_security_trailer_t;
495xnu_static_assert_struct_size(mach_msg_security_trailer_t, 20);
478496
479/*497/*
480 * The audit token is an opaque token which identifies498 * The audit token is an opaque token which identifies
...@@ -512,6 +530,7 @@ typedef struct {...@@ -512,6 +530,7 @@ typedef struct {
512 security_token_t msgh_sender;530 security_token_t msgh_sender;
513 audit_token_t msgh_audit;531 audit_token_t msgh_audit;
514} mach_msg_audit_trailer_t;532} mach_msg_audit_trailer_t;
533xnu_static_assert_struct_size(mach_msg_audit_trailer_t, 52);
515534
516typedef struct {535typedef struct {
517 mach_msg_trailer_type_t msgh_trailer_type;536 mach_msg_trailer_type_t msgh_trailer_type;
...@@ -521,6 +540,7 @@ typedef struct {...@@ -521,6 +540,7 @@ typedef struct {
521 audit_token_t msgh_audit;540 audit_token_t msgh_audit;
522 mach_port_context_t msgh_context;541 mach_port_context_t msgh_context;
523} mach_msg_context_trailer_t;542} 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 {...@@ -546,6 +566,7 @@ typedef struct {
546 mach_msg_filter_id msgh_ad;566 mach_msg_filter_id msgh_ad;
547 msg_labels_t msgh_labels;567 msg_labels_t msgh_labels;
548} mach_msg_mac_trailer_t;568} mach_msg_mac_trailer_t;
569xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_mac_trailer_t, 68, 68, 64);
549570
550571
551#define MACH_MSG_TRAILER_MINIMUM_SIZE sizeof(mach_msg_trailer_t)572#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 @@...@@ -91,6 +91,29 @@
91#include <mach/boolean.h>91#include <mach/boolean.h>
92#include <mach/machine/vm_types.h>92#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
94/*117/*
95 * mach_port_name_t - the local identity for a Mach port118 * mach_port_name_t - the local identity for a Mach port
96 *119 *
...@@ -341,8 +364,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t;...@@ -341,8 +364,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
341 */364 */
342#define MACH_PORT_CONNECTION_PORT_WITH_PORT_ARRAY "com.apple.developer.allow-connection-port-with-port-array"365#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) */367/* Allows 1p process to create weak reply port */
345#define MACH_PORT_PROVISIONAL_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port"368#define MACH_PORT_WEAK_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port"
346369
347/*370/*
348 * Flags for mach_port_options (used for371 * Flags for mach_port_options (used for
...@@ -387,7 +410,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t;...@@ -387,7 +410,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
387 #define MPO_SERVICE_PORT MPO_SERVICE_PORT410 #define MPO_SERVICE_PORT MPO_SERVICE_PORT
388 #define MPO_CONNECTION_PORT MPO_CONNECTION_PORT411 #define MPO_CONNECTION_PORT MPO_CONNECTION_PORT
389 #define MPO_REPLY_PORT MPO_REPLY_PORT412 #define MPO_REPLY_PORT MPO_REPLY_PORT
390 #define MPO_PROVISIONAL_REPLY_PORT MPO_PROVISIONAL_REPLY_PORT413 #define MPO_WEAK_REPLY_PORT MPO_WEAK_REPLY_PORT
414 #define MPO_NOTIFICATION_PORT MPO_NOTIFICATION_PORT
391 #define MPO_EXCEPTION_PORT MPO_EXCEPTION_PORT415 #define MPO_EXCEPTION_PORT MPO_EXCEPTION_PORT
392 #define MPO_CONNECTION_PORT_WITH_PORT_ARRAY MPO_CONNECTION_PORT_WITH_PORT_ARRAY416 #define MPO_CONNECTION_PORT_WITH_PORT_ARRAY MPO_CONNECTION_PORT_WITH_PORT_ARRAY
393__options_decl(mpo_flags_t, uint32_t, {417__options_decl(mpo_flags_t, uint32_t, {
...@@ -399,13 +423,19 @@ __options_decl(mpo_flags_t, uint32_t, {...@@ -399,13 +423,19 @@ __options_decl(mpo_flags_t, uint32_t, {
399 MPO_CONNECTION_PORT = MPO_MAKE_PORT_TYPE(0, 2), /* 0x800 */423 MPO_CONNECTION_PORT = MPO_MAKE_PORT_TYPE(0, 2), /* 0x800 */
400 /* Designate port as a reply port */424 /* Designate port as a reply port */
401 MPO_REPLY_PORT = MPO_MAKE_PORT_TYPE(0, 4), /* 0x1000 */425 MPO_REPLY_PORT = MPO_MAKE_PORT_TYPE(0, 4), /* 0x1000 */
402 /* Designate port as a provisional (fake) reply port */426 /* Designate port as a weak (fake) reply port */
403 MPO_PROVISIONAL_REPLY_PORT = MPO_MAKE_PORT_TYPE(1, 0), /* 0x4000 */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 */
404 /* Used for hardened exceptions - immovable */430 /* Used for hardened exceptions - immovable */
405 MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */431 MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */
406 /* Can receive OOL port array descriptors */432 /* Can receive OOL port array descriptors */
407 MPO_CONNECTION_PORT_WITH_PORT_ARRAY = MPO_MAKE_PORT_TYPE(4, 0), /* 0x10000 */433 MPO_CONNECTION_PORT_WITH_PORT_ARRAY = MPO_MAKE_PORT_TYPE(4, 0), /* 0x10000 */
408});434});
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
409#define MPO_UNUSED_BITS ~(MPO_OPTIONS_MASK | MPO_PORT_TYPE_MASK)439#define MPO_UNUSED_BITS ~(MPO_OPTIONS_MASK | MPO_PORT_TYPE_MASK)
410440
411/* Denotes an anonymous service */441/* Denotes an anonymous service */
...@@ -455,7 +485,7 @@ enum mach_port_guard_exception_codes {...@@ -455,7 +485,7 @@ enum mach_port_guard_exception_codes {
455 kGUARD_EXC_SET_CONTEXT = 4,485 kGUARD_EXC_SET_CONTEXT = 4,
456 kGUARD_EXC_THREAD_SET_STATE = 5,486 kGUARD_EXC_THREAD_SET_STATE = 5,
457 kGUARD_EXC_EXCEPTION_BEHAVIOR_ENFORCE = 6,487 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,
459 kGUARD_EXC_UNGUARDED = 8,489 kGUARD_EXC_UNGUARDED = 8,
460 kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9,490 kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9,
461 kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS = 10,491 kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS = 10,
...@@ -465,7 +495,7 @@ enum mach_port_guard_exception_codes {...@@ -465,7 +495,7 @@ enum mach_port_guard_exception_codes {
465 kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65,495 kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65,
466 kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66,496 kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66,
467 kGUARD_EXC_DESCRIPTOR_VIOLATION = 67,497 kGUARD_EXC_DESCRIPTOR_VIOLATION = 67,
468 kGUARD_EXC_MSG_FILTERED = 128,498 kGUARD_EXC_MSG_FILTERED = 128,
469 /* start of [optionally] non-fatal guards */499 /* start of [optionally] non-fatal guards */
470 kGUARD_EXC_INVALID_RIGHT = 256,500 kGUARD_EXC_INVALID_RIGHT = 256,
471 kGUARD_EXC_INVALID_NAME = 512,501 kGUARD_EXC_INVALID_NAME = 512,
...@@ -481,18 +511,25 @@ enum mach_port_guard_exception_codes {...@@ -481,18 +511,25 @@ enum mach_port_guard_exception_codes {
481 kGUARD_EXC_RCV_INVALID_NAME = 1u << 19,511 kGUARD_EXC_RCV_INVALID_NAME = 1u << 19,
482 /* start of always non-fatal guards */512 /* start of always non-fatal guards */
483 kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */513 kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */
484 kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused, for future sp defense enablement */514 kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused */
485 kGUARD_EXC_PROVISIONAL_REPLY_PORT = 0x00100002, /* 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 */
486 kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */519 kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */
487 kGUARD_EXC_MOVE_PROVISIONAL_REPLY_PORT = 0x00100004,520 kGUARD_EXC_MOVE_WEAK_REPLY_PORT = 0x00100004,
488 kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005,521 kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005,
489 kGUARD_EXC_MOD_REFS_NON_FATAL = 1u << 21,522 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 */
491};524};
492525
493#define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED526#define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED
494#define MAX_OPTIONAL_kGUARD_EXC_CODE kGUARD_EXC_RCV_INVALID_NAME527#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
497/*534/*
498 * Mach port guard flags.535 * 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;...@@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t;
52#endif /* AUTOTEST */52#endif /* AUTOTEST */
5353
54#ifndef thread_act_MSG_COUNT54#ifndef thread_act_MSG_COUNT
55#define thread_act_MSG_COUNT 3255#define thread_act_MSG_COUNT 34
56#endif /* thread_act_MSG_COUNT */56#endif /* thread_act_MSG_COUNT */
5757
58#include <Availability.h>58#include <Availability.h>
...@@ -509,6 +509,31 @@ kern_return_t thread_adopt_exception_handler...@@ -509,6 +509,31 @@ kern_return_t thread_adopt_exception_handler
509 thread_state_flavor_t flavor_mask509 thread_state_flavor_t flavor_mask
510);510);
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
512__END_DECLS537__END_DECLS
513538
514/********************** Caution **************************/539/********************** Caution **************************/
...@@ -939,6 +964,26 @@ __END_DECLS...@@ -939,6 +964,26 @@ __END_DECLS
939#ifdef __MigPackStructs964#ifdef __MigPackStructs
940#pragma pack(pop)965#pragma pack(pop)
941#endif966#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
942#endif /* !__Request__thread_act_subsystem__defined */987#endif /* !__Request__thread_act_subsystem__defined */
943988
944/* union of all requests */989/* union of all requests */
...@@ -977,6 +1022,8 @@ union __RequestUnion__thread_act_subsystem {...@@ -977,6 +1022,8 @@ union __RequestUnion__thread_act_subsystem {
977 __Request__thread_convert_thread_state_t Request_thread_convert_thread_state;1022 __Request__thread_convert_thread_state_t Request_thread_convert_thread_state;
978 __Request__thread_get_exception_ports_info_t Request_thread_get_exception_ports_info;1023 __Request__thread_get_exception_ports_info_t Request_thread_get_exception_ports_info;
979 __Request__thread_adopt_exception_handler_t Request_thread_adopt_exception_handler;1024 __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;
980};1027};
981#endif /* !__RequestUnion__thread_act_subsystem__defined */1028#endif /* !__RequestUnion__thread_act_subsystem__defined */
982/* typedefs for all replies */1029/* typedefs for all replies */
...@@ -1393,6 +1440,32 @@ union __RequestUnion__thread_act_subsystem {...@@ -1393,6 +1440,32 @@ union __RequestUnion__thread_act_subsystem {
1393#ifdef __MigPackStructs1440#ifdef __MigPackStructs
1394#pragma pack(pop)1441#pragma pack(pop)
1395#endif1442#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
1396#endif /* !__Reply__thread_act_subsystem__defined */1469#endif /* !__Reply__thread_act_subsystem__defined */
13971470
1398/* union of all replies */1471/* union of all replies */
...@@ -1431,6 +1504,8 @@ union __ReplyUnion__thread_act_subsystem {...@@ -1431,6 +1504,8 @@ union __ReplyUnion__thread_act_subsystem {
1431 __Reply__thread_convert_thread_state_t Reply_thread_convert_thread_state;1504 __Reply__thread_convert_thread_state_t Reply_thread_convert_thread_state;
1432 __Reply__thread_get_exception_ports_info_t Reply_thread_get_exception_ports_info;1505 __Reply__thread_get_exception_ports_info_t Reply_thread_get_exception_ports_info;
1433 __Reply__thread_adopt_exception_handler_t Reply_thread_adopt_exception_handler;1506 __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;
1434};1509};
1435#endif /* !__RequestUnion__thread_act_subsystem__defined */1510#endif /* !__RequestUnion__thread_act_subsystem__defined */
14361511
...@@ -1466,7 +1541,9 @@ union __ReplyUnion__thread_act_subsystem {...@@ -1466,7 +1541,9 @@ union __ReplyUnion__thread_act_subsystem {
1466 { "thread_swap_mach_voucher", 3627 },\1541 { "thread_swap_mach_voucher", 3627 },\
1467 { "thread_convert_thread_state", 3628 },\1542 { "thread_convert_thread_state", 3628 },\
1468 { "thread_get_exception_ports_info", 3630 },\1543 { "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 }
1470#endif1547#endif
14711548
1472#ifdef __AfterMigUserHeader1549#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;...@@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t;
52#endif /* AUTOTEST */52#endif /* AUTOTEST */
5353
54#ifndef vm_map_MSG_COUNT54#ifndef vm_map_MSG_COUNT
55#define vm_map_MSG_COUNT 3355#define vm_map_MSG_COUNT 34
56#endif /* vm_map_MSG_COUNT */56#endif /* vm_map_MSG_COUNT */
5757
58#include <Availability.h>58#include <Availability.h>
...@@ -517,6 +517,24 @@ kern_return_t vm_remap_new...@@ -517,6 +517,24 @@ kern_return_t vm_remap_new
517 vm_inherit_t inheritance517 vm_inherit_t inheritance
518);518);
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
520__END_DECLS538__END_DECLS
521539
522/********************** Caution **************************/540/********************** Caution **************************/
...@@ -972,6 +990,24 @@ __END_DECLS...@@ -972,6 +990,24 @@ __END_DECLS
972#ifdef __MigPackStructs990#ifdef __MigPackStructs
973#pragma pack(pop)991#pragma pack(pop)
974#endif992#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
975#endif /* !__Request__vm_map_subsystem__defined */1011#endif /* !__Request__vm_map_subsystem__defined */
9761012
977/* union of all requests */1013/* union of all requests */
...@@ -1008,6 +1044,7 @@ union __RequestUnion__vm_map_subsystem {...@@ -1008,6 +1044,7 @@ union __RequestUnion__vm_map_subsystem {
1008 __Request__vm_purgable_control_t Request_vm_purgable_control;1044 __Request__vm_purgable_control_t Request_vm_purgable_control;
1009 __Request__vm_map_exec_lockdown_t Request_vm_map_exec_lockdown;1045 __Request__vm_map_exec_lockdown_t Request_vm_map_exec_lockdown;
1010 __Request__vm_remap_new_t Request_vm_remap_new;1046 __Request__vm_remap_new_t Request_vm_remap_new;
1047 __Request__vm_reallocate_t Request_vm_reallocate;
1011};1048};
1012#endif /* !__RequestUnion__vm_map_subsystem__defined */1049#endif /* !__RequestUnion__vm_map_subsystem__defined */
1013/* typedefs for all replies */1050/* typedefs for all replies */
...@@ -1427,6 +1464,19 @@ union __RequestUnion__vm_map_subsystem {...@@ -1427,6 +1464,19 @@ union __RequestUnion__vm_map_subsystem {
1427#ifdef __MigPackStructs1464#ifdef __MigPackStructs
1428#pragma pack(pop)1465#pragma pack(pop)
1429#endif1466#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
1430#endif /* !__Reply__vm_map_subsystem__defined */1480#endif /* !__Reply__vm_map_subsystem__defined */
14311481
1432/* union of all replies */1482/* union of all replies */
...@@ -1463,6 +1513,7 @@ union __ReplyUnion__vm_map_subsystem {...@@ -1463,6 +1513,7 @@ union __ReplyUnion__vm_map_subsystem {
1463 __Reply__vm_purgable_control_t Reply_vm_purgable_control;1513 __Reply__vm_purgable_control_t Reply_vm_purgable_control;
1464 __Reply__vm_map_exec_lockdown_t Reply_vm_map_exec_lockdown;1514 __Reply__vm_map_exec_lockdown_t Reply_vm_map_exec_lockdown;
1465 __Reply__vm_remap_new_t Reply_vm_remap_new;1515 __Reply__vm_remap_new_t Reply_vm_remap_new;
1516 __Reply__vm_reallocate_t Reply_vm_reallocate;
1466};1517};
1467#endif /* !__RequestUnion__vm_map_subsystem__defined */1518#endif /* !__RequestUnion__vm_map_subsystem__defined */
14681519
...@@ -1496,7 +1547,8 @@ union __ReplyUnion__vm_map_subsystem {...@@ -1496,7 +1547,8 @@ union __ReplyUnion__vm_map_subsystem {
1496 { "vm_map_64", 3826 },\1547 { "vm_map_64", 3826 },\
1497 { "vm_purgable_control", 3830 },\1548 { "vm_purgable_control", 3830 },\
1498 { "vm_map_exec_lockdown", 3831 },\1549 { "vm_map_exec_lockdown", 3831 },\
1499 { "vm_remap_new", 3832 }1550 { "vm_remap_new", 3832 },\
1551 { "vm_reallocate", 3833 }
1500#endif1552#endif
15011553
1502#ifdef __AfterMigUserHeader1554#ifdef __AfterMigUserHeader
lib/libc/include/any-darwin-any/mach/vm_prot.h-1
...@@ -154,7 +154,6 @@ typedef int vm_prot_t;...@@ -154,7 +154,6 @@ typedef int vm_prot_t;
154#define VM_PROT_STRIP_READ ((vm_prot_t) 0x80)154#define VM_PROT_STRIP_READ ((vm_prot_t) 0x80)
155#define VM_PROT_EXECUTE_ONLY (VM_PROT_EXECUTE|VM_PROT_STRIP_READ)155#define VM_PROT_EXECUTE_ONLY (VM_PROT_EXECUTE|VM_PROT_STRIP_READ)
156156
157
158/*157/*
159 * Another invalid protection value to support pager TPRO protection.158 * Another invalid protection value to support pager TPRO protection.
160 * VM_PROT_TPRO is a special marker that tells the a pager to159 * 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 @@...@@ -50,6 +50,7 @@
5050
51#include <sys/cdefs.h>51#include <sys/cdefs.h>
5252
53
53#pragma pack(push, 4)54#pragma pack(push, 4)
5455
55// LP64todo: all the current tools are 32bit, obviously never worked for 64b56// 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;...@@ -118,6 +119,13 @@ typedef struct vm_region_basic_info vm_region_basic_info_data_t;
118#define VM_REGION_BASIC_INFO_COUNT ((mach_msg_type_number_t) \119#define VM_REGION_BASIC_INFO_COUNT ((mach_msg_type_number_t) \
119 (sizeof(vm_region_basic_info_data_t)/sizeof(int)))120 (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 */
121#define SM_COW 1129#define SM_COW 1
122#define SM_PRIVATE 2130#define SM_PRIVATE 2
123#define SM_EMPTY 3131#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;...@@ -226,14 +226,16 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
226226
227/* included for the vm_map_page_query call */227/* included for the vm_map_page_query call */
228228
229#define VM_PAGE_QUERY_PAGE_PRESENT 0x1229typedef int32_t vm_page_disposition_t;
230#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x2230
231#define VM_PAGE_QUERY_PAGE_REF 0x4231#define VM_PAGE_QUERY_PAGE_PRESENT 0x001
232#define VM_PAGE_QUERY_PAGE_DIRTY 0x8232#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x002
233#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x10233#define VM_PAGE_QUERY_PAGE_REF 0x004
234#define VM_PAGE_QUERY_PAGE_COPIED 0x20234#define VM_PAGE_QUERY_PAGE_DIRTY 0x008
235#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x40235#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x010
236#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x80236#define VM_PAGE_QUERY_PAGE_COPIED 0x020
237#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x040
238#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x080
237#define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x100239#define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x100
238#define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x200240#define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x200
239#define VM_PAGE_QUERY_PAGE_CS_NX 0x400241#define VM_PAGE_QUERY_PAGE_CS_NX 0x400
...@@ -241,6 +243,20 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;...@@ -241,6 +243,20 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
241243
242#pragma mark User Flags244#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
244/*260/*
245 * VM allocation flags:261 * VM allocation flags:
246 *262 *
...@@ -271,6 +287,10 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;...@@ -271,6 +287,10 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
271 * Pages brought in to this VM region are placed on the speculative287 * Pages brought in to this VM region are placed on the speculative
272 * queue instead of the active queue. In other words, they are not288 * queue instead of the active queue. In other words, they are not
273 * cached so that they will be stolen first if memory runs low.289 * 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.
274 */294 */
275295
276#define VM_FLAGS_FIXED 0x00000000296#define VM_FLAGS_FIXED 0x00000000
...@@ -284,7 +304,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;...@@ -284,7 +304,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
284#define VM_FLAGS_PERMANENT 0x00000080304#define VM_FLAGS_PERMANENT 0x00000080
285#define VM_FLAGS_TPRO 0x00001000305#define VM_FLAGS_TPRO 0x00001000
286#define VM_FLAGS_MTE 0x00002000306#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 */
288/*308/*
289 * VM_FLAGS_SUPERPAGE_MASK309 * VM_FLAGS_SUPERPAGE_MASK
290 * 3 bits that specify whether large pages should be used instead of310 * 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;...@@ -292,6 +312,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
292 */312 */
293#define VM_FLAGS_SUPERPAGE_MASK 0x00070000 /* bits 0x10000, 0x20000, 0x40000 */313#define VM_FLAGS_SUPERPAGE_MASK 0x00070000 /* bits 0x10000, 0x20000, 0x40000 */
294#define VM_FLAGS_RETURN_DATA_ADDR 0x00100000 /* Return address of target data, rather than base of page */314#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
295#define VM_FLAGS_RETURN_4K_DATA_ADDR 0x00800000 /* Return 4K aligned address of target data */316#define VM_FLAGS_RETURN_4K_DATA_ADDR 0x00800000 /* Return 4K aligned address of target data */
296#define VM_FLAGS_ALIAS_MASK 0xFF000000317#define VM_FLAGS_ALIAS_MASK 0xFF000000
297#define VM_GET_FLAGS_ALIAS(flags, alias) \318#define VM_GET_FLAGS_ALIAS(flags, alias) \
...@@ -300,7 +321,8 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;...@@ -300,7 +321,8 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
300 (flags) = (((flags) & ~VM_FLAGS_ALIAS_MASK) | \321 (flags) = (((flags) & ~VM_FLAGS_ALIAS_MASK) | \
301 (((alias) & ~VM_FLAGS_ALIAS_MASK) << 24))322 (((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
305/* These are the flags that we accept from user-space */327/* These are the flags that we accept from user-space */
306#define VM_FLAGS_USER_ALLOCATE (VM_FLAGS_FIXED | \328#define VM_FLAGS_USER_ALLOCATE (VM_FLAGS_FIXED | \
...@@ -311,6 +333,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;...@@ -311,6 +333,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
311 VM_FLAGS_NO_CACHE | \333 VM_FLAGS_NO_CACHE | \
312 VM_FLAGS_PERMANENT | \334 VM_FLAGS_PERMANENT | \
313 VM_FLAGS_OVERWRITE | \335 VM_FLAGS_OVERWRITE | \
336 VM_FLAGS_GUARD_OBJECT_OPTOUT | \
314 VM_FLAGS_SUPERPAGE_MASK | \337 VM_FLAGS_SUPERPAGE_MASK | \
315 VM_FLAGS_HW | \338 VM_FLAGS_HW | \
316 VM_FLAGS_ALIAS_MASK)339 VM_FLAGS_ALIAS_MASK)
...@@ -350,6 +373,7 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {...@@ -350,6 +373,7 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
350 kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10,373 kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10,
351 kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11,374 kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11,
352 kGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION = 12,375 kGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION = 12,
376 kGUARD_EXC_LARGE_ALLOCATION_TELEMETRY = 13,
353 /*377 /*
354 * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned)378 * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned)
355 */379 */
...@@ -362,7 +386,9 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {...@@ -362,7 +386,9 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
362 /* Fault-related exceptions. */386 /* Fault-related exceptions. */
363 kGUARD_EXC_MTE_SYNC_FAULT = 200,387 kGUARD_EXC_MTE_SYNC_FAULT = 200,
364 kGUARD_EXC_MTE_ASYNC_USER_FAULT = 201,388 kGUARD_EXC_MTE_ASYNC_USER_FAULT = 201,
365 kGUARD_EXC_MTE_ASYNC_KERN_FAULT = 202389 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,
366});392});
367393
368#define kGUARD_EXC_MTE_SOFT_MODE 0x100000394#define kGUARD_EXC_MTE_SOFT_MODE 0x100000
...@@ -423,6 +449,8 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {...@@ -423,6 +449,8 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
423449
424#define VM_MEMORY_MACH_MSG 20450#define VM_MEMORY_MACH_MSG 20
425#define VM_MEMORY_IOKIT 21451#define VM_MEMORY_IOKIT 21
452#define VM_MEMORY_VM_RECLAIM 22
453
426#define VM_MEMORY_STACK 30454#define VM_MEMORY_STACK 30
427#define VM_MEMORY_GUARD 31455#define VM_MEMORY_GUARD 31
428#define VM_MEMORY_SHARED_PMAP 32456#define VM_MEMORY_SHARED_PMAP 32
...@@ -636,7 +664,6 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {...@@ -636,7 +664,6 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
636#define VM_MAKE_TAG(tag) ((tag) << 24)664#define VM_MAKE_TAG(tag) ((tag) << 24)
637665
638666
639
640__END_DECLS667__END_DECLS
641668
642#endif /* _MACH_VM_STATISTICS_H_ */669#endif /* _MACH_VM_STATISTICS_H_ */
lib/libc/include/any-darwin-any/mach/vm_types.h+6
...@@ -34,12 +34,18 @@...@@ -34,12 +34,18 @@
3434
35#include <mach/port.h>35#include <mach/port.h>
36#include <mach/machine/vm_types.h>36#include <mach/machine/vm_types.h>
37#include <mach/error.h>
3738
38#include <stdint.h>39#include <stdint.h>
39#include <sys/cdefs.h>40#include <sys/cdefs.h>
4041
41__BEGIN_DECLS42__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
43typedef vm_offset_t pointer_t __kernel_ptr_semantics;49typedef vm_offset_t pointer_t __kernel_ptr_semantics;
44typedef vm_offset_t vm_address_t __kernel_ptr_semantics;50typedef 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, {...@@ -140,6 +140,7 @@ __enum_decl(ipc_info_object_type_t, natural_t, {
140 IPC_OTYPE_TASK_FATAL = 51,140 IPC_OTYPE_TASK_FATAL = 51,
141 IPC_OTYPE_KCDATA = 52,141 IPC_OTYPE_KCDATA = 52,
142 IPC_OTYPE_EXCLAVES_RESOURCE = 53,142 IPC_OTYPE_EXCLAVES_RESOURCE = 53,
143 IPC_OTYPE_THREAD_RESUME = 54,
143144
144 /* catchall */145 /* catchall */
145 IPC_OTYPE_UNKNOWN = ~0u,146 IPC_OTYPE_UNKNOWN = ~0u,
lib/libc/include/any-darwin-any/malloc/malloc.h-2
...@@ -86,8 +86,6 @@ __BEGIN_DECLS...@@ -86,8 +86,6 @@ __BEGIN_DECLS
86 * @constant MALLOC_ZONE_MALLOC_OPTION_CLEAR86 * @constant MALLOC_ZONE_MALLOC_OPTION_CLEAR
87 * Zero out the allocated memory, similar to calloc().87 * Zero out the allocated memory, similar to calloc().
88 *88 *
89 */
90/*!
91 * @constant MALLOC_ZONE_MALLOC_OPTION_CANONICAL_TAG89 * @constant MALLOC_ZONE_MALLOC_OPTION_CANONICAL_TAG
92 * Under MTE, use a tag of zero (canonical) instead of a random value.90 * Under MTE, use a tag of zero (canonical) instead of a random value.
93 */91 */
lib/libc/include/any-darwin-any/net/if_var.h+2-2
...@@ -219,11 +219,11 @@ struct if_data64 {...@@ -219,11 +219,11 @@ struct if_data64 {
219219
220#pragma pack()220#pragma pack()
221221
222#if defined(DRIVERKIT) || defined(PRIVATE) || defined(DRIVERKIT_PRIVATE)222#if defined(DRIVERKIT) || (defined(PRIVATE) && !defined(MODULES_SUPPORTED)) || defined(DRIVERKIT_PRIVATE)
223#include <net/if_var_status.h>223#include <net/if_var_status.h>
224#else224#else
225struct ifnet_interface_advisory;225struct 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
229/*229/*
lib/libc/include/any-darwin-any/signal.h+5-2
...@@ -113,10 +113,13 @@ int sigvec(int, struct sigvec *, struct sigvec *);...@@ -113,10 +113,13 @@ int sigvec(int, struct sigvec *, struct sigvec *);
113__END_DECLS113__END_DECLS
114114
115/* List definitions after function declarations, or Reiser cpp gets upset. */115/* List definitions after function declarations, or Reiser cpp gets upset. */
116__header_always_inline int116__header_always_inline unsigned int
117__sigbits(int __signo)117__sigbits(int __signo)
118{118{
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));
120}123}
121124
122#define sigaddset(set, signo) (*(set) |= __sigbits(signo), 0)125#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)...@@ -6439,7 +6439,7 @@ static inline SIMD_CFUNC simd_double4 __tg_fdim(simd_double4 x, simd_double4 y)
6439static inline SIMD_CFUNC simd_double8 __tg_fdim(simd_double8 x, simd_double8 y) { return simd_bitselect(x-y, 0, x<y); }6439static inline SIMD_CFUNC simd_double8 __tg_fdim(simd_double8 x, simd_double8 y) { return simd_bitselect(x-y, 0, x<y); }
6440 6440
6441static inline SIMD_CFUNC simd_float2 __tg_fma(simd_float2 x, simd_float2 y, simd_float2 z) {6441static 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
6443 return vfma_f32(z, x, y);6443 return vfma_f32(z, x, y);
6444#else6444#else
6445 return simd_make_float2(__tg_fma(simd_make_float4_undef(x), simd_make_float4_undef(y), simd_make_float4_undef(z)));6445 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...@@ -6454,7 +6454,7 @@ static inline SIMD_CFUNC simd_float3 __tg_fma(simd_float3 x, simd_float3 y, simd
6454extern simd_float4 _simd_fma_f4(simd_float4 x, simd_float4 y, simd_float4 z);6454extern simd_float4 _simd_fma_f4(simd_float4 x, simd_float4 y, simd_float4 z);
6455#endif6455#endif
6456static inline SIMD_CFUNC simd_float4 __tg_fma(simd_float4 x, simd_float4 y, simd_float4 z) {6456static 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
6458 return vfmaq_f32(z, x, y);6458 return vfmaq_f32(z, x, y);
6459#elif (defined __i386__ || defined __x86_64__) && defined __FMA__6459#elif (defined __i386__ || defined __x86_64__) && defined __FMA__
6460 return _mm_fmadd_ps(x, y, z);6460 return _mm_fmadd_ps(x, y, z);
lib/libc/include/any-darwin-any/sys/_symbol_aliasing.h+24
...@@ -575,6 +575,18 @@...@@ -575,6 +575,18 @@
575#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_2(x)575#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_2(x)
576#endif576#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
578#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000590#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000
579#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x591#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x
580#else592#else
...@@ -1025,3 +1037,15 @@...@@ -1025,3 +1037,15 @@
1025#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_2(x)1037#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_2(x)
1026#endif1038#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 @@...@@ -54,6 +54,8 @@
54#define FSOPT_RETURN_REALDEV 0x0000020054#define FSOPT_RETURN_REALDEV 0x00000200
55#define FSOPT_NOFOLLOW_ANY 0x0000080055#define FSOPT_NOFOLLOW_ANY 0x00000800
56#define FSOPT_RESOLVE_BENEATH 0x0000100056#define FSOPT_RESOLVE_BENEATH 0x00001000
57#define FSOPT_UNIQUE 0x00002000
58
5759
58/* we currently aren't anywhere near this amount for a valid60/* we currently aren't anywhere near this amount for a valid
59 * fssearchblock.sizeofsearchparams1 or fssearchblock.sizeofsearchparams261 * fssearchblock.sizeofsearchparams1 or fssearchblock.sizeofsearchparams2
...@@ -599,9 +601,11 @@ typedef struct vol_attributes_attr {...@@ -599,9 +601,11 @@ typedef struct vol_attributes_attr {
599#define SRCHFS_SKIPINVISIBLE 0x00000020601#define SRCHFS_SKIPINVISIBLE 0x00000020
600#define SRCHFS_SKIPPACKAGES 0x00000040602#define SRCHFS_SKIPPACKAGES 0x00000040
601#define SRCHFS_SKIPINAPPROPRIATE 0x00000080603#define SRCHFS_SKIPINAPPROPRIATE 0x00000080
604#define SRCHFS_NOFOLLOW 0x00000100
605#define SRCHFS_NOFOLLOW_ANY 0x00000200
602606
603#define SRCHFS_NEGATEPARAMS 0x80000000607#define SRCHFS_NEGATEPARAMS 0x80000000
604#define SRCHFS_VALIDOPTIONSMASK 0x800000FF608#define SRCHFS_VALIDOPTIONSMASK 0x800003FF
605609
606struct fssearchblock {610struct fssearchblock {
607 struct attrlist *returnattrs;611 struct attrlist *returnattrs;
lib/libc/include/any-darwin-any/sys/fcntl.h+2
...@@ -340,6 +340,7 @@...@@ -340,6 +340,7 @@
340340
341#define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */341#define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */
342342
343
343// FS-specific fcntl()'s numbers begin at 0x00010000 and go up344// FS-specific fcntl()'s numbers begin at 0x00010000 and go up
344#define FCNTL_FS_SPECIFIC_BASE 0x00010000345#define FCNTL_FS_SPECIFIC_BASE 0x00010000
345346
...@@ -532,6 +533,7 @@ typedef struct fattributiontag {...@@ -532,6 +533,7 @@ typedef struct fattributiontag {
532#define F_DELETE_TAG 0x00000002533#define F_DELETE_TAG 0x00000002
533#define F_QUERY_TAG 0x00000004534#define F_QUERY_TAG 0x00000004
534535
536
535/*537/*
536 * For F_LOG2PHYS this information is passed back to user538 * For F_LOG2PHYS this information is passed back to user
537 * Currently only devoffset is returned - that is the VOP_BMAP539 * 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 @@...@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2000-2020 Apple Computer, Inc. All rights reserved.2 * Copyright (c) 2000-2025 Apple Computer, Inc. All rights reserved.
3 *3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *5 *
...@@ -153,7 +153,6 @@...@@ -153,7 +153,6 @@
153#define MAP_32BIT 0x8000 /* Return virtual addresses <4G only */153#define MAP_32BIT 0x8000 /* Return virtual addresses <4G only */
154#endif /* defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 */154#endif /* defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 */
155155
156
157/*156/*
158 * Flags used to support translated processes.157 * Flags used to support translated processes.
159 */158 */
...@@ -236,7 +235,6 @@...@@ -236,7 +235,6 @@
236235
237236
238237
239
240__BEGIN_DECLS238__BEGIN_DECLS
241/* [ML] */239/* [ML] */
242int mlockall(int);240int mlockall(int);
...@@ -268,7 +266,8 @@ int mincore(const void *, size_t, char *);...@@ -268,7 +266,8 @@ int mincore(const void *, size_t, char *);
268int minherit(void *, size_t, int);266int minherit(void *, size_t, int);
269#endif267#endif
270268
271
272__END_DECLS269__END_DECLS
273270
271
272
274#endif /* !_SYS_MMAN_H_ */273#endif /* !_SYS_MMAN_H_ */
lib/libc/include/any-darwin-any/sys/paths.h+12-9
...@@ -41,15 +41,18 @@...@@ -41,15 +41,18 @@
41#define _PATH_RSRCFORKSPEC "/..namedfork/rsrc"41#define _PATH_RSRCFORKSPEC "/..namedfork/rsrc"
4242
43/* Prefix Path Namespace */43/* Prefix Path Namespace */
44#define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */44#define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */
45#define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */45#define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */
46#define RESOLVE_LOCAL 0x00000004 /* prevent a path lookup into a network filesystem */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 */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 */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 */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 */50#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */
5151#define RESOLVE_NOQUARANTINE 0x00000080 /* prevent operating on a quarantined file */
52#define RESOLVE_VALIDMASK 0x0000007F52#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
54#endif /* __APPLE_API_PRIVATE */57#endif /* __APPLE_API_PRIVATE */
55#endif /* !_SYS_PATHS_H_ */58#endif /* !_SYS_PATHS_H_ */
lib/libc/include/any-darwin-any/sys/proc.h+2-2
...@@ -1,5 +1,5 @@...@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2000-2018 Apple Inc. All rights reserved.2 * Copyright (c) 2000-2025 Apple Inc. All rights reserved.
3 *3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *5 *
...@@ -79,7 +79,6 @@...@@ -79,7 +79,6 @@
79#include <sys/time.h>79#include <sys/time.h>
80#include <mach/boolean.h>80#include <mach/boolean.h>
8181
82
83#include <Availability.h>82#include <Availability.h>
8483
8584
...@@ -217,6 +216,7 @@ struct extern_proc {...@@ -217,6 +216,7 @@ struct extern_proc {
217#define P_DIRTY_DEFER_ALWAYS 0x00000400 /* defer going to idle-exit after every dirty->clean transition.216#define P_DIRTY_DEFER_ALWAYS 0x00000400 /* defer going to idle-exit after every dirty->clean transition.
218 * For legacy jetsam policy only. This is the default with the other policies.*/217 * For legacy jetsam policy only. This is the default with the other policies.*/
219#define P_DIRTY_SHUTDOWN_ON_CLEAN 0x00000800 /* process should shutdown on going clean */218#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
221#define P_DIRTY_IS_DIRTY (P_DIRTY | P_DIRTY_SHUTDOWN)221#define P_DIRTY_IS_DIRTY (P_DIRTY | P_DIRTY_SHUTDOWN)
222#define P_DIRTY_IDLE_EXIT_ENABLED (P_DIRTY_TRACK|P_DIRTY_ALLOW_IDLE_EXIT)222#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 {...@@ -135,27 +135,31 @@ struct ctlname {
135 int ctl_type; /* type of name */135 int ctl_type; /* type of name */
136};136};
137137
138#define CTLTYPE 0xf /* Mask for the type */138#define CTLTYPE 0xf /* Mask for the type */
139#define CTLTYPE_NODE 1 /* name is a node */139#define CTLTYPE_NODE 1 /* name is a node */
140#define CTLTYPE_INT 2 /* name describes an integer */140#define CTLTYPE_INT 2 /* name describes an integer */
141#define CTLTYPE_STRING 3 /* name describes a string */141#define CTLTYPE_STRING 3 /* name describes a string */
142#define CTLTYPE_QUAD 4 /* name describes a 64-bit number */142#define CTLTYPE_QUAD 4 /* name describes a 64-bit number */
143#define CTLTYPE_OPAQUE 5 /* name describes a structure */143#define CTLTYPE_OPAQUE 5 /* name describes a structure */
144#define CTLTYPE_STRUCT CTLTYPE_OPAQUE /* name describes a structure */144#define CTLTYPE_STRUCT CTLTYPE_OPAQUE /* name describes a structure */
145145
146#define CTLFLAG_RD 0x80000000 /* Allow reads of variable */146#define CTLFLAG_RD 0x80000000 /* Allow reads of variable */
147#define CTLFLAG_WR 0x40000000 /* Allow writes to the variable */147#define CTLFLAG_WR 0x40000000 /* Allow writes to the variable */
148#define CTLFLAG_RW (CTLFLAG_RD|CTLFLAG_WR)148#define CTLFLAG_RW (CTLFLAG_RD|CTLFLAG_WR)
149#define CTLFLAG_NOLOCK 0x20000000 /* XXX Don't Lock */149#define CTLFLAG_NOLOCK 0x20000000 /* XXX Don't Lock */
150#define CTLFLAG_ANYBODY 0x10000000 /* All users can set this var */150#define CTLFLAG_ANYBODY 0x10000000 /* All users can set this var */
151#define CTLFLAG_SECURE 0x08000000 /* Permit set only if securelevel<=0 */151#define CTLFLAG_SECURE 0x08000000 /* Permit set only if securelevel<=0 */
152#define CTLFLAG_MASKED 0x04000000 /* deprecated variable, do not display */152#define CTLFLAG_MASKED 0x04000000 /* deprecated variable, do not display */
153#define CTLFLAG_NOAUTO 0x02000000 /* do not auto-register */153#define CTLFLAG_NOAUTO 0x02000000 /* do not auto-register */
154#define CTLFLAG_KERN 0x01000000 /* valid inside the kernel */154#define CTLFLAG_KERN 0x01000000 /* valid inside the kernel */
155#define CTLFLAG_LOCKED 0x00800000 /* node will handle locking itself */155#define CTLFLAG_LOCKED 0x00800000 /* node will handle locking itself */
156#define CTLFLAG_OID2 0x00400000 /* struct sysctl_oid has version info */156#define CTLFLAG_OID2 0x00400000 /* struct sysctl_oid has version info */
157#define CTLFLAG_EXPERIMENT 0x00100000 /* Allows read/write w/ the trial experiment entitlement. */157#define CTLFLAG_EXPERIMENT 0x00100000 /* Allows read/write w/ the trial experiment entitlement. */
158#define CTLFLAG_LEGACY_EXPERIMENT 0x00080000 /* Allows writing w/ the legacy trial experiment entitlement. */158#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
160/*164/*
161 * USE THIS instead of a hardwired number from the categories below165 * 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...@@ -538,14 +538,14 @@ __END_DECLS
538#define F_TLOCK 2 /* test and lock a section for exclusive use */538#define F_TLOCK 2 /* test and lock a section for exclusive use */
539#define F_TEST 3 /* test a section for locks by other procs */539#define F_TEST 3 /* test a section for locks by other procs */
540540
541 __BEGIN_DECLS
542
543/* Begin XSI */541/* Begin XSI */
544/* Removed in Issue 7 */542/* Removed in Issue 7 */
545#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200809L543#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200809L
546#include <_ctermid.h>544#include <_ctermid.h>
547#endif545#endif
548546
547__BEGIN_DECLS
548
549/* Removed in Issue 6 */549/* Removed in Issue 6 */
550#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200112L550#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200112L
551#if !defined(_POSIX_C_SOURCE)551#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;...@@ -302,7 +302,7 @@ const xpc_object_t XPC_ACTIVITY_CHECK_IN;
302 * dispatch queue with an appropriate priority to perform the activity.302 * dispatch queue with an appropriate priority to perform the activity.
303 */303 */
304API_AVAILABLE(macos(10.9))304API_AVAILABLE(macos(10.9))
305API_UNAVAILABLE(ios)305API_UNAVAILABLE(ios, tvos, watchos)
306XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 XPC_NONNULL3306XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 XPC_NONNULL3
307void307void
308xpc_activity_register(const char *identifier, xpc_object_t criteria,308xpc_activity_register(const char *identifier, xpc_object_t criteria,
...@@ -317,7 +317,7 @@ xpc_activity_register(const char *identifier, xpc_object_t criteria,...@@ -317,7 +317,7 @@ xpc_activity_register(const char *identifier, xpc_object_t criteria,
317 * when checking in to an event that finished and was not rescheduled.317 * when checking in to an event that finished and was not rescheduled.
318 */318 */
319API_AVAILABLE(macos(10.9))319API_AVAILABLE(macos(10.9))
320API_UNAVAILABLE(ios)320API_UNAVAILABLE(ios, tvos, watchos)
321XPC_EXPORT XPC_WARN_RESULT XPC_RETURNS_RETAINED XPC_NONNULL1321XPC_EXPORT XPC_WARN_RESULT XPC_RETURNS_RETAINED XPC_NONNULL1
322xpc_object_t _Nullable322xpc_object_t _Nullable
323xpc_activity_copy_criteria(xpc_activity_t activity);323xpc_activity_copy_criteria(xpc_activity_t activity);
...@@ -329,7 +329,7 @@ xpc_activity_copy_criteria(xpc_activity_t activity);...@@ -329,7 +329,7 @@ xpc_activity_copy_criteria(xpc_activity_t activity);
329 * Modifies the execution criteria of an activity.329 * Modifies the execution criteria of an activity.
330 */330 */
331API_AVAILABLE(macos(10.9))331API_AVAILABLE(macos(10.9))
332API_UNAVAILABLE(ios)332API_UNAVAILABLE(ios, tvos, watchos)
333XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2333XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2
334void334void
335xpc_activity_set_criteria(xpc_activity_t activity, xpc_object_t criteria);335xpc_activity_set_criteria(xpc_activity_t activity, xpc_object_t criteria);
...@@ -411,7 +411,7 @@ typedef long xpc_activity_state_t;...@@ -411,7 +411,7 @@ typedef long xpc_activity_state_t;
411 * Returns the current state of an activity.411 * Returns the current state of an activity.
412 */412 */
413API_AVAILABLE(macos(10.9))413API_AVAILABLE(macos(10.9))
414API_UNAVAILABLE(ios)414API_UNAVAILABLE(ios, tvos, watchos)
415XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1415XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1
416xpc_activity_state_t416xpc_activity_state_t
417xpc_activity_get_state(xpc_activity_t activity);417xpc_activity_get_state(xpc_activity_t activity);
...@@ -427,7 +427,7 @@ xpc_activity_get_state(xpc_activity_t activity);...@@ -427,7 +427,7 @@ xpc_activity_get_state(xpc_activity_t activity);
427 * false if the requested state transition is not valid.427 * false if the requested state transition is not valid.
428 */428 */
429API_AVAILABLE(macos(10.9))429API_AVAILABLE(macos(10.9))
430API_UNAVAILABLE(ios)430API_UNAVAILABLE(ios, tvos, watchos)
431XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1431XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1
432bool432bool
433xpc_activity_set_state(xpc_activity_t activity, xpc_activity_state_t state);433xpc_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);...@@ -451,7 +451,7 @@ xpc_activity_set_state(xpc_activity_t activity, xpc_activity_state_t state);
451 * Returns true if the activity should be deferred.451 * Returns true if the activity should be deferred.
452 */452 */
453API_AVAILABLE(macos(10.9))453API_AVAILABLE(macos(10.9))
454API_UNAVAILABLE(ios)454API_UNAVAILABLE(ios, tvos, watchos)
455XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1455XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1
456bool456bool
457xpc_activity_should_defer(xpc_activity_t activity);457xpc_activity_should_defer(xpc_activity_t activity);
...@@ -475,7 +475,7 @@ xpc_activity_should_defer(xpc_activity_t activity);...@@ -475,7 +475,7 @@ xpc_activity_should_defer(xpc_activity_t activity);
475 * The identifier of the activity to unregister.475 * The identifier of the activity to unregister.
476 */476 */
477API_AVAILABLE(macos(10.9))477API_AVAILABLE(macos(10.9))
478API_UNAVAILABLE(ios)478API_UNAVAILABLE(ios, tvos, watchos)
479XPC_EXPORT XPC_NONNULL1479XPC_EXPORT XPC_NONNULL1
480void480void
481xpc_activity_unregister(const char *identifier);481xpc_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,...@@ -199,7 +199,7 @@ xpc_connection_create(const char * _Nullable name,
199 * connection has been activated. See {@link xpc_connection_activate()}.199 * connection has been activated. See {@link xpc_connection_activate()}.
200 */200 */
201API_AVAILABLE(macos(10.7), macCatalyst(5.0))201API_AVAILABLE(macos(10.7), macCatalyst(5.0))
202API_UNAVAILABLE(ios)202API_UNAVAILABLE(ios, tvos, watchos)
203XPC_EXPORT XPC_MALLOC XPC_RETURNS_RETAINED XPC_WARN_RESULT XPC_NONNULL1203XPC_EXPORT XPC_MALLOC XPC_RETURNS_RETAINED XPC_WARN_RESULT XPC_NONNULL1
204xpc_connection_t204xpc_connection_t
205xpc_connection_create_mach_service(const char *name,205xpc_connection_create_mach_service(const char *name,
...@@ -679,7 +679,7 @@ xpc_connection_get_egid(xpc_connection_t connection);...@@ -679,7 +679,7 @@ xpc_connection_get_egid(xpc_connection_t connection);
679 * delivery either at the kernel layer or at the XPC layer.679 * delivery either at the kernel layer or at the XPC layer.
680 */680 */
681API_AVAILABLE(macos(10.7))681API_AVAILABLE(macos(10.7))
682API_UNAVAILABLE(ios)682API_UNAVAILABLE(ios, tvos, watchos)
683XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT683XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
684pid_t684pid_t
685xpc_connection_get_pid(xpc_connection_t connection);685xpc_connection_get_pid(xpc_connection_t connection);
...@@ -695,7 +695,7 @@ xpc_connection_get_pid(xpc_connection_t connection);...@@ -695,7 +695,7 @@ xpc_connection_get_pid(xpc_connection_t connection);
695 * The audit session ID of the remote peer at the time the connection was made.695 * The audit session ID of the remote peer at the time the connection was made.
696 */696 */
697API_AVAILABLE(macos(10.7))697API_AVAILABLE(macos(10.7))
698API_UNAVAILABLE(ios)698API_UNAVAILABLE(ios, tvos, watchos)
699XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT699XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
700au_asid_t700au_asid_t
701xpc_connection_get_asid(xpc_connection_t connection);701xpc_connection_get_asid(xpc_connection_t connection);
...@@ -828,8 +828,8 @@ xpc_connection_set_peer_code_signing_requirement(xpc_connection_t connection, co...@@ -828,8 +828,8 @@ xpc_connection_set_peer_code_signing_requirement(xpc_connection_t connection, co
828 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`828 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
829 * will be delivered instead of the reply.829 * will be delivered instead of the reply.
830 */830 */
831API_AVAILABLE(macos(14.4), ios(17.4))831API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
832API_UNAVAILABLE(tvos, watchos)832
833XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT833XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
834int834int
835xpc_connection_set_peer_entitlement_exists_requirement(xpc_connection_t connection, const char *entitlement);835xpc_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...@@ -866,8 +866,8 @@ xpc_connection_set_peer_entitlement_exists_requirement(xpc_connection_t connecti
866 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`866 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
867 * will be delivered instead of the reply.867 * will be delivered instead of the reply.
868 */868 */
869API_AVAILABLE(macos(14.4), ios(17.4))869API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
870API_UNAVAILABLE(tvos, watchos)870
871XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT871XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
872int872int
873xpc_connection_set_peer_entitlement_matches_value_requirement(xpc_connection_t connection, const char *entitlement, xpc_object_t value);873xpc_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...@@ -903,8 +903,8 @@ xpc_connection_set_peer_entitlement_matches_value_requirement(xpc_connection_t c
903 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`903 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
904 * will be delivered instead of the reply.904 * will be delivered instead of the reply.
905 */905 */
906API_AVAILABLE(macos(14.4), ios(17.4))906API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
907API_UNAVAILABLE(tvos, watchos)907
908XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT908XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT
909int909int
910xpc_connection_set_peer_team_identity_requirement(xpc_connection_t connection, const char * _Nullable signing_identifier);910xpc_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...@@ -938,8 +938,8 @@ xpc_connection_set_peer_team_identity_requirement(xpc_connection_t connection, c
938 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`938 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
939 * will be delivered instead of the reply.939 * will be delivered instead of the reply.
940 */940 */
941API_AVAILABLE(macos(14.4), ios(17.4))941API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
942API_UNAVAILABLE(tvos, watchos)942
943XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT943XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT
944int944int
945xpc_connection_set_peer_platform_identity_requirement(xpc_connection_t connection, const char * _Nullable signing_identifier);945xpc_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...@@ -986,8 +986,8 @@ xpc_connection_set_peer_platform_identity_requirement(xpc_connection_t connectio
986 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`986 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
987 * will be delivered instead of the reply.987 * will be delivered instead of the reply.
988 */988 */
989API_AVAILABLE(macos(14.4), ios(17.4))989API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4))
990API_UNAVAILABLE(tvos, watchos)990
991XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT991XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT
992int992int
993xpc_connection_set_peer_lightweight_code_requirement(xpc_connection_t connection, xpc_object_t lwcr);993xpc_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...@@ -1012,8 +1012,8 @@ xpc_connection_set_peer_lightweight_code_requirement(xpc_connection_t connection
1012 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`1012 * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT`
1013 * will be delivered instead of the reply.1013 * will be delivered instead of the reply.
1014 */1014 */
1015API_AVAILABLE(macos(26.0), ios(26.0))1015API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
1016API_UNAVAILABLE(tvos, watchos)1016
1017XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL1017XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL
1018void1018void
1019xpc_connection_set_peer_requirement(xpc_connection_t connection,1019xpc_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,...@@ -129,7 +129,7 @@ xpc_listener_create(const char * service,
129 dispatch_queue_t _Nullable target_queue,129 dispatch_queue_t _Nullable target_queue,
130 xpc_listener_create_flags_t flags,130 xpc_listener_create_flags_t flags,
131 xpc_listener_incoming_session_handler_t incoming_session_handler,131 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
134#pragma mark Lifecycle134#pragma mark Lifecycle
135/*!135/*!
...@@ -156,7 +156,7 @@ API_UNAVAILABLE(ios, tvos, watchos)...@@ -156,7 +156,7 @@ API_UNAVAILABLE(ios, tvos, watchos)
156XPC_EXPORT XPC_SWIFT_NOEXPORT156XPC_EXPORT XPC_SWIFT_NOEXPORT
157bool157bool
158xpc_listener_activate(xpc_listener_t listener,158xpc_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
161/*!161/*!
162 * @function xpc_listener_cancel162 * @function xpc_listener_cancel
lib/libc/include/any-darwin-any/xpc/peer_requirement.h+13-13
...@@ -28,7 +28,7 @@ XPC_SWIFT_NOEXPORT...@@ -28,7 +28,7 @@ XPC_SWIFT_NOEXPORT
28 * xpc_peer_requirement_t can be shared among multiple connections, sessions28 * xpc_peer_requirement_t can be shared among multiple connections, sessions
29 * or listeners.29 * or listeners.
30 */30 */
31OS_OBJECT_DECL_CLASS(xpc_peer_requirement);31OS_OBJECT_DECL_SENDABLE_CLASS(xpc_peer_requirement);
3232
33#pragma mark Constructors33#pragma mark Constructors
3434
...@@ -53,8 +53,8 @@ OS_OBJECT_DECL_CLASS(xpc_peer_requirement);...@@ -53,8 +53,8 @@ OS_OBJECT_DECL_CLASS(xpc_peer_requirement);
53 * This function will return NULL promptly if the entitlement requirement is53 * This function will return NULL promptly if the entitlement requirement is
54 * invalid.54 * invalid.
55 */55 */
56API_AVAILABLE(macos(26.0), ios(26.0))56API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
57API_UNAVAILABLE(tvos, watchos)57
58XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED58XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
59xpc_peer_requirement_t _Nullable59xpc_peer_requirement_t _Nullable
60xpc_peer_requirement_create_entitlement_exists(const char *entitlement,60xpc_peer_requirement_create_entitlement_exists(const char *entitlement,
...@@ -86,8 +86,8 @@ xpc_peer_requirement_create_entitlement_exists(const char *entitlement,...@@ -86,8 +86,8 @@ xpc_peer_requirement_create_entitlement_exists(const char *entitlement,
86 * This function will return NULL promptly if the entitlement requirement is86 * This function will return NULL promptly if the entitlement requirement is
87 * invalid.87 * invalid.
88 */88 */
89API_AVAILABLE(macos(26.0), ios(26.0))89API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
90API_UNAVAILABLE(tvos, watchos)90
91XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED91XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
92xpc_peer_requirement_t _Nullable92xpc_peer_requirement_t _Nullable
93xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement,93xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement,
...@@ -121,8 +121,8 @@ xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement,...@@ -121,8 +121,8 @@ xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement,
121 * distributed certificate (embedded only), or a Developer ID certificate (macOS121 * distributed certificate (embedded only), or a Developer ID certificate (macOS
122 * only)122 * only)
123 */123 */
124API_AVAILABLE(macos(26.0), ios(26.0))124API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
125API_UNAVAILABLE(tvos, watchos)125
126XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED126XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
127xpc_peer_requirement_t _Nullable127xpc_peer_requirement_t _Nullable
128xpc_peer_requirement_create_team_identity(128xpc_peer_requirement_create_team_identity(
...@@ -153,8 +153,8 @@ xpc_peer_requirement_create_team_identity(...@@ -153,8 +153,8 @@ xpc_peer_requirement_create_team_identity(
153 * This function will return NULL promptly if the identity requirement is153 * This function will return NULL promptly if the identity requirement is
154 * invalid.154 * invalid.
155 */155 */
156API_AVAILABLE(macos(26.0), ios(26.0))156API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
157API_UNAVAILABLE(tvos, watchos)157
158XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED158XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
159xpc_peer_requirement_t _Nullable159xpc_peer_requirement_t _Nullable
160xpc_peer_requirement_create_platform_identity(160xpc_peer_requirement_create_platform_identity(
...@@ -201,8 +201,8 @@ xpc_peer_requirement_create_platform_identity(...@@ -201,8 +201,8 @@ xpc_peer_requirement_create_platform_identity(
201 * xpc_peer_requirement_t req = xpc_peer_requirement_create_lwcr(lwcr, NULL);201 * xpc_peer_requirement_t req = xpc_peer_requirement_create_lwcr(lwcr, NULL);
202 * ```202 * ```
203 */203 */
204API_AVAILABLE(macos(26.0), ios(26.0))204API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
205API_UNAVAILABLE(tvos, watchos)205
206XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED206XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED
207xpc_peer_requirement_t _Nullable207xpc_peer_requirement_t _Nullable
208xpc_peer_requirement_create_lwcr(xpc_object_t lwcr, 208xpc_peer_requirement_create_lwcr(xpc_object_t lwcr,
...@@ -228,8 +228,8 @@ xpc_peer_requirement_create_lwcr(xpc_object_t lwcr,...@@ -228,8 +228,8 @@ xpc_peer_requirement_create_lwcr(xpc_object_t lwcr,
228 * On match this returns true. On mismatch or failure this will return false and228 * On match this returns true. On mismatch or failure this will return false and
229 * if set, error_out will be set to an error describing the failure.229 * if set, error_out will be set to an error describing the failure.
230 */230 */
231API_AVAILABLE(macos(26.0), ios(26.0))231API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
232API_UNAVAILABLE(tvos, watchos)232
233XPC_EXPORT XPC_SWIFT_NOEXPORT233XPC_EXPORT XPC_SWIFT_NOEXPORT
234bool234bool
235xpc_peer_requirement_match_received_message(xpc_peer_requirement_t peer_requirement,235xpc_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...@@ -118,7 +118,7 @@ xpc_session_t _Nullable
118xpc_session_create_xpc_service(const char *name,118xpc_session_create_xpc_service(const char *name,
119 dispatch_queue_t _Nullable target_queue,119 dispatch_queue_t _Nullable target_queue,
120 xpc_session_create_flags_t flags,120 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
123/*!123/*!
124 * @function xpc_session_create_mach_service124 * @function xpc_session_create_mach_service
...@@ -161,7 +161,7 @@ xpc_session_t _Nullable...@@ -161,7 +161,7 @@ xpc_session_t _Nullable
161xpc_session_create_mach_service(const char *mach_service,161xpc_session_create_mach_service(const char *mach_service,
162 dispatch_queue_t _Nullable target_queue,162 dispatch_queue_t _Nullable target_queue,
163 xpc_session_create_flags_t flags,163 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
166#pragma mark Session Configuration166#pragma mark Session Configuration
167/*!167/*!
...@@ -256,7 +256,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0))...@@ -256,7 +256,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0))
256XPC_EXPORT XPC_SWIFT_NOEXPORT256XPC_EXPORT XPC_SWIFT_NOEXPORT
257bool257bool
258xpc_session_activate(xpc_session_t session,258xpc_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
261/*!261/*!
262 * @function xpc_session_cancel262 * @function xpc_session_cancel
...@@ -350,7 +350,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0))...@@ -350,7 +350,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0))
350XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED XPC_WARN_RESULT350XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED XPC_WARN_RESULT
351xpc_object_t _Nullable351xpc_object_t _Nullable
352xpc_session_send_message_with_reply_sync(xpc_session_t session,352xpc_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
355/*!355/*!
356 * @function xpc_session_send_message_with_reply_async356 * @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...@@ -443,8 +443,8 @@ xpc_session_set_peer_code_signing_requirement(xpc_session_t session, const char
443 * will be returned instead of reply, with `error_out` (if set) pointing to the443 * will be returned instead of reply, with `error_out` (if set) pointing to the
444 * rich error describing the peer code signing error.444 * rich error describing the peer code signing error.
445 */445 */
446API_AVAILABLE(macos(26.0), ios(26.0))446API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0))
447API_UNAVAILABLE(tvos, watchos)447
448XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL448XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL
449void449void
450xpc_session_set_peer_requirement(xpc_session_t session, xpc_peer_requirement_t requirement);450xpc_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);...@@ -1473,18 +1473,18 @@ xpc_array_set_date(xpc_object_t xarray, size_t index, int64_t value);
1473 * undefined.1473 * undefined.
1474 *1474 *
1475 * @param bytes1475 * @param bytes
1476 * The raw data to insert. After calling this method, the XPC object1476 * The raw data to insert. May be NULL if length is zero. After calling this
1477 * corresponding to the primitive value inserted may be safely retrieved with1477 * method, the XPC object corresponding to the primitive value inserted may be
1478 * {@link xpc_array_get_value()}.1478 * safely retrieved with {@link xpc_array_get_value()}.
1479 *1479 *
1480 * @param length1480 * @param length
1481 * The length of the data.1481 * The length of the data.
1482 */1482 */
1483__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0)1483__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0)
1484XPC_EXPORT XPC_NONNULL1 XPC_NONNULL31484XPC_EXPORT XPC_NONNULL1
1485void1485void
1486xpc_array_set_data(xpc_object_t xarray, size_t index,1486xpc_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
1489/*!1489/*!
1490 * @function xpc_array_set_string1490 * @function xpc_array_set_string
...@@ -2231,18 +2231,18 @@ xpc_dictionary_set_date(xpc_object_t xdict, const char *key, int64_t value);...@@ -2231,18 +2231,18 @@ xpc_dictionary_set_date(xpc_object_t xdict, const char *key, int64_t value);
2231 * The key for which the primitive value shall be set.2231 * The key for which the primitive value shall be set.
2232 *2232 *
2233 * @param bytes2233 * @param bytes
2234 * The bytes to insert. After calling this method, the XPC object corresponding2234 * The bytes to insert. May be NULL if length is zero. After calling this method,
2235 * to the primitive value inserted may be safely retrieved with2235 * the XPC object corresponding to the primitive value inserted may be safely
2236 * {@link xpc_dictionary_get_value()}.2236 * retrieved with {@link xpc_dictionary_get_value()}.
2237 *2237 *
2238 * @param length2238 * @param length
2239 * The length of the data.2239 * The length of the data.
2240 */2240 */
2241__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0)2241__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0)
2242XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 XPC_NONNULL32242XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2
2243void2243void
2244xpc_dictionary_set_data(xpc_object_t xdict, const char *key,2244xpc_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
2247/*!2247/*!
2248 * @function xpc_dictionary_set_string2248 * @function xpc_dictionary_set_string
...@@ -2692,7 +2692,7 @@ xpc_dictionary_copy_mach_send(xpc_object_t xdict, const char *key);...@@ -2692,7 +2692,7 @@ xpc_dictionary_copy_mach_send(xpc_object_t xdict, const char *key);
2692 * state, potentially causing resource leaks or transaction issues.2692 * state, potentially causing resource leaks or transaction issues.
2693 */2693 */
2694API_AVAILABLE(macos(10.7), macCatalyst(5.0))2694API_AVAILABLE(macos(10.7), macCatalyst(5.0))
2695API_UNAVAILABLE(ios)2695API_UNAVAILABLE(ios, tvos, watchos)
2696XPC_EXPORT XPC_NORETURN XPC_NONNULL12696XPC_EXPORT XPC_NORETURN XPC_NONNULL1
2697void2697void
2698xpc_main(xpc_connection_handler_t handler);2698xpc_main(xpc_connection_handler_t handler);
...@@ -2729,7 +2729,7 @@ xpc_main(xpc_connection_handler_t handler);...@@ -2729,7 +2729,7 @@ xpc_main(xpc_connection_handler_t handler);
2729 * connection.2729 * connection.
2730 */2730 */
2731API_AVAILABLE(macos(10.7))2731API_AVAILABLE(macos(10.7))
2732API_UNAVAILABLE(ios)2732API_UNAVAILABLE(ios, tvos, watchos)
2733XPC_TRANSACTION_DEPRECATED2733XPC_TRANSACTION_DEPRECATED
2734XPC_EXPORT2734XPC_EXPORT
2735void2735void
...@@ -2747,7 +2747,7 @@ xpc_transaction_begin(void);...@@ -2747,7 +2747,7 @@ xpc_transaction_begin(void);
2747 * the XPC runtime's idle-exit policy.2747 * the XPC runtime's idle-exit policy.
2748 */2748 */
2749API_AVAILABLE(macos(10.7))2749API_AVAILABLE(macos(10.7))
2750API_UNAVAILABLE(ios)2750API_UNAVAILABLE(ios, tvos, watchos)
2751XPC_TRANSACTION_DEPRECATED2751XPC_TRANSACTION_DEPRECATED
2752XPC_EXPORT2752XPC_EXPORT
2753void2753void
...@@ -2783,7 +2783,7 @@ xpc_transaction_end(void);...@@ -2783,7 +2783,7 @@ xpc_transaction_end(void);
2783 */2783 */
2784#if __BLOCKS__2784#if __BLOCKS__
2785API_AVAILABLE(macos(10.7))2785API_AVAILABLE(macos(10.7))
2786API_UNAVAILABLE(ios)2786API_UNAVAILABLE(ios, tvos, watchos)
2787XPC_EXPORT XPC_NONNULL1 XPC_NONNULL32787XPC_EXPORT XPC_NONNULL1 XPC_NONNULL3
2788void2788void
2789xpc_set_event_stream_handler(const char *stream,2789xpc_set_event_stream_handler(const char *stream,
lib/std/Target.zig+1-1
...@@ -2195,7 +2195,6 @@ pub fn requiresLibC(target: *const Target) bool {...@@ -2195,7 +2195,6 @@ pub fn requiresLibC(target: *const Target) bool {
2195 .watchos,2195 .watchos,
2196 .visionos,2196 .visionos,
2197 .dragonfly,2197 .dragonfly,
2198 .openbsd,
2199 .haiku,2198 .haiku,
2200 .serenity,2199 .serenity,
2201 => true,2200 => true,
...@@ -2209,6 +2208,7 @@ pub fn requiresLibC(target: *const Target) bool {...@@ -2209,6 +2208,7 @@ pub fn requiresLibC(target: *const Target) bool {
2209 .windows,2208 .windows,
2210 .freebsd,2209 .freebsd,
2211 .netbsd,2210 .netbsd,
2211 .openbsd,
2212 .freestanding,2212 .freestanding,
2213 .fuchsia,2213 .fuchsia,
2214 .managarm,2214 .managarm,
src/Compilation/Config.zig+4-8
...@@ -239,6 +239,7 @@ pub fn resolve(options: Options) ResolveError!Config {...@@ -239,6 +239,7 @@ pub fn resolve(options: Options) ResolveError!Config {
239 // so we default to linking libc for now.239 // so we default to linking libc for now.
240 .freebsd,240 .freebsd,
241 .netbsd,241 .netbsd,
242 .openbsd,
242 => break :b true,243 => break :b true,
243 else => {},244 else => {},
244 }245 }
...@@ -266,7 +267,7 @@ pub fn resolve(options: Options) ResolveError!Config {...@@ -266,7 +267,7 @@ pub fn resolve(options: Options) ResolveError!Config {
266 if (explicitly_exe_or_dyn_lib and link_libc and267 if (explicitly_exe_or_dyn_lib and link_libc and
267 (target.requiresLibC() or268 (target.requiresLibC() or
268 // For these libcs, Zig can only provide dynamic libc when cross-compiling.269 // For these libcs, Zig can only provide dynamic libc when cross-compiling.
269 ((target.isGnuLibC() or target.isFreeBSDLibC() or target.isNetBSDLibC()) and270 ((target.isGnuLibC() or target.isFreeBSDLibC() or target.isNetBSDLibC() or target.isOpenBSDLibC()) and
270 !options.resolved_target.is_native_abi)))271 !options.resolved_target.is_native_abi)))
271 {272 {
272 if (options.link_mode == .static) return error.LibCRequiresDynamicLinking;273 if (options.link_mode == .static) return error.LibCRequiresDynamicLinking;
...@@ -286,7 +287,7 @@ pub fn resolve(options: Options) ResolveError!Config {...@@ -286,7 +287,7 @@ pub fn resolve(options: Options) ResolveError!Config {
286 // When targeting systems where the kernel and libc are developed alongside each other,287 // When targeting systems where the kernel and libc are developed alongside each other,
287 // dynamic linking is the better default; static libc may contain code that requires288 // dynamic linking is the better default; static libc may contain code that requires
288 // the very latest kernel version.289 // the very latest kernel version.
289 if (target.isFreeBSDLibC() or target.isNetBSDLibC()) {290 if (target.isFreeBSDLibC() or target.isNetBSDLibC() or target.isOpenBSDLibC()) {
290 break :b .dynamic;291 break :b .dynamic;
291 }292 }
292 }293 }
...@@ -472,12 +473,7 @@ pub fn resolve(options: Options) ResolveError!Config {...@@ -472,12 +473,7 @@ pub fn resolve(options: Options) ResolveError!Config {
472 break :b true;473 break :b true;
473 }474 }
474 if (options.pie) |pie| break :b pie;475 if (options.pie) |pie| break :b pie;
475 break :b if (options.output_mode == .Exe) switch (target.os.tag) {476 break :b if (options.output_mode == .Exe) target_util.defaultPie(target) else false;
476 .fuchsia,
477 .openbsd,
478 => true,
479 else => target.os.tag.isDarwin(),
480 } else false;
481 };477 };
482478
483 const lto: std.zig.LtoMode = b: {479 const lto: std.zig.LtoMode = b: {
src/Package/Module.zig+6-2
...@@ -168,7 +168,7 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module {...@@ -168,7 +168,7 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module {
168 };168 };
169169
170 const pic = b: {170 const pic = b: {
171 if (target_util.requiresPIC(target, options.global.link_libc)) {171 if (target_util.requiresPic(target, options.global.link_libc)) {
172 if (options.inherited.pic == false)172 if (options.inherited.pic == false)
173 return error.TargetRequiresPic;173 return error.TargetRequiresPic;
174 break :b true;174 break :b true;
...@@ -185,7 +185,11 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module {...@@ -185,7 +185,11 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module {
185 }185 }
186 if (options.inherited.pic) |x| break :b x;186 if (options.inherited.pic) |x| break :b x;
187 if (options.parent) |p| break :b p.pic;187 if (options.parent) |p| break :b p.pic;
188 break :b false;188
189 // Default to PIC on targets where we default to producing PIEs to make
190 // the common case of linking objects and static libraries into an
191 // executable work out of the box.
192 break :b target_util.defaultPie(target);
189 };193 };
190194
191 const red_zone = b: {195 const red_zone = b: {
src/link/MachO/Dylib.zig+25-25
...@@ -707,34 +707,36 @@ pub const TargetMatcher = struct {...@@ -707,34 +707,36 @@ pub const TargetMatcher = struct {
707 .cpu_arch = cpu_arch,707 .cpu_arch = cpu_arch,
708 .platform = platform,708 .platform = platform,
709 };709 };
710 const apple_string = try targetToAppleString(allocator, cpu_arch, platform);
711 try self.target_strings.append(allocator, apple_string);
712710
713 switch (platform) {711 try self.addTargetStrings(cpuArchToAppleString(cpu_arch));
714 .IOSSIMULATOR, .TVOSSIMULATOR, .WATCHOSSIMULATOR, .VISIONOSSIMULATOR => {712 // In Xcode 26.4, Apple unified their TBD files from having separate `arm64-macos` and `arm64e-macos`
715 // For Apple simulator targets, linking gets tricky as we need to link against the simulator713 // entries to having just the latter, presumably because the symbol lists are identical anyway. It
716 // hosts dylibs too.714 // sure would have been nice if they settled on the former as the unified name so as not to break the
717 const host_target = try targetToAppleString(allocator, cpu_arch, .MACOS);715 // world, but evidently we can't have nice things.
718 try self.target_strings.append(allocator, host_target);716 if (cpu_arch == .aarch64) try self.addTargetStrings("arm64e");
719 },717
718 return self;
719 }
720
721 fn addTargetStrings(self: *TargetMatcher, arch: []const u8) !void {
722 try self.target_strings.append(self.allocator, try std.fmt.allocPrint(
723 self.allocator,
724 "{s}-{s}",
725 .{ arch, platformToAppleString(self.platform) },
726 ));
727
728 switch (self.platform) {
720 .MACCATALYST => {729 .MACCATALYST => {
721 // Mac Catalyst is allowed to link macOS libraries in a TBD because Apple were apparently too lazy730 // Mac Catalyst is allowed to link macOS libraries in a TBD because Apple were apparently too lazy
722 // to add the proper target strings despite doing so in other places in the format???731 // to add the proper target strings despite doing so in other places in the format???
723 try self.target_strings.append(allocator, try targetToAppleString(allocator, cpu_arch, .MACOS));732 try self.target_strings.append(self.allocator, try std.fmt.allocPrint(self.allocator, "{s}-macos", .{arch}));
724 },733 },
725 .MACOS => {734 .IOSSIMULATOR, .TVOSSIMULATOR, .WATCHOSSIMULATOR, .VISIONOSSIMULATOR => {
726 // Turns out that around 10.13/10.14 macOS release version, Apple changed the target tags in735 // For Apple simulator targets, we need to link against the simulator host's libraries too.
727 // tbd files from `macosx` to `macos`. In order to be compliant and therefore actually support736 try self.target_strings.append(self.allocator, try std.fmt.allocPrint(self.allocator, "{s}-macos", .{arch}));
728 // linking on older platforms against `libSystem.tbd`, we add `<cpu_arch>-macosx` to target_strings.
729 const fallback_target = try std.fmt.allocPrint(allocator, "{s}-macosx", .{
730 cpuArchToAppleString(cpu_arch),
731 });
732 try self.target_strings.append(allocator, fallback_target);
733 },737 },
734 else => {},738 else => {},
735 }739 }
736
737 return self;
738 }740 }
739741
740 pub fn deinit(self: *TargetMatcher) void {742 pub fn deinit(self: *TargetMatcher) void {
...@@ -744,7 +746,7 @@ pub const TargetMatcher = struct {...@@ -744,7 +746,7 @@ pub const TargetMatcher = struct {
744 self.target_strings.deinit(self.allocator);746 self.target_strings.deinit(self.allocator);
745 }747 }
746748
747 inline fn cpuArchToAppleString(cpu_arch: std.Target.Cpu.Arch) []const u8 {749 fn cpuArchToAppleString(cpu_arch: std.Target.Cpu.Arch) []const u8 {
748 return switch (cpu_arch) {750 return switch (cpu_arch) {
749 .aarch64 => "arm64",751 .aarch64 => "arm64",
750 .x86_64 => "x86_64",752 .x86_64 => "x86_64",
...@@ -752,9 +754,8 @@ pub const TargetMatcher = struct {...@@ -752,9 +754,8 @@ pub const TargetMatcher = struct {
752 };754 };
753 }755 }
754756
755 pub fn targetToAppleString(allocator: Allocator, cpu_arch: std.Target.Cpu.Arch, platform: macho.PLATFORM) ![]const u8 {757 fn platformToAppleString(platform: macho.PLATFORM) []const u8 {
756 const arch = cpuArchToAppleString(cpu_arch);758 return switch (platform) {
757 const plat = switch (platform) {
758 .MACOS => "macos",759 .MACOS => "macos",
759 .IOS => "ios",760 .IOS => "ios",
760 .TVOS => "tvos",761 .TVOS => "tvos",
...@@ -769,7 +770,6 @@ pub const TargetMatcher = struct {...@@ -769,7 +770,6 @@ pub const TargetMatcher = struct {
769 .DRIVERKIT => "driverkit",770 .DRIVERKIT => "driverkit",
770 else => unreachable,771 else => unreachable,
771 };772 };
772 return std.fmt.allocPrint(allocator, "{s}-{s}", .{ arch, plat });
773 }773 }
774774
775 fn hasValue(stack: []const []const u8, needle: []const u8) bool {775 fn hasValue(stack: []const []const u8, needle: []const u8) bool {
src/target.zig+9-3
...@@ -53,9 +53,8 @@ pub fn libCxxNeedsLibUnwind(target: *const std.Target) bool {...@@ -53,9 +53,8 @@ pub fn libCxxNeedsLibUnwind(target: *const std.Target) bool {
53}53}
5454
55/// This function returns whether non-pic code is completely invalid on the given target.55/// This function returns whether non-pic code is completely invalid on the given target.
56pub fn requiresPIC(target: *const std.Target, linking_libc: bool) bool {56pub fn requiresPic(target: *const std.Target, linking_libc: bool) bool {
57 return target.abi.isAndroid() or57 return ((target.os.tag == .windows or target.os.tag == .uefi) and (target.cpu.arch == .aarch64 or target.cpu.arch == .x86_64)) or
58 ((target.os.tag == .windows or target.os.tag == .uefi) and (target.cpu.arch == .aarch64 or target.cpu.arch == .x86_64)) or
59 target.requiresLibC() or58 target.requiresLibC() or
60 (linking_libc and target.isGnuLibC());59 (linking_libc and target.isGnuLibC());
61}60}
...@@ -84,6 +83,13 @@ pub fn supports_fpic(target: *const std.Target) bool {...@@ -84,6 +83,13 @@ pub fn supports_fpic(target: *const std.Target) bool {
84 };83 };
85}84}
8685
86pub fn defaultPie(target: *const std.Target) bool {
87 return switch (target.os.tag) {
88 .openbsd => true,
89 else => target.os.tag.isDarwin(),
90 };
91}
92
87pub fn alwaysSingleThreaded(target: *const std.Target) bool {93pub fn alwaysSingleThreaded(target: *const std.Target) bool {
88 _ = target;94 _ = target;
89 return false;95 return false;
test/src/StackTrace.zig+1-1
...@@ -59,7 +59,7 @@ fn addCaseTarget(...@@ -59,7 +59,7 @@ fn addCaseTarget(
59 else => true,59 else => true,
60 };60 };
61 const both_libc = switch (target.result.os.tag) {61 const both_libc = switch (target.result.os.tag) {
62 .freebsd, .netbsd => false,62 .freebsd, .netbsd, .openbsd => false,
63 else => !target.result.requiresLibC(),63 else => !target.result.requiresLibC(),
64 };64 };
6565
test/tests.zig+28-14
...@@ -36,6 +36,25 @@ const TestTarget = struct {...@@ -36,6 +36,25 @@ const TestTarget = struct {
36 // invocation. This could be because of a slow backend, requiring a newer LLVM version, being36 // invocation. This could be because of a slow backend, requiring a newer LLVM version, being
37 // too niche, etc.37 // too niche, etc.
38 extra_target: bool = false,38 extra_target: bool = false,
39
40 pub fn supportsModule(
41 self: *const TestTarget,
42 target: *const std.Build.ResolvedTarget,
43 name: []const u8,
44 ) bool {
45 if (mem.eql(u8, name, "zigc")) {
46 if (target.result.isMuslLibC()) return self.linkage == .static or (self.linkage == null and !target.query.isNative());
47 if (target.result.isMinGW()) return true;
48 if (target.result.isWasiLibC()) return true;
49 return false;
50 }
51 if (mem.eql(u8, name, "std")) {
52 if (target.result.cpu.arch.isSpirV()) return false;
53 return true;
54 }
55
56 return true;
57 }
39};58};
4059
41const test_targets = blk: {60const test_targets = blk: {
...@@ -1463,7 +1482,6 @@ const test_targets = blk: {...@@ -1463,7 +1482,6 @@ const test_targets = blk: {
1463 // }) catch unreachable,1482 // }) catch unreachable,
1464 // .use_llvm = false,1483 // .use_llvm = false,
1465 // .use_lld = false,1484 // .use_lld = false,
1466 // .skip_modules = &.{ "c-import", "zigc", "std" },
1467 //},1485 //},
14681486
1469 // WASI Targets1487 // WASI Targets
...@@ -2355,8 +2373,12 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {...@@ -2355,8 +2373,12 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
2355 },2373 },
2356 };2374 };
2357 const resolved_target = b.resolveTargetQuery(test_target.target);2375 const resolved_target = b.resolveTargetQuery(test_target.target);
2358 const triple_txt = resolved_target.query.zigTriple(b.allocator) catch @panic("OOM");2376
2359 addOneModuleTest(b, step, test_target, &resolved_target, triple_txt, options);2377 if (test_target.supportsModule(&resolved_target, options.name)) {
2378 const triple_txt = resolved_target.query.zigTriple(b.allocator) catch @panic("OOM");
2379 addOneModuleTest(b, step, test_target, &resolved_target, triple_txt, options);
2380 }
2381
2360 return step;2382 return step;
2361 }2383 }
23622384
...@@ -2368,24 +2390,16 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {...@@ -2368,24 +2390,16 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
2368 }2390 }
23692391
2370 const resolved_target = b.resolveTargetQuery(test_target.target);2392 const resolved_target = b.resolveTargetQuery(test_target.target);
2371 const target = &resolved_target.result;
23722393
2373 if (test_target.link_libc == false and target.requiresLibC()) continue;2394 if (!test_target.supportsModule(&resolved_target, options.name)) continue;
2374 // If the target requires libc, there's no point building the cases that
2375 // don't explicitly link libc as they'll just end up actually linking
2376 // libc anyway, thus creating duplicate work and making -Dskip-libc not
2377 // work as expected.
2378 if (test_target.link_libc == null and target.requiresLibC()) continue;
2379 // These targets don't strictly require libc, but we don't yet have a
2380 // syscall layer for them, so the compiler links libc by default. They
2381 // therefore get the same treatment here.
2382 if (test_target.link_libc == null and (target.os.tag == .freebsd or target.os.tag == .netbsd)) continue;
23832395
2384 if (!options.test_extra_targets and test_target.extra_target) continue;2396 if (!options.test_extra_targets and test_target.extra_target) continue;
23852397
2386 if (options.skip_non_native and !test_target.target.isNative())2398 if (options.skip_non_native and !test_target.target.isNative())
2387 continue;2399 continue;
23882400
2401 const target = &resolved_target.result;
2402
2389 if (options.skip_spirv and target.cpu.arch.isSpirV()) continue;2403 if (options.skip_spirv and target.cpu.arch.isSpirV()) continue;
2390 if (options.skip_wasm and target.cpu.arch.isWasm()) continue;2404 if (options.skip_wasm and target.cpu.arch.isWasm()) continue;
23912405