authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2026-09-11 00:11:01+01:00
committergravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2026-09-11 00:11:01+01:00
log797f46d0ef8fc6e368b2cc5bc4e721b4c2e22c31
treeb9e62cb14ed74c3941b05cbe09fc236697aea330
parent66f53abf3c8fad795f40710d81a4967994269dd5

libc: Update macOS headers to SDK 27.0


70 files changed, 2302 insertions(+), 1360 deletions(-)

lib/libc/darwin/SDKSettings.json+1-1
...@@ -1 +1 @@...@@ -1 +1 @@
1{"MinimalDisplayName":"26.5"}1{"MinimalDisplayName":"27.0"}
lib/libc/darwin/libSystem.tbd+779-618
...@@ -1,10 +1,12 @@...@@ -1,10 +1,12 @@
1--- !tapi-tbd1--- !tapi-tbd
2tbd-version: 42tbd-version: 4
3targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
4 arm64e.x1-macos, arm64e.x1-maccatalyst ]
4install-name: '/usr/lib/libSystem.B.dylib'5install-name: '/usr/lib/libSystem.B.dylib'
5current-version: 13566current-version: 1359
6reexported-libraries:7reexported-libraries:
7 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]8 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
9 arm64e.x1-macos, arm64e.x1-maccatalyst ]
8 libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib', 10 libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib',
9 '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib', 11 '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib',
10 '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib', 12 '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib',
...@@ -36,19 +38,23 @@ exports:...@@ -36,19 +38,23 @@ exports:
36 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction', 38 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction',
37 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink', 39 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink',
38 'R8289209$_write' ]40 'R8289209$_write' ]
39 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]41 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
42 arm64e.x1-macos, arm64e.x1-maccatalyst ]
40 symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd, 43 symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd,
41 _mach_init_routine ]44 _mach_init_routine ]
42--- !tapi-tbd45--- !tapi-tbd
43tbd-version: 446tbd-version: 4
44targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]47targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
48 arm64e.x1-macos, arm64e.x1-maccatalyst ]
45install-name: '/usr/lib/system/libcache.dylib'49install-name: '/usr/lib/system/libcache.dylib'
46current-version: 9550current-version: 95
47parent-umbrella:51parent-umbrella:
48 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]52 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
53 arm64e.x1-macos, arm64e.x1-maccatalyst ]
49 umbrella: System54 umbrella: System
50exports:55exports:
51 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]56 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
57 arm64e.x1-macos, arm64e.x1-maccatalyst ]
52 symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain, 58 symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain,
53 _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info, 59 _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info,
54 _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint, 60 _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint,
...@@ -63,14 +69,17 @@ exports:...@@ -63,14 +69,17 @@ exports:
63 _cache_value_make_purgeable_cb ]69 _cache_value_make_purgeable_cb ]
64--- !tapi-tbd70--- !tapi-tbd
65tbd-version: 471tbd-version: 4
66targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]72targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
73 arm64e.x1-macos, arm64e.x1-maccatalyst ]
67install-name: '/usr/lib/system/libcommonCrypto.dylib'74install-name: '/usr/lib/system/libcommonCrypto.dylib'
68current-version: 6553575current-version: 65535
69parent-umbrella:76parent-umbrella:
70 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]77 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
78 arm64e.x1-macos, arm64e.x1-maccatalyst ]
71 umbrella: System79 umbrella: System
72exports:80exports:
73 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]81 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
82 arm64e.x1-macos, arm64e.x1-maccatalyst ]
74 symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal, 83 symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal,
75 _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd, 84 _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd,
76 _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear, 85 _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear,
...@@ -83,8 +92,9 @@ exports:...@@ -83,8 +92,9 @@ exports:
83 _CCBigNumSub, _CCBigNumSubI, _CCBigNumToData, _CCBigNumToDecimalString, 92 _CCBigNumSub, _CCBigNumSubI, _CCBigNumToData, _CCBigNumToDecimalString,
84 _CCBigNumToHexString, _CCBigNumZeroLSBCount, _CCCKG2ContributorCommit, 93 _CCBigNumToHexString, _CCBigNumZeroLSBCount, _CCCKG2ContributorCommit,
85 _CCCKG2ContributorCreate, _CCCKG2ContributorDestroy, _CCCKG2ContributorFinish, 94 _CCCKG2ContributorCreate, _CCCKG2ContributorDestroy, _CCCKG2ContributorFinish,
86 _CCCKG2GetCommitmentSize, _CCCKG2GetOpeningSize, _CCCKG2GetShareSize, 95 _CCCKG2ContributorFinishWithDomain, _CCCKG2GetCommitmentSize,
87 _CCCKG2OwnerCreate, _CCCKG2OwnerDestroy, _CCCKG2OwnerFinish, 96 _CCCKG2GetOpeningSize, _CCCKG2GetShareSize, _CCCKG2OwnerCreate,
97 _CCCKG2OwnerDestroy, _CCCKG2OwnerFinish, _CCCKG2OwnerFinishWithDomain,
88 _CCCKG2OwnerGenerateShare, _CCCKG2ParamsP224Sha256Version2, 98 _CCCKG2OwnerGenerateShare, _CCCKG2ParamsP224Sha256Version2,
89 _CCCKGContributorCommit, _CCCKGContributorCreate, _CCCKGContributorDestroy, 99 _CCCKGContributorCommit, _CCCKGContributorCreate, _CCCKGContributorDestroy,
90 _CCCKGContributorFinish, _CCCKGGetCommitmentSize, _CCCKGGetOpeningSize, 100 _CCCKGContributorFinish, _CCCKGGetCommitmentSize, _CCCKGGetOpeningSize,
...@@ -146,11 +156,11 @@ exports:...@@ -146,11 +156,11 @@ exports:
146 _ccDevRandomGetRngState, _kCCRandomDefault, _kCCRandomDevRandom ]156 _ccDevRandomGetRngState, _kCCRandomDefault, _kCCRandomDevRandom ]
147--- !tapi-tbd157--- !tapi-tbd
148tbd-version: 4158tbd-version: 4
149targets: [ x86_64-macos, arm64-macos, arm64e-macos ]159targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
150install-name: '/usr/lib/system/libcompiler_rt.dylib'160install-name: '/usr/lib/system/libcompiler_rt.dylib'
151current-version: 103.3161current-version: 103.4
152parent-umbrella:162parent-umbrella:
153 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]163 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
154 umbrella: System164 umbrella: System
155exports:165exports:
156 - targets: [ x86_64-macos ]166 - targets: [ x86_64-macos ]
...@@ -189,7 +199,7 @@ exports:...@@ -189,7 +199,7 @@ exports:
189 ___paritysi2, ___parityti2, ___popcountdi2, ___popcountsi2, 199 ___paritysi2, ___parityti2, ___popcountdi2, ___popcountsi2,
190 ___popcountti2, ___powixf2, ___subvdi3, ___subvsi3, ___subvti3, 200 ___popcountti2, ___powixf2, ___subvdi3, ___subvsi3, ___subvti3,
191 ___ucmpdi2, ___ucmpti2, ___udivdi3, ___udivmoddi4, ___umoddi3 ]201 ___ucmpdi2, ___ucmpti2, ___udivdi3, ___udivmoddi4, ___umoddi3 ]
192 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]202 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
193 symbols: [ '$ld$hide$os10.10$___chkstk_darwin', '$ld$hide$os10.10$___extendhfsf2', 203 symbols: [ '$ld$hide$os10.10$___chkstk_darwin', '$ld$hide$os10.10$___extendhfsf2',
194 '$ld$hide$os10.10$___truncdfhf2', '$ld$hide$os10.10$___truncsfhf2', 204 '$ld$hide$os10.10$___truncdfhf2', '$ld$hide$os10.10$___truncsfhf2',
195 '$ld$hide$os10.10$_atomic_flag_clear', '$ld$hide$os10.10$_atomic_flag_clear_explicit', 205 '$ld$hide$os10.10$_atomic_flag_clear', '$ld$hide$os10.10$_atomic_flag_clear_explicit',
...@@ -373,23 +383,28 @@ exports:...@@ -373,23 +383,28 @@ exports:
373 _atomic_signal_fence, _atomic_thread_fence ]383 _atomic_signal_fence, _atomic_thread_fence ]
374--- !tapi-tbd384--- !tapi-tbd
375tbd-version: 4385tbd-version: 4
376targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]386targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
387 arm64e.x1-macos, arm64e.x1-maccatalyst ]
377install-name: '/usr/lib/system/libcopyfile.dylib'388install-name: '/usr/lib/system/libcopyfile.dylib'
378parent-umbrella:389parent-umbrella:
379 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]390 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
391 arm64e.x1-macos, arm64e.x1-maccatalyst ]
380 umbrella: System392 umbrella: System
381exports:393exports:
382 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]394 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
395 arm64e.x1-macos, arm64e.x1-maccatalyst ]
383 symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get, 396 symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get,
384 _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags, 397 _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags,
385 _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ]398 _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ]
386--- !tapi-tbd399--- !tapi-tbd
387tbd-version: 4400tbd-version: 4
388targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]401targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
402 arm64e.x1-macos, arm64e.x1-maccatalyst ]
389install-name: '/usr/lib/system/libcorecrypto.dylib'403install-name: '/usr/lib/system/libcorecrypto.dylib'
390current-version: 1922.121.1404current-version: 2109.0.22
391parent-umbrella:405parent-umbrella:
392 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]406 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
407 arm64e.x1-macos, arm64e.x1-maccatalyst ]
393 umbrella: System408 umbrella: System
394exports:409exports:
395 - targets: [ x86_64-macos, x86_64-maccatalyst ]410 - targets: [ x86_64-macos, x86_64-maccatalyst ]
...@@ -401,12 +416,13 @@ exports:...@@ -401,12 +416,13 @@ exports:
401 _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode, 416 _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode,
402 _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di, 417 _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di,
403 _ccsha256_vng_intel_SupplementalSSE3_di ]418 _ccsha256_vng_intel_SupplementalSSE3_di ]
404 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]419 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
405 symbols: [ _CCEC_FAULT_CANARY, _CCMLDSA_FAULT_CANARY, _CCRSA_PKCS1_FAULT_CANARY, 420 arm64e.x1-macos, arm64e.x1-maccatalyst ]
406 _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192, _CCSS_PRIME_P224, 421 symbols: [ _CCEC_FAULT_CANARY, _CCHYBRIDSIG_FAULT_CANARY, _CCMLDSA_FAULT_CANARY,
407 _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521, _cc_abort, 422 _CCRSA_PKCS1_FAULT_CANARY, _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192,
408 _cc_atfork_child, _cc_atfork_parent, _cc_atfork_prepare, _cc_clear, 423 _CCSS_PRIME_P224, _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521,
409 _cc_cmp_safe, _cc_impl_name, _cc_try_abort, _cc_try_abort_if, 424 _cc_abort, _cc_atfork_child, _cc_atfork_parent, _cc_atfork_prepare,
425 _cc_clear, _cc_cmp_safe, _cc_impl_name, _cc_try_abort, _cc_try_abort_if,
410 _ccaes_cbc_decrypt_mode, _ccaes_cbc_encrypt_mode, _ccaes_ccm_decrypt_mode, 426 _ccaes_cbc_decrypt_mode, _ccaes_cbc_encrypt_mode, _ccaes_ccm_decrypt_mode,
411 _ccaes_ccm_encrypt_mode, _ccaes_cfb8_decrypt_mode, _ccaes_cfb8_encrypt_mode, 427 _ccaes_ccm_encrypt_mode, _ccaes_cfb8_decrypt_mode, _ccaes_cfb8_encrypt_mode,
412 _ccaes_cfb_decrypt_mode, _ccaes_cfb_encrypt_mode, _ccaes_ctr_crypt_mode, 428 _ccaes_cfb_decrypt_mode, _ccaes_cfb_encrypt_mode, _ccaes_ctr_crypt_mode,
...@@ -416,14 +432,11 @@ exports:...@@ -416,14 +432,11 @@ exports:
416 _ccaes_ltc_ecb_encrypt_mode, _ccaes_ofb_crypt_mode, _ccaes_siv_decrypt_mode, 432 _ccaes_ltc_ecb_encrypt_mode, _ccaes_ofb_crypt_mode, _ccaes_siv_decrypt_mode,
417 _ccaes_siv_encrypt_mode, _ccaes_siv_hmac_sha256_decrypt_mode, 433 _ccaes_siv_encrypt_mode, _ccaes_siv_hmac_sha256_decrypt_mode,
418 _ccaes_siv_hmac_sha256_encrypt_mode, _ccaes_unwind, _ccaes_xts_decrypt_mode, 434 _ccaes_siv_hmac_sha256_encrypt_mode, _ccaes_unwind, _ccaes_xts_decrypt_mode,
419 _ccaes_xts_encrypt_mode, _ccansikdf_x963, _ccapsic_client_check_intersect_response, 435 _ccaes_xts_encrypt_mode, _ccansikdf_x963, _ccascon_ascon128a,
420 _ccapsic_client_generate_match_response, _ccapsic_client_init, 436 _ccascon_ascon128a_cmac, _ccascon_ascon128a_cmac_ref, _ccascon_ascon128a_decrypt,
421 _ccapsic_client_state_sizeof, _ccapsic_server_determine_intersection, 437 _ccascon_ascon128a_encrypt, _ccascon_ascon128a_ref, _ccascon_cmac_init,
422 _ccapsic_server_encode_element, _ccapsic_server_init, _ccapsic_server_state_sizeof, 438 _ccascon_cmac_process, _ccascon_cmac_tag, _ccascon_cmac_verify,
423 _ccascon_ascon128a, _ccascon_ascon128a_cmac, _ccascon_ascon128a_cmac_ref, 439 _ccblowfish_cbc_decrypt_mode, _ccblowfish_cbc_encrypt_mode,
424 _ccascon_ascon128a_decrypt, _ccascon_ascon128a_encrypt, _ccascon_ascon128a_ref,
425 _ccascon_cmac_init, _ccascon_cmac_process, _ccascon_cmac_tag,
426 _ccascon_cmac_verify, _ccblowfish_cbc_decrypt_mode, _ccblowfish_cbc_encrypt_mode,
427 _ccblowfish_cfb8_decrypt_mode, _ccblowfish_cfb8_encrypt_mode, 440 _ccblowfish_cfb8_decrypt_mode, _ccblowfish_cfb8_encrypt_mode,
428 _ccblowfish_cfb_decrypt_mode, _ccblowfish_cfb_encrypt_mode, 441 _ccblowfish_cfb_decrypt_mode, _ccblowfish_cfb_encrypt_mode,
429 _ccblowfish_ctr_crypt_mode, _ccblowfish_ecb_decrypt_mode, 442 _ccblowfish_ctr_crypt_mode, _ccblowfish_ecb_decrypt_mode,
...@@ -448,8 +461,9 @@ exports:...@@ -448,8 +461,9 @@ exports:
448 _ccchacha20poly1305_encrypt_oneshot, _ccchacha20poly1305_finalize, 461 _ccchacha20poly1305_encrypt_oneshot, _ccchacha20poly1305_finalize,
449 _ccchacha20poly1305_incnonce, _ccchacha20poly1305_info, _ccchacha20poly1305_init, 462 _ccchacha20poly1305_incnonce, _ccchacha20poly1305_info, _ccchacha20poly1305_init,
450 _ccchacha20poly1305_reset, _ccchacha20poly1305_setnonce, _ccchacha20poly1305_verify, 463 _ccchacha20poly1305_reset, _ccchacha20poly1305_setnonce, _ccchacha20poly1305_verify,
451 _ccckg2_contributor_commit, _ccckg2_contributor_finish, _ccckg2_ctx_cp, 464 _ccckg2_contributor_commit, _ccckg2_contributor_finish, _ccckg2_contributor_finish_with_domain,
452 _ccckg2_ctx_di, _ccckg2_init, _ccckg2_owner_finish, _ccckg2_owner_generate_share, 465 _ccckg2_ctx_cp, _ccckg2_ctx_di, _ccckg2_init, _ccckg2_owner_finish,
466 _ccckg2_owner_finish_with_domain, _ccckg2_owner_generate_share,
453 _ccckg2_params_p224_sha256_v2, _ccckg2_sizeof_commitment, 467 _ccckg2_params_p224_sha256_v2, _ccckg2_sizeof_commitment,
454 _ccckg2_sizeof_ctx, _ccckg2_sizeof_opening, _ccckg2_sizeof_share, 468 _ccckg2_sizeof_ctx, _ccckg2_sizeof_opening, _ccckg2_sizeof_share,
455 _ccckg_contributor_commit, _ccckg_contributor_finish, _ccckg_ctx_cp, 469 _ccckg_contributor_commit, _ccckg_contributor_finish, _ccckg_ctx_cp,
...@@ -516,8 +530,11 @@ exports:...@@ -516,8 +530,11 @@ exports:
516 _ccdh_gp_rfc3526group18, _ccdh_gp_rfc5114_MODP_1024_160, _ccdh_gp_rfc5114_MODP_2048_224, 530 _ccdh_gp_rfc3526group18, _ccdh_gp_rfc5114_MODP_1024_160, _ccdh_gp_rfc5114_MODP_2048_224,
517 _ccdh_gp_rfc5114_MODP_2048_256, _ccdh_gp_size, _ccdh_import_full, 531 _ccdh_gp_rfc5114_MODP_2048_256, _ccdh_gp_size, _ccdh_import_full,
518 _ccdh_import_priv, _ccdh_import_pub, _ccdh_init_gp_from_bytes, 532 _ccdh_import_priv, _ccdh_import_pub, _ccdh_init_gp_from_bytes,
519 _ccdigest, _ccdigest_init, _ccdigest_oid_lookup, _ccdigest_parallel, 533 _ccdigest, _ccdigest_init, _ccdigest_managed_dit, _ccdigest_managed_dit_final,
520 _ccdigest_update, _ccdrbg_context_size, _ccdrbg_df_bc_init, 534 _ccdigest_managed_dit_init, _ccdigest_managed_dit_update,
535 _ccdigest_oid_lookup, _ccdigest_parallel, _ccdigest_update,
536 _ccdit_managed_context_begin, _ccdit_managed_context_end,
537 _ccdit_managed_context_is_enabled, _ccdrbg_context_size, _ccdrbg_df_bc_init,
521 _ccdrbg_done, _ccdrbg_factory_nistctr, _ccdrbg_factory_nisthmac, 538 _ccdrbg_done, _ccdrbg_factory_nistctr, _ccdrbg_factory_nisthmac,
522 _ccdrbg_generate, _ccdrbg_init, _ccdrbg_must_reseed, _ccdrbg_reseed, 539 _ccdrbg_generate, _ccdrbg_init, _ccdrbg_must_reseed, _ccdrbg_reseed,
523 _ccec_affinify, _ccec_blind, _ccec_compact_export, _ccec_compact_export_pub, 540 _ccec_affinify, _ccec_blind, _ccec_compact_export, _ccec_compact_export_pub,
...@@ -526,10 +543,11 @@ exports:...@@ -526,10 +543,11 @@ exports:
526 _ccec_compact_import_priv_size, _ccec_compact_import_pub, 543 _ccec_compact_import_priv_size, _ccec_compact_import_pub,
527 _ccec_compact_import_pub_size, _ccec_compact_transform_key, 544 _ccec_compact_import_pub_size, _ccec_compact_transform_key,
528 _ccec_compressed_x962_export_pub, _ccec_compressed_x962_export_pub_size, 545 _ccec_compressed_x962_export_pub, _ccec_compressed_x962_export_pub_size,
529 _ccec_compressed_x962_import_pub, _ccec_compute_key, _ccec_cp_192, 546 _ccec_compressed_x962_import_pub, _ccec_compute_key, _ccec_compute_pubkey,
530 _ccec_cp_224, _ccec_cp_256, _ccec_cp_384, _ccec_cp_521, _ccec_curve_for_length_lookup, 547 _ccec_cp_192, _ccec_cp_224, _ccec_cp_256, _ccec_cp_384, _ccec_cp_521,
531 _ccec_der_export_diversified_pub, _ccec_der_export_diversified_pub_size, 548 _ccec_curve_for_length_lookup, _ccec_der_export_diversified_pub,
532 _ccec_der_export_priv, _ccec_der_export_priv_size, _ccec_der_import_diversified_pub, 549 _ccec_der_export_diversified_pub_size, _ccec_der_export_priv,
550 _ccec_der_export_priv_size, _ccec_der_import_diversified_pub,
533 _ccec_der_import_priv, _ccec_der_import_priv_keytype, _ccec_diversify_min_entropy_len, 551 _ccec_der_import_priv, _ccec_der_import_priv_keytype, _ccec_diversify_min_entropy_len,
534 _ccec_diversify_priv_twin, _ccec_diversify_pub, _ccec_diversify_pub_twin, 552 _ccec_diversify_priv_twin, _ccec_diversify_pub, _ccec_diversify_pub_twin,
535 _ccec_export_affine_point, _ccec_export_affine_point_size, 553 _ccec_export_affine_point, _ccec_export_affine_point_size,
...@@ -613,43 +631,56 @@ exports:...@@ -613,43 +631,56 @@ exports:
613 _cchpke_params_sizeof_kem_sk, _cchpke_params_x25519_AESGCM128_HKDF_SHA256, 631 _cchpke_params_sizeof_kem_sk, _cchpke_params_x25519_AESGCM128_HKDF_SHA256,
614 _cchpke_params_x25519_AESGCM256_HKDF_SHA256, _cchpke_params_xwing_AESGCM128_HKDF_SHA256, 632 _cchpke_params_x25519_AESGCM256_HKDF_SHA256, _cchpke_params_xwing_AESGCM128_HKDF_SHA256,
615 _cchpke_responder_decrypt, _cchpke_responder_export, _cchpke_responder_open, 633 _cchpke_responder_decrypt, _cchpke_responder_export, _cchpke_responder_open,
616 _cchpke_responder_setup, _cckem_decapsulate, _cckem_derive_key_from_seed, 634 _cchpke_responder_setup, _cchybridsig_export_privkey, _cchybridsig_export_pubkey,
617 _cckem_encapsulate, _cckem_encapsulated_key_nbytes_ctx, _cckem_encapsulated_key_nbytes_info, 635 _cchybridsig_full_ctx_prehash, _cchybridsig_full_ctx_sig_nbytes,
636 _cchybridsig_generate_key, _cchybridsig_import_privkey, _cchybridsig_import_pubkey,
637 _cchybridsig_lamps13_mldsa87_rsa3072_full_ctx_init, _cchybridsig_lamps13_mldsa87_rsa3072_pub_ctx_init,
638 _cchybridsig_mldsa87_rsa3072_full_ctx_init, _cchybridsig_mldsa87_rsa3072_pub_ctx_init,
639 _cchybridsig_privkey_nbytes, _cchybridsig_pub_ctx_prehash,
640 _cchybridsig_pub_ctx_sig_nbytes, _cchybridsig_pubkey_nbytes,
641 _cchybridsig_public_ctx, _cchybridsig_sign, _cchybridsig_sign_prehashed_with_context,
642 _cchybridsig_sign_with_context, _cchybridsig_verify, _cchybridsig_verify_prehashed_with_context,
643 _cchybridsig_verify_prehashed_with_context_and_canary, _cchybridsig_verify_with_canary,
644 _cchybridsig_verify_with_context, _cchybridsig_verify_with_context_and_canary,
645 _cckem_decapsulate, _cckem_derive_key_from_seed, _cckem_encapsulate,
646 _cckem_encapsulated_key_nbytes_ctx, _cckem_encapsulated_key_nbytes_info,
618 _cckem_export_privkey, _cckem_export_pubkey, _cckem_full_ctx_init, 647 _cckem_export_privkey, _cckem_export_pubkey, _cckem_full_ctx_init,
619 _cckem_generate_key, _cckem_generate_key_with_seed, _cckem_import_privkey, 648 _cckem_generate_key, _cckem_generate_key_with_seed, _cckem_import_privkey,
620 _cckem_import_pubkey, _cckem_kyber1024, _cckem_kyber768, _cckem_mlkem1024, 649 _cckem_import_pubkey, _cckem_kyber1024, _cckem_kyber768, _cckem_mlkem1024,
621 _cckem_mlkem768, _cckem_privkey_nbytes_ctx, _cckem_privkey_nbytes_info, 650 _cckem_mlkem1024_unmasked, _cckem_mlkem768, _cckem_mlkem768_unmasked,
622 _cckem_pub_ctx_init, _cckem_pubkey_nbytes_ctx, _cckem_pubkey_nbytes_info, 651 _cckem_privkey_nbytes_ctx, _cckem_privkey_nbytes_info, _cckem_pub_ctx_init,
623 _cckem_public_ctx, _cckem_seed_nbytes_ctx, _cckem_seed_nbytes_info, 652 _cckem_pubkey_nbytes_ctx, _cckem_pubkey_nbytes_info, _cckem_public_ctx,
624 _cckem_shared_key_nbytes_ctx, _cckem_shared_key_nbytes_info, 653 _cckem_seed_nbytes_ctx, _cckem_seed_nbytes_info, _cckem_shared_key_nbytes_ctx,
625 _cckem_sizeof_full_ctx, _cckem_sizeof_pub_ctx, _cckem_xwing_mlkem768x25519, 654 _cckem_shared_key_nbytes_info, _cckem_sizeof_full_ctx, _cckem_sizeof_pub_ctx,
626 _cclr_aes_init, _cclr_block_nbytes, _cclr_decrypt_block, _cclr_encrypt_block, 655 _cckem_xwing_mlkem768x25519, _cckmac256_info, _cckmac_finalize,
627 _ccmd2_ltc_di, _ccmd4_ltc_di, _ccmd5_di, _ccmd5_ltc_di, _ccmgf, 656 _cckmac_init, _cckmac_update, _cclr_aes_init, _cclr_block_nbytes,
628 _ccmldsa65, _ccmldsa87, _ccmldsa_derive_key_from_seed, _ccmldsa_export_privkey, 657 _cclr_decrypt_block, _cclr_encrypt_block, _ccmd2_ltc_di, _ccmd4_ltc_di,
629 _ccmldsa_export_pubkey, _ccmldsa_full_ctx_init, _ccmldsa_generate_key, 658 _ccmd5_di, _ccmd5_ltc_di, _ccmgf, _ccmldsa65, _ccmldsa87,
630 _ccmldsa_generate_key_with_seed, _ccmldsa_hash_nbytes_ctx, 659 _ccmldsa_derive_key_from_seed, _ccmldsa_export_privkey, _ccmldsa_export_pubkey,
631 _ccmldsa_hash_nbytes_params, _ccmldsa_import_privkey, _ccmldsa_import_pubkey, 660 _ccmldsa_full_ctx_init, _ccmldsa_generate_key, _ccmldsa_generate_key_with_seed,
632 _ccmldsa_prehash, _ccmldsa_prehash_with_context, _ccmldsa_privkey_nbytes_ctx, 661 _ccmldsa_hash_nbytes_ctx, _ccmldsa_hash_nbytes_params, _ccmldsa_import_privkey,
633 _ccmldsa_privkey_nbytes_params, _ccmldsa_pub_ctx_init, _ccmldsa_pubkey_nbytes_ctx, 662 _ccmldsa_import_pubkey, _ccmldsa_prehash, _ccmldsa_prehash_with_context,
634 _ccmldsa_pubkey_nbytes_params, _ccmldsa_public_ctx, _ccmldsa_seed_nbytes_ctx, 663 _ccmldsa_privkey_nbytes_ctx, _ccmldsa_privkey_nbytes_params,
635 _ccmldsa_seed_nbytes_params, _ccmldsa_sign, _ccmldsa_sign_prehashed, 664 _ccmldsa_pub_ctx_init, _ccmldsa_pubkey_nbytes_ctx, _ccmldsa_pubkey_nbytes_params,
636 _ccmldsa_sign_with_context, _ccmldsa_signature_nbytes_ctx, 665 _ccmldsa_public_ctx, _ccmldsa_seed_nbytes_ctx, _ccmldsa_seed_nbytes_params,
637 _ccmldsa_signature_nbytes_params, _ccmldsa_sizeof_full_ctx, 666 _ccmldsa_sign, _ccmldsa_sign_prehashed, _ccmldsa_sign_with_context,
638 _ccmldsa_sizeof_pub_ctx, _ccmldsa_verify, _ccmldsa_verify_prehashed, 667 _ccmldsa_signature_nbytes_ctx, _ccmldsa_signature_nbytes_params,
639 _ccmldsa_verify_prehashed_with_canary, _ccmldsa_verify_with_canary, 668 _ccmldsa_sizeof_full_ctx, _ccmldsa_sizeof_pub_ctx, _ccmldsa_verify,
640 _ccmldsa_verify_with_context, _ccmldsa_verify_with_context_and_canary, 669 _ccmldsa_verify_prehashed, _ccmldsa_verify_prehashed_with_canary,
641 _ccmode_factory_cbc_decrypt, _ccmode_factory_cbc_encrypt, 670 _ccmldsa_verify_with_canary, _ccmldsa_verify_with_context,
642 _ccmode_factory_ccm_decrypt, _ccmode_factory_ccm_encrypt, 671 _ccmldsa_verify_with_context_and_canary, _ccmode_factory_cbc_decrypt,
643 _ccmode_factory_cfb8_decrypt, _ccmode_factory_cfb8_encrypt, 672 _ccmode_factory_cbc_encrypt, _ccmode_factory_ccm_decrypt,
644 _ccmode_factory_cfb_decrypt, _ccmode_factory_cfb_encrypt, 673 _ccmode_factory_ccm_encrypt, _ccmode_factory_cfb8_decrypt,
645 _ccmode_factory_ctr_crypt, _ccmode_factory_gcm_decrypt, _ccmode_factory_gcm_encrypt, 674 _ccmode_factory_cfb8_encrypt, _ccmode_factory_cfb_decrypt,
646 _ccmode_factory_ofb_crypt, _ccmode_factory_siv_decrypt, _ccmode_factory_siv_encrypt, 675 _ccmode_factory_cfb_encrypt, _ccmode_factory_ctr_crypt, _ccmode_factory_gcm_decrypt,
647 _ccmode_factory_xts_decrypt, _ccmode_factory_xts_encrypt, 676 _ccmode_factory_gcm_encrypt, _ccmode_factory_ofb_crypt, _ccmode_factory_siv_decrypt,
648 _ccn_add, _ccn_add1, _ccn_bitlen, _ccn_cmp, _ccn_cmpn, _ccn_lprint, 677 _ccmode_factory_siv_encrypt, _ccmode_factory_xts_decrypt,
649 _ccn_print, _ccn_read_uint, _ccn_set_bit, _ccn_seti, _ccn_sub, 678 _ccmode_factory_xts_encrypt, _ccn_add, _ccn_add1, _ccn_bitlen,
650 _ccn_swap, _ccn_write_int, _ccn_write_int_size, _ccn_write_uint, 679 _ccn_cmp, _ccn_cmpn, _ccn_lprint, _ccn_print, _ccn_read_uint,
651 _ccn_write_uint_padded, _ccn_write_uint_padded_ct, _ccn_write_uint_size, 680 _ccn_set_bit, _ccn_seti, _ccn_sub, _ccn_swap, _ccn_write_int,
652 _ccn_xor, _ccn_zero, _ccnistkdf_ctr_cmac, _ccnistkdf_ctr_cmac_fixed, 681 _ccn_write_int_size, _ccn_write_uint, _ccn_write_uint_padded,
682 _ccn_write_uint_padded_ct, _ccn_write_uint_size, _ccn_xor,
683 _ccn_zero, _ccnistkdf_ctr_cmac, _ccnistkdf_ctr_cmac_fixed,
653 _ccnistkdf_ctr_hmac, _ccnistkdf_ctr_hmac_fixed, _ccofb_block_size, 684 _ccnistkdf_ctr_hmac, _ccnistkdf_ctr_hmac_fixed, _ccofb_block_size,
654 _ccofb_context_size, _ccofb_init, _ccofb_one_shot, _ccofb_update, 685 _ccofb_context_size, _ccofb_init, _ccofb_one_shot, _ccofb_update,
655 _ccoid_equal, _ccoid_payload, _ccoid_size, _ccpad_cts1_decrypt, 686 _ccoid_equal, _ccoid_payload, _ccoid_size, _ccpad_cts1_decrypt,
...@@ -699,8 +730,9 @@ exports:...@@ -699,8 +730,9 @@ exports:
699 _ccsae_verify_commitment_with_rejected_groups, _ccsae_verify_confirmation, 730 _ccsae_verify_commitment_with_rejected_groups, _ccsae_verify_confirmation,
700 _ccscrypt, _ccscrypt_storage_size, _ccsha1_di, _ccsha1_eay_di, 731 _ccscrypt, _ccscrypt_storage_size, _ccsha1_di, _ccsha1_eay_di,
701 _ccsha1_ltc_di, _ccsha224_di, _ccsha224_ltc_di, _ccsha256_di, 732 _ccsha1_ltc_di, _ccsha224_di, _ccsha224_ltc_di, _ccsha256_di,
702 _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_di, 733 _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_c_di,
703 _ccsha3_256_di, _ccsha3_384_di, _ccsha3_512_di, _ccsha512_256_di, 734 _ccsha3_224_di, _ccsha3_256_c_di, _ccsha3_256_di, _ccsha3_384_c_di,
735 _ccsha3_384_di, _ccsha3_512_c_di, _ccsha3_512_di, _ccsha512_256_di,
704 _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccshake128, 736 _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccshake128,
705 _ccshake128_xi, _ccshake256, _ccshake256_xi, _ccsigma_clear, 737 _ccshake128_xi, _ccshake256, _ccshake256_xi, _ccsigma_clear,
706 _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys, 738 _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys,
...@@ -723,13 +755,14 @@ exports:...@@ -723,13 +755,14 @@ exports:
723 _ccspake_get_session_key, _ccspake_kex_generate, _ccspake_kex_process, 755 _ccspake_get_session_key, _ccspake_kex_generate, _ccspake_kex_process,
724 _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256, 756 _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256,
725 _ccspake_mac_hkdf_hmac_sha256, _ccspake_mac_hkdf_hmac_sha512, 757 _ccspake_mac_hkdf_hmac_sha256, _ccspake_mac_hkdf_hmac_sha512,
726 _ccspake_mac_verify_and_get_session_key, _ccspake_prover_init, 758 _ccspake_mac_nistkdf_cmac_aes128_sha256, _ccspake_mac_verify_and_get_session_key,
727 _ccspake_prover_initialize, _ccspake_reduce_w, _ccspake_reduce_w_RFC9383, 759 _ccspake_prover_init, _ccspake_prover_initialize, _ccspake_reduce_w,
728 _ccspake_sizeof_ctx, _ccspake_sizeof_point, _ccspake_sizeof_w, 760 _ccspake_reduce_w_RFC9383, _ccspake_sizeof_ctx, _ccspake_sizeof_point,
729 _ccspake_verifier_init, _ccspake_verifier_initialize, _ccsrp_client_process_challenge, 761 _ccspake_sizeof_w, _ccspake_verifier_init, _ccspake_verifier_initialize,
730 _ccsrp_client_set_noUsernameInX, _ccsrp_client_start_authentication, 762 _ccsrp_client_process_challenge, _ccsrp_client_set_noUsernameInX,
731 _ccsrp_client_verify_session, _ccsrp_ctx_init, _ccsrp_ctx_init_option, 763 _ccsrp_client_start_authentication, _ccsrp_client_verify_session,
732 _ccsrp_ctx_init_with_size_option, _ccsrp_exchange_size, _ccsrp_generate_salt_and_verification, 764 _ccsrp_ctx_init, _ccsrp_ctx_init_option, _ccsrp_ctx_init_with_size_option,
765 _ccsrp_exchange_size, _ccsrp_generate_salt_and_verification,
733 _ccsrp_generate_verifier, _ccsrp_get_premaster_secret, _ccsrp_get_session_key, 766 _ccsrp_generate_verifier, _ccsrp_get_premaster_secret, _ccsrp_get_session_key,
734 _ccsrp_get_session_key_length, _ccsrp_gp_rfc5054_1024, _ccsrp_gp_rfc5054_2048, 767 _ccsrp_get_session_key_length, _ccsrp_gp_rfc5054_1024, _ccsrp_gp_rfc5054_2048,
735 _ccsrp_gp_rfc5054_3072, _ccsrp_gp_rfc5054_4096, _ccsrp_gp_rfc5054_8192, 768 _ccsrp_gp_rfc5054_3072, _ccsrp_gp_rfc5054_4096, _ccsrp_gp_rfc5054_8192,
...@@ -752,13 +785,14 @@ exports:...@@ -752,13 +785,14 @@ exports:
752 _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt, 785 _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt,
753 _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size, 786 _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size,
754 _ccxof_absorb, _ccxof_init, _ccxof_squeeze, _ccxts_block_size, 787 _ccxof_absorb, _ccxof_init, _ccxof_squeeze, _ccxts_block_size,
755 _ccxts_context_size, _ccxts_init, _ccxts_one_shot, _ccxts_set_tweak, 788 _ccxts_context_size, _ccxts_init, _ccxts_managed_dit_init,
756 _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit, _ccz_bitlen, 789 _ccxts_managed_dit_set_tweak, _ccxts_managed_dit_update, _ccxts_one_shot,
757 _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod, _ccz_expmod, 790 _ccxts_set_tweak, _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit,
758 _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one, _ccz_is_prime, 791 _ccz_bitlen, _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod,
759 _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod, _ccz_mul, _ccz_muli, 792 _ccz_expmod, _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one,
760 _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits, _ccz_read_radix, 793 _ccz_is_prime, _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod,
761 _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity, 794 _ccz_mul, _ccz_muli, _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits,
795 _ccz_read_radix, _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity,
762 _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size, 796 _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size,
763 _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int, 797 _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int,
764 _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size, 798 _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size,
...@@ -766,25 +800,31 @@ exports:...@@ -766,25 +800,31 @@ exports:
766 _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime, 800 _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime,
767 _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post, 801 _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post,
768 _fipspost_trace_vtable, _map_to_curve_sswu ]802 _fipspost_trace_vtable, _map_to_curve_sswu ]
769 - targets: [ arm64e-macos, arm64e-maccatalyst ]803 - targets: [ arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
770 symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode, 804 symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode,
771 _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode, 805 _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode,
806 _ccaes_arm_ecb_aligned_decrypt_mode, _ccaes_arm_ecb_aligned_encrypt_mode,
772 _ccaes_arm_ecb_decrypt_mode, _ccaes_arm_ecb_encrypt_mode, 807 _ccaes_arm_ecb_decrypt_mode, _ccaes_arm_ecb_encrypt_mode,
773 _ccaes_arm_ofb_crypt_mode, _ccaes_arm_xts_decrypt_mode, _ccaes_arm_xts_encrypt_mode, 808 _ccaes_arm_ofb_crypt_mode, _ccaes_arm_xts_aligned_decrypt_mode,
774 _ccsha1_vng_arm_di, _ccsha224_vng_arm_di, _ccsha256_vng_arm64neon_di, 809 _ccaes_arm_xts_aligned_encrypt_mode, _ccaes_arm_xts_decrypt_mode,
810 _ccaes_arm_xts_encrypt_mode, _ccsha1_vng_arm_di, _ccsha224_vng_arm_di,
811 _ccsha256_vng_arm64neon_di, _ccsha256_vng_arm_aligned_di,
775 _ccsha256_vng_arm_di, _ccsha384_vng_arm_di, _ccsha384_vng_arm_hw_di, 812 _ccsha256_vng_arm_di, _ccsha384_vng_arm_di, _ccsha384_vng_arm_hw_di,
776 _ccsha512_256_vng_arm_di, _ccsha512_256_vng_arm_hw_di, _ccsha512_vng_arm_di, 813 _ccsha512_256_vng_arm_di, _ccsha512_256_vng_arm_hw_di, _ccsha512_vng_arm_di,
777 _ccsha512_vng_arm_hw_di ]814 _ccsha512_vng_arm_hw_di ]
778--- !tapi-tbd815--- !tapi-tbd
779tbd-version: 4816tbd-version: 4
780targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]817targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
818 arm64e.x1-macos, arm64e.x1-maccatalyst ]
781install-name: '/usr/lib/system/libdispatch.dylib'819install-name: '/usr/lib/system/libdispatch.dylib'
782current-version: 1542.100.32820current-version: 1605.0.2
783parent-umbrella:821parent-umbrella:
784 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]822 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
823 arm64e.x1-macos, arm64e.x1-maccatalyst ]
785 umbrella: System824 umbrella: System
786exports:825exports:
787 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]826 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
827 arm64e.x1-macos, arm64e.x1-maccatalyst ]
788 symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not', 828 symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not',
789 '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool, 829 '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool,
790 __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap, 830 __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap,
...@@ -894,6 +934,7 @@ exports:...@@ -894,6 +934,7 @@ exports:
894 _dispatch_source_set_timer, _dispatch_source_testcancel, _dispatch_suspend, 934 _dispatch_source_set_timer, _dispatch_source_testcancel, _dispatch_suspend,
895 _dispatch_swift_job_should_yield, _dispatch_sync, _dispatch_sync_f, 935 _dispatch_swift_job_should_yield, _dispatch_sync, _dispatch_sync_f,
896 _dispatch_thread_get_current_override_qos_floor, _dispatch_thread_override_self, 936 _dispatch_thread_get_current_override_qos_floor, _dispatch_thread_override_self,
937 _dispatch_thread_override_self_with_base, _dispatch_thread_reset_override_self,
897 _dispatch_time, _dispatch_time_from_nsec, _dispatch_time_to_nsec, 938 _dispatch_time, _dispatch_time_from_nsec, _dispatch_time_to_nsec,
898 _dispatch_time_to_nsecs, _dispatch_tsd_indexes, _dispatch_verify_current_queue_4swiftonly, 939 _dispatch_time_to_nsecs, _dispatch_tsd_indexes, _dispatch_verify_current_queue_4swiftonly,
899 _dispatch_walltime, _dispatch_workloop_copy_current, _dispatch_workloop_create, 940 _dispatch_walltime, _dispatch_workloop_copy_current, _dispatch_workloop_create,
...@@ -946,17 +987,17 @@ exports:...@@ -946,17 +987,17 @@ exports:
946--- !tapi-tbd987--- !tapi-tbd
947tbd-version: 4988tbd-version: 4
948targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 989targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
949 arm64e-macos, arm64e-maccatalyst ]990 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
950install-name: '/usr/lib/system/libdyld.dylib'991install-name: '/usr/lib/system/libdyld.dylib'
951current-version: 0992current-version: 0
952compatibility-version: 0993compatibility-version: 0
953parent-umbrella:994parent-umbrella:
954 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 995 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
955 arm64e-macos, arm64e-maccatalyst ]996 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
956 umbrella: System997 umbrella: System
957exports:998exports:
958 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 999 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
959 arm64e-macos, arm64e-maccatalyst ]1000 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
960 symbols: [ _NSVersionOfLinkTimeLibrary, _NSVersionOfRunTimeLibrary, _NXArgc, 1001 symbols: [ _NSVersionOfLinkTimeLibrary, _NSVersionOfRunTimeLibrary, _NXArgc,
961 _NXArgv, __NSGetExecutablePath, ___progname, __dyld_atfork_parent, 1002 _NXArgv, __NSGetExecutablePath, ___progname, __dyld_atfork_parent,
962 __dyld_atfork_prepare, __dyld_call_with_writable_tpro_memory, 1003 __dyld_atfork_prepare, __dyld_call_with_writable_tpro_memory,
...@@ -969,12 +1010,12 @@ exports:...@@ -969,12 +1010,12 @@ exports:
969 __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_framework_HWTrace_spis_enabled, 1010 __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_framework_HWTrace_spis_enabled,
970 __dyld_get_dlopen_image_header, __dyld_get_dyld_header, __dyld_get_image_header, 1011 __dyld_get_dlopen_image_header, __dyld_get_dyld_header, __dyld_get_image_header,
971 __dyld_get_image_name, __dyld_get_image_slide, __dyld_get_image_uuid, 1012 __dyld_get_image_name, __dyld_get_image_slide, __dyld_get_image_uuid,
972 __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, __dyld_get_prog_image_header, 1013 __dyld_get_image_vmaddr_slide, __dyld_get_lib_msg_send_offsets,
973 __dyld_get_shared_cache_range, __dyld_get_shared_cache_uuid, 1014 __dyld_get_objc_selector, __dyld_get_prog_image_header, __dyld_get_shared_cache_range,
974 __dyld_get_swift_prespecialized_data, __dyld_has_fix_for_radar, 1015 __dyld_get_shared_cache_uuid, __dyld_get_swift_prespecialized_data,
975 __dyld_has_preoptimized_swift_protocol_conformances, __dyld_image_count, 1016 __dyld_has_fix_for_radar, __dyld_has_preoptimized_swift_protocol_conformances,
976 __dyld_images_for_addresses, __dyld_initializer, __dyld_is_memory_immutable, 1017 __dyld_image_count, __dyld_images_for_addresses, __dyld_initializer,
977 __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded, 1018 __dyld_is_memory_immutable, __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded,
978 __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lazy_load, 1019 __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lazy_load,
979 __dyld_lookup_section_info, __dyld_objc_class_count, __dyld_objc_notify_register, 1020 __dyld_lookup_section_info, __dyld_objc_class_count, __dyld_objc_notify_register,
980 __dyld_objc_register_callbacks, __dyld_objc_uses_large_shared_cache, 1021 __dyld_objc_register_callbacks, __dyld_objc_uses_large_shared_cache,
...@@ -987,78 +1028,86 @@ exports:...@@ -987,78 +1028,86 @@ exports:
987 __dyld_process_info_retain, __dyld_pseudodylib_deregister, 1028 __dyld_process_info_retain, __dyld_pseudodylib_deregister,
988 __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register, 1029 __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register,
989 __dyld_pseudodylib_register_callbacks, __dyld_register_dlsym_notifier, 1030 __dyld_pseudodylib_register_callbacks, __dyld_register_dlsym_notifier,
990 __dyld_register_driverkit_main, __dyld_register_for_bulk_image_loads, 1031 __dyld_register_dlsym_notifier_with_handle, __dyld_register_driverkit_main,
991 __dyld_register_for_image_loads, __dyld_register_func_for_add_image, 1032 __dyld_register_for_bulk_image_loads, __dyld_register_for_image_loads,
992 __dyld_register_func_for_remove_image, __dyld_shared_cache_contains_path, 1033 __dyld_register_func_for_add_image, __dyld_register_func_for_remove_image,
993 __dyld_shared_cache_file_path_containing_address, __dyld_shared_cache_is_locally_built, 1034 __dyld_shared_cache_contains_path, __dyld_shared_cache_file_path_containing_address,
994 __dyld_shared_cache_optimized, __dyld_shared_cache_real_path, 1035 __dyld_shared_cache_is_locally_built, __dyld_shared_cache_optimized,
1036 __dyld_shared_cache_real_path, __dyld_shared_cache_will_check_for_image_overrides,
995 __dyld_stack_bottom, __dyld_stack_range, __dyld_stack_top, 1037 __dyld_stack_bottom, __dyld_stack_range, __dyld_stack_top,
996 __dyld_swift_optimizations_version, __dyld_visit_objc_classes, 1038 __dyld_swift_optimizations_version, __dyld_thread_local_free,
997 __tlv_atexit, __tlv_bootstrap, __tlv_exit, _dladdr, _dlclose, 1039 __dyld_visit_objc_classes, __tlv_atexit, __tlv_bootstrap,
998 _dlerror, _dlopen, _dlopen_audited, _dlopen_from, _dlopen_preflight, 1040 __tlv_exit, _dladdr, _dlclose, _dlerror, _dlopen, _dlopen_audited,
999 _dlsym, _dyldVersionNumber, _dyldVersionString, _dyld_dynamic_interpose, 1041 _dlopen_from, _dlopen_preflight, _dlsym, _dyldVersionNumber,
1000 _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_ex, 1042 _dyldVersionString, _dyld_dynamic_interpose, _dyld_for_each_installed_shared_cache,
1001 _dyld_for_each_installed_shared_cache_with_system_path, _dyld_get_active_platform, 1043 _dyld_for_each_installed_shared_cache_ex, _dyld_for_each_installed_shared_cache_with_system_path,
1002 _dyld_get_base_platform, _dyld_get_image_versions, _dyld_get_min_os_version, 1044 _dyld_get_active_platform, _dyld_get_base_platform, _dyld_get_image_versions,
1003 _dyld_get_program_min_os_version, _dyld_get_program_minos_version_token, 1045 _dyld_get_min_os_version, _dyld_get_program_min_os_version,
1004 _dyld_get_program_sdk_version, _dyld_get_program_sdk_version_token, 1046 _dyld_get_program_minos_version_token, _dyld_get_program_sdk_version,
1005 _dyld_get_sdk_version, _dyld_has_inserted_or_interposing_libraries, 1047 _dyld_get_program_sdk_version_token, _dyld_get_sdk_version,
1006 _dyld_image_content_for_section, _dyld_image_content_for_segment, 1048 _dyld_has_inserted_or_interposing_libraries, _dyld_image_content_for_section,
1007 _dyld_image_copy_uuid, _dyld_image_for_each_section_info, 1049 _dyld_image_content_for_segment, _dyld_image_copy_uuid, _dyld_image_for_each_section_info,
1008 _dyld_image_for_each_segment_info, _dyld_image_get_file_path, 1050 _dyld_image_for_each_segment_info, _dyld_image_get_cpu_subtype,
1009 _dyld_image_get_installname, _dyld_image_header_containing_address, 1051 _dyld_image_get_cpu_type, _dyld_image_get_file_path, _dyld_image_get_installname,
1010 _dyld_image_local_nlist_content_4Symbolication, _dyld_image_path_containing_address, 1052 _dyld_image_header_containing_address, _dyld_image_local_nlist_content_4Symbolication,
1011 _dyld_image_release_4HWTrace, _dyld_image_retain_4HWTrace, 1053 _dyld_image_path_containing_address, _dyld_image_release_4HWTrace,
1012 _dyld_image_segment_data_4HWTrace, _dyld_is_simulator_platform, 1054 _dyld_image_retain_4HWTrace, _dyld_image_segment_data_4HWTrace,
1013 _dyld_minos_at_least, _dyld_need_closure, _dyld_process_create_for_current_task, 1055 _dyld_is_simulator_platform, _dyld_minos_at_least, _dyld_need_closure,
1014 _dyld_process_create_for_task, _dyld_process_dispose, _dyld_process_has_objc_patches, 1056 _dyld_process_create_for_current_task, _dyld_process_create_for_task,
1015 _dyld_process_is_restricted, _dyld_process_register_for_event_notification, 1057 _dyld_process_dispose, _dyld_process_has_objc_patches, _dyld_process_is_restricted,
1016 _dyld_process_register_for_image_notifications, _dyld_process_snapshot_create_for_process, 1058 _dyld_process_register_for_event_notification, _dyld_process_register_for_image_notifications,
1017 _dyld_process_snapshot_create_from_data, _dyld_process_snapshot_create_metrics, 1059 _dyld_process_snapshot_create_for_process, _dyld_process_snapshot_create_from_data,
1018 _dyld_process_snapshot_dispose, _dyld_process_snapshot_for_each_image, 1060 _dyld_process_snapshot_create_metrics, _dyld_process_snapshot_dispose,
1019 _dyld_process_snapshot_get_shared_cache, _dyld_process_unregister_for_notification, 1061 _dyld_process_snapshot_for_each_image, _dyld_process_snapshot_get_shared_cache,
1020 _dyld_program_minos_at_least, _dyld_program_sdk_at_least, 1062 _dyld_process_unregister_for_notification, _dyld_program_minos_at_least,
1021 _dyld_sdk_at_least, _dyld_shared_cache_copy_uuid, _dyld_shared_cache_file_path, 1063 _dyld_program_sdk_at_least, _dyld_sdk_at_least, _dyld_shared_cache_copy_uuid,
1022 _dyld_shared_cache_find_iterate_text, _dyld_shared_cache_for_each_file, 1064 _dyld_shared_cache_file_path, _dyld_shared_cache_find_iterate_text,
1023 _dyld_shared_cache_for_each_image, _dyld_shared_cache_for_file, 1065 _dyld_shared_cache_for_each_file, _dyld_shared_cache_for_each_image,
1024 _dyld_shared_cache_get_base_address, _dyld_shared_cache_get_mapped_size, 1066 _dyld_shared_cache_for_each_unattributed_range, _dyld_shared_cache_for_file,
1067 _dyld_shared_cache_get_base_address, _dyld_shared_cache_get_cpu_subtype,
1068 _dyld_shared_cache_get_cpu_type, _dyld_shared_cache_get_mapped_size,
1025 _dyld_shared_cache_is_mapped_private, _dyld_shared_cache_iterate_text, 1069 _dyld_shared_cache_is_mapped_private, _dyld_shared_cache_iterate_text,
1026 _dyld_shared_cache_pin_mapping, _dyld_shared_cache_some_image_overridden, 1070 _dyld_shared_cache_pin_mapping, _dyld_shared_cache_range_type_all,
1071 _dyld_shared_cache_range_type_all_code, _dyld_shared_cache_some_image_overridden,
1027 _dyld_shared_cache_unpin_mapping, _dyld_version_token_at_least, 1072 _dyld_shared_cache_unpin_mapping, _dyld_version_token_at_least,
1028 _dyld_version_token_get_platform, _environ, _macho_arch_name_for_cpu_type, 1073 _dyld_version_token_get_platform, _environ, _macho_arch_name_for_cpu_type,
1029 _macho_arch_name_for_mach_header, _macho_best_slice, _macho_best_slice_in_fd, 1074 _macho_arch_name_for_mach_header, _macho_best_slice, _macho_best_slice_in_fd,
1030 _macho_cpu_type_for_arch_name, _macho_dylib_install_name, 1075 _macho_cpu_type_for_arch_name, _macho_disk_section_content,
1031 _macho_for_each_defined_rpath, _macho_for_each_dependent_dylib, 1076 _macho_disk_slice_valid_for_dyld, _macho_dyld_section_content,
1032 _macho_for_each_exported_symbol, _macho_for_each_imported_symbol, 1077 _macho_dylib_install_name, _macho_for_each_defined_rpath,
1033 _macho_for_each_runnable_arch_name, _macho_for_each_slice, 1078 _macho_for_each_dependent_dylib, _macho_for_each_exported_symbol,
1034 _macho_for_each_slice_in_fd, _macho_source_version, dyld_stub_binder ]1079 _macho_for_each_imported_symbol, _macho_for_each_runnable_arch_name,
1035 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1080 _macho_for_each_runnable_platform, _macho_for_each_slice,
1081 _macho_for_each_slice_in_fd, _macho_platform_for_name, _macho_platform_name,
1082 _macho_source_version, _macho_supports_pointer_authentication,
1083 dyld_stub_binder ]
1084 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
1036 symbols: [ _NSAddImage, _NSAddLibrary, _NSAddLibraryWithSearching, _NSAddressOfSymbol, 1085 symbols: [ _NSAddImage, _NSAddLibrary, _NSAddLibraryWithSearching, _NSAddressOfSymbol,
1037 _NSCreateObjectFileImageFromFile, _NSCreateObjectFileImageFromMemory, 1086 _NSCreateObjectFileImageFromFile, _NSCreateObjectFileImageFromMemory,
1038 _NSDestroyObjectFileImage, _NSGetSectionDataInObjectFileImage, 1087 _NSDestroyObjectFileImage, _NSGetSectionDataInObjectFileImage,
1039 _NSInstallLinkEditErrorHandlers, _NSIsSymbolDefinedInObjectFileImage, 1088 _NSIsSymbolDefinedInObjectFileImage, _NSIsSymbolNameDefined,
1040 _NSIsSymbolNameDefined, _NSIsSymbolNameDefinedInImage, _NSIsSymbolNameDefinedWithHint, 1089 _NSIsSymbolNameDefinedInImage, _NSIsSymbolNameDefinedWithHint,
1041 _NSLibraryNameForModule, _NSLinkEditError, _NSLinkModule, 1090 _NSLibraryNameForModule, _NSLinkEditError, _NSLinkModule,
1042 _NSLookupAndBindSymbol, _NSLookupAndBindSymbolWithHint, _NSLookupSymbolInImage, 1091 _NSLookupAndBindSymbol, _NSLookupAndBindSymbolWithHint, _NSLookupSymbolInImage,
1043 _NSLookupSymbolInModule, _NSModuleForSymbol, _NSNameOfModule, 1092 _NSLookupSymbolInModule, _NSModuleForSymbol, _NSNameOfModule,
1044 _NSNameOfSymbol, _NSSymbolDefinitionCountInObjectFileImage, 1093 _NSUnLinkModule, __dyld_bind_fully_image_containing_address,
1045 _NSSymbolDefinitionNameInObjectFileImage, _NSSymbolReferenceCountInObjectFileImage,
1046 _NSSymbolReferenceNameInObjectFileImage, _NSUnLinkModule,
1047 __dyld_all_twolevel_modules_prebound, __dyld_bind_fully_image_containing_address,
1048 __dyld_get_image_header_containing_address, __dyld_image_containing_address, 1094 __dyld_get_image_header_containing_address, __dyld_image_containing_address,
1049 __dyld_launched_prebound, __dyld_lookup_and_bind, __dyld_lookup_and_bind_fully, 1095 __dyld_lookup_and_bind, __dyld_lookup_and_bind_fully, __dyld_lookup_and_bind_with_hint,
1050 __dyld_lookup_and_bind_with_hint, __dyld_present, __dyld_process_info_for_each_aot_image, 1096 __dyld_present, __dyld_process_info_for_each_aot_image, _dyld_shared_cache_for_each_subcache4Rosetta,
1051 _dyld_shared_cache_for_each_subcache4Rosetta, _dyld_shared_subcache_get_info4Rosetta ]1097 _dyld_shared_subcache_get_info4Rosetta ]
1052--- !tapi-tbd1098--- !tapi-tbd
1053tbd-version: 41099tbd-version: 4
1054targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1100targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1101 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1055install-name: '/usr/lib/system/libkeymgr.dylib'1102install-name: '/usr/lib/system/libkeymgr.dylib'
1056current-version: 311103current-version: 31
1057parent-umbrella:1104parent-umbrella:
1058 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1105 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1106 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1059 umbrella: System1107 umbrella: System
1060exports:1108exports:
1061 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1109 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1110 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1062 symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer, 1111 symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer,
1063 __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2, 1112 __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2,
1064 __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr, 1113 __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr,
...@@ -1066,14 +1115,14 @@ exports:...@@ -1066,14 +1115,14 @@ exports:
1066 __keymgr_unlock_processwide_ptr, _keymgrVersionNumber, _keymgrVersionString ]1115 __keymgr_unlock_processwide_ptr, _keymgrVersionNumber, _keymgrVersionString ]
1067--- !tapi-tbd1116--- !tapi-tbd
1068tbd-version: 41117tbd-version: 4
1069targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1118targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
1070install-name: '/usr/lib/system/libmacho.dylib'1119install-name: '/usr/lib/system/libmacho.dylib'
1071current-version: 10401120current-version: 1040
1072parent-umbrella:1121parent-umbrella:
1073 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1122 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
1074 umbrella: System1123 umbrella: System
1075exports:1124exports:
1076 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1125 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
1077 symbols: [ _NXCombineCpuSubtypes, _NXFindBestFatArch, _NXFindBestFatArch_64, 1126 symbols: [ _NXCombineCpuSubtypes, _NXFindBestFatArch, _NXFindBestFatArch_64,
1078 _NXFreeArchInfo, _NXGetAllArchInfos, _NXGetArchInfoFromCpuType, 1127 _NXFreeArchInfo, _NXGetAllArchInfos, _NXGetArchInfoFromCpuType,
1079 _NXGetArchInfoFromName, _NXGetLocalArchInfo, _get_edata, _get_end, 1128 _NXGetArchInfoFromName, _NXGetLocalArchInfo, _get_edata, _get_end,
...@@ -1105,14 +1154,17 @@ exports:...@@ -1105,14 +1154,17 @@ exports:
1105 _swap_x86_thread_state, _swap_x86_thread_state64 ]1154 _swap_x86_thread_state, _swap_x86_thread_state64 ]
1106--- !tapi-tbd1155--- !tapi-tbd
1107tbd-version: 41156tbd-version: 4
1108targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1157targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1158 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1109install-name: '/usr/lib/system/libquarantine.dylib'1159install-name: '/usr/lib/system/libquarantine.dylib'
1110current-version: 196.120.21160current-version: 217.0.4
1111parent-umbrella:1161parent-umbrella:
1112 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1162 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1163 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1113 umbrella: System1164 umbrella: System
1114exports:1165exports:
1115 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1166 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1167 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1116 symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point, 1168 symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point,
1117 __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free, 1169 __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free,
1118 __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata, 1170 __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata,
...@@ -1133,7 +1185,7 @@ exports:...@@ -1133,7 +1185,7 @@ exports:
1133 _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid, 1185 _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid,
1134 _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init, 1186 _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init,
1135 _responsibility_set_pid_responsible_for_pid ]1187 _responsibility_set_pid_responsible_for_pid ]
1136 - targets: [ x86_64-macos, arm64e-macos ]1188 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
1137 symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data, 1189 symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data,
1138 _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token, 1190 _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token,
1139 _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform, 1191 _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform,
...@@ -1149,14 +1201,17 @@ exports:...@@ -1149,14 +1201,17 @@ exports:
1149 _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ]1201 _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ]
1150--- !tapi-tbd1202--- !tapi-tbd
1151tbd-version: 41203tbd-version: 4
1152targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1204targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1205 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1153install-name: '/usr/lib/system/libremovefile.dylib'1206install-name: '/usr/lib/system/libremovefile.dylib'
1154current-version: 85.100.61207current-version: 96
1155parent-umbrella:1208parent-umbrella:
1156 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1209 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1210 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1157 umbrella: System1211 umbrella: System
1158exports:1212exports:
1159 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1213 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1214 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1160 symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer, 1215 symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer,
1161 ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker, 1216 ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker,
1162 ___removefile_tree_walker_slim, _removefile, _removefile_cancel, 1217 ___removefile_tree_walker_slim, _removefile, _removefile_cancel,
...@@ -1164,14 +1219,17 @@ exports:...@@ -1164,14 +1219,17 @@ exports:
1164 _removefile_state_set, _removefileat ]1219 _removefile_state_set, _removefileat ]
1165--- !tapi-tbd1220--- !tapi-tbd
1166tbd-version: 41221tbd-version: 4
1167targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1222targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1223 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1168install-name: '/usr/lib/system/libsystem_asl.dylib'1224install-name: '/usr/lib/system/libsystem_asl.dylib'
1169current-version: 4061225current-version: 409
1170parent-umbrella:1226parent-umbrella:
1171 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1227 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1228 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1172 umbrella: System1229 umbrella: System
1173exports:1230exports:
1174 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1231 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1232 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1175 symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child, 1233 symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child,
1176 __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child, 1234 __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child,
1177 __asl_mt_shim_send_message, __asl_server_cancel_direct_watch, 1235 __asl_mt_shim_send_message, __asl_server_cancel_direct_watch,
...@@ -1242,14 +1300,17 @@ exports:...@@ -1242,14 +1300,17 @@ exports:
1242 _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ]1300 _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ]
1243--- !tapi-tbd1301--- !tapi-tbd
1244tbd-version: 41302tbd-version: 4
1245targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1303targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1304 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1246install-name: '/usr/lib/system/libsystem_blocks.dylib'1305install-name: '/usr/lib/system/libsystem_blocks.dylib'
1247current-version: 961306current-version: 98.1
1248parent-umbrella:1307parent-umbrella:
1249 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1308 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1309 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1250 umbrella: System1310 umbrella: System
1251exports:1311exports:
1252 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1312 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1313 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1253 symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature, 1314 symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature,
1254 __Block_isDeallocating, __Block_layout, __Block_object_assign, 1315 __Block_isDeallocating, __Block_layout, __Block_object_assign,
1255 __Block_object_dispose, __Block_release, __Block_signature, 1316 __Block_object_dispose, __Block_release, __Block_signature,
...@@ -1258,11 +1319,13 @@ exports:...@@ -1258,11 +1319,13 @@ exports:
1258 __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ]1319 __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ]
1259--- !tapi-tbd1320--- !tapi-tbd
1260tbd-version: 41321tbd-version: 4
1261targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1322targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1323 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1262install-name: '/usr/lib/system/libsystem_c.dylib'1324install-name: '/usr/lib/system/libsystem_c.dylib'
1263current-version: 1752.120.21325current-version: 1786.0.3
1264parent-umbrella:1326parent-umbrella:
1265 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1327 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1328 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1266 umbrella: System1329 umbrella: System
1267exports:1330exports:
1268 - targets: [ x86_64-macos, x86_64-maccatalyst ]1331 - targets: [ x86_64-macos, x86_64-maccatalyst ]
...@@ -1279,7 +1342,8 @@ exports:...@@ -1279,7 +1342,8 @@ exports:
1279 '_scandirat$INODE64', '_scandirat_b$INODE64', '_seekdir$INODE64', 1342 '_scandirat$INODE64', '_scandirat_b$INODE64', '_seekdir$INODE64',
1280 _statx64_np, '_statx_np$INODE64', _strtoencf80_l, '_telldir$INODE64', 1343 _statx64_np, '_statx_np$INODE64', _strtoencf80_l, '_telldir$INODE64',
1281 mcount ]1344 mcount ]
1282 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1345 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1346 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1283 symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres', 1347 symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres',
1284 '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime', 1348 '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime',
1285 '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy', 1349 '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy',
...@@ -1397,8 +1461,11 @@ exports:...@@ -1397,8 +1461,11 @@ exports:
1397 _fputws, _fputws_l, _fread, _free_printf_comp, _free_printf_domain, 1461 _fputws, _fputws_l, _fread, _free_printf_comp, _free_printf_domain,
1398 _freelocale, _freopen, _fscanf, _fscanf_l, _fseek, _fseeko, 1462 _freelocale, _freopen, _fscanf, _fscanf_l, _fseek, _fseeko,
1399 _fsetpos, _fstatvfs, _fstatx_np, _fsync_volume_np, _ftell, 1463 _fsetpos, _fstatvfs, _fstatx_np, _fsync_volume_np, _ftell,
1400 _ftello, _ftime, _ftok, _ftrylockfile, _fts_children, _fts_close, 1464 _ftello, _ftime, _ftok, _ftrylockfile, _fts_children, '_fts_children$NFTS',
1401 _fts_open, _fts_open_b, _fts_read, _fts_set, _ftw, _fungetrune, 1465 _fts_close, '_fts_close$NFTS', '_fts_get_clientptr$NFTS',
1466 '_fts_get_stream$NFTS', _fts_open, '_fts_open$NFTS', _fts_open_b,
1467 '_fts_open_b$NFTS', _fts_read, '_fts_read$NFTS', _fts_set,
1468 '_fts_set$NFTS', '_fts_set_clientptr$NFTS', _ftw, _fungetrune,
1402 _funlockfile, _funopen, _fwide, _fwprintf, _fwprintf_l, _fwrite, 1469 _funlockfile, _funopen, _fwide, _fwprintf, _fwprintf_l, _fwrite,
1403 _fwscanf, _fwscanf_l, _fxprintf, _fxprintf_exec, _gcvt, _getbsize, 1470 _fwscanf, _fwscanf_l, _fxprintf, _fxprintf_exec, _gcvt, _getbsize,
1404 _getc, _getc_unlocked, _getchar, _getchar_unlocked, _getcwd, 1471 _getc, _getc_unlocked, _getchar, _getchar_unlocked, _getcwd,
...@@ -1508,15 +1575,10 @@ exports:...@@ -1508,15 +1575,10 @@ exports:
1508 _timegm, _timelocal, _timeoff, _times, _timespec_get, _timezone, 1575 _timegm, _timelocal, _timeoff, _times, _timespec_get, _timezone,
1509 _timingsafe_bcmp, _tmpfile, _tmpnam, _toascii, _tolower, _tolower_l, 1576 _timingsafe_bcmp, _tmpfile, _tmpnam, _toascii, _tolower, _tolower_l,
1510 _toupper, _toupper_l, _towctrans, _towctrans_l, _towlower, 1577 _toupper, _toupper_l, _towctrans, _towctrans_l, _towlower,
1511 _towlower_l, _towupper, _towupper_l, _tre_ast_new_catenation, 1578 _towlower_l, _towupper, _towupper_l, _tsearch, _ttyname, _ttyname_r,
1512 _tre_ast_new_iter, _tre_ast_new_literal, _tre_ast_new_node, 1579 _ttyslot, _twalk, _tzname, _tzset, _tzsetwall, _ualarm, _ulimit,
1513 _tre_ast_new_union, _tre_compile, _tre_fill_pmatch, _tre_free, 1580 _umaskx_np, _uname, _ungetc, _ungetwc, _ungetwc_l, _unlockpt,
1514 _tre_mem_alloc_impl, _tre_mem_destroy, _tre_mem_new_impl, 1581 _unsetenv, _unvis, _uselocale, _usleep, '_usleep$NOCANCEL',
1515 _tre_parse, _tre_stack_destroy, _tre_stack_new, _tre_stack_num_items,
1516 _tre_tnfa_run_backtrack, _tre_tnfa_run_parallel, _tsearch,
1517 _ttyname, _ttyname_r, _ttyslot, _twalk, _tzname, _tzset, _tzsetwall,
1518 _ualarm, _ulimit, _umaskx_np, _uname, _ungetc, _ungetwc, _ungetwc_l,
1519 _unlockpt, _unsetenv, _unvis, _uselocale, _usleep, '_usleep$NOCANCEL',
1520 _utime, _utmpxname, _uuid_clear, _uuid_compare, _uuid_copy, 1582 _utime, _utmpxname, _uuid_clear, _uuid_compare, _uuid_copy,
1521 _uuid_generate, _uuid_generate_random, _uuid_generate_time, 1583 _uuid_generate, _uuid_generate_random, _uuid_generate_time,
1522 _uuid_is_null, _uuid_pack, _uuid_parse, _uuid_unpack, _uuid_unparse, 1584 _uuid_is_null, _uuid_pack, _uuid_parse, _uuid_unpack, _uuid_unparse,
...@@ -1548,21 +1610,25 @@ exports:...@@ -1548,21 +1610,25 @@ exports:
1548 _xprintf_exec ]1610 _xprintf_exec ]
1549 weak-symbols: [ __os_debug_log_redirect_func ]1611 weak-symbols: [ __os_debug_log_redirect_func ]
1550reexports:1612reexports:
1551 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1613 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1614 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1552 symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy, 1615 symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy,
1553 _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8, 1616 _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8,
1554 _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp, 1617 _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp,
1555 _strncpy, _strnlen, _strstr ]1618 _strncpy, _strnlen, _strstr ]
1556--- !tapi-tbd1619--- !tapi-tbd
1557tbd-version: 41620tbd-version: 4
1558targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1621targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1622 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1559install-name: '/usr/lib/system/libsystem_collections.dylib'1623install-name: '/usr/lib/system/libsystem_collections.dylib'
1560current-version: 1752.120.21624current-version: 1786.0.3
1561parent-umbrella:1625parent-umbrella:
1562 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1626 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1627 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1563 umbrella: System1628 umbrella: System
1564exports:1629exports:
1565 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1630 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1631 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1566 symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete, 1632 symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete,
1567 _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach, 1633 _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach,
1568 _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count, 1634 _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count,
...@@ -1572,24 +1638,30 @@ exports:...@@ -1572,24 +1638,30 @@ exports:
1572 _os_map_64_init, _os_map_64_insert, _os_map_str_clear, _os_map_str_count, 1638 _os_map_64_init, _os_map_64_insert, _os_map_str_clear, _os_map_str_count,
1573 _os_map_str_delete, _os_map_str_destroy, _os_map_str_entry, 1639 _os_map_str_delete, _os_map_str_destroy, _os_map_str_entry,
1574 _os_map_str_find, _os_map_str_foreach, _os_map_str_init, _os_map_str_insert, 1640 _os_map_str_find, _os_map_str_foreach, _os_map_str_init, _os_map_str_insert,
1575 _os_set_32_ptr_clear, _os_set_32_ptr_count, _os_set_32_ptr_delete, 1641 _os_set_128_ptr_clear, _os_set_128_ptr_count, _os_set_128_ptr_delete,
1576 _os_set_32_ptr_destroy, _os_set_32_ptr_find, _os_set_32_ptr_foreach, 1642 _os_set_128_ptr_destroy, _os_set_128_ptr_find, _os_set_128_ptr_foreach,
1577 _os_set_32_ptr_init, _os_set_32_ptr_insert, _os_set_64_ptr_clear, 1643 _os_set_128_ptr_init, _os_set_128_ptr_insert, _os_set_32_ptr_clear,
1578 _os_set_64_ptr_count, _os_set_64_ptr_delete, _os_set_64_ptr_destroy, 1644 _os_set_32_ptr_count, _os_set_32_ptr_delete, _os_set_32_ptr_destroy,
1579 _os_set_64_ptr_find, _os_set_64_ptr_foreach, _os_set_64_ptr_init, 1645 _os_set_32_ptr_find, _os_set_32_ptr_foreach, _os_set_32_ptr_init,
1580 _os_set_64_ptr_insert, _os_set_str_ptr_clear, _os_set_str_ptr_count, 1646 _os_set_32_ptr_insert, _os_set_64_ptr_clear, _os_set_64_ptr_count,
1581 _os_set_str_ptr_delete, _os_set_str_ptr_destroy, _os_set_str_ptr_find, 1647 _os_set_64_ptr_delete, _os_set_64_ptr_destroy, _os_set_64_ptr_find,
1582 _os_set_str_ptr_foreach, _os_set_str_ptr_init, _os_set_str_ptr_insert ]1648 _os_set_64_ptr_foreach, _os_set_64_ptr_init, _os_set_64_ptr_insert,
1649 _os_set_str_ptr_clear, _os_set_str_ptr_count, _os_set_str_ptr_delete,
1650 _os_set_str_ptr_destroy, _os_set_str_ptr_find, _os_set_str_ptr_foreach,
1651 _os_set_str_ptr_init, _os_set_str_ptr_insert ]
1583--- !tapi-tbd1652--- !tapi-tbd
1584tbd-version: 41653tbd-version: 4
1585targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1654targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1655 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1586install-name: '/usr/lib/system/libsystem_configuration.dylib'1656install-name: '/usr/lib/system/libsystem_configuration.dylib'
1587current-version: 1405.120.51657current-version: 1446
1588parent-umbrella:1658parent-umbrella:
1589 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1659 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1660 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1590 umbrella: System1661 umbrella: System
1591exports:1662exports:
1592 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1663 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1664 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1593 symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent, 1665 symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent,
1594 __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack, 1666 __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack,
1595 __nwi_state_force_refresh, _config_agent_copy_dns_information, 1667 __nwi_state_force_refresh, _config_agent_copy_dns_information,
...@@ -1606,18 +1678,24 @@ exports:...@@ -1606,18 +1678,24 @@ exports:
1606 _nwi_state_get_reachability_flags, _nwi_state_release ]1678 _nwi_state_get_reachability_flags, _nwi_state_release ]
1607--- !tapi-tbd1679--- !tapi-tbd
1608tbd-version: 41680tbd-version: 4
1609targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1681targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1682 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1610install-name: '/usr/lib/system/libsystem_containermanager.dylib'1683install-name: '/usr/lib/system/libsystem_containermanager.dylib'
1611parent-umbrella:1684parent-umbrella:
1612 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1685 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1686 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1613 umbrella: System1687 umbrella: System
1614exports:1688exports:
1615 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1689 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1690 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1616 symbols: [ _CMCONTAINERSEAM_DEFAULT, _CMDISPATCHSEAM_DEFAULT, _CMFSSEAM_DEFAULT, 1691 symbols: [ _CMCONTAINERSEAM_DEFAULT, _CMDISPATCHSEAM_DEFAULT, _CMFSSEAM_DEFAULT,
1617 _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT, _CMQUARANTINESEAM_DEFAULT, 1692 _CMKPERSONASEAM_DEFAULT, _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT,
1618 _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES, _CONTAINER_NOTIFY_GENERATION_INITIAL, 1693 _CMQUARANTINESEAM_DEFAULT, _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES,
1694 _CONTAINER_MODE_ERROR, _CONTAINER_NOTIFY_GENERATION_INITIAL,
1619 _CONTAINER_NOTIFY_GENERATION_INVALID, _CONTAINER_NOTIFY_USER_INVALIDATED, 1695 _CONTAINER_NOTIFY_GENERATION_INVALID, _CONTAINER_NOTIFY_USER_INVALIDATED,
1620 _CONTAINER_PERSONA_CURRENT, _CONTAINER_PERSONA_PRIMARY, __container_init, 1696 _CONTAINER_PERSONA_ALL_AVAILABLE, _CONTAINER_PERSONA_CURRENT,
1697 _CONTAINER_PERSONA_PRIMARY, _CONTAINER_POSIX_OWNERSHIP_NULL,
1698 _CONTAINER_TRAVERSE_ATTR_ENTRY_LENGTH_FIELD_SIZE, __container_init,
1621 __container_notify_copy_notify_name, __container_query_get_next_result_sync, 1699 __container_notify_copy_notify_name, __container_query_get_next_result_sync,
1622 __container_query_get_result_at_index, __container_query_get_servicing_pid, 1700 __container_query_get_result_at_index, __container_query_get_servicing_pid,
1623 __container_query_operation_set_private_flags, __container_query_reset_iterator, 1701 __container_query_operation_set_private_flags, __container_query_reset_iterator,
...@@ -1631,8 +1709,9 @@ exports:...@@ -1631,8 +1709,9 @@ exports:
1631 _container_audit_token_copy_entitlement, _container_audit_token_copy_executable_name, 1709 _container_audit_token_copy_entitlement, _container_audit_token_copy_executable_name,
1632 _container_audit_token_copy_executable_name_with_pid, _container_audit_token_for_pid, 1710 _container_audit_token_copy_executable_name_with_pid, _container_audit_token_for_pid,
1633 _container_audit_token_get_codesign_status, _container_audit_token_get_egid, 1711 _container_audit_token_get_codesign_status, _container_audit_token_get_egid,
1634 _container_audit_token_get_euid, _container_audit_token_get_pid, 1712 _container_audit_token_get_euid, _container_audit_token_get_launch_persona,
1635 _container_audit_token_get_platform, _container_audit_token_is_valid, 1713 _container_audit_token_get_pid, _container_audit_token_get_platform,
1714 _container_audit_token_get_uid, _container_audit_token_is_valid,
1636 _container_authorize, _container_authorize_container, _container_authorize_container_for_self, 1715 _container_authorize, _container_authorize_container, _container_authorize_container_for_self,
1637 _container_authorize_get_result_description, _container_base64_decode, 1716 _container_authorize_get_result_description, _container_base64_decode,
1638 _container_base64_decode_string, _container_base64_encode, 1717 _container_base64_decode_string, _container_base64_encode,
...@@ -1642,10 +1721,12 @@ exports:...@@ -1642,10 +1721,12 @@ exports:
1642 _container_class_supports_randomized_path, _container_class_supports_randomized_path_on_current_platform, 1721 _container_class_supports_randomized_path, _container_class_supports_randomized_path_on_current_platform,
1643 _container_client_copy_decoded_from_xpc_object, _container_client_copy_encoded_xpc_object, 1722 _container_client_copy_decoded_from_xpc_object, _container_client_copy_encoded_xpc_object,
1644 _container_client_copy_entitlement, _container_client_create_from_audit_token, 1723 _container_client_copy_entitlement, _container_client_create_from_audit_token,
1724 _container_client_create_from_audit_token_with_launch_persona,
1645 _container_client_get_audit_token, _container_client_get_codesign_identifier, 1725 _container_client_get_audit_token, _container_client_get_codesign_identifier,
1646 _container_client_get_codesign_team_identifier, _container_client_get_egid, 1726 _container_client_get_codesign_team_identifier, _container_client_get_egid,
1647 _container_client_get_euid, _container_client_get_persona_unique_string, 1727 _container_client_get_euid, _container_client_get_launch_persona,
1648 _container_client_get_pid, _container_client_get_platform, 1728 _container_client_get_persona_unique_string, _container_client_get_pid,
1729 _container_client_get_platform, _container_client_get_uid,
1649 _container_client_initializer, _container_client_is_alive, 1730 _container_client_initializer, _container_client_is_alive,
1650 _container_client_is_platform_binary, _container_client_is_sandboxed, 1731 _container_client_is_platform_binary, _container_client_is_sandboxed,
1651 _container_client_is_signature_valid, _container_client_is_signed, 1732 _container_client_is_signature_valid, _container_client_is_signed,
...@@ -1665,6 +1746,7 @@ exports:...@@ -1665,6 +1746,7 @@ exports:
1665 _container_create_or_lookup_path_for_current_user, _container_create_or_lookup_path_for_platform, 1746 _container_create_or_lookup_path_for_current_user, _container_create_or_lookup_path_for_platform,
1666 _container_create_or_lookup_system_group_paths, _container_create_or_lookup_user_managed_assets_path, 1747 _container_create_or_lookup_system_group_paths, _container_create_or_lookup_user_managed_assets_path,
1667 _container_create_or_lookup_user_managed_assets_relative_path, 1748 _container_create_or_lookup_user_managed_assets_relative_path,
1749 _container_debug_copy_state, _container_debug_dump_state,
1668 _container_delete, _container_delete_all_container_content, 1750 _container_delete, _container_delete_all_container_content,
1669 _container_delete_all_data_container_content_for_current_user, 1751 _container_delete_all_data_container_content_for_current_user,
1670 _container_delete_array_of_containers, _container_delete_user_managed_assets, 1752 _container_delete_array_of_containers, _container_delete_user_managed_assets,
...@@ -1685,6 +1767,7 @@ exports:...@@ -1685,6 +1767,7 @@ exports:
1685 _container_frozenset_get_count, _container_frozenset_get_creator_of_container_at_index, 1767 _container_frozenset_get_count, _container_frozenset_get_creator_of_container_at_index,
1686 _container_frozenset_get_generation, _container_frozenset_get_identifier_of_container_at_index, 1768 _container_frozenset_get_generation, _container_frozenset_get_identifier_of_container_at_index,
1687 _container_frozenset_get_is_new_of_container_at_index, _container_frozenset_get_is_transient_of_container_at_index, 1769 _container_frozenset_get_is_new_of_container_at_index, _container_frozenset_get_is_transient_of_container_at_index,
1770 _container_frozenset_get_ownership_of_container_at_index,
1688 _container_frozenset_get_path_of_container_at_index, _container_frozenset_get_persona_unique_string_of_container_at_index, 1771 _container_frozenset_get_path_of_container_at_index, _container_frozenset_get_persona_unique_string_of_container_at_index,
1689 _container_frozenset_get_stored_string, _container_frozenset_get_uid_of_container_at_index, 1772 _container_frozenset_get_stored_string, _container_frozenset_get_uid_of_container_at_index,
1690 _container_frozenset_get_uma_relative_path_of_container_at_index, 1773 _container_frozenset_get_uma_relative_path_of_container_at_index,
...@@ -1692,11 +1775,12 @@ exports:...@@ -1692,11 +1775,12 @@ exports:
1692 _container_frozenset_get_uuid_of_container_at_index, _container_fs_add_path_component, 1775 _container_frozenset_get_uuid_of_container_at_index, _container_fs_add_path_component,
1693 _container_fs_append_trailing_slash, _container_fs_item_exists, 1776 _container_fs_append_trailing_slash, _container_fs_item_exists,
1694 _container_fs_item_exists_at, _container_fs_load_plist_at, 1777 _container_fs_item_exists_at, _container_fs_load_plist_at,
1695 _container_fs_path_at, _container_fs_resolve_dirent_type_at, 1778 _container_fs_parse_mode_string, _container_fs_path_at, _container_fs_resolve_dirent_type_at,
1696 _container_get_all_with_class_for_current_user, _container_get_class, 1779 _container_fs_set_mode_string, _container_get_all_with_class_for_current_user,
1697 _container_get_creator_codesign_identifier, _container_get_error_description, 1780 _container_get_class, _container_get_creator_codesign_identifier,
1698 _container_get_identifier, _container_get_info, _container_get_info_value_for_key, 1781 _container_get_error_description, _container_get_identifier,
1699 _container_get_path, _container_get_persona_unique_string, 1782 _container_get_info, _container_get_info_value_for_key, _container_get_path,
1783 _container_get_persona_unique_string, _container_get_posix_ownership,
1700 _container_get_uid, _container_get_unique_path_component, 1784 _container_get_uid, _container_get_unique_path_component,
1701 _container_get_user_managed_assets_relative_path, _container_group_container_identifiers_for_current_user, 1785 _container_get_user_managed_assets_relative_path, _container_group_container_identifiers_for_current_user,
1702 _container_info_delete, _container_info_modify, _container_info_put, 1786 _container_info_delete, _container_info_modify, _container_info_put,
...@@ -1705,44 +1789,50 @@ exports:...@@ -1705,44 +1789,50 @@ exports:
1705 _container_log_client_fault_logging_is_enabled, _container_log_error, 1789 _container_log_client_fault_logging_is_enabled, _container_log_error,
1706 _container_log_error_with_faults, _container_log_ext_error, 1790 _container_log_error_with_faults, _container_log_ext_error,
1707 _container_log_ext_error_with_faults, _container_log_handle_for_category, 1791 _container_log_ext_error_with_faults, _container_log_handle_for_category,
1708 _container_log_replication_disable, _container_log_replication_enable_to_uid_relative_path, 1792 _container_log_set_client_fault_logging, _container_notify_cancel_generation_handler,
1709 _container_log_replication_prune_for_uid, _container_log_set_client_fault_logging,
1710 _container_notify_create, _container_notify_create_with_class, 1793 _container_notify_create, _container_notify_create_with_class,
1711 _container_notify_create_with_initial_gen_count, _container_notify_free, 1794 _container_notify_create_with_initial_gen_count, _container_notify_free,
1712 _container_notify_get_generation, _container_notify_get_last_error, 1795 _container_notify_get_generation, _container_notify_get_last_error,
1713 _container_notify_has_changed, _container_notify_increment_generation, 1796 _container_notify_has_changed, _container_notify_increment_generation,
1714 _container_notify_post, _container_notify_set_class, _container_notify_set_event_handler, 1797 _container_notify_post, _container_notify_register_generation_handler,
1798 _container_notify_set_class, _container_notify_set_event_handler,
1715 _container_notify_set_flags, _container_notify_set_generation, 1799 _container_notify_set_flags, _container_notify_set_generation,
1716 _container_notify_set_queue, _container_notify_set_uid, _container_notify_start, 1800 _container_notify_set_queue, _container_notify_set_uid, _container_notify_start,
1717 _container_notify_stop, _container_object_copy, _container_object_create, 1801 _container_notify_stop, _container_object_copy, _container_object_create,
1718 _container_object_create_blank, _container_object_free, _container_object_get_class, 1802 _container_object_create_blank, _container_object_free, _container_object_get_class,
1719 _container_object_get_creator_codesign_identifier, _container_object_get_identifier, 1803 _container_object_get_creator_codesign_identifier, _container_object_get_identifier,
1720 _container_object_get_info, _container_object_get_path, _container_object_get_persona_unique_string, 1804 _container_object_get_info, _container_object_get_path, _container_object_get_persona_unique_string,
1721 _container_object_get_query, _container_object_get_sandbox_token, 1805 _container_object_get_posix_ownership, _container_object_get_query,
1722 _container_object_get_uid, _container_object_get_unique_path_component, 1806 _container_object_get_sandbox_token, _container_object_get_uid,
1723 _container_object_get_user_managed_assets_relative_path, _container_object_get_uuid, 1807 _container_object_get_unique_path_component, _container_object_get_user_managed_assets_relative_path,
1724 _container_object_is_new, _container_object_is_transient, 1808 _container_object_get_uuid, _container_object_is_new, _container_object_is_transient,
1725 _container_object_sandbox_extension_activate, _container_object_set_backing_store_from_query, 1809 _container_object_sandbox_extension_activate, _container_object_set_backing_store_from_query,
1726 _container_object_set_class, _container_object_set_creator_codesign_identifier, 1810 _container_object_set_class, _container_object_set_creator_codesign_identifier,
1727 _container_object_set_info, _container_object_set_is_new, 1811 _container_object_set_info, _container_object_set_is_new,
1728 _container_object_set_path, _container_object_set_sandbox_token, 1812 _container_object_set_path, _container_object_set_posix_ownership,
1729 _container_object_set_transient, _container_object_set_unique_path_component, 1813 _container_object_set_sandbox_token, _container_object_set_transient,
1730 _container_object_set_user_managed_assets_relative_path, _container_object_set_uuid, 1814 _container_object_set_unique_path_component, _container_object_set_user_managed_assets_relative_path,
1731 _container_object_update_metadata, _container_operation_complete_background_tasks, 1815 _container_object_set_uuid, _container_object_update_metadata,
1732 _container_operation_delete, _container_operation_delete_array, 1816 _container_operation_complete_background_tasks, _container_operation_delete,
1733 _container_operation_delete_reclaim_disk_space, _container_paths_context_create, 1817 _container_operation_delete_array, _container_operation_delete_reclaim_disk_space,
1818 _container_operation_set_data_protection, _container_paths_context_create,
1734 _container_paths_context_free, _container_paths_context_set_class, 1819 _container_paths_context_free, _container_paths_context_set_class,
1735 _container_paths_context_set_flags, _container_paths_context_set_persona_unique_string, 1820 _container_paths_context_set_flags, _container_paths_context_set_persona_unique_string,
1736 _container_paths_context_set_transient, _container_paths_context_set_uid, 1821 _container_paths_context_set_transient, _container_paths_context_set_uid,
1737 _container_paths_copy_container_at, _container_paths_copy_container_from_path, 1822 _container_paths_copy_container_at, _container_paths_copy_container_from_managed_prefix_path,
1738 _container_paths_copy_container_root_path_for_context, _container_paths_copy_part_subpath, 1823 _container_paths_copy_container_from_path, _container_paths_copy_container_root_path_for_context,
1739 _container_paths_copy_uid_home_relative, _container_paths_create_uid_home_relative, 1824 _container_paths_copy_part_subpath, _container_paths_copy_uid_home_relative,
1740 _container_paths_enumerate_containers_at, _container_perfect_hash_copyout_external_bytes, 1825 _container_paths_create_uid_home_relative, _container_paths_enumerate_containers_at,
1741 _container_perfect_hash_count, _container_perfect_hash_create, 1826 _container_perfect_hash_copyout_external_bytes, _container_perfect_hash_count,
1742 _container_perfect_hash_create_from_external_bytes, _container_perfect_hash_destroy, 1827 _container_perfect_hash_create, _container_perfect_hash_create_from_external_bytes,
1743 _container_perfect_hash_index_of, _container_perfect_hash_num_indexes, 1828 _container_perfect_hash_destroy, _container_perfect_hash_index_of,
1744 _container_perform_with_client_context, _container_persona_collect_all_ids, 1829 _container_perfect_hash_num_indexes, _container_perform_with_client_context,
1745 _container_persona_convert_unique_string_to_persona_uid, _container_persona_foreach, 1830 _container_persona_collect_all_ids, _container_persona_convert_unique_string_to_persona_uid,
1831 _container_persona_copy, _container_persona_copy_from_persona_id,
1832 _container_persona_copy_from_voucher_proximate, _container_persona_foreach,
1833 _container_persona_foreach_path_by_type, _container_persona_free,
1834 _container_persona_get_unique_string, _container_posix_ownership_copy_unlocalized_description,
1835 _container_posix_ownership_default, _container_posix_ownership_is_null,
1746 _container_process_restored_container, _container_pwd_copy_user_home_path, 1836 _container_process_restored_container, _container_pwd_copy_user_home_path,
1747 _container_pwd_for_name, _container_pwd_for_uid, _container_pwd_get_cached_current_user_home_path, 1837 _container_pwd_for_name, _container_pwd_for_uid, _container_pwd_get_cached_current_user_home_path,
1748 _container_pwd_get_mobile_user_uid, _container_query_copy, 1838 _container_pwd_get_mobile_user_uid, _container_query_copy,
...@@ -1752,8 +1842,9 @@ exports:...@@ -1752,8 +1842,9 @@ exports:
1752 _container_query_iterate_results_with_subquery_sync, _container_query_operation_set_client, 1842 _container_query_iterate_results_with_subquery_sync, _container_query_operation_set_client,
1753 _container_query_operation_set_flags, _container_query_operation_set_part, 1843 _container_query_operation_set_flags, _container_query_operation_set_part,
1754 _container_query_operation_set_part_domain, _container_query_operation_set_platform, 1844 _container_query_operation_set_part_domain, _container_query_operation_set_platform,
1755 _container_query_set_class, _container_query_set_group_identifiers, 1845 _container_query_set_class, _container_query_set_container_identifiers,
1756 _container_query_set_identifiers, _container_query_set_include_other_owners, 1846 _container_query_set_group_identifiers, _container_query_set_identifiers,
1847 _container_query_set_include_other_owners, _container_query_set_ownership,
1757 _container_query_set_persona_unique_string, _container_query_set_transient, 1848 _container_query_set_persona_unique_string, _container_query_set_transient,
1758 _container_query_set_uid, _container_realpath, _container_realpathat, 1849 _container_query_set_uid, _container_realpath, _container_realpathat,
1759 _container_recreate_structure, _container_references_get_last_error, 1850 _container_recreate_structure, _container_references_get_last_error,
...@@ -1763,7 +1854,8 @@ exports:...@@ -1763,7 +1854,8 @@ exports:
1763 _container_sandbox_issue_extension, _container_seam_container_reset, 1854 _container_sandbox_issue_extension, _container_seam_container_reset,
1764 _container_seam_container_set_common, _container_seam_dispatch_reset, 1855 _container_seam_container_set_common, _container_seam_dispatch_reset,
1765 _container_seam_dispatch_set_common, _container_seam_fs_ensure_lazy_loaded, 1856 _container_seam_dispatch_set_common, _container_seam_fs_ensure_lazy_loaded,
1766 _container_seam_fs_reset, _container_seam_fs_set_common, _container_seam_notify_reset, 1857 _container_seam_fs_reset, _container_seam_fs_set_common, _container_seam_kpersona_reset,
1858 _container_seam_kpersona_set_common, _container_seam_notify_reset,
1767 _container_seam_notify_set_common, _container_seam_pwd_reset, 1859 _container_seam_notify_set_common, _container_seam_pwd_reset,
1768 _container_seam_pwd_set_common, _container_seam_quarantine_reset, 1860 _container_seam_pwd_set_common, _container_seam_quarantine_reset,
1769 _container_seam_quarantine_set_common, _container_seam_sandbox_reset, 1861 _container_seam_quarantine_set_common, _container_seam_sandbox_reset,
...@@ -1791,10 +1883,12 @@ exports:...@@ -1791,10 +1883,12 @@ exports:
1791 _container_user_managed_assets_relative_path, _container_xpc_connection_is_shared, 1883 _container_user_managed_assets_relative_path, _container_xpc_connection_is_shared,
1792 _container_xpc_create_connection, _container_xpc_decode_container_object, 1884 _container_xpc_create_connection, _container_xpc_decode_container_object,
1793 _container_xpc_decode_create_container_object_array, _container_xpc_decode_error, 1885 _container_xpc_decode_create_container_object_array, _container_xpc_decode_error,
1886 _container_xpc_decode_ownership_object, _container_xpc_decode_persona_object,
1794 _container_xpc_encode_client_onto_message, _container_xpc_encode_container_array, 1887 _container_xpc_encode_client_onto_message, _container_xpc_encode_container_array,
1795 _container_xpc_encode_container_as_object, _container_xpc_encode_container_metadata_as_object, 1888 _container_xpc_encode_container_as_object, _container_xpc_encode_container_metadata_as_object,
1796 _container_xpc_encode_container_object, _container_xpc_encode_error, 1889 _container_xpc_encode_container_object, _container_xpc_encode_error,
1797 _container_xpc_encode_error_as_object, _container_xpc_get_incoming_reply_preprocess_block, 1890 _container_xpc_encode_error_as_object, _container_xpc_encode_ownership_as_object,
1891 _container_xpc_encode_persona_as_object, _container_xpc_get_incoming_reply_preprocess_block,
1798 _container_xpc_get_outgoing_message_postprocess_block, _container_xpc_get_outgoing_message_send_block, 1892 _container_xpc_get_outgoing_message_postprocess_block, _container_xpc_get_outgoing_message_send_block,
1799 _container_xpc_get_raw_connection, _container_xpc_invalidate_connection, 1893 _container_xpc_get_raw_connection, _container_xpc_invalidate_connection,
1800 _container_xpc_release, _container_xpc_send_message, _container_xpc_send_sync_message, 1894 _container_xpc_release, _container_xpc_send_message, _container_xpc_send_sync_message,
...@@ -1802,9 +1896,9 @@ exports:...@@ -1802,9 +1896,9 @@ exports:
1802 _container_xpc_set_incoming_reply_preprocess_block, _container_xpc_set_outgoing_message_postprocess_block, 1896 _container_xpc_set_incoming_reply_preprocess_block, _container_xpc_set_outgoing_message_postprocess_block,
1803 _container_xpc_set_outgoing_message_send_block, _container_xpc_set_use_shared_connection, 1897 _container_xpc_set_outgoing_message_send_block, _container_xpc_set_use_shared_connection,
1804 _container_xpc_shared_copy_connection, _gCMContainerSeam, 1898 _container_xpc_shared_copy_connection, _gCMContainerSeam,
1805 _gCMDispatchSeam, _gCMFSSeam, _gCMNotifySeam, _gCMPWDSeam, 1899 _gCMDispatchSeam, _gCMFSSeam, _gCMKPersonaSeam, _gCMNotifySeam,
1806 _gCMQuarantineSeam, _gCMSandboxSeam ]1900 _gCMPWDSeam, _gCMQuarantineSeam, _gCMSandboxSeam ]
1807 - targets: [ x86_64-maccatalyst, arm64e-maccatalyst ]1901 - targets: [ x86_64-maccatalyst, arm64e-maccatalyst, arm64e.x1-maccatalyst ]
1808 symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID, 1902 symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID,
1809 _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths, 1903 _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths,
1810 _container_create_or_lookup_group_container_paths_for_current_user, 1904 _container_create_or_lookup_group_container_paths_for_current_user,
...@@ -1818,32 +1912,38 @@ exports:...@@ -1818,32 +1912,38 @@ exports:
1818 _container_references_set_uid ]1912 _container_references_set_uid ]
1819--- !tapi-tbd1913--- !tapi-tbd
1820tbd-version: 41914tbd-version: 4
1821targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1915targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1916 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1822install-name: '/usr/lib/system/libsystem_coreservices.dylib'1917install-name: '/usr/lib/system/libsystem_coreservices.dylib'
1823current-version: 1291918current-version: 129
1824parent-umbrella:1919parent-umbrella:
1825 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1920 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1921 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1826 umbrella: System1922 umbrella: System
1827exports:1923exports:
1828 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1924 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1925 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1829 symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration, 1926 symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration,
1830 _NSStartSearchPathEnumerationPrivate, ___user_local_dirname, 1927 _NSStartSearchPathEnumerationPrivate, ___user_local_dirname,
1831 ___user_relative_dirname, __dirhelper, __dirhelper_relative, 1928 ___user_relative_dirname, __dirhelper, __dirhelper_relative,
1832 __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix, 1929 __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix,
1833 _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration, 1930 _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration,
1834 _sysdir_start_search_path_enumeration_private ]1931 _sysdir_start_search_path_enumeration_private ]
1835 - targets: [ x86_64-macos, arm64e-macos ]1932 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
1836 symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints, 1933 symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints,
1837 __dirhelper_remove_test, __dirhelper_test, __idle_exit ]1934 __dirhelper_remove_test, __dirhelper_test, __idle_exit ]
1838--- !tapi-tbd1935--- !tapi-tbd
1839tbd-version: 41936tbd-version: 4
1840targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1937targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1938 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1841install-name: '/usr/lib/system/libsystem_darwin.dylib'1939install-name: '/usr/lib/system/libsystem_darwin.dylib'
1842parent-umbrella:1940parent-umbrella:
1843 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1941 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1942 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1844 umbrella: System1943 umbrella: System
1845exports:1944exports:
1846 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1945 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1946 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1847 symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np, 1947 symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np,
1848 _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np, 1948 _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np,
1849 _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np, 1949 _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np,
...@@ -1853,46 +1953,52 @@ exports:...@@ -1853,46 +1953,52 @@ exports:
1853 _os_crash_spawnattr_set_reporter_port, _os_enumerate_boot_args, 1953 _os_crash_spawnattr_set_reporter_port, _os_enumerate_boot_args,
1854 _os_enumerate_boot_args_b, _os_enumerate_boot_args_from_buffer, 1954 _os_enumerate_boot_args_b, _os_enumerate_boot_args_from_buffer,
1855 _os_enumerate_boot_args_from_buffer_b, _os_flagset_copy_string, 1955 _os_enumerate_boot_args_from_buffer_b, _os_flagset_copy_string,
1856 _os_localtime_file, _os_mach_msg_copy_description, _os_mach_msg_get_audit_trailer, 1956 _os_localtime_file, _os_lockdown_mode_enabled, _os_mach_msg_copy_description,
1857 _os_mach_msg_get_context_trailer, _os_mach_msg_get_trailer, 1957 _os_mach_msg_get_audit_trailer, _os_mach_msg_get_context_trailer,
1858 _os_mach_msg_trailer_copy_description, _os_mach_port_copy_description, 1958 _os_mach_msg_get_trailer, _os_mach_msg_trailer_copy_description,
1859 _os_parse_boot_arg_from_buffer_int, _os_parse_boot_arg_from_buffer_string, 1959 _os_mach_port_copy_description, _os_parse_boot_arg_from_buffer_int,
1860 _os_parse_boot_arg_int, _os_parse_boot_arg_string, _os_simple_hash, 1960 _os_parse_boot_arg_from_buffer_string, _os_parse_boot_arg_int,
1861 _os_simple_hash_string, _os_simple_hash_string_with_seed, 1961 _os_parse_boot_arg_string, _os_simple_hash, _os_simple_hash_string,
1862 _os_simple_hash_with_seed, _os_subcommand_fprintf, _os_subcommand_main, 1962 _os_simple_hash_string_with_seed, _os_simple_hash_with_seed,
1863 _os_subcommand_vfprintf, _os_variant_allows_internal_security_policies, 1963 _os_subcommand_fprintf, _os_subcommand_main, _os_subcommand_vfprintf,
1864 _os_variant_allows_security_research, _os_variant_check, _os_variant_copy_description, 1964 _os_variant_allows_internal_security_policies, _os_variant_allows_security_research,
1865 _os_variant_has_factory_content, _os_variant_has_internal_content, 1965 _os_variant_check, _os_variant_copy_description, _os_variant_has_factory_content,
1866 _os_variant_has_internal_diagnostics, _os_variant_has_internal_ui, 1966 _os_variant_has_internal_content, _os_variant_has_internal_diagnostics,
1867 _os_variant_init_4launchd, _os_variant_is_darwinos, _os_variant_is_recovery, 1967 _os_variant_has_internal_ui, _os_variant_init_4launchd, _os_variant_is_darwinos,
1868 _os_variant_uses_ephemeral_storage, _realpath_np, _strerror_np, 1968 _os_variant_is_recovery, _os_variant_uses_ephemeral_storage,
1869 _strexit_np, _symerror_np, _symexit_np, _sysctl_get_data_np, 1969 _realpath_np, _strerror_np, _strexit_np, _symerror_np, _symexit_np,
1870 _sysctlbyname_get_data_np, _sysexit_np, _vcrfprintf_np, _verr_np, 1970 _sysctl_get_data_np, _sysctlbyname_get_data_np, _sysexit_np,
1871 _verrc_np, _vwarn_np, _vwfprintf_np, _warn_np, _wfprintf_np, 1971 _vcrfprintf_np, _verr_np, _verrc_np, _vwarn_np, _vwfprintf_np,
1872 _xferfd_np, _zsnprintf_np ]1972 _warn_np, _wfprintf_np, _xferfd_np, _zsnprintf_np ]
1873 - targets: [ x86_64-macos, arm64e-macos ]1973 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
1874 symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ]1974 symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ]
1875--- !tapi-tbd1975--- !tapi-tbd
1876tbd-version: 41976tbd-version: 4
1877targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1977targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1978 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1878install-name: '/usr/lib/system/libsystem_darwindirectory.dylib'1979install-name: '/usr/lib/system/libsystem_darwindirectory.dylib'
1879parent-umbrella:1980parent-umbrella:
1880 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1981 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1982 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1881 umbrella: System1983 umbrella: System
1882exports:1984exports:
1883 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1985 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1986 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1884 symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply, 1987 symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply,
1885 _DarwinDirectoryRecordStoreApplyWithFilter ]1988 _DarwinDirectoryRecordStoreApplyWithFilter ]
1886--- !tapi-tbd1989--- !tapi-tbd
1887tbd-version: 41990tbd-version: 4
1888targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1991targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1992 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1889install-name: '/usr/lib/system/libsystem_dnssd.dylib'1993install-name: '/usr/lib/system/libsystem_dnssd.dylib'
1890current-version: 2881.120.111994current-version: 3111.0.5
1891parent-umbrella:1995parent-umbrella:
1892 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]1996 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
1997 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1893 umbrella: System1998 umbrella: System
1894exports:1999exports:
1895 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2000 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2001 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1896 symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree, 2002 symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree,
1897 _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData, 2003 _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData,
1898 _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate, 2004 _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate,
...@@ -1920,42 +2026,49 @@ exports:...@@ -1920,42 +2026,49 @@ exports:
1920 _kDNSServiceAttributeAAAAFallback ]2026 _kDNSServiceAttributeAAAAFallback ]
1921--- !tapi-tbd2027--- !tapi-tbd
1922tbd-version: 42028tbd-version: 4
1923targets: [ x86_64-macos, arm64e-macos ]2029targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
1924install-name: '/usr/lib/system/libsystem_eligibility.dylib'2030install-name: '/usr/lib/system/libsystem_eligibility.dylib'
1925current-version: 319.121.12031current-version: 446.1.3
1926parent-umbrella:2032parent-umbrella:
1927 - targets: [ x86_64-macos, arm64e-macos ]2033 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
1928 umbrella: System2034 umbrella: System
1929exports:2035exports:
1930 - targets: [ x86_64-macos, arm64e-macos ]2036 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
1931 symbols: [ _os_eligibility_domain_for_name, _os_eligibility_dump_sysdiagnose_data_to_dir, 2037 symbols: [ _os_eligibility_bring_up_daemon_4_migration, _os_eligibility_bring_up_daemon_4_secure_erase,
1932 _os_eligibility_fetch_newest_policies, _os_eligibility_force_domain_answer, 2038 _os_eligibility_diff_mobile_asset, _os_eligibility_domain_for_name,
1933 _os_eligibility_force_domain_set_answers, _os_eligibility_get_all_domain_answers, 2039 _os_eligibility_dump_sysdiagnose_data_to_dir, _os_eligibility_fetch_newest_policies,
1934 _os_eligibility_get_domain_answer, _os_eligibility_get_domain_notification_name, 2040 _os_eligibility_force_domain_answer, _os_eligibility_force_domain_set_answers,
1935 _os_eligibility_get_error_description, _os_eligibility_get_internal_state, 2041 _os_eligibility_get_all_domain_answers, _os_eligibility_get_domain_answer,
1936 _os_eligibility_get_state_dump, _os_eligibility_precise_locations, 2042 _os_eligibility_get_domain_notification_name, _os_eligibility_get_error_description,
1937 _os_eligibility_reset_all_domains, _os_eligibility_reset_domain, 2043 _os_eligibility_get_internal_state, _os_eligibility_get_state_dump,
1938 _os_eligibility_set_input, _os_eligibility_set_test_mode ]2044 _os_eligibility_precise_locations, _os_eligibility_reset_all_domains,
2045 _os_eligibility_reset_domain, _os_eligibility_set_input, _os_eligibility_set_test_mode ]
1939--- !tapi-tbd2046--- !tapi-tbd
1940tbd-version: 42047tbd-version: 4
1941targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2048targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2049 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1942install-name: '/usr/lib/system/libsystem_featureflags.dylib'2050install-name: '/usr/lib/system/libsystem_featureflags.dylib'
1943current-version: 1032051current-version: 108
1944parent-umbrella:2052parent-umbrella:
1945 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2053 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2054 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1946 umbrella: System2055 umbrella: System
1947exports:2056exports:
1948 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2057 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2058 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1949 symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ]2059 symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ]
1950--- !tapi-tbd2060--- !tapi-tbd
1951tbd-version: 42061tbd-version: 4
1952targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2062targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2063 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1953install-name: '/usr/lib/system/libsystem_info.dylib'2064install-name: '/usr/lib/system/libsystem_info.dylib'
1954parent-umbrella:2065parent-umbrella:
1955 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2066 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2067 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1956 umbrella: System2068 umbrella: System
1957exports:2069exports:
1958 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2070 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2071 arm64e.x1-macos, arm64e.x1-maccatalyst ]
1959 symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create, 2072 symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create,
1960 _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname, 2073 _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname,
1961 __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized, 2074 __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized,
...@@ -2071,12 +2184,12 @@ exports:...@@ -2071,12 +2184,12 @@ exports:
2071--- !tapi-tbd2184--- !tapi-tbd
2072tbd-version: 42185tbd-version: 4
2073targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2186targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2074 arm64e-macos, arm64e-maccatalyst ]2187 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2075install-name: '/usr/lib/system/libsystem_kernel.dylib'2188install-name: '/usr/lib/system/libsystem_kernel.dylib'
2076current-version: 12377.121.62189current-version: 13432.1.9
2077parent-umbrella:2190parent-umbrella:
2078 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2191 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2079 arm64e-macos, arm64e-maccatalyst ]2192 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2080 umbrella: System2193 umbrella: System
2081exports:2194exports:
2082 - targets: [ x86_64-macos, x86_64-maccatalyst ]2195 - targets: [ x86_64-macos, x86_64-maccatalyst ]
...@@ -2084,7 +2197,7 @@ exports:...@@ -2084,7 +2197,7 @@ exports:
2084 '_getfsstat$INODE64', _i386_get_ldt, _i386_set_ldt, '_lstat$INODE64', 2197 '_getfsstat$INODE64', _i386_get_ldt, _i386_set_ldt, '_lstat$INODE64',
2085 '_pselect$1050', '_select$1050', '_stat$INODE64', '_statfs$INODE64' ]2198 '_pselect$1050', '_select$1050', '_stat$INODE64', '_statfs$INODE64' ]
2086 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2199 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2087 arm64e-macos, arm64e-maccatalyst ]2200 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2088 symbols: [ _NDR_record, _____sigwait_nocancel, ____kernelVersionNumber, 2201 symbols: [ _NDR_record, _____sigwait_nocancel, ____kernelVersionNumber,
2089 ____kernelVersionString, ___abort_with_payload, ___accept, 2202 ____kernelVersionString, ___abort_with_payload, ___accept,
2090 ___accept_nocancel, ___access_extended, ___aio_suspend_nocancel, 2203 ___accept_nocancel, ___access_extended, ___aio_suspend_nocancel,
...@@ -2097,16 +2210,16 @@ exports:...@@ -2097,16 +2210,16 @@ exports:
2097 ___csrctl, ___darwin_check_fd_set_overflow, ___debug_syscall_reject, 2210 ___csrctl, ___darwin_check_fd_set_overflow, ___debug_syscall_reject,
2098 ___debug_syscall_reject_config, ___delete, ___disable_threadsignal, 2211 ___debug_syscall_reject_config, ___delete, ___disable_threadsignal,
2099 ___error, ___execve, ___exit, ___fchmod, ___fchmod_extended, 2212 ___error, ___execve, ___exit, ___fchmod, ___fchmod_extended,
2100 ___fcntl, ___fcntl_nocancel, ___fork, ___fs_snapshot, ___fstat64_extended, 2213 ___fchmodat, ___fcntl, ___fcntl_nocancel, ___fork, ___fs_snapshot,
2101 ___fstat_extended, ___fsync_nocancel, ___get_remove_counter, 2214 ___fstat64_extended, ___fstat_extended, ___fsync_nocancel,
2102 ___getattrlist, ___getdirentries64, ___gethostuuid, ___getlogin, 2215 ___get_remove_counter, ___getattrlist, ___getdirentries64,
2103 ___getpeername, ___getpid, ___getrlimit, ___getsgroups, ___getsockname, 2216 ___gethostuuid, ___getlogin, ___getpeername, ___getpid, ___getrlimit,
2104 ___gettid, ___gettimeofday, ___getwgroups, ___guarded_open_dprotected_np, 2217 ___getsgroups, ___getsockname, ___gettid, ___gettimeofday,
2105 ___guarded_open_np, ___identitysvc, ___inc_remove_counter, 2218 ___getwgroups, ___guarded_open_dprotected_np, ___guarded_open_np,
2106 ___initgroups, ___ioctl, ___iopolicysys, ___kdebug_trace, 2219 ___identitysvc, ___inc_remove_counter, ___initgroups, ___ioctl,
2107 ___kdebug_trace64, ___kdebug_trace_string, ___kdebug_typefilter, 2220 ___iopolicysys, ___kdebug_trace, ___kdebug_trace64, ___kdebug_trace_string,
2108 ___kill, ___kqueue_workloop_ctl, ___lchown, ___libkernel_init, 2221 ___kdebug_typefilter, ___kill, ___kqueue_workloop_ctl, ___lchown,
2109 ___libkernel_init_after_boot_tasks, ___libkernel_init_late, 2222 ___libkernel_init, ___libkernel_init_after_boot_tasks, ___libkernel_init_late,
2110 ___libkernel_platform_init, ___libkernel_voucher_init, ___listen, 2223 ___libkernel_platform_init, ___libkernel_voucher_init, ___listen,
2111 ___log_data, ___lseek, ___lstat64_extended, ___lstat_extended, 2224 ___log_data, ___lseek, ___lstat64_extended, ___lstat_extended,
2112 ___mac_execve, ___mac_get_fd, ___mac_get_file, ___mac_get_link, 2225 ___mac_execve, ___mac_get_fd, ___mac_get_file, ___mac_get_link,
...@@ -2124,20 +2237,20 @@ exports:...@@ -2124,20 +2237,20 @@ exports:
2124 ___openat_nocancel, ___os_nexus_flow_add, ___os_nexus_flow_del, 2237 ___openat_nocancel, ___os_nexus_flow_add, ___os_nexus_flow_del,
2125 ___os_nexus_get_llink_info, ___os_nexus_ifattach, ___os_nexus_ifdetach, 2238 ___os_nexus_get_llink_info, ___os_nexus_ifattach, ___os_nexus_ifdetach,
2126 ___oslog_coproc, ___oslog_coproc_reg, ___persona, ___pipe, 2239 ___oslog_coproc, ___oslog_coproc_reg, ___persona, ___pipe,
2127 ___poll_nocancel, ___posix_spawn, ___pread_nocancel, ___preadv_nocancel, 2240 ___pipe2, ___poll_nocancel, ___posix_spawn, ___pread_nocancel,
2128 ___proc_info, ___proc_info_extended_id, ___process_policy, 2241 ___preadv_nocancel, ___proc_info, ___proc_info_extended_id,
2129 ___pselect, ___pselect_nocancel, ___psynch_cvbroad, ___psynch_cvclrprepost, 2242 ___process_policy, ___pselect, ___pselect_nocancel, ___psynch_cvbroad,
2130 ___psynch_cvsignal, ___psynch_cvwait, ___psynch_mutexdrop, 2243 ___psynch_cvclrprepost, ___psynch_cvsignal, ___psynch_cvwait,
2131 ___psynch_mutexwait, ___psynch_rw_downgrade, ___psynch_rw_longrdlock, 2244 ___psynch_mutexdrop, ___psynch_mutexwait, ___psynch_rw_downgrade,
2132 ___psynch_rw_rdlock, ___psynch_rw_unlock, ___psynch_rw_unlock2, 2245 ___psynch_rw_longrdlock, ___psynch_rw_rdlock, ___psynch_rw_unlock,
2133 ___psynch_rw_upgrade, ___psynch_rw_wrlock, ___psynch_rw_yieldwrlock, 2246 ___psynch_rw_unlock2, ___psynch_rw_upgrade, ___psynch_rw_wrlock,
2134 ___pthread_canceled, ___pthread_chdir, ___pthread_fchdir, 2247 ___psynch_rw_yieldwrlock, ___pthread_canceled, ___pthread_chdir,
2135 ___pthread_kill, ___pthread_markcancel, ___pthread_sigmask, 2248 ___pthread_fchdir, ___pthread_kill, ___pthread_markcancel,
2136 ___ptrace, ___pwrite_nocancel, ___pwritev_nocancel, ___read_nocancel, 2249 ___pthread_sigmask, ___ptrace, ___pwrite_nocancel, ___pwritev_nocancel,
2137 ___readv_nocancel, ___reboot, ___record_system_event, ___recvfrom, 2250 ___read_nocancel, ___readv_nocancel, ___reboot, ___record_system_event,
2138 ___recvfrom_nocancel, ___recvmsg, ___recvmsg_nocancel, ___rename, 2251 ___recvfrom, ___recvfrom_nocancel, ___recvmsg, ___recvmsg_nocancel,
2139 ___renameat, ___renameatx_np, ___rmdir, ___sandbox_me, ___sandbox_mm, 2252 ___rename, ___renameat, ___renameatx_np, ___rmdir, ___sandbox_me,
2140 ___sandbox_ms, ___sandbox_msp, ___select, ___select_nocancel, 2253 ___sandbox_mm, ___sandbox_ms, ___sandbox_msp, ___select, ___select_nocancel,
2141 ___sem_open, ___sem_wait_nocancel, ___semctl, ___semsys, ___semwait_signal, 2254 ___sem_open, ___sem_wait_nocancel, ___semctl, ___semsys, ___semwait_signal,
2142 ___semwait_signal_nocancel, ___sendmsg, ___sendmsg_nocancel, 2255 ___semwait_signal_nocancel, ___sendmsg, ___sendmsg_nocancel,
2143 ___sendto, ___sendto_nocancel, ___setattrlist, ___setlogin, 2256 ___sendto, ___sendto_nocancel, ___setattrlist, ___setlogin,
...@@ -2203,13 +2316,14 @@ exports:...@@ -2203,13 +2316,14 @@ exports:
2203 _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL', 2316 _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL',
2204 _access, _accessx_np, _acct, _act_get_state, _act_set_state, 2317 _access, _accessx_np, _acct, _act_get_state, _act_set_state,
2205 _adjtime, _aio_cancel, _aio_error, _aio_fsync, _aio_read, 2318 _adjtime, _aio_cancel, _aio_error, _aio_fsync, _aio_read,
2206 _aio_return, _aio_suspend, '_aio_suspend$NOCANCEL', _aio_write, 2319 _aio_readv, _aio_return, _aio_suspend, '_aio_suspend$NOCANCEL',
2207 _audit, _audit_session_join, _audit_session_port, _audit_session_self, 2320 _aio_write, _aio_writev, _audit, _audit_session_join, _audit_session_port,
2208 _auditctl, _auditon, _bind, _bootstrap_port, _cerror, _cerror_nocancel, 2321 _audit_session_self, _auditctl, _auditon, _bind, _bootstrap_port,
2209 _change_fdguard_np, _chdir, _chflags, _chmod, _chown, _chroot, 2322 _cerror, _cerror_nocancel, _change_fdguard_np, _chdir, _chflags,
2210 _clock_alarm, _clock_alarm_reply, _clock_get_attributes, _clock_get_time, 2323 _chmod, _chown, _chroot, _clock_alarm, _clock_alarm_reply,
2211 _clock_set_attributes, _clock_set_time, _clock_sleep, _clock_sleep_trap, 2324 _clock_get_attributes, _clock_get_time, _clock_set_attributes,
2212 _clonefile, _clonefileat, _close, '_close$NOCANCEL', _coalition_create, 2325 _clock_set_time, _clock_sleep, _clock_sleep_trap, _clonefile,
2326 _clonefileat, _close, '_close$NOCANCEL', _coalition_create,
2213 _coalition_info_debug_info, _coalition_info_pid_list, _coalition_info_resource_usage, 2327 _coalition_info_debug_info, _coalition_info_pid_list, _coalition_info_resource_usage,
2214 _coalition_info_set_efficiency, _coalition_info_set_name, 2328 _coalition_info_set_efficiency, _coalition_info_set_name,
2215 _coalition_ledger_set_logical_writes_limit, _coalition_policy_get, 2329 _coalition_ledger_set_logical_writes_limit, _coalition_policy_get,
...@@ -2217,43 +2331,47 @@ exports:...@@ -2217,43 +2331,47 @@ exports:
2217 _connect, '_connect$NOCANCEL', _connectx, _csops, _csops_audittoken, 2331 _connect, '_connect$NOCANCEL', _connectx, _csops, _csops_audittoken,
2218 _csr_check, _csr_get_active_config, _debug_control_port_for_pid, 2332 _csr_check, _csr_get_active_config, _debug_control_port_for_pid,
2219 _debug_syscall_reject, _debug_syscall_reject_config, _denap_boost_assertion_token, 2333 _debug_syscall_reject, _debug_syscall_reject_config, _denap_boost_assertion_token,
2220 _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server, 2334 _disableiopolicy_np, _disconnectx, _dup, _dup2, _dup3, _enableiopolicy_np,
2221 _exc_server_routine, _exception_raise, _exception_raise_state, 2335 _errno, _etap_trace_thread, _exc_server, _exc_server_routine,
2222 _exception_raise_state_identity, _exchangedata, _exclaves_aoe_enumerate_and_setup_services, 2336 _exception_raise, _exception_raise_state, _exception_raise_state_identity,
2223 _exclaves_aoe_get_all_service_infos, _exclaves_aoe_message_loop, 2337 _exchangedata, _exclaves_aoe_enumerate_and_setup_services,
2224 _exclaves_aoe_message_loop_with_service_id, _exclaves_aoe_setup, 2338 _exclaves_aoe_get_all_service_infos, _exclaves_aoe_message_loop_with_service_id,
2225 _exclaves_aoe_work_loop, _exclaves_aoe_work_loop_with_service_id, 2339 _exclaves_aoe_setup, _exclaves_aoe_work_loop_with_service_id,
2226 _exclaves_arbitrated_buffer_copyout, _exclaves_arbitrated_buffer_create, 2340 _exclaves_arbitrated_buffer_copyout, _exclaves_arbitrated_buffer_create,
2227 _exclaves_audio_buffer_copyout, _exclaves_audio_buffer_copyout_with_status, 2341 _exclaves_audio_buffer_copyout, _exclaves_audio_buffer_copyout_with_status,
2228 _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_daemon_notification_deregister, 2342 _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_c2cc_recv_loop,
2229 _exclaves_daemon_notification_register, _exclaves_endpoint_call, 2343 _exclaves_conclave_enable_c2cc_recv, _exclaves_daemon_notification_deregister,
2230 _exclaves_inbound_buffer_copyin, _exclaves_inbound_buffer_create, 2344 _exclaves_daemon_notification_register, _exclaves_device_state,
2231 _exclaves_indicator_min_on_time, _exclaves_launch_conclave, 2345 _exclaves_endpoint_call, _exclaves_exsurfaceroot_connection_create,
2232 _exclaves_lookup_service, _exclaves_named_buffer_copyin, _exclaves_named_buffer_copyout, 2346 _exclaves_exsurfaceroot_surface_usecount_update, _exclaves_inbound_buffer_copyin,
2233 _exclaves_named_buffer_create, _exclaves_notification_create, 2347 _exclaves_inbound_buffer_create, _exclaves_indicator_min_on_time,
2234 _exclaves_outbound_buffer_copyout, _exclaves_outbound_buffer_create, 2348 _exclaves_launch_conclave, _exclaves_lookup_service, _exclaves_named_buffer_copyin,
2235 _exclaves_sensor_create, _exclaves_sensor_start, _exclaves_sensor_status, 2349 _exclaves_named_buffer_copyout, _exclaves_named_buffer_create,
2236 _exclaves_sensor_stop, _execve, _faccessat, _fchdir, _fchflags, 2350 _exclaves_notification_create, _exclaves_outbound_buffer_copyout,
2237 _fchmod, _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl, 2351 _exclaves_outbound_buffer_create, _exclaves_sensor_create,
2238 '_fcntl$NOCANCEL', _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, 2352 _exclaves_sensor_start, _exclaves_sensor_status, _exclaves_sensor_stop,
2239 _fhopen, _fileport_makefd, _fileport_makeport, _flistxattr, 2353 _exclaves_stats_count, _exclaves_stats_describe, _exclaves_stats_read,
2240 _flock, _fmount, _fpathconf, _freadlink, _fremovexattr, _fs_snapshot_create, 2354 _execve, _faccessat, _fchdir, _fchflags, _fchflagsat, _fchmod,
2241 _fs_snapshot_delete, _fs_snapshot_list, _fs_snapshot_mount, 2355 _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl, '_fcntl$NOCANCEL',
2242 _fs_snapshot_rename, _fs_snapshot_revert, _fs_snapshot_root, 2356 _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, _fhopen, _fileport_makefd,
2243 _fsctl, _fsetattrlist, _fsetxattr, _fsgetpath, _fsgetpath_ext, 2357 _fileport_makeport, _flistxattr, _flock, _fmount, _fpathconf,
2244 _fstat, _fstat64, _fstatat, _fstatat64, _fstatfs, _fstatfs64, 2358 _freadlink, _fremovexattr, _fs_snapshot_create, _fs_snapshot_delete,
2245 _fstatfs_ext, _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount, 2359 _fs_snapshot_list, _fs_snapshot_mount, _fs_snapshot_rename,
2246 _futimens, _futimes, _getattrlist, _getattrlistat, _getattrlistbulk, 2360 _fs_snapshot_revert, _fs_snapshot_root, _fsctl, _fsctlat,
2361 _fsetattrlist, _fsetxattr, _fsgetpath, _fsgetpath_ext, _fstat,
2362 _fstat64, _fstatat, _fstatat64, _fstatfs, _fstatfs64, _fstatfs_ext,
2363 _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount, _futimens,
2364 _futimes, _getattrlist, _getattrlistat, _getattrlistbulk,
2247 _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr, 2365 _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr,
2248 _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat, 2366 _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat,
2249 _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np, 2367 _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np,
2250 _getitimer, _getpeername, _getpgid, _getpgrp, _getpid, _getppid, 2368 _getitimer, _getpeername, _getpgid, _getpgrp, _getpid, _getppid,
2251 _getpriority, _getrlimit, _getrusage, _getsgroups_np, _getsid, 2369 _getpriority, _getrlimit, _getrusage, _getsgroups_np, _getsid,
2252 _getsockname, _getsockopt, _getuid, _getwgroups_np, _getxattr, 2370 _getsockname, _getsockopt, _getuid, _getumask, _getwgroups_np,
2253 _grab_pgo_data, _graftdmg, _guarded_close_np, _guarded_kqueue_np, 2371 _getxattr, _grab_pgo_data, _graftdmg, _guarded_close_np, _guarded_ftruncate_np,
2254 _guarded_open_dprotected_np, _guarded_open_np, _guarded_pwrite_np, 2372 _guarded_kqueue_np, _guarded_open_dprotected_np, _guarded_open_np,
2255 _guarded_write_np, _guarded_writev_np, _host_check_multiuser_mode, 2373 _guarded_pwrite_np, _guarded_write_np, _guarded_writev_np,
2256 _host_create_mach_voucher, _host_create_mach_voucher_trap, 2374 _host_check_multiuser_mode, _host_create_mach_voucher, _host_create_mach_voucher_trap,
2257 _host_default_memory_manager, _host_get_UNDServer, _host_get_atm_diagnostic_flag, 2375 _host_default_memory_manager, _host_get_UNDServer, _host_get_atm_diagnostic_flag,
2258 _host_get_boot_info, _host_get_clock_control, _host_get_clock_service, 2376 _host_get_boot_info, _host_get_clock_control, _host_get_clock_service,
2259 _host_get_exception_ports, _host_get_io_main, _host_get_io_master, 2377 _host_get_exception_ports, _host_get_io_main, _host_get_io_master,
...@@ -2276,25 +2394,26 @@ exports:...@@ -2276,25 +2394,26 @@ exports:
2276 _kill, _kmod_control, _kmod_create, _kmod_destroy, _kmod_get_info, 2394 _kill, _kmod_control, _kmod_create, _kmod_destroy, _kmod_get_info,
2277 _kpersona_alloc, _kpersona_dealloc, _kpersona_find, _kpersona_find_by_type, 2395 _kpersona_alloc, _kpersona_dealloc, _kpersona_find, _kpersona_find_by_type,
2278 _kpersona_get, _kpersona_getpath, _kpersona_info, _kpersona_palloc, 2396 _kpersona_get, _kpersona_getpath, _kpersona_info, _kpersona_palloc,
2279 _kpersona_pidinfo, _kqueue, _lchown, _ledger, _link, _linkat, 2397 _kpersona_pidinfo, _kpersona_pidinfo_audit_token, _kqueue,
2280 _lio_listio, _listen, _listxattr, _lock_set_create, _lock_set_destroy, 2398 _lchown, _ledger, _link, _linkat, _lio_listio, _listen, _listxattr,
2281 _log_data_as_kernel, _lseek, _lstat, _lstat64, _mach_absolute_time, 2399 _lock_set_create, _lock_set_destroy, _log_data_as_kernel,
2282 _mach_approximate_time, _mach_boottime_usec, _mach_continuous_approximate_time, 2400 _lseek, _lstat, _lstat64, _mach_absolute_time, _mach_approximate_time,
2283 _mach_continuous_time, _mach_error, _mach_error_full_diag, 2401 _mach_boottime_usec, _mach_continuous_approximate_time, _mach_continuous_time,
2284 _mach_error_string, _mach_error_type, _mach_eventlink_associate, 2402 _mach_error, _mach_error_full_diag, _mach_error_string, _mach_error_type,
2285 _mach_eventlink_create, _mach_eventlink_destroy, _mach_eventlink_disassociate, 2403 _mach_eventlink_associate, _mach_eventlink_create, _mach_eventlink_destroy,
2286 _mach_eventlink_signal, _mach_eventlink_signal_wait_until, 2404 _mach_eventlink_disassociate, _mach_eventlink_signal, _mach_eventlink_signal_wait_until,
2287 _mach_eventlink_wait_until, _mach_generate_activity_id, _mach_get_times, 2405 _mach_eventlink_wait_until, _mach_generate_activity_id, _mach_get_times,
2288 _mach_host_self, _mach_host_special_port_description, _mach_host_special_port_for_id, 2406 _mach_host_self, _mach_host_special_port_description, _mach_host_special_port_for_id,
2289 _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64, 2407 _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64,
2290 _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts, 2408 _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts,
2291 _mach_memory_entry_ownership, _mach_memory_entry_purgable_control, 2409 _mach_memory_entry_ownership, _mach_memory_entry_purgable_control,
2292 _mach_memory_info, _mach_memory_info_redacted, _mach_memory_object_memory_entry, 2410 _mach_memory_entry_region_info, _mach_memory_info, _mach_memory_info_redacted,
2293 _mach_memory_object_memory_entry_64, _mach_msg, _mach_msg2_internal, 2411 _mach_memory_object_memory_entry, _mach_memory_object_memory_entry_64,
2294 _mach_msg2_trap, _mach_msg_destroy, _mach_msg_overwrite, _mach_msg_overwrite_trap, 2412 _mach_msg, _mach_msg2_internal, _mach_msg2_trap, _mach_msg_destroy,
2295 _mach_msg_priority_encode, _mach_msg_priority_is_pthread_priority, 2413 _mach_msg_overwrite, _mach_msg_overwrite_trap, _mach_msg_priority_encode,
2296 _mach_msg_priority_overide_qos, _mach_msg_priority_qos, _mach_msg_priority_relpri, 2414 _mach_msg_priority_is_pthread_priority, _mach_msg_priority_overide_qos,
2297 _mach_msg_receive, _mach_msg_send, _mach_msg_server, _mach_msg_server_importance, 2415 _mach_msg_priority_qos, _mach_msg_priority_relpri, _mach_msg_receive,
2416 _mach_msg_send, _mach_msg_server, _mach_msg_server_importance,
2298 _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name, 2417 _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name,
2299 _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed, 2418 _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed,
2300 _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full, 2419 _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full,
...@@ -2423,7 +2542,7 @@ exports:...@@ -2423,7 +2542,7 @@ exports:
2423 _os_packet_trace_event, _os_proc_available_memory, _panic, 2542 _os_packet_trace_event, _os_proc_available_memory, _panic,
2424 _panic_init, _panic_with_data, _pathconf, _peeloff, _pid_for_task, 2543 _panic_init, _panic_with_data, _pathconf, _peeloff, _pid_for_task,
2425 _pid_hibernate, _pid_resume, _pid_shutdown_networking, _pid_shutdown_sockets, 2544 _pid_hibernate, _pid_resume, _pid_shutdown_networking, _pid_shutdown_sockets,
2426 _pid_suspend, _pipe, _pivot_root, _poll, '_poll$NOCANCEL', 2545 _pid_suspend, _pipe, _pipe2, _pivot_root, _poll, '_poll$NOCANCEL',
2427 _port_obj_init, _port_obj_table, _port_obj_table_size, _posix_madvise, 2546 _port_obj_init, _port_obj_table, _port_obj_table_size, _posix_madvise,
2428 _posix_spawn, _posix_spawn_file_actions_add_fileportdup2_np, 2547 _posix_spawn, _posix_spawn_file_actions_add_fileportdup2_np,
2429 _posix_spawn_file_actions_addchdir, _posix_spawn_file_actions_addchdir_np, 2548 _posix_spawn_file_actions_addchdir, _posix_spawn_file_actions_addchdir_np,
...@@ -2433,6 +2552,7 @@ exports:...@@ -2433,6 +2552,7 @@ exports:
2433 _posix_spawn_file_actions_destroy, _posix_spawn_file_actions_init, 2552 _posix_spawn_file_actions_destroy, _posix_spawn_file_actions_init,
2434 _posix_spawnattr_destroy, _posix_spawnattr_disable_ptr_auth_a_keys_np, 2553 _posix_spawnattr_destroy, _posix_spawnattr_disable_ptr_auth_a_keys_np,
2435 _posix_spawnattr_get_darwin_role_np, _posix_spawnattr_get_qos_clamp_np, 2554 _posix_spawnattr_get_darwin_role_np, _posix_spawnattr_get_qos_clamp_np,
2555 _posix_spawnattr_get_shared_region_config_np, _posix_spawnattr_get_shared_region_namespace_np,
2436 _posix_spawnattr_getarchpref_np, _posix_spawnattr_getbinpref_np, 2556 _posix_spawnattr_getarchpref_np, _posix_spawnattr_getbinpref_np,
2437 _posix_spawnattr_getcpumonitor, _posix_spawnattr_getflags, 2557 _posix_spawnattr_getcpumonitor, _posix_spawnattr_getflags,
2438 _posix_spawnattr_getmacpolicyinfo_np, _posix_spawnattr_getpcontrol_np, 2558 _posix_spawnattr_getmacpolicyinfo_np, _posix_spawnattr_getpcontrol_np,
...@@ -2452,62 +2572,64 @@ exports:...@@ -2452,62 +2572,64 @@ exports:
2452 _posix_spawnattr_set_persona_uid_np, _posix_spawnattr_set_platform_np, 2572 _posix_spawnattr_set_persona_uid_np, _posix_spawnattr_set_platform_np,
2453 _posix_spawnattr_set_portlimits_ext, _posix_spawnattr_set_ptrauth_task_port_np, 2573 _posix_spawnattr_set_portlimits_ext, _posix_spawnattr_set_ptrauth_task_port_np,
2454 _posix_spawnattr_set_qos_clamp_np, _posix_spawnattr_set_registered_ports_np, 2574 _posix_spawnattr_set_qos_clamp_np, _posix_spawnattr_set_registered_ports_np,
2455 _posix_spawnattr_set_subsystem_root_path_np, _posix_spawnattr_set_telemetry_np, 2575 _posix_spawnattr_set_shared_region_config_np, _posix_spawnattr_set_shared_region_namespace_np,
2456 _posix_spawnattr_set_threadlimit_ext, _posix_spawnattr_set_uid_np, 2576 _posix_spawnattr_set_subsystem_root_path_np, _posix_spawnattr_set_task_security_policy_np,
2457 _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_setarchpref_np, 2577 _posix_spawnattr_set_telemetry_np, _posix_spawnattr_set_threadlimit_ext,
2458 _posix_spawnattr_setauditsessionport_np, _posix_spawnattr_setbinpref_np, 2578 _posix_spawnattr_set_uid_np, _posix_spawnattr_set_use_sanitizers_np,
2459 _posix_spawnattr_setcoalition_np, _posix_spawnattr_setcpumonitor, 2579 _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_set_virtual_env_np,
2460 _posix_spawnattr_setcpumonitor_default, _posix_spawnattr_setdataless_iopolicy_np, 2580 _posix_spawnattr_setarchpref_np, _posix_spawnattr_setauditsessionport_np,
2461 _posix_spawnattr_setexceptionports_np, _posix_spawnattr_setflags, 2581 _posix_spawnattr_setbinpref_np, _posix_spawnattr_setcoalition_np,
2462 _posix_spawnattr_setjetsam_ext, _posix_spawnattr_setmacpolicyinfo_np, 2582 _posix_spawnattr_setcpumonitor, _posix_spawnattr_setcpumonitor_default,
2463 _posix_spawnattr_setnosmt_np, _posix_spawnattr_setpcontrol_np, 2583 _posix_spawnattr_setdataless_iopolicy_np, _posix_spawnattr_setexceptionports_np,
2464 _posix_spawnattr_setpgroup, _posix_spawnattr_setprocesstype_np, 2584 _posix_spawnattr_setflags, _posix_spawnattr_setjetsam_ext,
2465 _posix_spawnattr_setsigdefault, _posix_spawnattr_setsigmask, 2585 _posix_spawnattr_setmacpolicyinfo_np, _posix_spawnattr_setnosmt_np,
2466 _posix_spawnattr_setspecialport_np, _pread, '_pread$NOCANCEL', 2586 _posix_spawnattr_setpcontrol_np, _posix_spawnattr_setpgroup,
2467 _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits, _proc_clear_delayidlesleep, 2587 _posix_spawnattr_setprocesstype_np, _posix_spawnattr_setsigdefault,
2468 _proc_clear_dirty, _proc_clear_vmpressure, _proc_current_thread_schedinfo, 2588 _posix_spawnattr_setsigmask, _posix_spawnattr_setspecialport_np,
2469 _proc_denap_assertion_begin_with_msg, _proc_denap_assertion_complete, 2589 _pread, '_pread$NOCANCEL', _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits,
2470 _proc_disable_apptype, _proc_disable_cpumon, _proc_disable_wakemon, 2590 _proc_clear_delayidlesleep, _proc_clear_dirty, _proc_clear_vmpressure,
2471 _proc_donate_importance_boost, _proc_enable_apptype, _proc_get_cpumon_params, 2591 _proc_current_thread_schedinfo, _proc_denap_assertion_begin_with_msg,
2472 _proc_get_dirty, _proc_get_wakemon_params, _proc_importance_assertion_begin_with_msg, 2592 _proc_denap_assertion_complete, _proc_disable_apptype, _proc_disable_cpumon,
2473 _proc_importance_assertion_complete, _proc_kmsgbuf, _proc_libversion, 2593 _proc_disable_wakemon, _proc_donate_importance_boost, _proc_enable_apptype,
2474 _proc_list_dynkqueueids, _proc_list_uptrs, _proc_listallpids, 2594 _proc_get_cpumon_params, _proc_get_dirty, _proc_get_wakemon_params,
2475 _proc_listchildpids, _proc_listcoalitions, _proc_listpgrppids, 2595 _proc_importance_assertion_begin_with_msg, _proc_importance_assertion_complete,
2476 _proc_listpids, _proc_listpidspath, _proc_name, _proc_pid_rusage, 2596 _proc_kmsgbuf, _proc_libversion, _proc_list_dynkqueueids,
2477 _proc_piddynkqueueinfo, _proc_pidfdinfo, _proc_pidfileportinfo, 2597 _proc_list_uptrs, _proc_listallpids, _proc_listchildpids,
2478 _proc_pidinfo, _proc_pidoriginatorinfo, _proc_pidpath, _proc_pidpath_audittoken, 2598 _proc_listcoalitions, _proc_listpgrppids, _proc_listpids,
2479 _proc_regionfilename, _proc_reset_footprint_interval, _proc_resume_cpumon, 2599 _proc_listpidspath, _proc_name, _proc_pid_rusage, _proc_piddynkqueueinfo,
2480 _proc_rlimit_control, _proc_set_cpumon_defaults, _proc_set_cpumon_params, 2600 _proc_pidfdinfo, _proc_pidfileportinfo, _proc_pidinfo, _proc_pidoriginatorinfo,
2481 _proc_set_cpumon_params_fatal, _proc_set_csm, _proc_set_delayidlesleep, 2601 _proc_pidpath, _proc_pidpath_audittoken, _proc_regionfilename,
2482 _proc_set_dirty, _proc_set_no_smt, _proc_set_owner_vmpressure, 2602 _proc_reset_footprint_interval, _proc_resume_cpumon, _proc_rlimit_control,
2483 _proc_set_wakemon_defaults, _proc_set_wakemon_params, _proc_setcpu_percentage, 2603 _proc_set_cpumon_defaults, _proc_set_cpumon_params, _proc_set_cpumon_params_fatal,
2484 _proc_setpcontrol, _proc_setthread_cpupercent, _proc_setthread_csm, 2604 _proc_set_csm, _proc_set_delayidlesleep, _proc_set_dirty,
2485 _proc_setthread_no_smt, _proc_signal_delegate, _proc_signal_with_audittoken, 2605 _proc_set_no_smt, _proc_set_owner_vmpressure, _proc_set_wakemon_defaults,
2486 _proc_suppress, _proc_terminate, _proc_terminate_all_rsr, 2606 _proc_set_wakemon_params, _proc_setcpu_percentage, _proc_setpcontrol,
2487 _proc_terminate_delegate, _proc_terminate_with_audittoken, 2607 _proc_setthread_cpupercent, _proc_setthread_csm, _proc_setthread_no_smt,
2488 _proc_trace_log, _proc_track_dirty, _proc_udata_info, _proc_uuid_policy, 2608 _proc_signal_delegate, _proc_signal_with_audittoken, _proc_suppress,
2489 _processor_assign, _processor_control, _processor_exit, _processor_get_assignment, 2609 _proc_terminate, _proc_terminate_all_rsr, _proc_terminate_delegate,
2490 _processor_info, _processor_set_create, _processor_set_default, 2610 _proc_terminate_with_audittoken, _proc_trace_log, _proc_track_dirty,
2491 _processor_set_destroy, _processor_set_info, _processor_set_max_priority, 2611 _proc_udata_info, _proc_uuid_policy, _processor_assign, _processor_control,
2492 _processor_set_policy_control, _processor_set_policy_disable, 2612 _processor_exit, _processor_get_assignment, _processor_info,
2493 _processor_set_policy_enable, _processor_set_stack_usage, 2613 _processor_set_create, _processor_set_default, _processor_set_destroy,
2494 _processor_set_statistics, _processor_set_tasks, _processor_set_tasks_with_flavor, 2614 _processor_set_info, _processor_set_max_priority, _processor_set_policy_control,
2495 _processor_set_threads, _processor_start, _pselect, '_pselect$DARWIN_EXTSN', 2615 _processor_set_policy_disable, _processor_set_policy_enable,
2496 '_pselect$DARWIN_EXTSN$NOCANCEL', '_pselect$NOCANCEL', _pthread_getugid_np, 2616 _processor_set_stack_usage, _processor_set_statistics, _processor_set_tasks,
2497 _pthread_setugid_np, _ptrace, _pwrite, '_pwrite$NOCANCEL', 2617 _processor_set_tasks_with_flavor, _processor_set_threads,
2498 _pwritev, '_pwritev$NOCANCEL', _quota, _quotactl, _read, '_read$NOCANCEL', 2618 _processor_start, _pselect, '_pselect$DARWIN_EXTSN', '_pselect$DARWIN_EXTSN$NOCANCEL',
2499 _readlink, _readlinkat, _readv, '_readv$NOCANCEL', _reboot, 2619 '_pselect$NOCANCEL', _pthread_getugid_np, _pthread_setugid_np,
2500 _reboot_np, _record_system_event_as_kernel, _recvfrom, '_recvfrom$NOCANCEL', 2620 _ptrace, _pwrite, '_pwrite$NOCANCEL', _pwritev, '_pwritev$NOCANCEL',
2501 _recvmsg, '_recvmsg$NOCANCEL', _recvmsg_x, _register_uexc_handler, 2621 _quota, _quotactl, _read, '_read$NOCANCEL', _readlink, _readlinkat,
2502 _removexattr, _rename, _rename_ext, _renameat, _renameatx_np, 2622 _readv, '_readv$NOCANCEL', _reboot, _reboot_np, _record_system_event_as_kernel,
2503 _renamex_np, _revoke, _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', 2623 _recvfrom, '_recvfrom$NOCANCEL', _recvmsg, '_recvmsg$NOCANCEL',
2504 '_select$DARWIN_EXTSN$NOCANCEL', '_select$NOCANCEL', _sem_close, 2624 _recvmsg_x, _register_uexc_handler, _removexattr, _rename,
2505 _sem_destroy, _sem_getvalue, _sem_init, _sem_open, _sem_post, 2625 _rename_ext, _renameat, _renameatx_np, _renamex_np, _revoke,
2506 _sem_trywait, _sem_unlink, _sem_wait, '_sem_wait$NOCANCEL', 2626 _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', '_select$DARWIN_EXTSN$NOCANCEL',
2507 _semaphore_create, _semaphore_destroy, _semaphore_signal, 2627 '_select$NOCANCEL', _sem_close, _sem_destroy, _sem_getvalue,
2508 _semaphore_signal_all, _semaphore_signal_all_trap, _semaphore_signal_thread, 2628 _sem_init, _sem_open, _sem_post, _sem_trywait, _sem_unlink,
2509 _semaphore_signal_thread_trap, _semaphore_signal_trap, _semaphore_timedwait, 2629 _sem_wait, '_sem_wait$NOCANCEL', _semaphore_create, _semaphore_destroy,
2510 _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap, 2630 _semaphore_signal, _semaphore_signal_all, _semaphore_signal_all_trap,
2631 _semaphore_signal_thread, _semaphore_signal_thread_trap, _semaphore_signal_trap,
2632 _semaphore_timedwait, _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap,
2511 _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal, 2633 _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal,
2512 _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl, 2634 _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl,
2513 _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL', 2635 _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL',
...@@ -2567,7 +2689,8 @@ exports:...@@ -2567,7 +2689,8 @@ exports:
2567 _thread_suspend2, _thread_swap_exception_ports, _thread_swap_mach_voucher, 2689 _thread_suspend2, _thread_swap_exception_ports, _thread_swap_mach_voucher,
2568 _thread_switch, _thread_terminate, _thread_wire, _tracker_action, 2690 _thread_switch, _thread_terminate, _thread_wire, _tracker_action,
2569 _truncate, _umask, _undelete, _ungraftdmg, _unlink, _unlinkat, 2691 _truncate, _umask, _undelete, _ungraftdmg, _unlink, _unlinkat,
2570 _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _vm_allocate, 2692 _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _virtual_env_create,
2693 _virtual_env_get_current, _virtual_env_get_info, _vm_allocate,
2571 _vm_allocate_cpm, _vm_behavior_set, _vm_copy, _vm_deallocate, 2694 _vm_allocate_cpm, _vm_behavior_set, _vm_copy, _vm_deallocate,
2572 _vm_inherit, _vm_kernel_page_mask, _vm_kernel_page_shift, 2695 _vm_inherit, _vm_kernel_page_mask, _vm_kernel_page_shift,
2573 _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query, 2696 _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query,
...@@ -2589,20 +2712,22 @@ exports:...@@ -2589,20 +2712,22 @@ exports:
2589 _work_interval_instance_update, _work_interval_join, _work_interval_join_port, 2712 _work_interval_instance_update, _work_interval_join, _work_interval_join_port,
2590 _work_interval_leave, _work_interval_notify, _work_interval_notify_simple, 2713 _work_interval_leave, _work_interval_notify, _work_interval_notify_simple,
2591 _write, '_write$NOCANCEL', _writev, '_writev$NOCANCEL' ]2714 _write, '_write$NOCANCEL', _writev, '_writev$NOCANCEL' ]
2592 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2715 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2716 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2593 symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat, 2717 symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat,
2594 ___stat, ___statfs, __current_pid, _mach_absolute_time_kernel, 2718 ___stat, ___statfs, __current_pid, _mach_absolute_time_kernel,
2595 _mach_continuous_time_kernel, _os_custom_x18_abi_enabled, 2719 _mach_continuous_time_kernel, _os_cross_arch_is_supported,
2596 _os_set_custom_x18_abi_enabled, _update_tpidr ]2720 _os_custom_x18_abi_enabled, _os_set_custom_x18_abi_enabled,
2721 _update_tpidr ]
2597--- !tapi-tbd2722--- !tapi-tbd
2598tbd-version: 42723tbd-version: 4
2599targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, 2724targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
2600 arm64e-macos, arm64e-maccatalyst ]2725 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2601install-name: '/usr/lib/system/libsystem_m.dylib'2726install-name: '/usr/lib/system/libsystem_m.dylib'
2602current-version: 3312.100.12727current-version: 3326.0.1
2603parent-umbrella:2728parent-umbrella:
2604 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, 2729 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
2605 arm64e-macos, arm64e-maccatalyst ]2730 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2606 umbrella: System2731 umbrella: System
2607exports:2732exports:
2608 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ]2733 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ]
...@@ -2644,7 +2769,7 @@ exports:...@@ -2644,7 +2769,7 @@ exports:
2644 __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16, 2769 __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16,
2645 __simd_tgamma_f8 ]2770 __simd_tgamma_f8 ]
2646 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, 2771 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
2647 arm64e-macos, arm64e-maccatalyst ]2772 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2648 symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16, 2773 symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16,
2649 ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f, 2774 ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f,
2650 ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16, 2775 ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16,
...@@ -2814,18 +2939,21 @@ exports:...@@ -2814,18 +2939,21 @@ exports:
2814 '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off', 2939 '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off',
2815 '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off', 2940 '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off',
2816 '_truncf$fenv_access_off', '_truncl$fenv_access_off' ]2941 '_truncf$fenv_access_off', '_truncl$fenv_access_off' ]
2817 - targets: [ arm64e-macos, arm64e-maccatalyst ]2942 - targets: [ arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2818 symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ]2943 symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ]
2819--- !tapi-tbd2944--- !tapi-tbd
2820tbd-version: 42945tbd-version: 4
2821targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2946targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2947 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2822install-name: '/usr/lib/system/libsystem_malloc.dylib'2948install-name: '/usr/lib/system/libsystem_malloc.dylib'
2823current-version: 812.100.312949current-version: 886.0.8
2824parent-umbrella:2950parent-umbrella:
2825 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2951 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2952 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2826 umbrella: System2953 umbrella: System
2827exports:2954exports:
2828 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]2955 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
2956 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2829 symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init, 2957 symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init,
2830 ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent, 2958 ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent,
2831 __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override, 2959 __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override,
...@@ -2870,13 +2998,16 @@ exports:...@@ -2870,13 +2998,16 @@ exports:
2870 _zeroify_scalable_zone ]2998 _zeroify_scalable_zone ]
2871--- !tapi-tbd2999--- !tapi-tbd
2872tbd-version: 43000tbd-version: 4
2873targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3001targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3002 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2874install-name: '/usr/lib/system/libsystem_networkextension.dylib'3003install-name: '/usr/lib/system/libsystem_networkextension.dylib'
2875parent-umbrella:3004parent-umbrella:
2876 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3005 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3006 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2877 umbrella: System3007 umbrella: System
2878exports:3008exports:
2879 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3009 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3010 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2880 symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses, 3011 symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses,
2881 _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID, 3012 _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID,
2882 _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended, 3013 _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended,
...@@ -2959,14 +3090,17 @@ exports:...@@ -2959,14 +3090,17 @@ exports:
2959 _nelog_is_info_logging_enabled ]3090 _nelog_is_info_logging_enabled ]
2960--- !tapi-tbd3091--- !tapi-tbd
2961tbd-version: 43092tbd-version: 4
2962targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3093targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3094 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2963install-name: '/usr/lib/system/libsystem_notify.dylib'3095install-name: '/usr/lib/system/libsystem_notify.dylib'
2964current-version: 348.120.43096current-version: 368
2965parent-umbrella:3097parent-umbrella:
2966 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3098 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3099 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2967 umbrella: System3100 umbrella: System
2968exports:3101exports:
2969 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3102 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3103 arm64e.x1-macos, arm64e.x1-maccatalyst ]
2970 symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status, 3104 symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status,
2971 _notify_get_event, _notify_get_state, _notify_is_valid_token, 3105 _notify_get_event, _notify_get_state, _notify_is_valid_token,
2972 _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check, 3106 _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check,
...@@ -2977,12 +3111,12 @@ exports:...@@ -2977,12 +3111,12 @@ exports:
2977--- !tapi-tbd3111--- !tapi-tbd
2978tbd-version: 43112tbd-version: 4
2979targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3113targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2980 arm64e-macos, arm64e-maccatalyst ]3114 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2981install-name: '/usr/lib/system/libsystem_platform.dylib'3115install-name: '/usr/lib/system/libsystem_platform.dylib'
2982current-version: 375.120.23116current-version: 402.0.1
2983parent-umbrella:3117parent-umbrella:
2984 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3118 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2985 arm64e-macos, arm64e-maccatalyst ]3119 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2986 umbrella: System3120 umbrella: System
2987exports:3121exports:
2988 - targets: [ x86_64-macos, x86_64-maccatalyst ]3122 - targets: [ x86_64-macos, x86_64-maccatalyst ]
...@@ -2992,7 +3126,7 @@ exports:...@@ -2992,7 +3126,7 @@ exports:
2992 _memmove_sse_np, _memset_pattern16_sse_np, _memset_pattern4_sse_np, 3126 _memmove_sse_np, _memset_pattern16_sse_np, _memset_pattern4_sse_np,
2993 _memset_pattern8_sse_np, _memset_sse_np ]3127 _memset_pattern8_sse_np, _memset_sse_np ]
2994 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3128 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2995 arm64e-macos, arm64e-maccatalyst ]3129 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
2996 symbols: [ _OSAtomicAdd32, _OSAtomicAdd32Barrier, _OSAtomicAdd64, _OSAtomicAdd64Barrier, 3130 symbols: [ _OSAtomicAdd32, _OSAtomicAdd32Barrier, _OSAtomicAdd64, _OSAtomicAdd64Barrier,
2997 _OSAtomicAnd32, _OSAtomicAnd32Barrier, _OSAtomicAnd32Orig, 3131 _OSAtomicAnd32, _OSAtomicAnd32Barrier, _OSAtomicAnd32Orig,
2998 _OSAtomicAnd32OrigBarrier, _OSAtomicCompareAndSwap32, _OSAtomicCompareAndSwap32Barrier, 3132 _OSAtomicAnd32OrigBarrier, _OSAtomicCompareAndSwap32, _OSAtomicCompareAndSwap32Barrier,
...@@ -3051,22 +3185,23 @@ exports:...@@ -3051,22 +3185,23 @@ exports:
3051 _setjmp, _siglongjmp, _sigsetjmp, _spin_lock, _spin_lock_try, 3185 _setjmp, _siglongjmp, _sigsetjmp, _spin_lock, _spin_lock_try,
3052 _spin_unlock, _swapcontext, _sys_cache_control, _sys_dcache_flush, 3186 _spin_unlock, _swapcontext, _sys_cache_control, _sys_dcache_flush,
3053 _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ]3187 _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ]
3054 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3188 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3189 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3055 symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset, 3190 symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset,
3056 __ctx_done, _os_apt_msg_async_task_stopped_4swift ]3191 __ctx_done, _os_apt_msg_async_task_stopped_4swift ]
3057--- !tapi-tbd3192--- !tapi-tbd
3058tbd-version: 43193tbd-version: 4
3059targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3194targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3060 arm64e-macos, arm64e-maccatalyst ]3195 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
3061install-name: '/usr/lib/system/libsystem_pthread.dylib'3196install-name: '/usr/lib/system/libsystem_pthread.dylib'
3062current-version: 539.100.43197current-version: 553.0.1
3063parent-umbrella:3198parent-umbrella:
3064 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3199 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3065 arm64e-macos, arm64e-maccatalyst ]3200 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
3066 umbrella: System3201 umbrella: System
3067exports:3202exports:
3068 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3203 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3069 arm64e-macos, arm64e-maccatalyst ]3204 arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ]
3070 symbols: [ ____chkstk_darwin, ___is_threaded, ___pthread_init, ___pthread_late_init, 3205 symbols: [ ____chkstk_darwin, ___is_threaded, ___pthread_init, ___pthread_late_init,
3071 ___pthread_workqueue_setkill, ___unix_conforming, __pthread_atfork_child, 3206 ___pthread_workqueue_setkill, ___unix_conforming, __pthread_atfork_child,
3072 __pthread_atfork_child_handlers, __pthread_atfork_parent, 3207 __pthread_atfork_child_handlers, __pthread_atfork_parent,
...@@ -3148,18 +3283,21 @@ exports:...@@ -3148,18 +3283,21 @@ exports:
3148 _pthread_yield_np, _qos_class_main, _qos_class_self, _sched_get_priority_max, 3283 _pthread_yield_np, _qos_class_main, _qos_class_self, _sched_get_priority_max,
3149 _sched_get_priority_min, _sched_yield, _sigwait, '_sigwait$NOCANCEL', 3284 _sched_get_priority_min, _sched_yield, _sigwait, '_sigwait$NOCANCEL',
3150 _start_wqthread, _thread_chkstk_darwin, _thread_start ]3285 _start_wqthread, _thread_chkstk_darwin, _thread_start ]
3151 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]3286 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
3152 symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ]3287 symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ]
3153--- !tapi-tbd3288--- !tapi-tbd
3154tbd-version: 43289tbd-version: 4
3155targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3290targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3291 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3156install-name: '/usr/lib/system/libsystem_sandbox.dylib'3292install-name: '/usr/lib/system/libsystem_sandbox.dylib'
3157current-version: 2680.120.123293current-version: 3051.0.52
3158parent-umbrella:3294parent-umbrella:
3159 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3295 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3296 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3160 umbrella: System3297 umbrella: System
3161exports:3298exports:
3162 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3299 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3300 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3163 symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ, 3301 symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ,
3164 _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER, 3302 _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER,
3165 _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW, 3303 _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW,
...@@ -3173,14 +3311,14 @@ exports:...@@ -3173,14 +3311,14 @@ exports:
3173 _SANDBOX_STORAGE_CLASS_GROUP_ANY, _SANDBOX_STORAGE_CLASS_PROPERTY_ACCEPTS_USER_APPROVAL, 3311 _SANDBOX_STORAGE_CLASS_GROUP_ANY, _SANDBOX_STORAGE_CLASS_PROPERTY_ACCEPTS_USER_APPROVAL,
3174 _SANDBOX_STORAGE_CLASS_PROPERTY_READ_RESTRICTED, _SANDBOX_STORAGE_CLASS_PROPERTY_REPLACEMENT_RESTRICTED, 3312 _SANDBOX_STORAGE_CLASS_PROPERTY_READ_RESTRICTED, _SANDBOX_STORAGE_CLASS_PROPERTY_REPLACEMENT_RESTRICTED,
3175 _SANDBOX_STORAGE_CLASS_PROPERTY_WRITE_RESTRICTED, __amkrtemp, 3313 _SANDBOX_STORAGE_CLASS_PROPERTY_WRITE_RESTRICTED, __amkrtemp,
3176 __sandbox_enter_notify_libxpc, __sandbox_in_a_container, __sandbox_register_app_bundle_0, 3314 __sandbox_enter_notify_libxpc, __sandbox_in_a_container, _kSBXProfileNoInternet,
3177 __sandbox_register_app_bundle_1, _kSBXProfileNoInternet, _kSBXProfileNoNetwork, 3315 _kSBXProfileNoNetwork, _kSBXProfileNoWrite, _kSBXProfileNoWriteExceptTemporary,
3178 _kSBXProfileNoWrite, _kSBXProfileNoWriteExceptTemporary, _kSBXProfilePureComputation, 3316 _kSBXProfilePureComputation, _kSandboxAppBundleAnySigningId,
3179 _kSandboxAppBundleAnySigningId, _kSandboxAppBundlePlatformTeamId, 3317 _kSandboxAppBundlePlatformTeamId, _kSandboxAppContainerAnySigningId,
3180 _kSandboxAppContainerAnySigningId, _kSandboxAppContainerPlatformTeamId, 3318 _kSandboxAppContainerPlatformTeamId, _kSandboxAppDataProtectionAnySigningId,
3181 _rootless_allows_task_for_pid, _rootless_check_datavault_flag, 3319 _kSandboxAppDataProtectionPlatformTeamId, _rootless_allows_task_for_pid,
3182 _rootless_check_restricted_flag, _rootless_check_trusted, 3320 _rootless_check_datavault_flag, _rootless_check_restricted_flag,
3183 _rootless_check_trusted_class, _rootless_check_trusted_fd, 3321 _rootless_check_trusted, _rootless_check_trusted_class, _rootless_check_trusted_fd,
3184 _rootless_convert_to_datavault, _rootless_mkdir_datavault, 3322 _rootless_convert_to_datavault, _rootless_mkdir_datavault,
3185 _rootless_mkdir_nounlink, _rootless_mkdir_restricted, _rootless_protected_volume, 3323 _rootless_mkdir_nounlink, _rootless_mkdir_restricted, _rootless_protected_volume,
3186 _rootless_protected_volume_fd, _rootless_register_trusted_storage_class, 3324 _rootless_protected_volume_fd, _rootless_register_trusted_storage_class,
...@@ -3188,19 +3326,19 @@ exports:...@@ -3188,19 +3326,19 @@ exports:
3188 _rootless_remove_restricted_in_favor_of_static_storage_class, 3326 _rootless_remove_restricted_in_favor_of_static_storage_class,
3189 _rootless_restricted_environment, _rootless_suspend, _rootless_trusted_by_self_token, 3327 _rootless_restricted_environment, _rootless_suspend, _rootless_trusted_by_self_token,
3190 _rootless_verify_trusted_by_self_token, _sandbox_apply_bytecode, 3328 _rootless_verify_trusted_by_self_token, _sandbox_apply_bytecode,
3191 _sandbox_builtin_query, _sandbox_check, _sandbox_check_bulk, 3329 _sandbox_builtin_query, _sandbox_check, _sandbox_check_and_query_approval_category,
3192 _sandbox_check_by_audit_token, _sandbox_check_by_reference, 3330 _sandbox_check_asr_parser, _sandbox_check_bulk, _sandbox_check_by_audit_token,
3193 _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path, 3331 _sandbox_check_by_reference, _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path,
3194 _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string, 3332 _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string,
3195 _sandbox_check_network, _sandbox_check_process_signal_target, 3333 _sandbox_check_network, _sandbox_check_process_signal_target,
3196 _sandbox_check_protected_app_container, _sandbox_check_self_signal_target, 3334 _sandbox_check_protected_app_container, _sandbox_check_self_signal_target,
3197 _sandbox_check_storage_class, _sandbox_check_with_attribution, 3335 _sandbox_check_storage_class, _sandbox_check_with_attribution,
3198 _sandbox_checkattr_alloc, _sandbox_checkattr_disable_reporting, 3336 _sandbox_checkattr_alloc, _sandbox_checkattr_disable_reporting,
3199 _sandbox_checkattr_free, _sandbox_consume_extension, _sandbox_consume_fs_extension, 3337 _sandbox_checkattr_free, _sandbox_clear_approval_cache, _sandbox_consume_extension,
3200 _sandbox_consume_mach_extension, _sandbox_container_path_for_audit_token, 3338 _sandbox_consume_fs_extension, _sandbox_consume_mach_extension,
3201 _sandbox_container_path_for_pid, _sandbox_enable_local_state_flag, 3339 _sandbox_container_path_for_audit_token, _sandbox_container_path_for_pid,
3202 _sandbox_enable_root_translation, _sandbox_enable_state_flag, 3340 _sandbox_enable_local_state_flag, _sandbox_enable_root_translation,
3203 _sandbox_extension_consume, _sandbox_extension_issue_file, 3341 _sandbox_enable_state_flag, _sandbox_extension_consume, _sandbox_extension_issue_file,
3204 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid, 3342 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid,
3205 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic, 3343 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic,
3206 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid, 3344 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid,
...@@ -3212,16 +3350,18 @@ exports:...@@ -3212,16 +3350,18 @@ exports:
3212 _sandbox_extension_release_file, _sandbox_extension_update_file, 3350 _sandbox_extension_release_file, _sandbox_extension_update_file,
3213 _sandbox_extension_update_file_by_fileid, _sandbox_free_error, 3351 _sandbox_extension_update_file_by_fileid, _sandbox_free_error,
3214 _sandbox_get_container_expected, _sandbox_init, _sandbox_init_from_pid, 3352 _sandbox_get_container_expected, _sandbox_init, _sandbox_init_from_pid,
3215 _sandbox_init_with_parameters, _sandbox_issue_fs_extension, 3353 _sandbox_init_with_parameters, _sandbox_integrity_check_app_bundle,
3216 _sandbox_issue_mach_extension, _sandbox_message_filter_query, 3354 _sandbox_issue_fs_extension, _sandbox_issue_mach_extension,
3217 _sandbox_message_filter_release, _sandbox_message_filter_retain, 3355 _sandbox_message_filter_query, _sandbox_message_filter_release,
3218 _sandbox_note, _sandbox_passthrough_access, _sandbox_proc_getcontainer, 3356 _sandbox_message_filter_retain, _sandbox_note, _sandbox_passthrough_access,
3219 _sandbox_proc_getprofilename, _sandbox_query_approval_policy_for_path, 3357 _sandbox_proc_getcontainer, _sandbox_proc_getprofilename,
3220 _sandbox_query_user_intent_for_process_with_audit_token, _sandbox_reference_release, 3358 _sandbox_query_approval_policy_for_path, _sandbox_query_user_intent_for_process_with_audit_token,
3221 _sandbox_reference_retain_by_audit_token, _sandbox_register_app_bundle, 3359 _sandbox_reference_release, _sandbox_reference_retain_by_audit_token,
3222 _sandbox_register_app_bundle_exception, _sandbox_register_app_bundle_package_exception, 3360 _sandbox_register_app_bundle, _sandbox_register_app_bundle_exception,
3223 _sandbox_register_app_container, _sandbox_register_app_container_exception, 3361 _sandbox_register_app_bundle_package_exception, _sandbox_register_app_container,
3224 _sandbox_register_app_container_package_exception, _sandbox_register_bastion_profile, 3362 _sandbox_register_app_container_exception, _sandbox_register_app_container_package_exception,
3363 _sandbox_register_app_data_protection, _sandbox_register_app_data_protection_exception,
3364 _sandbox_register_app_data_protection_package_exception, _sandbox_register_bastion_profile,
3225 _sandbox_register_disk_image_backing_store, _sandbox_register_sync_root, 3365 _sandbox_register_disk_image_backing_store, _sandbox_register_sync_root,
3226 _sandbox_release_fs_extension, _sandbox_requests_integrity_protection_for_preference_domain, 3366 _sandbox_release_fs_extension, _sandbox_requests_integrity_protection_for_preference_domain,
3227 _sandbox_set_container_path_for_application_group, _sandbox_set_container_path_for_application_group_with_persona, 3367 _sandbox_set_container_path_for_application_group, _sandbox_set_container_path_for_application_group_with_persona,
...@@ -3232,20 +3372,20 @@ exports:...@@ -3232,20 +3372,20 @@ exports:
3232 _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container, 3372 _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container,
3233 _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store, 3373 _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store,
3234 _sandbox_unsuspend ]3374 _sandbox_unsuspend ]
3235 - targets: [ x86_64-macos, arm64e-macos ]3375 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3236 symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT, 3376 symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT,
3237 _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply, 3377 _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply,
3238 _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free, 3378 _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free,
3239 _rootless_manifest_parse, _rootless_preflight ]3379 _rootless_manifest_parse, _rootless_preflight ]
3240--- !tapi-tbd3380--- !tapi-tbd
3241tbd-version: 43381tbd-version: 4
3242targets: [ x86_64-macos, arm64e-macos ]3382targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3243install-name: '/usr/lib/system/libsystem_sanitizers.dylib'3383install-name: '/usr/lib/system/libsystem_sanitizers.dylib'
3244parent-umbrella:3384parent-umbrella:
3245 - targets: [ x86_64-macos, arm64e-macos ]3385 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3246 umbrella: System3386 umbrella: System
3247exports:3387exports:
3248 - targets: [ x86_64-macos, arm64e-macos ]3388 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3249 symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned, 3389 symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned,
3250 ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison, 3390 ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison,
3251 ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init, 3391 ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init,
...@@ -3266,32 +3406,40 @@ exports:...@@ -3266,32 +3406,40 @@ exports:
3266 ___asan_get_free_stack, ___asan_get_report_access_size, ___asan_get_report_access_type, 3406 ___asan_get_free_stack, ___asan_get_report_access_size, ___asan_get_report_access_type,
3267 ___asan_get_report_address, ___asan_get_report_bp, ___asan_get_report_description, 3407 ___asan_get_report_address, ___asan_get_report_bp, ___asan_get_report_description,
3268 ___asan_get_report_pc, ___asan_get_report_sp, ___asan_get_shadow_mapping, 3408 ___asan_get_report_pc, ___asan_get_report_sp, ___asan_get_shadow_mapping,
3269 ___asan_locate_address, ___asan_report_present, __sanitizers_init, 3409 ___asan_locate_address, ___asan_report_present, ___bounds_safety_soft_trap,
3270 _sanitizers_address_on_report, _sanitizers_diagnose_memory_error, 3410 __sanitizers_atfork_child, __sanitizers_atfork_parent, __sanitizers_atfork_prepare,
3271 _sanitizers_report_globals, _sanitizers_testonly_diagnose_error, 3411 __sanitizers_init, _sanitizers_address_on_report, _sanitizers_config_get,
3272 _sanitizers_testonly_get_shadow_address ]3412 _sanitizers_diagnose_memory_error, _sanitizers_report_globals,
3413 _sanitizers_testonly_diagnose_error, _sanitizers_testonly_get_shadow_address,
3414 _sanitizers_testonly_mtasan_init_ringbuffer, _sanitizers_testonly_trace_init_data_structures ]
3273--- !tapi-tbd3415--- !tapi-tbd
3274tbd-version: 43416tbd-version: 4
3275targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3417targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3418 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3276install-name: '/usr/lib/system/libsystem_secinit.dylib'3419install-name: '/usr/lib/system/libsystem_secinit.dylib'
3277current-version: 168.100.73420current-version: 182
3278parent-umbrella:3421parent-umbrella:
3279 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3422 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3423 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3280 umbrella: System3424 umbrella: System
3281exports:3425exports:
3282 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3426 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3427 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3283 symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user, 3428 symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user,
3284 _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes, 3429 _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes,
3285 _libsecinit_fileoperation_symlink ]3430 _libsecinit_fileoperation_symlink ]
3286--- !tapi-tbd3431--- !tapi-tbd
3287tbd-version: 43432tbd-version: 4
3288targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3433targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3434 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3289install-name: '/usr/lib/system/libsystem_symptoms.dylib'3435install-name: '/usr/lib/system/libsystem_symptoms.dylib'
3290parent-umbrella:3436parent-umbrella:
3291 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3437 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3438 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3292 umbrella: System3439 umbrella: System
3293exports:3440exports:
3294 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3441 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3442 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3295 symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition, 3443 symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition,
3296 __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init, 3444 __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init,
3297 _symptom_framework_set_version, _symptom_new, _symptom_send, 3445 _symptom_framework_set_version, _symptom_new, _symptom_send,
...@@ -3299,14 +3447,17 @@ exports:...@@ -3299,14 +3447,17 @@ exports:
3299 _symptom_set_qualifier ]3447 _symptom_set_qualifier ]
3300--- !tapi-tbd3448--- !tapi-tbd
3301tbd-version: 43449tbd-version: 4
3302targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3450targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3451 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3303install-name: '/usr/lib/system/libsystem_trace.dylib'3452install-name: '/usr/lib/system/libsystem_trace.dylib'
3304current-version: 1861.120.43453current-version: 1966.1.1
3305parent-umbrella:3454parent-umbrella:
3306 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3455 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3456 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3307 umbrella: System3457 umbrella: System
3308exports:3458exports:
3309 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3459 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3460 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3310 symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource, 3461 symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource,
3311 _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource, 3462 _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource,
3312 _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate, 3463 _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate,
...@@ -3322,13 +3473,13 @@ exports:...@@ -3322,13 +3473,13 @@ exports:
3322 __os_activity_none, __os_activity_set_breadcrumb, __os_activity_start, 3473 __os_activity_none, __os_activity_set_breadcrumb, __os_activity_start,
3323 __os_activity_stream_entry_encode, __os_log_create, __os_log_debug, 3474 __os_activity_stream_entry_encode, __os_log_create, __os_log_debug,
3324 __os_log_debug_impl, __os_log_default, __os_log_disabled, 3475 __os_log_debug_impl, __os_log_default, __os_log_disabled,
3325 __os_log_error, __os_log_error_impl, __os_log_fault, __os_log_fault_impl, 3476 __os_log_dynamic_impl_4XOJIT, __os_log_error, __os_log_error_impl,
3326 __os_log_get_nscf_formatter, __os_log_impl, __os_log_internal, 3477 __os_log_fault, __os_log_fault_impl, __os_log_get_nscf_formatter,
3327 __os_log_pack_fill, __os_log_pack_size, __os_log_preferences_compute, 3478 __os_log_impl, __os_log_internal, __os_log_pack_fill, __os_log_pack_size,
3328 __os_log_preferences_copy_cache, __os_log_preferences_load, 3479 __os_log_preferences_compute, __os_log_preferences_copy_cache,
3329 __os_log_preferences_load_sysprefs, __os_log_preferences_merge, 3480 __os_log_preferences_load, __os_log_preferences_load_sysprefs,
3330 __os_log_release, __os_log_send_and_compose_impl, __os_log_set_nscf_formatter, 3481 __os_log_preferences_merge, __os_log_release, __os_log_send_and_compose_impl,
3331 __os_log_unreliable_impl, __os_metric_double_create_impl, 3482 __os_log_set_nscf_formatter, __os_log_unreliable_impl, __os_metric_double_create_impl,
3332 __os_metric_double_op_impl, __os_metric_int64_create_impl, 3483 __os_metric_double_op_impl, __os_metric_int64_create_impl,
3333 __os_metric_int64_op_impl, __os_metric_label_create_impl, 3484 __os_metric_int64_op_impl, __os_metric_label_create_impl,
3334 __os_metric_label_create_v, __os_metric_reset_impl, __os_metric_set_scale_impl, 3485 __os_metric_label_create_v, __os_metric_reset_impl, __os_metric_set_scale_impl,
...@@ -3345,17 +3496,19 @@ exports:...@@ -3345,17 +3496,19 @@ exports:
3345 __os_trace_macho_for_each_slice, __os_trace_malloc_typed, 3496 __os_trace_macho_for_each_slice, __os_trace_malloc_typed,
3346 __os_trace_memdup, __os_trace_mmap, __os_trace_mmap_at, __os_trace_mmap_offset, 3497 __os_trace_memdup, __os_trace_mmap, __os_trace_mmap_at, __os_trace_mmap_offset,
3347 __os_trace_mode_match_4tests, __os_trace_os_cryptex_sysprefsdir_path, 3498 __os_trace_mode_match_4tests, __os_trace_os_cryptex_sysprefsdir_path,
3348 __os_trace_prefs_latest_version_4tests, __os_trace_prefsdir_path, 3499 __os_trace_personas_in_oslog_enabled, __os_trace_prefs_latest_version_4tests,
3349 __os_trace_read_file_at, __os_trace_read_plist_at, __os_trace_realloc_typed, 3500 __os_trace_prefscachedir_path, __os_trace_prefsdir_path, __os_trace_read_file_at,
3350 __os_trace_scandir_free_namelist, __os_trace_sect_names, __os_trace_set_diagnostic_flags, 3501 __os_trace_read_plist_at, __os_trace_realloc_typed, __os_trace_scandir_free_namelist,
3351 __os_trace_set_mode_for_pid, __os_trace_strdup, __os_trace_sysprefsdir_path, 3502 __os_trace_sect_names, __os_trace_set_diagnostic_flags, __os_trace_set_intprefsdir_path,
3352 __os_trace_update_with_datavolume_4launchd, __os_trace_with_buffer, 3503 __os_trace_set_mode_for_pid, __os_trace_set_prefscachedir_path,
3353 __os_trace_write, __os_trace_writev, __os_trace_zalloc_typed, 3504 __os_trace_set_prefsdir_path, __os_trace_set_sysprefsdir_path,
3354 _amfi_check_dyld_policy_for_pid, _amfi_check_dyld_policy_self, 3505 __os_trace_strdup, __os_trace_sysprefsdir_path, __os_trace_update_with_datavolume_4launchd,
3355 _amfi_load_trust_cache, _amfi_unload_trust_cache, _os_activity_apply, 3506 __os_trace_with_buffer, __os_trace_write, __os_trace_writev,
3356 _os_activity_apply_f, _os_activity_diagnostic_for_pid, _os_activity_end, 3507 __os_trace_zalloc_typed, _amfi_check_dyld_policy_for_pid,
3357 _os_activity_for_task_thread, _os_activity_for_thread, _os_activity_get_active, 3508 _amfi_check_dyld_policy_self, _amfi_load_trust_cache, _amfi_unload_trust_cache,
3358 _os_activity_get_identifier, _os_activity_iterate_activities, 3509 _os_activity_apply, _os_activity_apply_f, _os_activity_diagnostic_for_pid,
3510 _os_activity_end, _os_activity_for_task_thread, _os_activity_for_thread,
3511 _os_activity_get_active, _os_activity_get_identifier, _os_activity_iterate_activities,
3359 _os_activity_iterate_breadcrumbs, _os_activity_iterate_messages, 3512 _os_activity_iterate_breadcrumbs, _os_activity_iterate_messages,
3360 _os_activity_iterate_processes, _os_activity_messages_for_thread, 3513 _os_activity_iterate_processes, _os_activity_messages_for_thread,
3361 _os_activity_scope_enter, _os_activity_scope_leave, _os_log_backtrace_copy_description, 3514 _os_activity_scope_enter, _os_activity_scope_leave, _os_log_backtrace_copy_description,
...@@ -3384,26 +3537,29 @@ exports:...@@ -3384,26 +3537,29 @@ exports:
3384 objc-classes: [ OS_os_log ]3537 objc-classes: [ OS_os_log ]
3385--- !tapi-tbd3538--- !tapi-tbd
3386tbd-version: 43539tbd-version: 4
3387targets: [ x86_64-macos, arm64e-macos ]3540targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3388install-name: '/usr/lib/system/libsystem_trial.dylib'3541install-name: '/usr/lib/system/libsystem_trial.dylib'
3389current-version: 474.2.183542current-version: 511
3390parent-umbrella:3543parent-umbrella:
3391 - targets: [ x86_64-macos, arm64e-macos ]3544 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3392 umbrella: System3545 umbrella: System
3393exports:3546exports:
3394 - targets: [ x86_64-macos, arm64e-macos ]3547 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3395 symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_impl, 3548 symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_long_impl,
3396 __os_trial_factor_has_impl ]3549 __os_trial_factor_has_impl ]
3397--- !tapi-tbd3550--- !tapi-tbd
3398tbd-version: 43551tbd-version: 4
3399targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3552targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3553 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3400install-name: '/usr/lib/system/libunwind.dylib'3554install-name: '/usr/lib/system/libunwind.dylib'
3401current-version: 2100.23555current-version: 2200.5
3402parent-umbrella:3556parent-umbrella:
3403 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3557 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3558 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3404 umbrella: System3559 umbrella: System
3405exports:3560exports:
3406 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3561 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3562 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3407 symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction, 3563 symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction,
3408 __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA, 3564 __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA,
3409 __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo, 3565 __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo,
...@@ -3418,17 +3574,20 @@ exports:...@@ -3418,17 +3574,20 @@ exports:
3418 _unw_get_proc_info, _unw_get_proc_name, _unw_get_reg, _unw_getcontext, 3574 _unw_get_proc_info, _unw_get_proc_name, _unw_get_reg, _unw_getcontext,
3419 _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache, 3575 _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache,
3420 _unw_local_addr_space, _unw_regname, _unw_resume, _unw_resume_with_frames_walked, 3576 _unw_local_addr_space, _unw_regname, _unw_resume, _unw_resume_with_frames_walked,
3421 _unw_set_fpreg, _unw_set_reg, _unw_step ]3577 _unw_set_fpreg, _unw_set_reg, _unw_step, _unw_strerror ]
3422--- !tapi-tbd3578--- !tapi-tbd
3423tbd-version: 43579tbd-version: 4
3424targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3580targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3581 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3425install-name: '/usr/lib/system/libxpc.dylib'3582install-name: '/usr/lib/system/libxpc.dylib'
3426current-version: 3102.120.133583current-version: 3298.1.1
3427parent-umbrella:3584parent-umbrella:
3428 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3585 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3586 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3429 umbrella: System3587 umbrella: System
3430exports:3588exports:
3431 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3589 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
3590 arm64e.x1-macos, arm64e.x1-maccatalyst ]
3432 symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN, 3591 symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN,
3433 _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE, 3592 _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE,
3434 _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE, 3593 _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE,
...@@ -3504,26 +3663,27 @@ exports:...@@ -3504,26 +3663,27 @@ exports:
3504 __xpc_shmem_get_mach_port, __xpc_spawnattr_binprefs_pack, 3663 __xpc_shmem_get_mach_port, __xpc_spawnattr_binprefs_pack,
3505 __xpc_spawnattr_binprefs_size, __xpc_spawnattr_binprefs_unpack, 3664 __xpc_spawnattr_binprefs_size, __xpc_spawnattr_binprefs_unpack,
3506 __xpc_spawnattr_pack_bytes, __xpc_spawnattr_pack_string, __xpc_spawnattr_pack_string_fragment, 3665 __xpc_spawnattr_pack_bytes, __xpc_spawnattr_pack_string, __xpc_spawnattr_pack_string_fragment,
3507 __xpc_spawnattr_unpack_bytes, __xpc_spawnattr_unpack_string, 3666 __xpc_spawnattr_pack_xpc_data, __xpc_spawnattr_unpack_bytes,
3508 __xpc_spawnattr_unpack_strings, __xpc_string_set_value, __xpc_type_activity, 3667 __xpc_spawnattr_unpack_string, __xpc_spawnattr_unpack_strings,
3509 __xpc_type_array, __xpc_type_base, __xpc_type_bool, __xpc_type_bundle, 3668 __xpc_string_set_value, __xpc_type_activity, __xpc_type_array,
3510 __xpc_type_connection, __xpc_type_data, __xpc_type_date, __xpc_type_dictionary, 3669 __xpc_type_base, __xpc_type_bool, __xpc_type_bundle, __xpc_type_connection,
3511 __xpc_type_double, __xpc_type_endpoint, __xpc_type_error, 3670 __xpc_type_data, __xpc_type_date, __xpc_type_dictionary, __xpc_type_double,
3512 __xpc_type_fd, __xpc_type_file_transfer, __xpc_type_int64, 3671 __xpc_type_endpoint, __xpc_type_error, __xpc_type_fd, __xpc_type_file_transfer,
3513 __xpc_type_mach_recv, __xpc_type_mach_send, __xpc_type_mach_send_once, 3672 __xpc_type_int64, __xpc_type_mach_recv, __xpc_type_mach_send,
3514 __xpc_type_null, __xpc_type_pipe, __xpc_type_pointer, __xpc_type_rich_error, 3673 __xpc_type_mach_send_once, __xpc_type_null, __xpc_type_pipe,
3515 __xpc_type_serializer, __xpc_type_service, __xpc_type_service_instance, 3674 __xpc_type_pointer, __xpc_type_rich_error, __xpc_type_serializer,
3516 __xpc_type_session, __xpc_type_shmem, __xpc_type_string, __xpc_type_string_cache, 3675 __xpc_type_service, __xpc_type_service_instance, __xpc_type_session,
3676 __xpc_type_shmem, __xpc_type_string, __xpc_type_string_cache,
3517 __xpc_type_uint64, __xpc_type_uuid, __xpc_vtables, _amfi_developer_mode_resolved, 3677 __xpc_type_uint64, __xpc_type_uuid, __xpc_vtables, _amfi_developer_mode_resolved,
3518 _amfi_developer_mode_status, _amfi_interface_authorize_local_signing, 3678 _amfi_developer_mode_status, _amfi_interface_authorize_local_signing,
3519 _amfi_interface_cdhash_in_trustcache, _amfi_interface_get_local_signing_private_key, 3679 _amfi_interface_authorize_local_signing_with_length, _amfi_interface_cdhash_in_trustcache,
3520 _amfi_interface_get_local_signing_public_key, _amfi_interface_query_bootarg_state, 3680 _amfi_interface_get_local_signing_private_key, _amfi_interface_get_local_signing_public_key,
3521 _amfi_interface_set_local_signing_public_key, _amfi_launch_constraint_matches_process, 3681 _amfi_interface_query_bootarg_state, _amfi_interface_set_local_signing_public_key,
3522 _amfi_launch_constraint_set_spawnattr, _amfi_restricted_execution_mode_enable, 3682 _amfi_launch_constraint_matches_process, _amfi_launch_constraint_set_spawnattr,
3523 _amfi_restricted_execution_mode_status, _bootstrap_check_in, 3683 _amfi_restricted_execution_mode_enable, _amfi_restricted_execution_mode_status,
3524 _bootstrap_check_in2, _bootstrap_check_in3, _bootstrap_create_server, 3684 _bootstrap_check_in, _bootstrap_check_in2, _bootstrap_check_in3,
3525 _bootstrap_create_service, _bootstrap_get_root, _bootstrap_info, 3685 _bootstrap_create_server, _bootstrap_create_service, _bootstrap_get_root,
3526 _bootstrap_init, _bootstrap_look_up, _bootstrap_look_up2, 3686 _bootstrap_info, _bootstrap_init, _bootstrap_look_up, _bootstrap_look_up2,
3527 _bootstrap_look_up3, _bootstrap_look_up_per_user, _bootstrap_lookup_children, 3687 _bootstrap_look_up3, _bootstrap_look_up_per_user, _bootstrap_lookup_children,
3528 _bootstrap_parent, _bootstrap_register, _bootstrap_register2, 3688 _bootstrap_parent, _bootstrap_register, _bootstrap_register2,
3529 _bootstrap_status, _bootstrap_strerror, _bootstrap_subset, 3689 _bootstrap_status, _bootstrap_strerror, _bootstrap_subset,
...@@ -3613,7 +3773,8 @@ exports:...@@ -3613,7 +3773,8 @@ exports:
3613 _xpc_bundle_populate, _xpc_bundle_resolve, _xpc_bundle_resolve_on_queue, 3773 _xpc_bundle_populate, _xpc_bundle_resolve, _xpc_bundle_resolve_on_queue,
3614 _xpc_bundle_resolve_sync, _xpc_coalition_copy_info, _xpc_coalition_history_pipe_async, 3774 _xpc_bundle_resolve_sync, _xpc_coalition_copy_info, _xpc_coalition_history_pipe_async,
3615 _xpc_connection_activate, _xpc_connection_bs_seal_listener, 3775 _xpc_connection_activate, _xpc_connection_bs_seal_listener,
3616 _xpc_connection_cancel, _xpc_connection_copy_bundle_id, _xpc_connection_copy_entitlement_value, 3776 _xpc_connection_cancel, _xpc_connection_consume_bs_checkin_info,
3777 _xpc_connection_copy_bundle_id, _xpc_connection_copy_entitlement_value,
3617 _xpc_connection_copy_invalidation_reason, _xpc_connection_create, 3778 _xpc_connection_copy_invalidation_reason, _xpc_connection_create,
3618 _xpc_connection_create_bs_service_listener, _xpc_connection_create_from_endpoint, 3779 _xpc_connection_create_bs_service_listener, _xpc_connection_create_from_endpoint,
3619 _xpc_connection_create_listener, _xpc_connection_create_mach_service, 3780 _xpc_connection_create_listener, _xpc_connection_create_mach_service,
...@@ -3626,13 +3787,14 @@ exports:...@@ -3626,13 +3787,14 @@ exports:
3626 _xpc_connection_resume, _xpc_connection_send_barrier, _xpc_connection_send_message, 3787 _xpc_connection_resume, _xpc_connection_send_barrier, _xpc_connection_send_message,
3627 _xpc_connection_send_message_with_reply, _xpc_connection_send_message_with_reply_sync, 3788 _xpc_connection_send_message_with_reply, _xpc_connection_send_message_with_reply_sync,
3628 _xpc_connection_send_notification, _xpc_connection_set_bootstrap, 3789 _xpc_connection_send_notification, _xpc_connection_set_bootstrap,
3629 _xpc_connection_set_bs_type, _xpc_connection_set_context, 3790 _xpc_connection_set_bs_checkin_info, _xpc_connection_set_bs_type,
3630 _xpc_connection_set_distorter, _xpc_connection_set_event_channel, 3791 _xpc_connection_set_context, _xpc_connection_set_distorter,
3631 _xpc_connection_set_event_handler, _xpc_connection_set_finalizer_f, 3792 _xpc_connection_set_event_channel, _xpc_connection_set_event_handler,
3632 _xpc_connection_set_instance, _xpc_connection_set_instance_binpref, 3793 _xpc_connection_set_finalizer_f, _xpc_connection_set_instance,
3633 _xpc_connection_set_legacy, _xpc_connection_set_non_launching, 3794 _xpc_connection_set_instance_binpref, _xpc_connection_set_legacy,
3634 _xpc_connection_set_oneshot_instance, _xpc_connection_set_peer_code_signing_requirement, 3795 _xpc_connection_set_non_launching, _xpc_connection_set_oneshot_instance,
3635 _xpc_connection_set_peer_entitlement_exists_requirement, _xpc_connection_set_peer_entitlement_matches_value_requirement, 3796 _xpc_connection_set_peer_code_signing_requirement, _xpc_connection_set_peer_entitlement_exists_requirement,
3797 _xpc_connection_set_peer_entitlement_matches_value_requirement,
3636 _xpc_connection_set_peer_lightweight_code_requirement, _xpc_connection_set_peer_platform_identity_requirement, 3798 _xpc_connection_set_peer_lightweight_code_requirement, _xpc_connection_set_peer_platform_identity_requirement,
3637 _xpc_connection_set_peer_requirement, _xpc_connection_set_peer_team_identity_requirement, 3799 _xpc_connection_set_peer_requirement, _xpc_connection_set_peer_team_identity_requirement,
3638 _xpc_connection_set_privileged, _xpc_connection_set_qos_class_fallback, 3800 _xpc_connection_set_privileged, _xpc_connection_set_qos_class_fallback,
...@@ -3660,17 +3822,16 @@ exports:...@@ -3660,17 +3822,16 @@ exports:
3660 _xpc_dictionary_create_empty, _xpc_dictionary_create_reply, 3822 _xpc_dictionary_create_empty, _xpc_dictionary_create_reply,
3661 _xpc_dictionary_dup_fd, _xpc_dictionary_expects_reply, _xpc_dictionary_extract_mach_recv, 3823 _xpc_dictionary_dup_fd, _xpc_dictionary_expects_reply, _xpc_dictionary_extract_mach_recv,
3662 _xpc_dictionary_get_array, _xpc_dictionary_get_audit_token, 3824 _xpc_dictionary_get_array, _xpc_dictionary_get_audit_token,
3663 _xpc_dictionary_get_bool, _xpc_dictionary_get_connection, 3825 _xpc_dictionary_get_bool, _xpc_dictionary_get_count, _xpc_dictionary_get_data,
3664 _xpc_dictionary_get_count, _xpc_dictionary_get_data, _xpc_dictionary_get_date, 3826 _xpc_dictionary_get_date, _xpc_dictionary_get_dictionary,
3665 _xpc_dictionary_get_dictionary, _xpc_dictionary_get_double, 3827 _xpc_dictionary_get_double, _xpc_dictionary_get_int64, _xpc_dictionary_get_pointer,
3666 _xpc_dictionary_get_int64, _xpc_dictionary_get_pointer, _xpc_dictionary_get_remote_connection, 3828 _xpc_dictionary_get_remote_connection, _xpc_dictionary_get_string,
3667 _xpc_dictionary_get_string, _xpc_dictionary_get_uint64, _xpc_dictionary_get_uuid, 3829 _xpc_dictionary_get_uint64, _xpc_dictionary_get_uuid, _xpc_dictionary_get_value,
3668 _xpc_dictionary_get_value, _xpc_dictionary_handoff_reply, 3830 _xpc_dictionary_handoff_reply, _xpc_dictionary_handoff_reply_f,
3669 _xpc_dictionary_handoff_reply_f, _xpc_dictionary_send_reply, 3831 _xpc_dictionary_send_reply, _xpc_dictionary_send_reply_4SWIFT,
3670 _xpc_dictionary_send_reply_4SWIFT, _xpc_dictionary_set_bool, 3832 _xpc_dictionary_set_bool, _xpc_dictionary_set_connection,
3671 _xpc_dictionary_set_connection, _xpc_dictionary_set_data, 3833 _xpc_dictionary_set_data, _xpc_dictionary_set_date, _xpc_dictionary_set_double,
3672 _xpc_dictionary_set_date, _xpc_dictionary_set_double, _xpc_dictionary_set_fd, 3834 _xpc_dictionary_set_fd, _xpc_dictionary_set_int64, _xpc_dictionary_set_mach_recv,
3673 _xpc_dictionary_set_int64, _xpc_dictionary_set_mach_recv,
3674 _xpc_dictionary_set_mach_send, _xpc_dictionary_set_pointer, 3835 _xpc_dictionary_set_mach_send, _xpc_dictionary_set_pointer,
3675 _xpc_dictionary_set_string, _xpc_dictionary_set_uint64, _xpc_dictionary_set_uuid, 3836 _xpc_dictionary_set_string, _xpc_dictionary_set_uint64, _xpc_dictionary_set_uuid,
3676 _xpc_dictionary_set_value, _xpc_dictionary_set_value_with_key_string_cache, 3837 _xpc_dictionary_set_value, _xpc_dictionary_set_value_with_key_string_cache,
...@@ -3732,29 +3893,29 @@ exports:...@@ -3732,29 +3893,29 @@ exports:
3732 _xpc_service_instance_set_cwd, _xpc_service_instance_set_endpoint, 3893 _xpc_service_instance_set_cwd, _xpc_service_instance_set_endpoint,
3733 _xpc_service_instance_set_environment, _xpc_service_instance_set_finalizer_f, 3894 _xpc_service_instance_set_environment, _xpc_service_instance_set_finalizer_f,
3734 _xpc_service_instance_set_jetsam_properties, _xpc_service_instance_set_path, 3895 _xpc_service_instance_set_jetsam_properties, _xpc_service_instance_set_path,
3735 _xpc_service_instance_set_start_suspended, _xpc_service_instance_set_use_sec_transition_shims, 3896 _xpc_service_instance_set_sanitizer_flags, _xpc_service_instance_set_start_suspended,
3736 _xpc_service_kickstart, _xpc_service_kickstart_with_flags, 3897 _xpc_service_instance_set_use_sec_transition_shims, _xpc_service_kickstart,
3737 _xpc_service_set_attach_handler, _xpc_session_activate, _xpc_session_cancel, 3898 _xpc_service_kickstart_with_flags, _xpc_service_set_attach_handler,
3738 _xpc_session_copy_description, _xpc_session_create_mach_service, 3899 _xpc_session_activate, _xpc_session_cancel, _xpc_session_copy_description,
3739 _xpc_session_create_xpc_endpoint, _xpc_session_create_xpc_service, 3900 _xpc_session_create_mach_service, _xpc_session_create_xpc_endpoint,
3740 _xpc_session_send_message, _xpc_session_send_message_with_reply_async, 3901 _xpc_session_create_xpc_service, _xpc_session_send_message,
3741 _xpc_session_send_message_with_reply_sync, _xpc_session_set_cancel_handler, 3902 _xpc_session_send_message_with_reply_async, _xpc_session_send_message_with_reply_sync,
3742 _xpc_session_set_incoming_message_handler, _xpc_session_set_instance, 3903 _xpc_session_set_cancel_handler, _xpc_session_set_incoming_message_handler,
3743 _xpc_session_set_peer_code_signing_requirement, _xpc_session_set_peer_requirement, 3904 _xpc_session_set_instance, _xpc_session_set_peer_code_signing_requirement,
3744 _xpc_session_set_target_queue, _xpc_session_set_target_user_session_uid, 3905 _xpc_session_set_peer_requirement, _xpc_session_set_target_queue,
3745 _xpc_set_event, _xpc_set_event_state, _xpc_set_event_stream_handler, 3906 _xpc_session_set_target_user_session_uid, _xpc_set_event,
3746 _xpc_set_event_with_flags, _xpc_set_idle_handler, _xpc_shmem_create, 3907 _xpc_set_event_state, _xpc_set_event_stream_handler, _xpc_set_event_with_flags,
3747 _xpc_shmem_create_readonly, _xpc_shmem_get_length, _xpc_shmem_map, 3908 _xpc_set_idle_handler, _xpc_shmem_create, _xpc_shmem_create_readonly,
3748 _xpc_strerror, _xpc_string_cache_create, _xpc_string_cache_for_each, 3909 _xpc_shmem_get_length, _xpc_shmem_map, _xpc_strerror, _xpc_string_cache_create,
3749 _xpc_string_cache_get_count, _xpc_string_cache_get_name, _xpc_string_create, 3910 _xpc_string_cache_for_each, _xpc_string_cache_get_count, _xpc_string_cache_get_name,
3750 _xpc_string_create_cached, _xpc_string_create_no_copy, _xpc_string_create_with_format, 3911 _xpc_string_create, _xpc_string_create_cached, _xpc_string_create_no_copy,
3751 _xpc_string_create_with_format_and_arguments, _xpc_string_get_length, 3912 _xpc_string_create_with_format, _xpc_string_create_with_format_and_arguments,
3752 _xpc_string_get_string_ptr, _xpc_test_symbols_exported, _xpc_track_activity, 3913 _xpc_string_get_length, _xpc_string_get_string_ptr, _xpc_test_symbols_exported,
3753 _xpc_transaction_begin, _xpc_transaction_end, _xpc_transaction_exit_clean, 3914 _xpc_track_activity, _xpc_transaction_begin, _xpc_transaction_end,
3754 _xpc_transaction_interrupt_clean_exit, _xpc_transaction_try_exit_clean, 3915 _xpc_transaction_exit_clean, _xpc_transaction_interrupt_clean_exit,
3755 _xpc_transactions_enable, _xpc_traverse_serialized_data, _xpc_type_get_name, 3916 _xpc_transaction_try_exit_clean, _xpc_transactions_enable,
3756 _xpc_uint64_create, _xpc_uint64_get_value, _xpc_user_sessions_enabled, 3917 _xpc_traverse_serialized_data, _xpc_type_get_name, _xpc_uint64_create,
3757 _xpc_user_sessions_get_foreground_uid, _xpc_user_sessions_get_session_uid, 3918 _xpc_uint64_get_value, _xpc_user_sessions_enabled, _xpc_user_sessions_get_foreground_uid,
3758 _xpc_uuid_create, _xpc_uuid_get_bytes ]3919 _xpc_user_sessions_get_session_uid, _xpc_uuid_create, _xpc_uuid_get_bytes ]
3759 objc-classes: [ OS_xpc_object ]3920 objc-classes: [ OS_xpc_object ]
3760...3921...
lib/libc/include/any-darwin-any/AssertMacros.h+1-1
...@@ -1272,7 +1272,7 @@...@@ -1272,7 +1272,7 @@
1272 * of the old macros into the new equivalents. To do so, in Terminal go into the directory containing the1272 * of the old macros into the new equivalents. To do so, in Terminal go into the directory containing the
1273 * sources to be converted and run this command.1273 * sources to be converted and run this command.
1274 *1274 *
1275 find -E . -regex '.*\.(c|cc|cp|cpp|m|mm|h)' -print0 | xargs -0 tops -verbose \1275 find -E . -regex '.*\.(c|cc|cp|cpp|m|mm|h|hh|hp|hpp)' -print0 | xargs -0 tops -verbose \
1276 replace "check(<b args>)" with "__Check(<args>)" \1276 replace "check(<b args>)" with "__Check(<args>)" \
1277 replace "check_noerr(<b args>)" with "__Check_noErr(<args>)" \1277 replace "check_noerr(<b args>)" with "__Check_noErr(<args>)" \
1278 replace "check_noerr_string(<b args>)" with "__Check_noErr_String(<args>)" \1278 replace "check_noerr_string(<b args>)" with "__Check_noErr_String(<args>)" \
lib/libc/include/any-darwin-any/AvailabilityInternal.h+18-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_540 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_27_0
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_544 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_27_0
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_554 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_27_0
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_558 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_27_0
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_568 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_27_0
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_574 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_27_0
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_586 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_27_0
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_592 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_27_0
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_5106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_27_0
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_5117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_27_0
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
...@@ -219,6 +219,14 @@...@@ -219,6 +219,14 @@
219 #endif /* __has_attribute(availability) */219 #endif /* __has_attribute(availability) */
220#endif /* defined(__has_feature) && defined(__has_attribute) */220#endif /* defined(__has_feature) && defined(__has_attribute) */
221221
222#if defined(__has_feature) && defined(__has_attribute)
223 #if __has_attribute(availability)
224 #define __API_AVAILABLE_PLATFORM_anyappleos(x) anyAppleOS,introduced=x
225 #define __API_DEPRECATED_PLATFORM_anyappleos(x,y) anyAppleOS,introduced=x,deprecated=y
226 #define __API_UNAVAILABLE_PLATFORM_anyappleos anyAppleOS,unavailable
227 #endif /* __has_attribute(availability) */
228#endif /* defined(__has_feature) && defined(__has_attribute) */
229
222#ifndef __OPEN_SOURCE__230#ifndef __OPEN_SOURCE__
223231
224#endif /* __OPEN_SOURCE__ */232#endif /* __OPEN_SOURCE__ */
lib/libc/include/any-darwin-any/AvailabilityVersions.h+16-1
...@@ -102,6 +102,8 @@...@@ -102,6 +102,8 @@
102#define __MAC_26_3 260300102#define __MAC_26_3 260300
103#define __MAC_26_4 260400103#define __MAC_26_4 260400
104#define __MAC_26_5 260500104#define __MAC_26_5 260500
105#define __MAC_26_6 260600
106#define __MAC_27_0 270000
105/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */107/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
106108
107#define __IPHONE_2_0 20000109#define __IPHONE_2_0 20000
...@@ -198,6 +200,8 @@...@@ -198,6 +200,8 @@
198#define __IPHONE_26_3 260300200#define __IPHONE_26_3 260300
199#define __IPHONE_26_4 260400201#define __IPHONE_26_4 260400
200#define __IPHONE_26_5 260500202#define __IPHONE_26_5 260500
203#define __IPHONE_26_6 260600
204#define __IPHONE_27_0 270000
201/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */205/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
202206
203#define __WATCHOS_1_0 10000207#define __WATCHOS_1_0 10000
...@@ -263,6 +267,8 @@...@@ -263,6 +267,8 @@
263#define __WATCHOS_26_3 260300267#define __WATCHOS_26_3 260300
264#define __WATCHOS_26_4 260400268#define __WATCHOS_26_4 260400
265#define __WATCHOS_26_5 260500269#define __WATCHOS_26_5 260500
270#define __WATCHOS_26_6 260600
271#define __WATCHOS_27_0 270000
266/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */272/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
267273
268#define __TVOS_9_0 90000274#define __TVOS_9_0 90000
...@@ -328,6 +334,8 @@...@@ -328,6 +334,8 @@
328#define __TVOS_26_3 260300334#define __TVOS_26_3 260300
329#define __TVOS_26_4 260400335#define __TVOS_26_4 260400
330#define __TVOS_26_5 260500336#define __TVOS_26_5 260500
337#define __TVOS_26_6 260600
338#define __TVOS_27_0 270000
331/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */339/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
332340
333#define __BRIDGEOS_2_0 20000341#define __BRIDGEOS_2_0 20000
...@@ -369,7 +377,8 @@...@@ -369,7 +377,8 @@
369#define __BRIDGEOS_10_2 100200377#define __BRIDGEOS_10_2 100200
370#define __BRIDGEOS_10_3 100300378#define __BRIDGEOS_10_3 100300
371#define __BRIDGEOS_10_4 100400379#define __BRIDGEOS_10_4 100400
372#define __BRIDGEOS_26_5 260500380#define __BRIDGEOS_10_5 100500
381#define __BRIDGEOS_10_6 100600
373382
374383
375#define __DRIVERKIT_19_0 190000384#define __DRIVERKIT_19_0 190000
...@@ -399,6 +408,8 @@...@@ -399,6 +408,8 @@
399#define __DRIVERKIT_25_3 250300408#define __DRIVERKIT_25_3 250300
400#define __DRIVERKIT_25_4 250400409#define __DRIVERKIT_25_4 250400
401#define __DRIVERKIT_25_5 250500410#define __DRIVERKIT_25_5 250500
411#define __DRIVERKIT_25_6 250600
412#define __DRIVERKIT_27_0 270000
402/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */413/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
403414
404#define __VISIONOS_1_0 10000415#define __VISIONOS_1_0 10000
...@@ -419,6 +430,8 @@...@@ -419,6 +430,8 @@
419#define __VISIONOS_26_3 260300430#define __VISIONOS_26_3 260300
420#define __VISIONOS_26_4 260400431#define __VISIONOS_26_4 260400
421#define __VISIONOS_26_5 260500432#define __VISIONOS_26_5 260500
433#define __VISIONOS_26_6 260600
434#define __VISIONOS_27_0 270000
422/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */435/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
423436
424437
...@@ -514,6 +527,8 @@...@@ -514,6 +527,8 @@
514#define MAC_OS_VERSION_26_3 __MAC_26_3527#define MAC_OS_VERSION_26_3 __MAC_26_3
515#define MAC_OS_VERSION_26_4 __MAC_26_4528#define MAC_OS_VERSION_26_4 __MAC_26_4
516#define MAC_OS_VERSION_26_5 __MAC_26_5529#define MAC_OS_VERSION_26_5 __MAC_26_5
530#define MAC_OS_VERSION_26_6 __MAC_26_6
531#define MAC_OS_VERSION_27_0 __MAC_27_0
517532
518#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */533#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */
519534
lib/libc/include/any-darwin-any/TargetConditionals.h+9-2
...@@ -137,6 +137,13 @@...@@ -137,6 +137,13 @@
137 * It is disabled by default.137 * It is disabled by default.
138 */138 */
139139
140
141#if defined(__is_target_environment) && defined(__has_extension)
142 #if __is_target_environment(kernelkit) && !__has_extension(define_target_os_macros)
143 #error KernelKit requires `-fdefine_target_os_macros`
144 #endif
145#endif
146
140#if !defined(__has_extension) || !__has_extension(define_target_os_macros)147#if !defined(__has_extension) || !__has_extension(define_target_os_macros)
141#if defined(__has_builtin)148#if defined(__has_builtin)
142 #if __has_builtin(__is_target_arch)149 #if __has_builtin(__is_target_arch)
...@@ -147,7 +154,7 @@...@@ -147,7 +154,7 @@
147 /* "-target=x86_64-apple-ios12-macabi" */154 /* "-target=x86_64-apple-ios12-macabi" */
148 /* "-target=arm64-apple-ios12-macabi" */155 /* "-target=arm64-apple-ios12-macabi" */
149 /* "-target=arm64e-apple-ios12-macabi" */156 /* "-target=arm64e-apple-ios12-macabi" */
150 #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)157 #if (__is_target_arch(x86_64) || __arm64__) && __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(macabi)
151 #define TARGET_OS_MAC 1158 #define TARGET_OS_MAC 1
152 #define TARGET_OS_IPHONE 1159 #define TARGET_OS_IPHONE 1
153 #define TARGET_OS_IOS 1160 #define TARGET_OS_IOS 1
...@@ -163,7 +170,7 @@...@@ -163,7 +170,7 @@
163 /* "-target=x86_64-apple-ios12-simulator" */170 /* "-target=x86_64-apple-ios12-simulator" */
164 /* "-target=arm64-apple-ios12-simulator" */171 /* "-target=arm64-apple-ios12-simulator" */
165 /* "-target=arm64e-apple-ios12-simulator" */172 /* "-target=arm64e-apple-ios12-simulator" */
166 #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(simulator)173 #if (__is_target_arch(x86_64) || __arm64__) && __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(simulator)
167 #define TARGET_OS_MAC 1174 #define TARGET_OS_MAC 1
168 #define TARGET_OS_IPHONE 1175 #define TARGET_OS_IPHONE 1
169 #define TARGET_OS_IOS 1176 #define TARGET_OS_IOS 1
lib/libc/include/any-darwin-any/_stdlib.h+2-2
...@@ -158,7 +158,7 @@ long atol(const char *);...@@ -158,7 +158,7 @@ long atol(const char *);
158long long158long long
159 atoll(const char *);159 atoll(const char *);
160#endif /* !__DARWIN_NO_LONG_LONG */160#endif /* !__DARWIN_NO_LONG_LONG */
161void *bsearch(const void *_LIBC_SIZE(__width) __key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel,161void *bsearch(const void *__key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel,
162 size_t __width, int (* _Nonnull __compar)(const void *, const void *));162 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
163/* calloc is now declared in _malloc.h */163/* calloc is now declared in _malloc.h */
164div_t div(int, int) __pure2;164div_t div(int, int) __pure2;
...@@ -304,7 +304,7 @@ int atexit_b(void (^ _Nonnull)(void)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IP...@@ -304,7 +304,7 @@ int atexit_b(void (^ _Nonnull)(void)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IP
304#define __bsearch_noescape304#define __bsearch_noescape
305#endif305#endif
306#endif /* __BLOCKS__ */306#endif /* __BLOCKS__ */
307void *bsearch_b(const void *_LIBC_SIZE(__width) __key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel,307void *bsearch_b(const void *__key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel,
308 size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)308 size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
309 __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);309 __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
310#endif /* __BLOCKS__ */310#endif /* __BLOCKS__ */
lib/libc/include/any-darwin-any/_types/_nl_item.h+1-1
...@@ -30,4 +30,4 @@...@@ -30,4 +30,4 @@
30#define _NL_ITEM 30#define _NL_ITEM
31#include <_types.h>31#include <_types.h>
32typedef __darwin_nl_item nl_item;32typedef __darwin_nl_item nl_item;
33#endif /* _NL_ITEM */
\ No newline at end of file
33#endif /* _NL_ITEM */
lib/libc/include/any-darwin-any/arm/limits.h+1-1
...@@ -60,7 +60,7 @@...@@ -60,7 +60,7 @@
60#if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>))60#if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>))
6161
62#if !__has_include_next(<limits.h>)62#if !__has_include_next(<limits.h>)
63#error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)63#error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=YES)
64#else64#else
65#include_next <limits.h>65#include_next <limits.h>
66#endif /* __has_include_next */66#endif /* __has_include_next */
lib/libc/include/any-darwin-any/dispatch/base.h+1-1
...@@ -366,4 +366,4 @@ typedef void (*dispatch_function_t)(void *_Nullable);...@@ -366,4 +366,4 @@ typedef void (*dispatch_function_t)(void *_Nullable);
366366
367DISPATCH_ASSUME_ABI_SINGLE_END367DISPATCH_ASSUME_ABI_SINGLE_END
368368
369#endif369#endif /* __DISPATCH_BASE__ */
lib/libc/include/any-darwin-any/dispatch/block.h+107-42
...@@ -50,56 +50,121 @@ __BEGIN_DECLS...@@ -50,56 +50,121 @@ __BEGIN_DECLS
50 * @const DISPATCH_BLOCK_DETACHED50 * @const DISPATCH_BLOCK_DETACHED
51 * Flag indicating that a dispatch block object should execute disassociated51 * Flag indicating that a dispatch block object should execute disassociated
52 * from current execution context attributes such as os_activity_t52 * from current execution context attributes such as os_activity_t
53 * and properties of the current IPC request (if any). With regard to QoS class,53 * and properties of the current IPC request (if any). This flag has the same
54 * the behavior is the same as for DISPATCH_BLOCK_NO_QOS. If invoked directly,54 * QoS implications as DISPATCH_BLOCK_NO_QOS_CLASS, in that the block will have
55 * the block object will remove the other attributes from the calling thread for55 * no QoS unless assigned one via dispatch_block_create_with_qos_class().
56 * the duration of the block body (before applying attributes assigned to the56 * If invoked directly, the block object will remove the other attributes from
57 * block object, if any). If submitted to a queue, the block object will be57 * the calling thread for the duration of the block body (before applying
58 * executed with the attributes of the queue (or any attributes specifically58 * attributes assigned to the block object, if any). If submitted to a queue,
59 * assigned to the block object).59 * the block object will be executed with the attributes of the queue.
60 *60 *
61 * @const DISPATCH_BLOCK_ASSIGN_CURRENT61 * @const DISPATCH_BLOCK_ASSIGN_CURRENT
62 * Flag indicating that a dispatch block object should be assigned the execution62 * Flag indicating that a dispatch block object should be assigned the execution
63 * context attributes that are current at the time the block object is created.63 * context attributes that are current at the time the block object is created.
64 * This applies to attributes such as QOS class, os_activity_t and properties of64 * This applies to attributes such as QoS class, os_activity_t and properties of
65 * the current IPC request (if any). If invoked directly, the block object will65 * the current IPC request (if any). If invoked directly, the block object will
66 * apply these attributes to the calling thread for the duration of the block66 * apply these attributes to the calling thread for the duration of the block
67 * body. If the block object is submitted to a queue, this flag replaces the67 * body. Note that direct invocation of a block can raise but not lower the
68 * default behavior of associating the submitted block instance with the68 * calling context's QoS class. If the block object is submitted to a queue,
69 * execution context attributes that are current at the time of submission.69 * this flag replaces the default behavior, where the submitted block's
70 * If a specific QOS class is assigned with DISPATCH_BLOCK_NO_QOS_CLASS or70 * assigned QoS and other execution attributes are inherited from the
71 * dispatch_block_create_with_qos_class(), that QOS class takes precedence over71 * submitting thread. If the creating thread and submitting thread are the
72 * the QOS class assignment indicated by this flag.72 * same, this flag has no effect. If a QoS class is assigned with
73 * dispatch_block_create_with_qos_class(), or if DISPATCH_BLOCK_NO_QOS_CLASS is
74 * passed, that setting takes precedence over the QoS class of the creating
75 * context.
73 *76 *
74 * @const DISPATCH_BLOCK_NO_QOS_CLASS77 * @const DISPATCH_BLOCK_NO_QOS_CLASS
75 * Flag indicating that a dispatch block object should be not be assigned a QOS78 * Flag indicating that a dispatch block object should be not be assigned a QoS
76 * class. If invoked directly, the block object will be executed with the QOS79 * class. If invoked directly, the block object will be executed with the QoS
77 * class of the calling thread. If the block object is submitted to a queue,80 * class of the calling thread. If the block object is submitted to a queue,
78 * this replaces the default behavior of associating the submitted block81 * this replaces the default behavior of assigning the current thread's QoS to
79 * instance with the QOS class current at the time of submission.82 * the block. This flag is ignored by dispatch_block_create_with_qos_class()
80 * This flag is ignored if a specific QOS class is assigned with83 * called with any qos_class other than QOS_CLASS_UNSPECIFIED. Combining this
81 * dispatch_block_create_with_qos_class().84 * flag with DISPATCH_BLOCK_ENFORCE_QOS_CLASS has no effect.
82 *85 *
83 * @const DISPATCH_BLOCK_INHERIT_QOS_CLASS86 * @const DISPATCH_BLOCK_INHERIT_QOS_CLASS
84 * Flag indicating that execution of a dispatch block object submitted to a87 * Flag indicating that execution of a dispatch block object submitted to a
85 * queue should prefer the QOS class assigned to the queue over the QOS class88 * queue should prefer the queue's specified QoS class over the block's
86 * assigned to the block (resp. associated with the block at the time of89 * assigned QoS class. The latter will only be used if the queue does not have
87 * submission). The latter will only be used if the queue in question does not90 * a specified QoS class, as long as doing so does not result in a QoS class
88 * have an assigned QOS class, as long as doing so does not result in a QOS91 * lower than the QoS class inherited from the queue's target queue.
89 * class lower than the QOS class inherited from the queue's target queue.
90 * This flag is the default when a dispatch block object is submitted to a queue92 * This flag is the default when a dispatch block object is submitted to a queue
91 * for asynchronous execution and has no effect when the dispatch block object93 * for asynchronous execution, and passing it explicitly to dispatch_async() or
92 * is invoked directly. It is ignored if DISPATCH_BLOCK_ENFORCE_QOS_CLASS is94 * dispatch_async_and_wait() has no additional effect. For synchronous
93 * also passed.95 * submission via dispatch_sync(), this flag overrides the default
96 * DISPATCH_BLOCK_ENFORCE_QOS_CLASS behavior. A block without an assigned QoS
97 * class has no enforcement to suppress, so this flag has no effect on
98 * dispatch_sync() in that case. When directly invoked, this flag will run at
99 * the QoS of the invoking thread and not result in any priority adjustments.
100 * This flag is ignored if DISPATCH_BLOCK_ENFORCE_QOS_CLASS is also passed.
94 *101 *
95 * @const DISPATCH_BLOCK_ENFORCE_QOS_CLASS102 * @const DISPATCH_BLOCK_ENFORCE_QOS_CLASS
96 * Flag indicating that execution of a dispatch block object submitted to a103 * Flag indicating that the block's assigned QoS class should be treated as
97 * queue should prefer the QOS class assigned to the block (resp. associated104 * enforced. When the block is submitted asynchronously to a queue, the
98 * with the block at the time of submission) over the QOS class assigned to the105 * enforced QoS class is preferred over the queue's specified QoS class,
99 * queue, as long as doing so will not result in a lower QOS class.106 * provided that doing so will not result in a lower QoS class. A block
107 * whose QoS class has been stripped (DISPATCH_BLOCK_NO_QOS_CLASS or
108 * DISPATCH_BLOCK_DETACHED) has no QoS class to enforce; this flag has no
109 * QoS effect in that case.
100 * This flag is the default when a dispatch block object is submitted to a queue110 * This flag is the default when a dispatch block object is submitted to a queue
101 * for synchronous execution or when the dispatch block object is invoked111 * for synchronous execution or when the dispatch block object is invoked
102 * directly.112 * directly.
113 *
114 * @discussion
115 * When a block is submitted to a queue with dispatch_async(), the QoS class
116 * at which the block runs is determined as follows:
117 *
118 * - If the block has an enforced QoS class
119 * (DISPATCH_BLOCK_ENFORCE_QOS_CLASS), the block runs at the higher of
120 * the enforced QoS class and the queue's specified or floor QoS class.
121 * - Otherwise, if the queue has a specified QoS class (from
122 * dispatch_queue_attr_make_with_qos_class()), the block runs at that
123 * QoS class.
124 * - Otherwise, the block runs at its assigned QoS class.
125 * - The above QoS class is then raised, if necessary, to the queue's floor
126 * QoS class (set via dispatch_set_qos_class_floor()) or to the specified
127 * or floor QoS class of any target queue.
128 *
129 * For an anonymous block (one not wrapped with a dispatch_block_create*
130 * function), the assigned QoS class is the QoS class of the calling thread at
131 * the moment dispatch_async() is called. This value can be checked with
132 * qos_class_self().
133 *
134 * If the block has no assigned QoS class (DISPATCH_BLOCK_NO_QOS_CLASS,
135 * DISPATCH_BLOCK_DETACHED, or an anonymous block submitted from a thread that
136 * has opted out of QoS), the rules above are applied with the assigned QoS
137 * class treated as QOS_CLASS_UNSPECIFIED. The queue's specified or floor QoS
138 * class wins if it has one, and the block runs at QOS_CLASS_DEFAULT if not.
139 *
140 * QoS propagation through dispatch_async() caps the propagated QoS class at
141 * QOS_CLASS_USER_INITIATED. Blocks that acquire their assigned QoS class by
142 * propagation (anonymous blocks, dispatch_block_create() without an explicit
143 * QoS class, and DISPATCH_BLOCK_ASSIGN_CURRENT) will have an assigned QoS of
144 * QOS_CLASS_USER_INITIATED if submitted (or created, in the ASSIGN_CURRENT
145 * case) from a thread at QOS_CLASS_USER_INTERACTIVE. A QoS class assigned
146 * directly via dispatch_block_create_with_qos_class() bypasses the cap, as
147 * does a queue's specified QoS class.
148 *
149 * When a block is submitted with dispatch_sync() or invoked directly, the
150 * QoS class at which the block runs is determined as follows:
151 *
152 * - The block runs on the caller's thread, so it inherits the caller's
153 * QoS class.
154 * - If the block has an assigned QoS class higher than the caller's, the
155 * thread elevates its own QoS class to that of the block for the
156 * duration of the block. DISPATCH_BLOCK_INHERIT_QOS_CLASS suppresses
157 * this elevation.
158 * - The queue's QoS configuration is not applied to the block when it is
159 * invoked.
160 *
161 * Blocks submitted synchronously via dispatch_async_and_wait() may run on
162 * either the calling thread or the worker thread currently servicing the
163 * queue. Unlike dispatch_sync(), the queue's specified QoS class and floor
164 * are observed. The executing thread runs the block at the highest of the
165 * caller's QoS class, the queue's QoS class, and the block's assigned QoS
166 * class when the block enforces it. This composition only raises QoS, never
167 * lowers it.
103 */168 */
104DISPATCH_REFINED_FOR_SWIFT169DISPATCH_REFINED_FOR_SWIFT
105DISPATCH_OPTIONS(dispatch_block_flags, unsigned long,170DISPATCH_OPTIONS(dispatch_block_flags, unsigned long,
...@@ -141,15 +206,15 @@ DISPATCH_OPTIONS(dispatch_block_flags, unsigned long,...@@ -141,15 +206,15 @@ DISPATCH_OPTIONS(dispatch_block_flags, unsigned long,
141 * on with dispatch_block_wait() or observed with dispatch_block_notify().206 * on with dispatch_block_wait() or observed with dispatch_block_notify().
142 *207 *
143 * If the returned dispatch block object is submitted to a dispatch queue, the208 * If the returned dispatch block object is submitted to a dispatch queue, the
144 * submitted block instance will be associated with the QOS class current at the209 * submitted block instance will be assigned the QOS class current at the time
145 * time of submission, unless one of the following flags assigned a specific QOS210 * of submission, unless one of the following flags assigned a specific QOS
146 * class (or no QOS class) at the time of block creation:211 * class (or no QOS class) at the time of block creation:
147 * - DISPATCH_BLOCK_ASSIGN_CURRENT212 * - DISPATCH_BLOCK_ASSIGN_CURRENT
148 * - DISPATCH_BLOCK_NO_QOS_CLASS213 * - DISPATCH_BLOCK_NO_QOS_CLASS
149 * - DISPATCH_BLOCK_DETACHED214 * - DISPATCH_BLOCK_DETACHED
150 * The QOS class the block object will be executed with also depends on the QOS215 * The QOS class the block object will be executed with also depends on the
151 * class assigned to the queue and which of the following flags was specified or216 * queue's specified QOS class and which of the following flags was specified
152 * defaulted to:217 * or defaulted to:
153 * - DISPATCH_BLOCK_INHERIT_QOS_CLASS (default for asynchronous execution)218 * - DISPATCH_BLOCK_INHERIT_QOS_CLASS (default for asynchronous execution)
154 * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS (default for synchronous execution)219 * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS (default for synchronous execution)
155 * See description of dispatch_block_flags_t for details.220 * See description of dispatch_block_flags_t for details.
...@@ -197,14 +262,14 @@ dispatch_block_create(dispatch_block_flags_t flags, dispatch_block_t block);...@@ -197,14 +262,14 @@ dispatch_block_create(dispatch_block_flags_t flags, dispatch_block_t block);
197 * only the first completed execution of a dispatch block object can be waited262 * only the first completed execution of a dispatch block object can be waited
198 * on with dispatch_block_wait() or observed with dispatch_block_notify().263 * on with dispatch_block_wait() or observed with dispatch_block_notify().
199 *264 *
200 * If invoked directly, the returned dispatch block object will be executed with265 * If invoked directly, the returned dispatch block object will be executed at
201 * the assigned QOS class as long as that does not result in a lower QOS class266 * the higher of the block's assigned QoS class and the calling thread's QoS
202 * than what is current on the calling thread.267 * class.
203 *268 *
204 * If the returned dispatch block object is submitted to a dispatch queue, the269 * If the returned dispatch block object is submitted to a dispatch queue, the
205 * QOS class it will be executed with depends on the QOS class assigned to the270 * QOS class it will be executed with depends on the QOS class assigned to the
206 * block, the QOS class assigned to the queue and which of the following flags271 * block, the queue's specified QOS class and which of the following flags was
207 * was specified or defaulted to:272 * specified or defaulted to:
208 * - DISPATCH_BLOCK_INHERIT_QOS_CLASS: default for asynchronous execution273 * - DISPATCH_BLOCK_INHERIT_QOS_CLASS: default for asynchronous execution
209 * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS: default for synchronous execution274 * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS: default for synchronous execution
210 * See description of dispatch_block_flags_t for details.275 * See description of dispatch_block_flags_t for details.
lib/libc/include/any-darwin-any/dispatch/dispatch.h+1-1
...@@ -78,4 +78,4 @@...@@ -78,4 +78,4 @@
7878
79#undef __DISPATCH_INDIRECT__79#undef __DISPATCH_INDIRECT__
8080
81#endif81#endif /* __DISPATCH_PUBLIC__ */
lib/libc/include/any-darwin-any/dispatch/group.h+1-1
...@@ -286,4 +286,4 @@ __END_DECLS...@@ -286,4 +286,4 @@ __END_DECLS
286DISPATCH_ASSUME_ABI_SINGLE_END286DISPATCH_ASSUME_ABI_SINGLE_END
287DISPATCH_ASSUME_NONNULL_END287DISPATCH_ASSUME_NONNULL_END
288288
289#endif289#endif /* __DISPATCH_GROUP__ */
lib/libc/include/any-darwin-any/dispatch/object.h+10-6
...@@ -460,13 +460,17 @@ dispatch_resume(dispatch_object_t object);...@@ -460,13 +460,17 @@ dispatch_resume(dispatch_object_t object);
460 * Sets the QOS class floor on a dispatch queue, source or workloop.460 * Sets the QOS class floor on a dispatch queue, source or workloop.
461 *461 *
462 * @discussion462 * @discussion
463 * The QOS class of workitems submitted to this object asynchronously will be463 * Workitems submitted to this object asynchronously run at the higher of
464 * elevated to at least the specified QOS class floor. The QOS of the workitem464 * the floor and the workitem's assigned QoS class (regardless of whether
465 * will be used if higher than the floor even when the workitem has been created465 * the workitem was created with DISPATCH_BLOCK_ENFORCE_QOS_CLASS) — i.e.
466 * without "ENFORCE" semantics.466 * the floor raises the workitem's QoS class but never lowers it.
467 *467 *
468 * Setting the QOS class floor is equivalent to the QOS effects of configuring468 * Setting the QOS class floor is equivalent to the QOS effects of configuring
469 * a queue whose target queue has a QoS class set to the same value.469 * a queue whose target queue has the same specified QoS class.
470 *
471 * If this queue was previously created with a specified QoS class (via
472 * dispatch_queue_attr_make_with_qos_class()), setting a floor QoS class
473 * supersedes the specified QoS class.
470 *474 *
471 * @param object475 * @param object
472 * A dispatch queue, workloop, or source to configure.476 * A dispatch queue, workloop, or source to configure.
...@@ -673,4 +677,4 @@ __END_DECLS...@@ -673,4 +677,4 @@ __END_DECLS
673DISPATCH_ASSUME_ABI_SINGLE_END677DISPATCH_ASSUME_ABI_SINGLE_END
674DISPATCH_ASSUME_NONNULL_END678DISPATCH_ASSUME_NONNULL_END
675679
676#endif680#endif /* __DISPATCH_OBJECT__ */
lib/libc/include/any-darwin-any/dispatch/once.h+1-1
...@@ -125,4 +125,4 @@ __END_DECLS...@@ -125,4 +125,4 @@ __END_DECLS
125DISPATCH_ASSUME_ABI_SINGLE_END125DISPATCH_ASSUME_ABI_SINGLE_END
126DISPATCH_ASSUME_NONNULL_END126DISPATCH_ASSUME_NONNULL_END
127127
128#endif128#endif /* __DISPATCH_ONCE__ */
lib/libc/include/any-darwin-any/dispatch/queue.h+34-17
...@@ -220,6 +220,15 @@ __BEGIN_DECLS...@@ -220,6 +220,15 @@ __BEGIN_DECLS
220 * concurrently with respect to other blocks submitted to that same queue.220 * concurrently with respect to other blocks submitted to that same queue.
221 * Serial queues are processed concurrently with respect to each other.221 * Serial queues are processed concurrently with respect to each other.
222 *222 *
223 * The QoS class at which the block runs is determined by the block's assigned
224 * QoS class together with the target queue's specified QoS class (see
225 * dispatch_queue_attr_make_with_qos_class()) and floor (see
226 * dispatch_set_qos_class_floor()). For a bare block (one not wrapped by
227 * dispatch_block_create*), the assigned QoS class is the QoS class current on
228 * the calling thread at the moment dispatch_async() is called. See
229 * dispatch_block_flags_t for the full resolution rules and for control over
230 * how the block's QoS class interacts with the queue's.
231 *
223 * @param queue232 * @param queue
224 * The target dispatch queue to which the block is submitted.233 * The target dispatch queue to which the block is submitted.
225 * The system will hold a reference on the target queue until the block234 * The system will hold a reference on the target queue until the block
...@@ -915,9 +924,10 @@ dispatch_queue_attr_make_with_autorelease_frequency(...@@ -915,9 +924,10 @@ dispatch_queue_attr_make_with_autorelease_frequency(
915 * relative priority to the queue.924 * relative priority to the queue.
916 *925 *
917 * @discussion926 * @discussion
918 * When specified in this manner, the QOS class and relative priority take927 * The attribute sets the queue's specified QoS class and relative priority.
919 * precedence over those inherited from the dispatch queue's target queue (if928 * This takes precedence over the QoS class and relative priority inherited
920 * any) as long that does not result in a lower QOS class and relative priority.929 * from the target queue, but the target queue's QoS acts as a floor QoS for
930 * all work submitted to this queue.
921 *931 *
922 * The global queue priorities map to the following QOS classes:932 * The global queue priorities map to the following QOS classes:
923 * - DISPATCH_QUEUE_PRIORITY_HIGH: QOS_CLASS_USER_INITIATED933 * - DISPATCH_QUEUE_PRIORITY_HIGH: QOS_CLASS_USER_INITIATED
...@@ -934,9 +944,9 @@ dispatch_queue_attr_make_with_autorelease_frequency(...@@ -934,9 +944,9 @@ dispatch_queue_attr_make_with_autorelease_frequency(
934 * queue = dispatch_queue_create("com.example.myqueue", attr);944 * queue = dispatch_queue_create("com.example.myqueue", attr);
935 * </code>945 * </code>
936 *946 *
937 * The QOS class and relative priority set this way on a queue have no effect on947 * The QOS class and relative priority specified this way on a queue have no
938 * blocks that are submitted synchronously to a queue (via dispatch_sync(),948 * effect on blocks that are submitted synchronously to a queue (via
939 * dispatch_barrier_sync()).949 * dispatch_sync(), dispatch_barrier_sync()).
940 *950 *
941 * @param attr951 * @param attr
942 * A queue attribute value to be combined with the QOS class, or NULL.952 * A queue attribute value to be combined with the QOS class, or NULL.
...@@ -1000,11 +1010,14 @@ dispatch_queue_attr_make_with_qos_class(dispatch_queue_attr_t _Nullable attr,...@@ -1000,11 +1010,14 @@ dispatch_queue_attr_make_with_qos_class(dispatch_queue_attr_t _Nullable attr,
1000 * a queue will hold a reference to that queue. Therefore a queue will not be1010 * a queue will hold a reference to that queue. Therefore a queue will not be
1001 * deallocated until all pending blocks have finished.1011 * deallocated until all pending blocks have finished.
1002 *1012 *
1003 * When using a dispatch queue attribute @a attr specifying a QoS class (derived1013 * When using a dispatch queue attribute @a attr with a specified QoS class
1004 * from the result of dispatch_queue_attr_make_with_qos_class()), passing the1014 * (derived from the result of dispatch_queue_attr_make_with_qos_class()),
1005 * result of dispatch_get_global_queue() in @a target will ignore the QoS class1015 * passing the result of dispatch_get_global_queue() in @a target will ignore
1006 * of that global queue and will use the global queue with the QoS class1016 * the QoS class of that global queue and will use the global queue with the
1007 * specified by attr instead.1017 * QoS class specified by @a attr instead.
1018 *
1019 * A queue's QoS class can also be raised by configuring a floor with
1020 * dispatch_set_qos_class_floor() before the queue is activated.
1008 *1021 *
1009 * Queues created with dispatch_queue_create_with_target() cannot have their1022 * Queues created with dispatch_queue_create_with_target() cannot have their
1010 * target queue changed, unless created inactive (See1023 * target queue changed, unless created inactive (See
...@@ -1066,6 +1079,10 @@ dispatch_queue_create_with_target(const char *_Nullable DISPATCH_UNSAFE_INDEXABL...@@ -1066,6 +1079,10 @@ dispatch_queue_create_with_target(const char *_Nullable DISPATCH_UNSAFE_INDEXABL
1066 * of service class of the newly created dispatch queue's target queue (if any)1079 * of service class of the newly created dispatch queue's target queue (if any)
1067 * as long that does not result in a lower QOS class and relative priority.1080 * as long that does not result in a lower QOS class and relative priority.
1068 *1081 *
1082 * The queue's QoS class can also be raised by configuring a floor with
1083 * dispatch_set_qos_class_floor() (use DISPATCH_QUEUE_SERIAL_INACTIVE etc. to
1084 * obtain an inactive queue, then activate it after configuration).
1085 *
1069 * When no quality of service class is specified, the target queue of a newly1086 * When no quality of service class is specified, the target queue of a newly
1070 * created dispatch queue is the default priority global concurrent queue.1087 * created dispatch queue is the default priority global concurrent queue.
1071 *1088 *
...@@ -1127,11 +1144,11 @@ dispatch_queue_get_label(dispatch_queue_t _Nullable queue);...@@ -1127,11 +1144,11 @@ dispatch_queue_get_label(dispatch_queue_t _Nullable queue);
1127 * Returns the QOS class and relative priority of the given queue.1144 * Returns the QOS class and relative priority of the given queue.
1128 *1145 *
1129 * @discussion1146 * @discussion
1130 * If the given queue was created with an attribute value returned from1147 * This function returns the QOS class and relative priority of the queue,
1131 * dispatch_queue_attr_make_with_qos_class(), this function returns the QOS1148 * either set by dispatch_queue_attr_make_with_qos_class() or by
1132 * class and relative priority specified at that time; for any other attribute1149 * dispatch_set_qos_class_floor(). For a queue with no QOS class
1133 * value it returns a QOS class of QOS_CLASS_UNSPECIFIED and a relative1150 * configuration, it returns a QOS class of QOS_CLASS_UNSPECIFIED and a
1134 * priority of 0.1151 * relative priority of 0.
1135 *1152 *
1136 * If the given queue is one of the global queues, this function returns its1153 * If the given queue is one of the global queues, this function returns its
1137 * assigned QOS class value as documented under dispatch_get_global_queue() and1154 * assigned QOS class value as documented under dispatch_get_global_queue() and
...@@ -1804,4 +1821,4 @@ __END_DECLS...@@ -1804,4 +1821,4 @@ __END_DECLS
1804DISPATCH_ASSUME_ABI_SINGLE_END1821DISPATCH_ASSUME_ABI_SINGLE_END
1805DISPATCH_ASSUME_NONNULL_END1822DISPATCH_ASSUME_NONNULL_END
18061823
1807#endif1824#endif /* __DISPATCH_QUEUE__ */
lib/libc/include/any-darwin-any/dispatch/source.h+3-4
...@@ -29,10 +29,9 @@...@@ -29,10 +29,9 @@
29#if TARGET_OS_MAC29#if TARGET_OS_MAC
30#include <mach/port.h>30#include <mach/port.h>
31#include <mach/message.h>31#include <mach/message.h>
32#endif
33
34#if !defined(_WIN32)
35#include <sys/signal.h>32#include <sys/signal.h>
33#elif !defined(_WIN32)
34#include <signal.h>
36#endif35#endif
3736
38DISPATCH_ASSUME_NONNULL_BEGIN37DISPATCH_ASSUME_NONNULL_BEGIN
...@@ -801,4 +800,4 @@ __END_DECLS...@@ -801,4 +800,4 @@ __END_DECLS
801DISPATCH_ASSUME_ABI_SINGLE_END800DISPATCH_ASSUME_ABI_SINGLE_END
802DISPATCH_ASSUME_NONNULL_END801DISPATCH_ASSUME_NONNULL_END
803802
804#endif803#endif /* __DISPATCH_SOURCE__ */
lib/libc/include/any-darwin-any/dispatch/time.h+1-1
...@@ -141,4 +141,4 @@ __END_DECLS...@@ -141,4 +141,4 @@ __END_DECLS
141DISPATCH_ASSUME_ABI_SINGLE_END141DISPATCH_ASSUME_ABI_SINGLE_END
142DISPATCH_ASSUME_NONNULL_END142DISPATCH_ASSUME_NONNULL_END
143143
144#endif144#endif /* __DISPATCH_TIME__ */
lib/libc/include/any-darwin-any/dlfcn.h+243-21
...@@ -1,5 +1,5 @@...@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2004-2008 Apple Inc. All rights reserved.2 * Copyright (c) 2004-2026 Apple Inc. All rights reserved.
3 *3 *
4 * @APPLE_LICENSE_HEADER_START@4 * @APPLE_LICENSE_HEADER_START@
5 * 5 *
...@@ -32,7 +32,7 @@...@@ -32,7 +32,7 @@
3232
33#include <sys/cdefs.h>33#include <sys/cdefs.h>
3434
35#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)35#if !defined(_POSIX_C_SOURCE) || (_POSIX_C_SOURCE >= 202405L) || defined(_DARWIN_C_SOURCE)
36#include <stdbool.h>36#include <stdbool.h>
37#include <Availability.h>37#include <Availability.h>
3838
...@@ -45,17 +45,59 @@...@@ -45,17 +45,59 @@
45extern "C" {45extern "C" {
46#endif46#endif
4747
48/*48/*!
49 * Structure filled in by dladdr().49 * Structure filled in by dladdr().
50 *
51 * ```C
52 * struct Dl_info {
53 * const char* dli_fname;
54 * void* dli_fbase;
55 * const char* dli_sname;
56 * void* dli_saddr;
57 * };
58 * ```
59 *
60 * This structure contains information about the nearest symbol to a given address.
61 * - Field dli_fname: The pathname of the mach-o image containing the address.
62 * - Field dli_fbase: Load address of mach-o image containing the address.
63 * - Field dli_sname: Name of nearest symbol.
64 * - Field dli_saddr: Address of nearest symbol.
50 */65 */
51typedef struct dl_info {66typedef struct dl_info {
52 const char *dli_fname; /* Pathname of shared object */67 const char* dli_fname;
53 void *dli_fbase; /* Base address of shared object */68 void* dli_fbase;
54 const char *dli_sname; /* Name of nearest symbol */69 const char* dli_sname;
55 void *dli_saddr; /* Address of nearest symbol */70 void* dli_saddr;
56} Dl_info;71} Dl_info;
72typedef struct dl_info Dl_info_t; /* POSIX 2024 */
5773
58extern int dladdr(const void *, Dl_info *);74/*!
75 * Returns image and symbol information for an address.
76 *
77 * This function queries dyld (the dynamic linker) for information about the
78 * image containing the specified address. For a given address in a mach-o image,
79 * the function finds the closest symbol whose address is less than or equal to
80 * the given address.
81 *
82 * - Parameter addr: The address to query.
83 * - Parameter info: A pointer to a `Dl_info` structure that will be filled in with information
84 * about the nearest symbol. The structure contains the pathname of the image,
85 * its load address, the name of the nearest symbol, and the address of that symbol.
86 *
87 * - Returns: Returns non-zero if the address lies within a mapped image, zero otherwise.
88 * If no symbol was found, but the address is within a mapped image, the symbol
89 * information (dli_sname and dli_saddr) will be NULL
90 * and the image information (dli_fname and dli_fbase) will be filled in.
91 *
92 * > Note: The name `Dl_info_t` exists to match the new POSIX 2024 standard.
93 *
94 * > Note: This function does not follow Unix tradition. It returns zero as an indication of failure.
95 * Think of it as returning a `bool` where true means information for `addr` was returned.
96 *
97 * > Note: The strings returned are owned by dyld and do not need to be released/freed. Though
98 * they will become invalid if the image is unloaded.
99 */
100extern int dladdr(const void*, Dl_info*);
59101
60#ifdef __cplusplus102#ifdef __cplusplus
61}103}
...@@ -70,33 +112,213 @@ extern int dladdr(const void *, Dl_info *);...@@ -70,33 +112,213 @@ extern int dladdr(const void *, Dl_info *);
70extern "C" {112extern "C" {
71#endif113#endif
72114
73extern int dlclose(void * __handle) __DYLDDL_UNAVAILABLE;115/*!
74extern char * dlerror(void) __DYLDDL_UNAVAILABLE;116 * Decrements the reference count on a dynamic library.
75extern void * dlopen(const char * __path, int __mode) __DYLDDL_UNAVAILABLE;117 *
76extern void * dlsym(void * __handle, const char * __symbol) __DYLDDL_DLSYM_UNAVAILABLE;118 * When the reference count for a particular dynamic library becomes zero,
119 * the dynamic library may be unloaded.
120 *
121 * - Parameter handle: A handle obtained by a previous call to dlopen().
122 *
123 * - Returns: Returns zero on success, or -1 if the handle is invalid or an error occurred.
124 * If an error occurred, a human readable string describing the error can be
125 * retrieved by calling dlerror().
126 *
127 * > Note: There are a couple of cases in which a dynamic library will never be unloaded:
128 * > * the main executable directly or indirectly links against it
129 * > * the dynamic library is in dyld's shared cache
130 * > * the dynamic library has thread-local variables
131 * > * the dynamic library contains Objective-C classes.
132 */
133extern int dlclose(void*) __DYLDDL_UNAVAILABLE;
134
135/*!
136 * Returns a human readable string describing the most recent error on the current thread.
137 *
138 * This function returns a null-terminated character string describing the last
139 * error that occurred during a call to dlopen(), dlsym(), or dlclose() on this thread.
140 * If no such error has occurred, dlerror() returns a null pointer. After each call
141 * to dlerror(), the error string is reset.
142 *
143 * - Returns: A string describing the last dlopen/dlclose/dlsym error on this thread,
144 * or NULL if no error has occurred since the thread was started or
145 * since dlerror() was last called.
146 *
147 * > Note: You only get the error string once. Calling dlerror() twice in a row will
148 * result in the second call returning NULL.
149 *
150 */
151extern char* dlerror(void) __DYLDDL_UNAVAILABLE;
152
153/*!
154 * Loads a dynamic library and returns a handle that can be used with dlsym() or dlclose().
155 *
156 * This function examines the mach-o file specified by path. If the file is compatible
157 * with the current process and has not already been loaded into the process, it is
158 * loaded and linked (which means recusively loading libraries it depends on).
159 * After being linked, and before returning, any static initializers
160 * are run and any Objective-C class or methods are registered with the ObjC runtime.
161 * A second call to dlopen() that resolves to the same path will not load a second copy,
162 * instead it just returns the existing handle, and increments that handles reference count.
163 *
164 * In general, dyld does not search for dylibs. Dylibs are specified via a
165 * full path, either as a static dependent dylib in a mach-o file, or as a path
166 * passed to dlopen() , But during development the env vars `DYLD_LIBRARY_PATH`
167 * and `DYLD_FRAMEWORK_PATH` can be used to override the specified path and look
168 * for the leaf framework/dylib name in the specified directories.
169 *
170 * For dlopen(), when the path does not contain a slash character (i.e. it is just a leaf name),
171 * dlopen() will do searching. If `DYLD_LIBRARY_PATH` was set at launch, dyld
172 * will first look in that directory. Next, if the calling mach-o file or the
173 * main executable specify an `LC_RPATH`, then dyld will look in those
174 * directories. Next, if the process is unrestricted, dyld will search in the
175 * current working directory. Lastly, for old binaries, dyld will try some
176 * fallbacks. If `DYLD_FALLBACK_LIBRARY_PATH` was set at launch, dyld will
177 * search in those directories, otherwise, dyld will look in /usr/local/lib/
178 * (if the process is unrestricted), and then in /usr/lib/. This behavior
179 * with dlopen of a leaf name is for historic compatibility. You should strive
180 * to use full paths (e.g. `dlopen("/usr/lib/libz.dylib", 0)`).
181 *
182 * When path looks like a framework path (e.g. /stuff/Foo.framework/Foo), if
183 * `DYLD_FRAMEWORK_PATH` was set at launch, dyld will first look in that
184 * directory for the framework partial path (e.g. Foo.framework/Foo). Next,
185 * dyld will try the supplied path as-is (using current working directory for
186 * relative paths). Lastly, for old binaries, dyld will try some fallbacks.
187 * If `DYLD_FALLBACK_FRAMEWORK_PATH` was set at launch, dyld will search those
188 * directories. Otherwise, it will search /Library/Frameworks (on macOS if
189 * process is unrestricted), then /System/Library/Frameworks.
190 *
191 * When the path contains a slash but is not a framework path (i.e. a full path or
192 * a partial path to a dylib), dlopen() first looks in (if set) in
193 * `DYLD_LIBRARY_PATH` (with leaf part from path ). Next, dyld tries the
194 * supplied path (using current working directory for relative paths (but only
195 * for unrestricted processes)). Lastly, for older binaries, dyld will try
196 * fallbacks. If `DYLD_FALLBACK_LIBRARY_PATH` was set at launch, dyld will
197 * search in those directories, otherwise, dyld will look in /usr/local/lib/
198 * (if the process is unrestricted), and then in /usr/lib/.
199 *
200 * If you want to find a dylib via the dynamic run path, use @rpath (e.g.
201 * `dlopen("@rpath/libfoo.dylib",RTLD_GLOBAL)`),
202 *
203 * - Parameter path: The path to a mach-o file. If path is NULL, dlopen() returns a handle
204 * equivalent to RTLD_DEFAULT.
205 * - Parameter mode: The mode to use when opening the library. This should be one or more of
206 * RTLD_LAZY, RTLD_NOW, RTLD_LOCAL, RTLD_GLOBAL, RTLD_NOLOAD, RTLD_NODELETE,
207 * or RTLD_FIRST.
208 *
209 * - Returns: A handle that can be used with dlsym() or dlclose(). If the library cannot be loaded,
210 * or an error occurs during loading, dlopen() returns NULL and dlerror() can be called
211 * to retrieve an error message.
212 *
213 * The `mode` flags are:
214 * * RTLD_LAZY - The default
215 * * RTLD_NOW - For old binaries, forces lazy symbols to be bound immediately. Lazy symbol
216 * binding no longer exists with chained fixups, so this is moot.
217 * * RTLD_LOCAL - Blocks symbols from being found by `dlsym(RTLD_DEFAULT)`
218 * * RTLD_GLOBAL - The Default. Allows symbols to be found by `dlsym(RTLD_DEFAULT)`
219 * * RTLD_NOLOAD - If the requested image is not already loaded, return NULL. If is is already
220 * loaded, bump the ref-count and return the handle.
221 * * RTLD_NODELETE - Never unmap the image.
222 * * RTLD_FIRST - Causes dlsym() on the returned handle to only search that image and not continue
223 * searching as it normally does if the requrested handle does not contain the symbol.
224 *
225 * > Note: On Apple platforms most OS dylibs are combined into the dyld cache and
226 * do not exist on disk. Therefore, calling stat() to preflight if an OS dylib
227 * exists won't work.
228 *
229 * > Note: You can run with `DYLD_PRINT_SEARCHING=1` to see all paths dyld tries (e.g. @rpath expansions).
230 *
231 * > Note: There are many security mechanisms that will disable dyld from using `DYLD_` env vars
232 * to prevent "dylib hijacking".
233 *
234 * > Note: There are no configuration files in the OS to control dlopen searching.
235 *
236 * > Note: Apple platforms use "universal" files to combine multiple architecture support into one file.
237 * This means there is not separate directories or search paths for each architecture.
238 *
239 */
240extern void* dlopen(const char*, int) __DYLDDL_UNAVAILABLE;
241
242/*!
243 * Returns the address of a named symbol in a dynamic library.
244 *
245 * This function returns the address of the code or data location specified by the
246 * null-terminated character string symbol. Which libraries and bundles are searched
247 * depends on the handle parameter.
248 *
249 * - Parameter handle: A handle returned by dlopen(), or one of the special `RTLD_` values.
250 * - Parameter symbol: The symbol name to look up.
251 *
252 * - Returns: The address of the symbol, or NULL if the symbol cannot be found. If an error occurs,
253 * dlerror() can be called to retrieve an error message.
254 *
255 * > Note: The special handles are:
256 * > * RTLD_DEFAULT - searches all mach-o images in the process in the order they were loaded.
257 * > * RTLD_NEXT - searches mach-o images that were loaded after the one calling dlsym().
258 * > * RTLD_SELF - searches the image calling dlsym() and those loaded after it.
259 * > * RTLD_MAIN_ONLY - searches only the main executable.
260 *
261 * > Note: If the requested symbol name is not in the requested handle, dlsym() will continue
262 * recursively searching in libraries that the handle's library links with. This can make
263 * looking up symbols likely to be missing very slow. To avoid that cost, use `RTLD_FIRST`
264 * with dlopen() to mark the handle "search shallow".
265 *
266 * > Note: The symbol name string passed to dlsym() is the C name (e.g. `"malloc"`), even though the
267 * internal mach-o symbol name has a leading underscore (e.g. `"_malloc"`)
268 *
269 * > Note: For processes running with PAC (arm64e), if the symbol found is a function (i.e not data)
270 * the return pointer will be PAC signed with zero-diversity.
271 *
272 * > Note: `RTLD_DEFAULT` is very expensive and should be avoided. It potentially searches every
273 * dynamic library in the process, which could mean search 1000+ libraries.
274 *
275 */
276extern void* dlsym(void*, const char*) __DYLDDL_DLSYM_UNAVAILABLE;
77277
78#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)278#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
79extern bool dlopen_preflight(const char* __path) __API_AVAILABLE(macos(10.5), ios(2.0)) __DYLDDL_UNAVAILABLE;279/*!
280 * Determines if a dynamic library or bundle can be loaded.
281 *
282 * This function examines the mach-o file specified by path to determine if it is
283 * compatible with the current process and can be loaded. It returns true if the
284 * file exists, is accessible, is of the correct Mach-O format, and is compatible.
285 * Unlike dlopen(), this function does not actually load the library or cause any
286 * of its initializer functions to be called.
287 *
288 * - Parameter path: The path to a mach-o file to examine.
289 *
290 * - Returns: Returns true if the image appears to be compatible and can be loaded,
291 * false otherwise. If false, dlerror() can be called to retrieve an error message.
292 *
293 * > Note: The function was created in the Mac PowerPC-to-Intel transition for apps that needed
294 * to build menus showing available plug-ins. Every other use is probably wrong.
295 * If you want to load a library, just call dlopen().
296 *
297 */
298extern bool dlopen_preflight(const char*) __API_AVAILABLE(macos(10.5), ios(2.0)) __DYLDDL_UNAVAILABLE;
80#endif /* not POSIX */299#endif /* not POSIX */
81300
82301
302/*
303 * Flags for dlopen().
304 */
83#define RTLD_LAZY 0x1305#define RTLD_LAZY 0x1
84#define RTLD_NOW 0x2306#define RTLD_NOW 0x2
85#define RTLD_LOCAL 0x4307#define RTLD_LOCAL 0x4
86#define RTLD_GLOBAL 0x8308#define RTLD_GLOBAL 0x8
87309
88#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)310#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
89#define RTLD_NOLOAD 0x10311#define RTLD_NOLOAD 0x10
90#define RTLD_NODELETE 0x80312#define RTLD_NODELETE 0x80
91#define RTLD_FIRST 0x100 /* Mac OS X 10.5 and later */313#define RTLD_FIRST 0x100
92314
93/*315/*
94 * Special handle arguments for dlsym().316 * Special handle values for dlsym().
95 */317 */
96#define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */318#define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */
97#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm. */319#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm. */
98#define RTLD_SELF ((void *) -3) /* Search this and subsequent objects (Mac OS X 10.5 and later) */320#define RTLD_SELF ((void *) -3) /* Search this and subsequent objects */
99#define RTLD_MAIN_ONLY ((void *) -5) /* Search main executable only (Mac OS X 10.5 and later) */321#define RTLD_MAIN_ONLY ((void *) -5) /* Search main executable only */
100#endif /* not POSIX */322#endif /* not POSIX */
101323
102#ifdef __cplusplus324#ifdef __cplusplus
lib/libc/include/any-darwin-any/fts.h+31-191
...@@ -1,195 +1,35 @@...@@ -1,195 +1,35 @@
1/*1#ifndef DARWIN_FTS_H_INCLUDED
2 * Copyright (c) 2000, 2003-2006, 2008, 2012 Apple Inc. All rights reserved.2#define DARWIN_FTS_H_INCLUDED
3 *3/* Temporarily force FTS_COMPAT until we've cleared up the fallout */
4 * @APPLE_LICENSE_HEADER_START@4#ifndef WANT_FTS_NEW
5 * 5# ifndef WANT_FTS_COMPAT
6 * This file contains Original Code and/or Modifications of Original Code6# define WANT_FTS_COMPAT 1
7 * as defined in and that are subject to the Apple Public Source License7# endif
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23/*
24 * Copyright (c) 1989, 1993
25 * The Regents of the University of California. All rights reserved.
26 *
27 * Redistribution and use in source and binary forms, with or without
28 * modification, are permitted provided that the following conditions
29 * are met:
30 * 1. Redistributions of source code must retain the above copyright
31 * notice, this list of conditions and the following disclaimer.
32 * 2. Redistributions in binary form must reproduce the above copyright
33 * notice, this list of conditions and the following disclaimer in the
34 * documentation and/or other materials provided with the distribution.
35 * 3. All advertising materials mentioning features or use of this software
36 * must display the following acknowledgement:
37 * This product includes software developed by the University of
38 * California, Berkeley and its contributors.
39 * 4. Neither the name of the University nor the names of its contributors
40 * may be used to endorse or promote products derived from this software
41 * without specific prior written permission.
42 *
43 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
44 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
45 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
46 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
47 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
48 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
49 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
50 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
52 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
53 * SUCH DAMAGE.
54 *
55 * @(#)fts.h 8.3 (Berkeley) 8/14/94
56 */
57
58#ifndef _FTS_H_
59#define _FTS_H_
60
61#include <sys/_types.h>
62#include <sys/_types/_dev_t.h>
63#include <sys/_types/_ino_t.h>
64#include <sys/_types/_nlink_t.h>
65
66#include <_bounds.h>
67#include <Availability.h>
68
69_LIBC_SINGLE_BY_DEFAULT()
70
71#pragma clang diagnostic push
72#pragma clang diagnostic ignored "-Wstrict-prototypes"
73
74typedef struct {
75 struct _ftsent *fts_cur; /* current node */
76 struct _ftsent *fts_child; /* linked list of children */
77 struct _ftsent **_LIBC_COUNT(fts_nitems) fts_array; /* sort array */
78 dev_t fts_dev; /* starting device # */
79 char *fts_path; /* path for this descent */
80 int fts_rfd; /* fd for root */
81 int fts_pathlen; /* sizeof(path) */
82 int fts_nitems; /* elements in the sort array */
83#ifdef __BLOCKS__
84 union {
85#endif /* __BLOCKS__ */
86 int (*fts_compar)(); /* compare function */
87#ifdef __BLOCKS__
88 int (^fts_compar_b)(); /* compare block */
89 };
90#endif /* __BLOCKS__ */
91
92#define FTS_COMFOLLOW 0x001 /* follow command line symlinks */
93#define FTS_LOGICAL 0x002 /* logical walk */
94#define FTS_NOCHDIR 0x004 /* don't change directories */
95#define FTS_NOSTAT 0x008 /* don't get stat info */
96#define FTS_PHYSICAL 0x010 /* physical walk */
97#define FTS_SEEDOT 0x020 /* return dot and dot-dot */
98#define FTS_XDEV 0x040 /* don't cross devices */
99#define FTS_WHITEOUT 0x080 /* (no longer supported) return whiteout information */
100#define FTS_COMFOLLOWDIR 0x400 /* (non-std) follow command line symlinks for directories only */
101#if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1090) || (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED < 70000)
102#define FTS_OPTIONMASK 0x4ff /* valid user option mask */
103#else
104#define FTS_NOSTAT_TYPE 0x800 /* (non-std) no stat, but use d_type in struct dirent when available */
105#define FTS_OPTIONMASK 0xcff /* valid user option mask */
106#endif8#endif
107
108#define FTS_NAMEONLY 0x100 /* (private) child names only */
109#define FTS_STOP 0x200 /* (private) unrecoverable error */
110#define FTS_THREAD_FCHDIR 0x400 /* (private) use pthread_fchdir_np */
111#ifdef __BLOCKS__
112#define FTS_BLOCK_COMPAR 0x80000000 /* fts_compar is a block */
113#endif /* __BLOCKS__ */
114 int fts_options; /* fts_open options, global flags */
115} FTS;
116
117typedef struct _ftsent {
118 struct _ftsent *fts_cycle; /* cycle node */
119 struct _ftsent *fts_parent; /* parent directory */
120 struct _ftsent *fts_link; /* next file in directory */
121 long fts_number; /* local numeric value */
122 void *fts_pointer; /* local address value */
123 char *_LIBC_CSTR fts_accpath; /* access path */
124 char *_LIBC_CSTR fts_path; /* root path */
125 int fts_errno; /* errno for this node */
126 int fts_symfd; /* fd for symlink or chdir */
127 unsigned short fts_pathlen; /* strlen(fts_path) */
128 unsigned short fts_namelen; /* strlen(fts_name) */
129
130 ino_t fts_ino; /* inode */
131 dev_t fts_dev; /* device */
132 nlink_t fts_nlink; /* link count */
133
134#define FTS_ROOTPARENTLEVEL -1
135#define FTS_ROOTLEVEL 0
136#define FTS_MAXLEVEL 0x7fffffff
137 short fts_level; /* depth (-1 to N) */
138
139#define FTS_D 1 /* preorder directory */
140#define FTS_DC 2 /* directory that causes cycles */
141#define FTS_DEFAULT 3 /* none of the above */
142#define FTS_DNR 4 /* unreadable directory */
143#define FTS_DOT 5 /* dot or dot-dot */
144#define FTS_DP 6 /* postorder directory */
145#define FTS_ERR 7 /* error; errno is set */
146#define FTS_F 8 /* regular file */
147#define FTS_INIT 9 /* initialized only */
148#define FTS_NS 10 /* stat(2) failed */
149#define FTS_NSOK 11 /* no stat(2) requested */
150#define FTS_SL 12 /* symbolic link */
151#define FTS_SLNONE 13 /* symbolic link without target */
152#define FTS_W 14 /* whiteout object */
153 unsigned short fts_info; /* user flags for FTSENT structure */
154
155#define FTS_DONTCHDIR 0x01 /* don't chdir .. to the parent */
156#define FTS_SYMFOLLOW 0x02 /* followed a symlink to get here */
157#define FTS_ISW 0x04 /* this is a whiteout object */
158#define FTS_CHDIRFD 0x08 /* indicates the fts_symfd field was set for chdir */
159 unsigned short fts_flags; /* private flags for FTSENT structure */
160
161#define FTS_AGAIN 1 /* read node again */
162#define FTS_FOLLOW 2 /* follow symbolic link */
163#define FTS_NOINSTR 3 /* no instructions */
164#define FTS_SKIP 4 /* discard node */
165 unsigned short fts_instr; /* fts_set() instructions */
166
167 struct stat *fts_statp; /* stat(2) information */
168 char fts_name[1]; /* file name, unsafe with -fbounds-safety */
169} FTSENT;
170
171#include <sys/cdefs.h>
172#include <Availability.h>9#include <Availability.h>
17310#ifdef VARIANT_INODE32
174__BEGIN_DECLS11# undef WANT_FTS_NEW
175FTSENT *fts_children(FTS *, int) __DARWIN_INODE64(fts_children);12# define WANT_FTS_COMPAT 1
176int fts_close(FTS *) __DARWIN_INODE64(fts_close);13#elif defined(WANT_FTS_NEW)
177FTS *fts_open(char *_LIBC_CSTR const *, int,14# undef WANT_FTS_COMPAT
178 int (*)(const FTSENT **, const FTSENT **)) __DARWIN_INODE64(fts_open);15#elif !defined(WANT_FTS_COMPAT)
179#ifdef __BLOCKS__16# if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 280000
180#if __has_attribute(noescape)17# define WANT_FTS_COMPAT 1
181#define __fts_noescape __attribute__((__noescape__))18# elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED < 280000
19# define WANT_FTS_COMPAT 1
20# elif defined(__WATCH_OS_VERSION_MIN_REQUIRED) && __WATCH_OS_VERSION_MIN_REQUIRED < 280000
21# define WANT_FTS_COMPAT 1
22# elif defined(__TV_OS_VERSION_MIN_REQUIRED) && __TV_OS_VERSION_MIN_REQUIRED < 280000
23# define WANT_FTS_COMPAT 1
24# elif defined(__BRIDGE_OS_VERSION_MIN_REQUIRED) && __BRIDGE_OS_VERSION_MIN_REQUIRED < 280000
25# define WANT_FTS_COMPAT 1
26# elif defined(__VISION_OS_VERSION_MIN_REQUIRED) && __VISION_OS_VERSION_MIN_REQUIRED < 280000
27# define WANT_FTS_COMPAT 1
28# endif
29#endif
30#ifdef WANT_FTS_COMPAT
31# include <fts_compat.h>
182#else32#else
183#define __fts_noescape33# include <fts_new.h>
184#endif34#endif
185FTS *fts_open_b(char *_LIBC_CSTR const *, int,35#endif /* DARWIN_FTS_H_INCLUDED */
186 int (^)(const FTSENT **, const FTSENT **) __fts_noescape)
187 __DARWIN_INODE64(fts_open_b) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
188#endif /* __BLOCKS__ */
189FTSENT *fts_read(FTS *) __DARWIN_INODE64(fts_read);
190int fts_set(FTS *, FTSENT *, int) __DARWIN_INODE64(fts_set);
191__END_DECLS
192
193#pragma clang diagnostic pop
194#endif /* !_FTS_H_ */
195
lib/libc/include/any-darwin-any/fts_compat.h created+197
...@@ -0,0 +1,197 @@
1/*
2 * Copyright (c) 2000, 2003-2006, 2008, 2012 Apple Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23/*
24 * Copyright (c) 1989, 1993
25 * The Regents of the University of California. All rights reserved.
26 *
27 * Redistribution and use in source and binary forms, with or without
28 * modification, are permitted provided that the following conditions
29 * are met:
30 * 1. Redistributions of source code must retain the above copyright
31 * notice, this list of conditions and the following disclaimer.
32 * 2. Redistributions in binary form must reproduce the above copyright
33 * notice, this list of conditions and the following disclaimer in the
34 * documentation and/or other materials provided with the distribution.
35 * 3. All advertising materials mentioning features or use of this software
36 * must display the following acknowledgement:
37 * This product includes software developed by the University of
38 * California, Berkeley and its contributors.
39 * 4. Neither the name of the University nor the names of its contributors
40 * may be used to endorse or promote products derived from this software
41 * without specific prior written permission.
42 *
43 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
44 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
45 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
46 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
47 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
48 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
49 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
50 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
52 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
53 * SUCH DAMAGE.
54 *
55 * @(#)fts.h 8.3 (Berkeley) 8/14/94
56 */
57
58#ifndef _FTS_H_
59#define _FTS_H_
60
61#ifndef DARWIN_FTS_H_INCLUDED
62#error "Never use <fts_compat.h> directly; include <fts.h> instead."
63#endif /* !DARWIN_FTS_H_INCLUDED */
64
65#include <sys/_types.h>
66#include <sys/_types/_dev_t.h>
67#include <sys/_types/_ino_t.h>
68#include <sys/_types/_nlink_t.h>
69
70#include <_bounds.h>
71_LIBC_SINGLE_BY_DEFAULT()
72
73#pragma clang diagnostic push
74#pragma clang diagnostic ignored "-Wstrict-prototypes"
75
76typedef struct {
77 struct _ftsent *fts_cur; /* current node */
78 struct _ftsent *fts_child; /* linked list of children */
79 struct _ftsent **_LIBC_COUNT(fts_nitems) fts_array; /* sort array */
80 dev_t fts_dev; /* starting device # */
81 char *fts_path; /* path for this descent */
82 int fts_rfd; /* fd for root */
83 int fts_pathlen; /* sizeof(path) */
84 int fts_nitems; /* elements in the sort array */
85#ifdef __BLOCKS__
86 union {
87#endif /* __BLOCKS__ */
88 int (*fts_compar)(); /* compare function */
89#ifdef __BLOCKS__
90 int (^fts_compar_b)(); /* compare block */
91 };
92#endif /* __BLOCKS__ */
93
94#define FTS_COMFOLLOW 0x001 /* follow command line symlinks */
95#define FTS_LOGICAL 0x002 /* logical walk */
96#define FTS_NOCHDIR 0x004 /* don't change directories */
97#define FTS_NOSTAT 0x008 /* don't get stat info */
98#define FTS_PHYSICAL 0x010 /* physical walk */
99#define FTS_SEEDOT 0x020 /* return dot and dot-dot */
100#define FTS_XDEV 0x040 /* don't cross devices */
101#define FTS_WHITEOUT 0x080 /* (no longer supported) return whiteout information */
102#define FTS_COMFOLLOWDIR 0x400 /* (non-std) follow command line symlinks for directories only */
103#if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1090) || (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED < 70000)
104#define FTS_OPTIONMASK 0x4ff /* valid user option mask */
105#else
106#define FTS_NOSTAT_TYPE 0x800 /* (non-std) no stat, but use d_type in struct dirent when available */
107#define FTS_OPTIONMASK 0xcff /* valid user option mask */
108#endif
109
110#define FTS_NAMEONLY 0x100 /* (private) child names only */
111#define FTS_STOP 0x200 /* (private) unrecoverable error */
112#define FTS_THREAD_FCHDIR 0x400 /* (private) use pthread_fchdir_np */
113#ifdef __BLOCKS__
114#define FTS_BLOCK_COMPAR 0x80000000 /* fts_compar is a block */
115#endif /* __BLOCKS__ */
116 int fts_options; /* fts_open options, global flags */
117} FTS;
118
119typedef struct _ftsent {
120 struct _ftsent *fts_cycle; /* cycle node */
121 struct _ftsent *fts_parent; /* parent directory */
122 struct _ftsent *fts_link; /* next file in directory */
123 long fts_number; /* local numeric value */
124 void *fts_pointer; /* local address value */
125 char *_LIBC_CSTR fts_accpath; /* access path */
126 char *_LIBC_CSTR fts_path; /* root path */
127 int fts_errno; /* errno for this node */
128 int fts_symfd; /* fd for symlink or chdir */
129 unsigned short fts_pathlen; /* strlen(fts_path) */
130 unsigned short fts_namelen; /* strlen(fts_name) */
131
132 ino_t fts_ino; /* inode */
133 dev_t fts_dev; /* device */
134 nlink_t fts_nlink; /* link count */
135
136#define FTS_ROOTPARENTLEVEL -1
137#define FTS_ROOTLEVEL 0
138#define FTS_MAXLEVEL 0x7fffffff
139 short fts_level; /* depth (-1 to N) */
140
141#define FTS_D 1 /* preorder directory */
142#define FTS_DC 2 /* directory that causes cycles */
143#define FTS_DEFAULT 3 /* none of the above */
144#define FTS_DNR 4 /* unreadable directory */
145#define FTS_DOT 5 /* dot or dot-dot */
146#define FTS_DP 6 /* postorder directory */
147#define FTS_ERR 7 /* error; errno is set */
148#define FTS_F 8 /* regular file */
149#define FTS_INIT 9 /* initialized only */
150#define FTS_NS 10 /* stat(2) failed */
151#define FTS_NSOK 11 /* no stat(2) requested */
152#define FTS_SL 12 /* symbolic link */
153#define FTS_SLNONE 13 /* symbolic link without target */
154#define FTS_W 14 /* whiteout object */
155 unsigned short fts_info; /* user flags for FTSENT structure */
156
157#define FTS_DONTCHDIR 0x01 /* don't chdir .. to the parent */
158#define FTS_SYMFOLLOW 0x02 /* followed a symlink to get here */
159#define FTS_ISW 0x04 /* this is a whiteout object */
160#define FTS_CHDIRFD 0x08 /* indicates the fts_symfd field was set for chdir */
161 unsigned short fts_flags; /* private flags for FTSENT structure */
162
163#define FTS_AGAIN 1 /* read node again */
164#define FTS_FOLLOW 2 /* follow symbolic link */
165#define FTS_NOINSTR 3 /* no instructions */
166#define FTS_SKIP 4 /* discard node */
167 unsigned short fts_instr; /* fts_set() instructions */
168
169 struct stat *fts_statp; /* stat(2) information */
170 char fts_name[1]; /* file name, unsafe with -fbounds-safety */
171} FTSENT;
172
173#include <sys/cdefs.h>
174#include <Availability.h>
175
176__BEGIN_DECLS
177FTSENT *fts_children(FTS *, int) __DARWIN_INODE64(fts_children);
178int fts_close(FTS *) __DARWIN_INODE64(fts_close);
179FTS *fts_open(char *_LIBC_CSTR const *, int,
180 int (*)(const FTSENT **, const FTSENT **)) __DARWIN_INODE64(fts_open);
181#ifdef __BLOCKS__
182#if __has_attribute(noescape)
183#define __fts_noescape __attribute__((__noescape__))
184#else
185#define __fts_noescape
186#endif
187FTS *fts_open_b(char *_LIBC_CSTR const *, int,
188 int (^)(const FTSENT **, const FTSENT **) __fts_noescape)
189 __DARWIN_INODE64(fts_open_b) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
190#endif /* __BLOCKS__ */
191FTSENT *fts_read(FTS *) __DARWIN_INODE64(fts_read);
192int fts_set(FTS *, FTSENT *, int) __DARWIN_INODE64(fts_set);
193__END_DECLS
194
195#pragma clang diagnostic pop
196#endif /* !_FTS_H_ */
197
lib/libc/include/any-darwin-any/i386/limits.h+1-1
...@@ -57,7 +57,7 @@...@@ -57,7 +57,7 @@
57#if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>))57#if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>))
5858
59#if !__has_include_next(<limits.h>)59#if !__has_include_next(<limits.h>)
60#error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)60#error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=YES)
61#else61#else
62#include_next <limits.h>62#include_next <limits.h>
63#endif /* __has_include_next */63#endif /* __has_include_next */
lib/libc/include/any-darwin-any/mach-o/compact_unwind_encoding.h+11-2
...@@ -288,6 +288,10 @@ enum {...@@ -288,6 +288,10 @@ enum {
288 UNWIND_ARM64_MODE_FRAMELESS = 0x02000000,288 UNWIND_ARM64_MODE_FRAMELESS = 0x02000000,
289 UNWIND_ARM64_MODE_DWARF = 0x03000000,289 UNWIND_ARM64_MODE_DWARF = 0x03000000,
290 UNWIND_ARM64_MODE_FRAME = 0x04000000,290 UNWIND_ARM64_MODE_FRAME = 0x04000000,
291 UNWIND_ARM64_MODE_FRAME_PAUTH_LR = 0x05000000,
292
293 UNWIND_ARM64_PAUTH_LR_OFFSET_MASK = 0x00FFF000,
294 UNWIND_ARM64_PAUTH_LR_OFFSET_SHIFT = 12,
291295
292 UNWIND_ARM64_FRAME_X19_X20_PAIR = 0x00000001,296 UNWIND_ARM64_FRAME_X19_X20_PAIR = 0x00000001,
293 UNWIND_ARM64_FRAME_X21_X22_PAIR = 0x00000002,297 UNWIND_ARM64_FRAME_X21_X22_PAIR = 0x00000002,
...@@ -323,8 +327,13 @@ enum {...@@ -323,8 +327,13 @@ enum {
323// This mode is never used in object files. It is only generated by the327// This mode is never used in object files. It is only generated by the
324// linker in final linked images which have only DWARF unwind info for a328// linker in final linked images which have only DWARF unwind info for a
325// function.329// function.
326//330// For arm64e there is one more mode for compact unwind encoding:
327331// UNWIND_ARM64_MODE_FRAME_PAUTH_LR:
332// An arm64e prologue, where LR is signed in the range with a `pacibsppc`.
333// The UNWIND_ARM64_PAUTH_LR_OFFSET_MASK bits specify an unsigned positive
334// offset (encoded as a multiple of 4 bytes) from the beginning of the range
335// to the `pacibsppc`, with 0 indicating that the `pacibsppc` is the first
336// instruction in the range.
328337
329#ifndef __OPEN_SOURCE__338#ifndef __OPEN_SOURCE__
330//339//
lib/libc/include/any-darwin-any/mach-o/dyld.h+36-45
...@@ -128,6 +128,13 @@ extern void _tlv_bootstrap(void) __A...@@ -128,6 +128,13 @@ extern void _tlv_bootstrap(void) __A
128extern bool _dyld_shared_cache_contains_path(const char* path) __API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0), tvos(14.0)) DYLD_DRIVERKIT_UNAVAILABLE;128extern bool _dyld_shared_cache_contains_path(const char* path) __API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0), tvos(14.0)) DYLD_DRIVERKIT_UNAVAILABLE;
129129
130130
131/*
132 * Given a handle returned by dlopen(), this function returns the mach_header* of the
133 * loaded image to which the handle refers.
134 */
135extern const struct mach_header* _dyld_get_dlopen_image_header(void* handle) __API_AVAILABLE(macos(13.0), ios(16.0), watchos(9.0), tvos(16.0)) DYLD_DRIVERKIT_UNAVAILABLE;
136
137
131/*138/*
132 * The following dyld API's are deprecated as of Mac OS X 10.5. They are either 139 * The following dyld API's are deprecated as of Mac OS X 10.5. They are either
133 * no longer necessary or are superceeded by dlopen and friends in <dlfcn.h>.140 * no longer necessary or are superceeded by dlopen and friends in <dlfcn.h>.
...@@ -169,22 +176,18 @@ typedef struct __NSObjectFileImage* NSObjectFileImage;...@@ -169,22 +176,18 @@ typedef struct __NSObjectFileImage* NSObjectFileImage;
169176
170177
171/* NSObjectFileImage can only be used with MH_BUNDLE files */178/* NSObjectFileImage can only be used with MH_BUNDLE files */
172extern NSObjectFileImageReturnCode NSCreateObjectFileImageFromFile(const char* pathName, NSObjectFileImage *objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()");179extern NSObjectFileImageReturnCode NSCreateObjectFileImageFromFile(const char* pathName, NSObjectFileImage *objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()");
173extern NSObjectFileImageReturnCode NSCreateObjectFileImageFromMemory(const void *address, size_t size, NSObjectFileImage *objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");180extern NSObjectFileImageReturnCode NSCreateObjectFileImageFromMemory(const void *address, size_t size, NSObjectFileImage *objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");
174extern bool NSDestroyObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlclose()");181extern bool NSDestroyObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlclose()");
175182
176extern uint32_t NSSymbolDefinitionCountInObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");183extern bool NSIsSymbolDefinedInObjectFileImage(NSObjectFileImage objectFileImage, const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
177extern const char* NSSymbolDefinitionNameInObjectFileImage(NSObjectFileImage objectFileImage, uint32_t ordinal) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");184extern void* NSGetSectionDataInObjectFileImage(NSObjectFileImage objectFileImage, const char* segmentName, const char* sectionName, size_t *size) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "getsectiondata()");
178extern uint32_t NSSymbolReferenceCountInObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");
179extern const char* NSSymbolReferenceNameInObjectFileImage(NSObjectFileImage objectFileImage, uint32_t ordinal, bool *tentative_definition) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");
180extern bool NSIsSymbolDefinedInObjectFileImage(NSObjectFileImage objectFileImage, const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
181extern void* NSGetSectionDataInObjectFileImage(NSObjectFileImage objectFileImage, const char* segmentName, const char* sectionName, size_t *size) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "getsectiondata()");
182185
183typedef struct __NSModule* NSModule;186typedef struct __NSModule* NSModule;
184extern const char* NSNameOfModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");187extern const char* NSNameOfModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");
185extern const char* NSLibraryNameForModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");188extern const char* NSLibraryNameForModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");
186189
187extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* moduleName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()");190extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* moduleName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()");
188#define NSLINKMODULE_OPTION_NONE 0x0191#define NSLINKMODULE_OPTION_NONE 0x0
189#define NSLINKMODULE_OPTION_BINDNOW 0x1192#define NSLINKMODULE_OPTION_BINDNOW 0x1
190#define NSLINKMODULE_OPTION_PRIVATE 0x2193#define NSLINKMODULE_OPTION_PRIVATE 0x2
...@@ -192,27 +195,26 @@ extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* modu...@@ -192,27 +195,26 @@ extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* modu
192#define NSLINKMODULE_OPTION_DONT_CALL_MOD_INIT_ROUTINES 0x8195#define NSLINKMODULE_OPTION_DONT_CALL_MOD_INIT_ROUTINES 0x8
193#define NSLINKMODULE_OPTION_TRAILING_PHYS_NAME 0x10196#define NSLINKMODULE_OPTION_TRAILING_PHYS_NAME 0x10
194197
195extern bool NSUnLinkModule(NSModule module, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");198extern bool NSUnLinkModule(NSModule module, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");
196#define NSUNLINKMODULE_OPTION_NONE 0x0199#define NSUNLINKMODULE_OPTION_NONE 0x0
197#define NSUNLINKMODULE_OPTION_KEEP_MEMORY_MAPPED 0x1200#define NSUNLINKMODULE_OPTION_KEEP_MEMORY_MAPPED 0x1
198#define NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES 0x2201#define NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES 0x2
199202
200/* symbol API */203/* symbol API */
201typedef struct __NSSymbol* NSSymbol;204typedef struct __NSSymbol* NSSymbol;
202extern bool NSIsSymbolNameDefined(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");205extern bool NSIsSymbolNameDefined(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
203extern bool NSIsSymbolNameDefinedWithHint(const char* symbolName, const char* libraryNameHint) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");206extern bool NSIsSymbolNameDefinedWithHint(const char* symbolName, const char* libraryNameHint) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
204extern bool NSIsSymbolNameDefinedInImage(const struct mach_header* image, const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");207extern bool NSIsSymbolNameDefinedInImage(const struct mach_header* image, const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
205extern NSSymbol NSLookupAndBindSymbol(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");208extern NSSymbol NSLookupAndBindSymbol(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
206extern NSSymbol NSLookupAndBindSymbolWithHint(const char* symbolName, const char* libraryNameHint) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");209extern NSSymbol NSLookupAndBindSymbolWithHint(const char* symbolName, const char* libraryNameHint) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
207extern NSSymbol NSLookupSymbolInModule(NSModule module, const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");210extern NSSymbol NSLookupSymbolInModule(NSModule module, const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
208extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");211extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
209#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND 0x0212#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND 0x0
210#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_NOW 0x1213#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_NOW 0x1
211#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_FULLY 0x2214#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_FULLY 0x2
212#define NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR 0x4215#define NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR 0x4
213extern const char* NSNameOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");216extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
214extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");217extern NSModule NSModuleForSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dladdr()");
215extern NSModule NSModuleForSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dladdr()");
216218
217/* error handling API */219/* error handling API */
218typedef enum {220typedef enum {
...@@ -240,36 +242,25 @@ typedef enum {...@@ -240,36 +242,25 @@ typedef enum {
240 NSOtherErrorInvalidArgs242 NSOtherErrorInvalidArgs
241} NSOtherErrorNumbers;243} NSOtherErrorNumbers;
242244
243extern void NSLinkEditError(NSLinkEditErrors *c, int *errorNumber, const char** fileName, const char** errorString) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlerror()");245extern void NSLinkEditError(NSLinkEditErrors *c, int *errorNumber, const char** fileName, const char** errorString) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlerror()");
244
245typedef struct {
246 void (*undefined)(const char* symbolName);
247 NSModule (*multiple)(NSSymbol s, NSModule oldModule, NSModule newModule);
248 void (*linkEdit)(NSLinkEditErrors errorClass, int errorNumber,
249 const char* fileName, const char* errorString);
250} NSLinkEditErrorHandlers;
251
252extern void NSInstallLinkEditErrorHandlers(const NSLinkEditErrorHandlers *handlers) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "");
253246
254extern bool NSAddLibrary(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()");247extern bool NSAddLibrary(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()");
255extern bool NSAddLibraryWithSearching(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()");248extern bool NSAddLibraryWithSearching(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()");
256extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()");249extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()");
257#define NSADDIMAGE_OPTION_NONE 0x0250#define NSADDIMAGE_OPTION_NONE 0x0
258#define NSADDIMAGE_OPTION_RETURN_ON_ERROR 0x1251#define NSADDIMAGE_OPTION_RETURN_ON_ERROR 0x1
259#define NSADDIMAGE_OPTION_WITH_SEARCHING 0x2252#define NSADDIMAGE_OPTION_WITH_SEARCHING 0x2
260#define NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED 0x4253#define NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED 0x4
261#define NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME 0x8254#define NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME 0x8
262255
263extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true");256extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true");
264extern bool _dyld_launched_prebound(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "moot");257extern bool _dyld_bind_fully_image_containing_address(const void* address) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen(RTLD_NOW)");
265extern bool _dyld_all_twolevel_modules_prebound(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.3, 10.5, "moot");258extern bool _dyld_image_containing_address(const void* address) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.3, 10.5, "dladdr()");
266extern bool _dyld_bind_fully_image_containing_address(const void* address) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen(RTLD_NOW)");259extern void _dyld_lookup_and_bind(const char* symbol_name, void **address, NSModule* module) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
267extern bool _dyld_image_containing_address(const void* address) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.3, 10.5, "dladdr()");260extern void _dyld_lookup_and_bind_with_hint(const char* symbol_name, const char* library_name_hint, void** address, NSModule* module) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
268extern void _dyld_lookup_and_bind(const char* symbol_name, void **address, NSModule* module) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");261extern void _dyld_lookup_and_bind_fully(const char* symbol_name, void** address, NSModule* module) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
269extern void _dyld_lookup_and_bind_with_hint(const char* symbol_name, const char* library_name_hint, void** address, NSModule* module) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()");
270extern void _dyld_lookup_and_bind_fully(const char* symbol_name, void** address, NSModule* module) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
271262
272extern const struct mach_header* _dyld_get_image_header_containing_address(const void* address) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.3, 10.5, "dladdr()");263extern const struct mach_header* _dyld_get_image_header_containing_address(const void* address) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.3, 10.5, "dladdr()");
273264
274265
275#if __cplusplus266#if __cplusplus
lib/libc/include/any-darwin-any/mach-o/dyld_images.h-4
...@@ -174,11 +174,7 @@ struct __attribute__((aligned(16))) dyld_all_image_infos...@@ -174,11 +174,7 @@ struct __attribute__((aligned(16))) dyld_all_image_infos
174174
175 mach_port_t notifyPorts[DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT];175 mach_port_t notifyPorts[DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT];
176176
177#if __LP64__
178 uintptr_t reserved[11-(DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT/2)];177 uintptr_t reserved[11-(DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT/2)];
179#else
180 uintptr_t reserved[9-DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT];
181#endif
182 // The following fields were added in version 18 (previously they were reserved padding fields)178 // The following fields were added in version 18 (previously they were reserved padding fields)
183 uint64_t sharedCacheFSID;179 uint64_t sharedCacheFSID;
184 uint64_t sharedCacheFSObjID;180 uint64_t sharedCacheFSObjID;
lib/libc/include/any-darwin-any/mach-o/fixup-chains.h+28
...@@ -109,6 +109,8 @@ enum {...@@ -109,6 +109,8 @@ enum {
109 DYLD_CHAINED_PTR_ARM64E_USERLAND24 = 12, // stride 8, unauth target is vm offset, 24-bit bind109 DYLD_CHAINED_PTR_ARM64E_USERLAND24 = 12, // stride 8, unauth target is vm offset, 24-bit bind
110 DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE = 13, // stride 8, regular/auth targets both vm offsets. Only A keys supported110 DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE = 13, // stride 8, regular/auth targets both vm offsets. Only A keys supported
111 DYLD_CHAINED_PTR_ARM64E_SEGMENTED = 14, // stride 4, rebase offsets use segIndex and segOffset111 DYLD_CHAINED_PTR_ARM64E_SEGMENTED = 14, // stride 4, rebase offsets use segIndex and segOffset
112 DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3 = 15, // stride 8, regular/auth targets both vm offsets. Only A keys supported
113 DYLD_CHAINED_PTR_SHARED_CACHE_V2 = 16, // stride 8, x86_64 shared cache slide v2, delta mask 0x00FFFF0000000000, target is vm offset
112};114};
113115
114116
...@@ -294,7 +296,33 @@ struct dyld_chained_ptr_arm64e_shared_cache_auth_rebase...@@ -294,7 +296,33 @@ struct dyld_chained_ptr_arm64e_shared_cache_auth_rebase
294 auth : 1; // == 1296 auth : 1; // == 1
295};297};
296298
299// DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3
300struct dyld_chained_ptr_arm64e_shared_cache_v3_rebase
301{
302 uint64_t pointerValue : 51,
303 next : 11,
304 unused : 2; // = 0
305};
297306
307// DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3
308struct dyld_chained_ptr_arm64e_shared_cache_v3_auth_rebase
309{
310 uint64_t offsetFromSharedCacheBase : 32,
311 diversity : 16,
312 addrDiv : 1,
313 key : 2,
314 next : 11,
315 unused : 1, // = 0
316 auth : 1; // = 1;
317};
318
319// DYLD_CHAINED_PTR_SHARED_CACHE_V2
320struct dyld_chained_ptr_shared_cache_v2_rebase
321{
322 uint64_t runtimeOffset : 40, // offset from the start of the shared cache
323 next : 16, // 4-byte stride
324 high8 : 8; // top byte of target address
325};
298326
299// values for dyld_chained_fixups_header.imports_format327// values for dyld_chained_fixups_header.imports_format
300enum {328enum {
lib/libc/include/any-darwin-any/mach-o/utils.h+99-139
...@@ -1,5 +1,5 @@...@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2021 Apple Inc. All rights reserved.2 * Copyright (c) 2021-2026 Apple Inc. All rights reserved.
3 *3 *
4 * @APPLE_LICENSE_HEADER_START@4 * @APPLE_LICENSE_HEADER_START@
5 *5 *
...@@ -38,64 +38,45 @@ extern "C" {...@@ -38,64 +38,45 @@ extern "C" {
38#endif38#endif
3939
40/*!40/*!
41 * @function macho_cpu_type_for_arch_name41 * Converts an architecture name into a cpu type/subtype pairy.
42 *42 *
43 * @abstract43 * - Parameter archName: An architecture name (e.g "arm64e" or "x86_64").
44 * Converts an architecture name into a cpu type/subtype pair.44 * - Parameter type: A pointer to where to store the cpu type of the given name.
45 * - Parameter subtype: A pointer to where to store the cpu subtype of the given name.
45 *46 *
46 * @param archName47 * - Returns: Returns true if the archName is known and fills in the type/subtype.
47 * An architecture name (e.g "arm64e" or "x86_64").48 * Returns false if the archName is unknown.
48 *49 *
49 * @param type
50 * A pointer to where to store the cpu type of the given name.
51 *
52 * @param subtype
53 * A pointer to where to store the cpu subtype of the given name.
54 *
55 * @return
56 * If the archName is known, returns true and fills in the type/subtype.
57 * If the archName is unknown, returns false.
58 */50 */
59extern bool macho_cpu_type_for_arch_name(const char* _Nonnull archName, cpu_type_t* _Nonnull type, cpu_subtype_t* _Nonnull subtype)51extern bool macho_cpu_type_for_arch_name(const char* _Nonnull archName, cpu_type_t* _Nonnull type, cpu_subtype_t* _Nonnull subtype)
60__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));52__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
6153
6254
63/*!55/*!
64 * @function macho_arch_name_for_cpu_type56 * Converts a cpu type/subtype pair into the architecture name.
65 *
66 * @abstract
67 * Converts a cpu type/subtype pair into the architecture name.
68 *
69 * @param type
70 * The cpu type from <machine/machine.h> (e.g CPU_TYPE_ARM64)
71 *57 *
72 * @param subtype58 * - Parameter type: The cpu type from <machine/machine.h> (e.g CPU_TYPE_ARM64)
73 * The cpu subtype from <machine/machine.h> (e.g CPU_SUBTYPE_ARM64E)59 * - Parameter subtype: The cpu subtype from <machine/machine.h> (e.g CPU_SUBTYPE_ARM64E)
74 *60 *
75 * @return61 * - Returns: Returns a static c-string which is the name for the cpu type/subtype (e.g. "arm64e").
76 * Returns a static c-string which is the name for the cpu type/subtype (e.g. "arm64e").62 * If the cpu type/subtype is unknown, NULL will be returned.
77 * If the cpu type/subtype is unknown, NULL will be returned.63 * The string returned is static and does not need to be deallocated.
78 * The string returned is static and does not need to be deallocated.
79 */64 */
80extern const char* _Nullable macho_arch_name_for_cpu_type(cpu_type_t type, cpu_subtype_t subtype)65extern const char* _Nullable macho_arch_name_for_cpu_type(cpu_type_t type, cpu_subtype_t subtype)
81__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));66__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
8267
8368
84/*!69/*!
85 * @function macho_arch_name_for_mach_header70 * Returns the architecture name from the cpu type/subtype in a mach_header.
86 *71 *
87 * @abstract72 * This is a convenience wrapper around macho_arch_name_for_cpu_type().
88 * Returns the architecture name from the cpu type/subtype in a mach_header.
89 * This is a convenience wrapper around macho_arch_name_for_cpu_type().
90 *73 *
91 * @param mh74 * - Parameter mh: A pointer to the header of a mach-o file.
92 * A pointer to the header of a mach-o file.75 * If NULL is passed, the architecture name of the main executable will be returned.
93 * If NULL is passed, the architecture name of the main executable will be returned.
94 *76 *
95 * @return77 * - Returns: Returns a static c-string which is the name for architecture of the mach-o file (e.g. "arm64e").
96 * Returns a static c-string which is the name for architecture of the mach-o file (e.g. "arm64e").78 * If the architecture is unknown, NULL will be returned.
97 * If the architecture is unknown, NULL will be returned.79 * The string returned is static and does not need to be deallocated.
98 * The string returned is static and does not need to be deallocated.
99 */80 */
100extern const char* _Nullable macho_arch_name_for_mach_header(const struct mach_header* _Nullable mh)81extern const char* _Nullable macho_arch_name_for_mach_header(const struct mach_header* _Nullable mh)
101__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));82__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
...@@ -108,121 +89,103 @@ __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));...@@ -108,121 +89,103 @@ __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
108 #endif89 #endif
10990
110/*!91/*!
111 * @function macho_for_each_slice92 * Iterates slices in a universal file given its path.
112 *93 *
113 * @abstract94 * Temporarily maps a mach-o or universal file and iterates the slices.
114 * Temporarily maps a mach-o or universal file and iterates the slices.95 * If the file is mach-o, the block is called once with the mach-o file mapped.
115 * If the file is mach-o, the block is called once with the mach-o file mapped.96 * If the file is universal (aka fat), the block is called once per slice in the order in the header.
116 * If the file is universal (aka fat), the block is called once per slice in the order in the header.97 * If the file is a universal static library, the block is called with a pointer to the
117 * If the path does not exist or does, but is not a mach-o file, the block is never called.98 * start of each static library, which is not a mach-o file! If you only want to inspect mach-o slices,
118 *99 * you can use `macho_arch_name_for_mach_header(slice) == NULL` to filter out non-mach-o files (e.g. static libs).
119 * @param path100 * If the path does not exist or does, but is not a mach-o file, the block is never called.
120 * The path to the file to inspect.101 *
121 *102 * - Parameter path: The path to the file to inspect.
122 * @param callback103 * - Parameter callback: A block to call once per slice.
123 * A block to call once per slice.104 * This parameter can be NULL, in which case the return value tells you if the file is mach-o or fat.
124 * Can be NULL. In which case the return value tells you if the file is mach-o or fat.105 * The slice pointer is only valid during the block invocation.
125 * The slice pointer is only valid during the block invocation.106 * To stop iterating the slices, set *stop to true.
126 * To stop iterating the slices, set *stop to true.107 *
127 *108 * - Returns: Returns zero on success, otherwise it returns an errno value:
128 * @return109 * * ENOENT - path does not exist
129 * Returns zero on success, otherwise it returns an errno value.110 * * EACCES - path exists put caller does not have permission to access it
130 * Common returned errors:111 * * EFTYPE - path exists but it is not a mach-o or fat file
131 * ENOENT - path does not exist112 * * EBADMACHO - path is a mach-o file, but it is malformed
132 * EACCES - path exists put caller does not have permission to access it
133 * EFTYPE - path exists but it is not a mach-o or fat file
134 * EBADMACHO - path is a mach-o file, but it is malformed
135 */113 */
136extern int macho_for_each_slice(const char* _Nonnull path, void (^ _Nullable callback)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t size, bool* _Nonnull stop) __MACHO_NOESCAPE)114extern int macho_for_each_slice(const char* _Nonnull path, void (^ _Nullable callback)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t size, bool* _Nonnull stop) __MACHO_NOESCAPE)
137__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));115__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
138116
139117
140/*!118/*!
141 * @function macho_for_each_slice_in_fd119 * Iterates slices in a universal file given a file descriptor to the file.
142 *120 *
143 * @abstract121 * Temporarily maps a mach-o or universal file and iterates the slices.
144 * Temporarily maps a mach-o or universal file and iterates the slices.122 * If the fd is to a mach-o, the block is called once with the mach-o file mapped.
145 * If the fd is to a mach-o, the block is called once with the mach-o file mapped.123 * If the fd is to a universal (aka fat), the block is called once per slice in the order in the header.
146 * If the fd is to a universal (aka fat), the block is called once per slice in the order in the header.124 * If the fd is a universal static library, the block is called with a pointer to the
147 * If the fd is closed or not mmap()able, the block is never called.125 * start of each static library, which is not a mach-o file! If you only want to inspect mach-o slices,
148 *126 * you can use `macho_arch_name_for_mach_header(slice) == NULL` to filter out non-mach-o files (e.g. static libs).
149 * @param fd127 * If the fd is closed or not mmap()able, the block is never called.
150 * An open file descriptor to a mmap()able file.128 *
151 *129 * - Parameter fd: An open file descriptor to a mmap()able file.
152 * @param callback130 * - Parameter callback: A block to call once per slice.
153 * A block to call once per slice.131 * This parameter can be NULL, in which case the return value tells you if the file is mach-o or fat.
154 * Can be NULL. In which case the return value tells you if the file is mach-o or fat.132 * The slice pointer is only valid during the block invocation.
155 * The slice pointer is only valid during the block invocation.133 * To stop iterating the slices, set *stop to true.
156 * To stop iterating the slices, set *stop to true.134 *
157 *135 * - Returns: Returns zero on success, otherwise it returns an errno value.
158 * @return136 * * EFTYPE - fd content is not a mach-o or fat file
159 * Returns zero on success, otherwise it returns an errno value.137 * * EBADMACHO - fd content is a mach-o file, but it is malformed
160 * Common returned errors:
161 * EFTYPE - fd content is not a mach-o or fat file
162 * EBADMACHO - fd content is a mach-o file, but it is malformed
163 */138 */
164extern int macho_for_each_slice_in_fd(int fd, void (^ _Nullable callback)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t size, bool* _Nonnull stop)__MACHO_NOESCAPE)139extern int macho_for_each_slice_in_fd(int fd, void (^ _Nullable callback)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t size, bool* _Nonnull stop)__MACHO_NOESCAPE)
165__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));140__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
166141
167142
168/*!143/*!
169 * @function macho_best_slice144 * Examines a mach-o or universal file by path to find the slice that would be loaded.
170 *145 *
171 * @abstract146 * For dylib/bundles, the best slice is the slice dyld would load.
172 * Examines a mach-o or universal file to find the slice that would be loaded. That is, for dylib/bundles, which147 * For main executables, the best slice is the slice the kernel would execute.
173 * slice dyld would load. For main executables, which slice the kernel would use.148 * In simulator processes, only other simulator main executables will be considered loadable.
174 * In simulator processes, only other simulator main executables will be considered loadable.149 * If the file is mach-o and is the right arch and platform to load, the block is called once with the mach-o file mapped.
175 * If the file is mach-o and is the right arch and platform to load, the block is called once with the mach-o file mapped.150 * If the file is universal (aka fat) file, the best slice is found and the block is called once with the mapped slice.
176 * If the file is universal (aka fat) file, the best slice is found and the block is called once with the mapped slice.151 * If the file is universal (aka fat) file, but none of the slices are loadable, the callback is not called, and EBADARCH is returned.
177 * If the file is universal (aka fat) file, but none of the slices are loadable, the callback is not called, and EBADARCH is returned.152 * If the path does not exist or does but is not a mach-o or universal file, the block is never called, and an error is returned.
178 * If the path does not exist or does but is not a mach-o or universal file, the block is never called, and an error is returned.153 *
179 *154 * - Parameter path: The path to the file to inspect.
180 * @param path155 * - Parameter bestSlice: This block will be called once with the best slice.
181 * The path to the file to inspect.156 * This parameter can be NULL, in which case the return value tells you if there was a loadable slice.
182 *157 * The slice pointer is only valid during the block invocation.
183 * @param callback158 *
184 * A block to call once with the best slice.159 * - Returns: Returns zero on success (meaning there is a best slice), otherwise it returns an errno value.
185 * Can be NULL. In which case the return value tells you if there was a loadable slice160 * * ENOENT - path does not exist
186 * The slice pointer is only valid during the block invocation.161 * * EACCES - path exists put caller does not have permission to access it
187 *162 * * EFTYPE - path exists but it is not a mach-o or fat file
188 * @return163 * * EBADARCH - path exists and is mach-o or fat, but none of the slices are loadable
189 * Returns zero on success (meaning there is a best slice), otherwise it returns an errno value.164 * * EBADMACHO - path is a mach-o file, but it is malformed
190 * Common returned errors:
191 * ENOENT - path does not exist
192 * EACCES - path exists put caller does not have permission to access it
193 * EFTYPE - path exists but it is not a mach-o or fat file
194 * EBADARCH - path exists and is mach-o or fat, but none of the slices are loadable
195 * EBADMACHO - path is a mach-o file, but it is malformed
196 */165 */
197extern int macho_best_slice(const char* _Nonnull path, void (^ _Nullable bestSlice)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t sliceSize)__MACHO_NOESCAPE)166extern int macho_best_slice(const char* _Nonnull path, void (^ _Nullable bestSlice)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t sliceSize)__MACHO_NOESCAPE)
198__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));167__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
199168
200169
201/*!170/*!
202 * @function macho_best_slice_in_fd171 * Examines a mach-o or universal file by descripotr to find the slice that would be loaded.
203 *172 *
204 * @abstract173 * For dylib/bundles, the best slice is the slice dyld would load.
205 * Examines a mach-o or universal file to find the slice that would be loaded. That is, for dylib/bundles, which174 * For main executables, the best slice is the slice the kernel would execute.
206 * slice dyld would load. For main executables, which slice the kernel would use.175 * In simulator processes, only other simulator main executables will be considered loadable.
207 * In simulator processes, only other simulator main executables will be considered loadable.176 * If the fd is to a mach-o and is the right arch and platform to load, the block is call once with the mach-o file mapped.
208 * If the fd is to a mach-o and is the right arch and platform to load, the block is call once with the mach-o file mapped.177 * If the fd is to a universal (aka fat) file, the best slice is found and the block is called once with the mapped slice.
209 * If the fd is to a universal (aka fat) file, the best slice is found and the block is called once with the mapped slice.178 * If the fd is closed or not mmap()able, the block is never called.
210 * If the fd is closed or not mmap()able, the block is never called.179 *
211 *180 * - Parameter fd: An open file descriptor to a mmap()able file.
212 * @param fd181 * - Parameter bestSlice: This block will be called once with the best slice.
213 * An open file descriptor to a mmap()able file.182 * This parameter can be NULL, in which case the return value tells you if there was a loadable slice.
214 *183 * The slice pointer is only valid during the block invocation.
215 * @param callback184 *
216 * A block to call once with the best slice.185 * - Returns: Returns zero on success (meaning there is a best slice), otherwise it returns an errno value.
217 * Can be NULL. In which case the return value tells you if there was a loadable slice186 * * EFTYPE - fd content is not a mach-o or fat file
218 * The slice pointer is only valid during the block invocation.187 * * EBADMACHO - fd content is a mach-o file, but it is malformed
219 *188 * * EBADARCH - fd content is a mach-o or fat, but none of the slices are loadable
220 * @return
221 * Returns zero on success (meaning there is a best slice), otherwise it returns an errno value.
222 * Common returned errors:
223 * EFTYPE - fd content is not a mach-o or fat file
224 * EBADMACHO - fd content is a mach-o file, but it is malformed
225 * EBADARCH - fd content is a mach-o or fat, but none of the slices are loadable
226 */189 */
227extern int macho_best_slice_in_fd(int fd, void (^ _Nullable bestSlice)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t sliceSize)__MACHO_NOESCAPE)190extern int macho_best_slice_in_fd(int fd, void (^ _Nullable bestSlice)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t sliceSize)__MACHO_NOESCAPE)
228__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));191__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
...@@ -230,9 +193,6 @@ __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));...@@ -230,9 +193,6 @@ __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
230#endif // __BLOCKS__193#endif // __BLOCKS__
231194
232195
233
234
235
236#if __cplusplus196#if __cplusplus
237}197}
238#endif198#endif
lib/libc/include/any-darwin-any/mach/arm/exception.h-1
...@@ -37,7 +37,6 @@...@@ -37,7 +37,6 @@
3737
38#define EXCEPTION_CODE_MAX 2 /* code and subcode */38#define EXCEPTION_CODE_MAX 2 /* code and subcode */
3939
40
41/*40/*
42 * Trap numbers as defined by the hardware exception vectors.41 * Trap numbers as defined by the hardware exception vectors.
43 */42 */
lib/libc/include/any-darwin-any/mach/arm/thread_status.h+1-1
...@@ -1,5 +1,5 @@...@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2007 Apple Inc. All rights reserved.2 * Copyright (c) 2007-2026 Apple Inc. All rights reserved.
3 *3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *5 *
lib/libc/include/any-darwin-any/mach/arm/vm_param.h+32-21
...@@ -66,42 +66,53 @@...@@ -66,42 +66,53 @@
6666
67#define VM_MAX_PAGE_ADDRESS MACH_VM_MAX_ADDRESS67#define VM_MAX_PAGE_ADDRESS MACH_VM_MAX_ADDRESS
6868
69#ifndef __ASSEMBLER__69/* Assembler-friendly values */
70
71
72#if defined (__arm__)70#if defined (__arm__)
7371
74#define VM_MIN_ADDRESS ((vm_address_t) 0x00000000)72#define VM_MIN_ADDRESS_RAW (0x00000000)
75#define VM_MAX_ADDRESS ((vm_address_t) 0x80000000)73#define VM_MAX_ADDRESS_RAW (0x80000000)
7674
77/* system-wide values */75/* system-wide values */
78#define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) 0)76#define MACH_VM_MIN_ADDRESS_RAW (VM_MIN_ADDRESS_RAW)
79#define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) VM_MAX_ADDRESS)77#define MACH_VM_MAX_ADDRESS_RAW (VM_MAX_ADDRESS_RAW)
78#define MACH_VM_ADDRESS_MASK (0x7FFFFFFF)
8079
81#elif defined (__arm64__)80#elif defined (__arm64__)
8281
83#define VM_MIN_ADDRESS ((vm_address_t) 0x0000000000000000ULL)82#define VM_MIN_ADDRESS_RAW (0x0000000000000000ULL)
84#define VM_MAX_ADDRESS ((vm_address_t) 0x00000000F0000000ULL)83#define VM_MAX_ADDRESS_RAW (0x00000000F0000000ULL)
8584
86/* system-wide values */85/* system-wide values */
87#define MACH_VM_MIN_ADDRESS_RAW 0x0ULL86#define MACH_VM_MIN_ADDRESS_RAW (0x0000000000000000ULL)
88#define MACH_VM_MAX_ADDRESS_RAW 0x00007FFFFE000000ULL
8987
90/*88#define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW (0x0000001000000000ULL) /* 64 GiB */
91 * `MACH_VM_MAX_ADDRESS` is exported to user space, but we don't want this89#define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW (0x0000007000000000ULL) /* 448 GiB */
92 * larger value for `MACH_VM_MAX_ADDRESS` to be exposed outside the kernel.90
93 */91#define MACH_VM_MAX_ADDRESS_RAW (0x00007FFFFE000000ULL) /* (128 TiB - 32 MiB) */
92#define MACH_VM_ADDRESS_MASK (0x00007FFFFFFFFFFFULL)
93#define MACH_VM_NANO_BASE_ADDRESS (0x0000600000000000ULL) /* 96 TiB */
94
95#else /* !__arm__ && !__arm64__ */
96
97#error architecture not supported
9498
95#define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_ADDRESS_RAW)99#endif
96#define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_ADDRESS_RAW)100
101#ifndef __ASSEMBLER__
102
103
104#define VM_MIN_ADDRESS ((vm_address_t)VM_MIN_ADDRESS_RAW)
105#define VM_MAX_ADDRESS ((vm_address_t)VM_MAX_ADDRESS_RAW)
106
107/* system-wide values */
108#define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t)MACH_VM_MIN_ADDRESS_RAW)
109#define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t)MACH_VM_MAX_ADDRESS_RAW)
110
111#if defined (__arm64__)
97112
98#define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW 0x0000001000000000ULL
99#define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW 0x0000007000000000ULL
100#define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW)113#define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW)
101#define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW)114#define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW)
102115
103#else /* defined(__arm64__) */
104#error architecture not supported
105#endif116#endif
106117
107#define VM_MAP_MIN_ADDRESS VM_MIN_ADDRESS118#define VM_MAP_MIN_ADDRESS VM_MIN_ADDRESS
lib/libc/include/any-darwin-any/mach/host_info.h+22-1
...@@ -182,6 +182,7 @@ typedef struct host_priority_info *host_priority_info_t;...@@ -182,6 +182,7 @@ typedef struct host_priority_info *host_priority_info_t;
182#define HOST_VM_INFO64 4 /* 64-bit virtual memory stats */182#define HOST_VM_INFO64 4 /* 64-bit virtual memory stats */
183#define HOST_EXTMOD_INFO64 5 /* External modification stats */183#define HOST_EXTMOD_INFO64 5 /* External modification stats */
184#define HOST_EXPIRED_TASK_INFO 6 /* Statistics for expired tasks */184#define HOST_EXPIRED_TASK_INFO 6 /* Statistics for expired tasks */
185#define HOST_CPU_COUNTERS_INFO 8 /* Per-host CPU counter totals: time, cycles, instructions, energy */
185186
186187
187188
...@@ -207,7 +208,13 @@ typedef struct vm_purgeable_info *host_purgable_info_t;...@@ -207,7 +208,13 @@ typedef struct vm_purgeable_info *host_purgable_info_t;
207208
208/* size of the latest version of the structure */209/* size of the latest version of the structure */
209#define HOST_VM_INFO64_LATEST_COUNT HOST_VM_INFO64_COUNT210#define HOST_VM_INFO64_LATEST_COUNT HOST_VM_INFO64_COUNT
210#define HOST_VM_INFO64_REV3_COUNT HOST_VM_INFO64_COUNT211#define HOST_VM_INFO64_REV6_COUNT HOST_VM_INFO64_COUNT
212#define HOST_VM_INFO64_REV5_COUNT ((mach_msg_type_number_t) \
213 (offsetof(vm_statistics64_data_t, executable_count) / sizeof(integer_t)))
214#define HOST_VM_INFO64_REV4_COUNT ((mach_msg_type_number_t) \
215 (offsetof(vm_statistics64_data_t, swap_count) / sizeof(integer_t)))
216#define HOST_VM_INFO64_REV3_COUNT ((mach_msg_type_number_t) \
217 (offsetof(vm_statistics64_data_t, speculative_pages_created) / sizeof(integer_t)))
211#define HOST_VM_INFO64_REV2_COUNT ((mach_msg_type_number_t) \218#define HOST_VM_INFO64_REV2_COUNT ((mach_msg_type_number_t) \
212 (offsetof(vm_statistics64_data_t, total_tag_storage_pages) / sizeof(integer_t)))219 (offsetof(vm_statistics64_data_t, total_tag_storage_pages) / sizeof(integer_t)))
213#define HOST_VM_INFO64_REV1_COUNT ((mach_msg_type_number_t) \220#define HOST_VM_INFO64_REV1_COUNT ((mach_msg_type_number_t) \
...@@ -248,6 +255,20 @@ typedef struct host_cpu_load_info *host_cpu_load_info_t;...@@ -248,6 +255,20 @@ typedef struct host_cpu_load_info *host_cpu_load_info_t;
248#define HOST_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \255#define HOST_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \
249 (sizeof (host_cpu_load_info_data_t) / sizeof (integer_t)))256 (sizeof (host_cpu_load_info_data_t) / sizeof (integer_t)))
250257
258struct host_cpu_counters_info {
259 uint64_t user_time_mach; /* total user-mode time across all CPUs, mach absolute units */
260 uint64_t system_time_mach; /* total system-mode time across all CPUs, mach absolute units */
261 uint64_t idle_time_mach; /* total idle time across all CPUs, mach absolute units */
262 uint64_t cycles; /* 0 if CPU counters unsupported */
263 uint64_t instructions; /* 0 if CPU counters unsupported */
264 uint64_t energy_nj; /* 0 if energy accounting unsupported */
265};
266
267typedef struct host_cpu_counters_info host_cpu_counters_info_data_t;
268typedef struct host_cpu_counters_info *host_cpu_counters_info_t;
269#define HOST_CPU_COUNTERS_INFO_COUNT ((mach_msg_type_number_t) \
270 (sizeof (host_cpu_counters_info_data_t) / sizeof (integer_t)))
271
251struct host_preferred_user_arch {272struct host_preferred_user_arch {
252 cpu_type_t cpu_type; /* Preferred user-space cpu type */273 cpu_type_t cpu_type; /* Preferred user-space cpu type */
253 cpu_subtype_t cpu_subtype; /* Preferred user-space cpu subtype */274 cpu_subtype_t cpu_subtype; /* Preferred user-space cpu subtype */
lib/libc/include/any-darwin-any/mach/host_special_ports.h+7-1
...@@ -112,8 +112,9 @@...@@ -112,8 +112,9 @@
112#define HOST_MEMORY_ERROR_PORT (26 + HOST_MAX_SPECIAL_KERNEL_PORT)112#define HOST_MEMORY_ERROR_PORT (26 + HOST_MAX_SPECIAL_KERNEL_PORT)
113#define HOST_MANAGEDAPPDISTD_PORT (27 + HOST_MAX_SPECIAL_KERNEL_PORT)113#define HOST_MANAGEDAPPDISTD_PORT (27 + HOST_MAX_SPECIAL_KERNEL_PORT)
114#define HOST_DOUBLEAGENTD_PORT (28 + HOST_MAX_SPECIAL_KERNEL_PORT)114#define HOST_DOUBLEAGENTD_PORT (28 + HOST_MAX_SPECIAL_KERNEL_PORT)
115#define HOST_DISKIMAGESIOD_PORT (29 + HOST_MAX_SPECIAL_KERNEL_PORT)
115116
116#define HOST_MAX_SPECIAL_PORT HOST_DOUBLEAGENTD_PORT117#define HOST_MAX_SPECIAL_PORT HOST_DISKIMAGESIOD_PORT
117/* MAX = last since rdar://59872249 */118/* MAX = last since rdar://59872249 */
118119
119/* obsolete name */120/* obsolete name */
...@@ -302,6 +303,11 @@...@@ -302,6 +303,11 @@
302#define host_set_doubleagentd_port(host, port) \303#define host_set_doubleagentd_port(host, port) \
303 (host_set_special_port((host), HOST_DOUBLEAGENTD_PORT, (port)))304 (host_set_special_port((host), HOST_DOUBLEAGENTD_PORT, (port)))
304305
306#define host_get_diskimagesiod_port(host, port) \
307 (host_get_special_port((host), \
308 HOST_LOCAL_NODE, HOST_DISKIMAGESIOD_PORT, (port)))
309#define host_set_diskimagesiod_port(host, port) \
310 (host_set_special_port((host), HOST_DISKIMAGESIOD_PORT, (port)))
305/* HOST_RESOURCE_NOTIFY_PORT doesn't #defines these conveniences.311/* HOST_RESOURCE_NOTIFY_PORT doesn't #defines these conveniences.
306 * All lookups go through send_resource_violation()312 * All lookups go through send_resource_violation()
307 */313 */
lib/libc/include/any-darwin-any/mach/mach_host.h+1-1
...@@ -270,7 +270,7 @@ extern...@@ -270,7 +270,7 @@ extern
270#endif /* mig_external */270#endif /* mig_external */
271kern_return_t host_lockgroup_info271kern_return_t host_lockgroup_info
272(272(
273 host_t host,273 host_t host_priv_t,
274 lockgroup_info_array_t *lockgroup_info,274 lockgroup_info_array_t *lockgroup_info,
275 mach_msg_type_number_t *lockgroup_infoCnt275 mach_msg_type_number_t *lockgroup_infoCnt
276);276);
lib/libc/include/any-darwin-any/mach/mach_types.h+1-1
...@@ -1,5 +1,5 @@...@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2000-2018 Apple Inc. All rights reserved.2 * Copyright (c) 2000-2026 Apple Inc. All rights reserved.
3 *3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *5 *
lib/libc/include/any-darwin-any/mach/machine.h+27
...@@ -342,6 +342,30 @@ typedef integer_t cpu_threadtype_t;...@@ -342,6 +342,30 @@ typedef integer_t cpu_threadtype_t;
342#define CPU_SUBTYPE_ARM64_ALL ((cpu_subtype_t) 0)342#define CPU_SUBTYPE_ARM64_ALL ((cpu_subtype_t) 0)
343#define CPU_SUBTYPE_ARM64_V8 ((cpu_subtype_t) 1)343#define CPU_SUBTYPE_ARM64_V8 ((cpu_subtype_t) 1)
344#define CPU_SUBTYPE_ARM64E ((cpu_subtype_t) 2)344#define CPU_SUBTYPE_ARM64E ((cpu_subtype_t) 2)
345/* The non-e x1 is defined in other tooling, but it's otherwise unused. */
346#define CPU_SUBTYPE_ARM64_X1 ((cpu_subtype_t) 3)
347#define CPU_SUBTYPE_ARM64E_X1 ((cpu_subtype_t) 12)
348/* Unallocated values upto CPU_SUBTYPE_ARM64_MAX (inclusive) are reserved. */
349#define CPU_SUBTYPE_ARM64_MAX ((cpu_subtype_t) 20)
350
351/*
352 * Newer slices add additional complexity in determining the taxonomy of a
353 * slice. The current PAC slices include ARM64E and ARM64E_X1. Future slices
354 * _may_ continue the convention. At that time, this macro should be updated to
355 * include the new slice(s). Since those fictitious slices don't yet exist, they
356 * are omitted, but left reserved.
357 */
358#define CPU_SUBTYPE_HAS_ARM64E(subtype) \
359 ( \
360 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64E) || \
361 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64E_X1) \
362 )
363
364#define CPU_SUBTYPE_HAS_ARM64X1(subtype) \
365 ( \
366 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64_X1) || \
367 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64E_X1) \
368 )
345369
346/* CPU subtype feature flags for ptrauth on arm64e platforms */370/* CPU subtype feature flags for ptrauth on arm64e platforms */
347#define CPU_SUBTYPE_ARM64_PTR_AUTH_MASK 0x0f000000371#define CPU_SUBTYPE_ARM64_PTR_AUTH_MASK 0x0f000000
...@@ -413,6 +437,9 @@ typedef integer_t cpu_threadtype_t;...@@ -413,6 +437,9 @@ typedef integer_t cpu_threadtype_t;
413#define CPUFAMILY_ARM_SOTRA 0xf76c5b1a437#define CPUFAMILY_ARM_SOTRA 0xf76c5b1a
414#define CPUFAMILY_ARM_THERA 0xab345f09438#define CPUFAMILY_ARM_THERA 0xab345f09
415#define CPUFAMILY_ARM_TILOS 0x01d7a72b439#define CPUFAMILY_ARM_TILOS 0x01d7a72b
440#define CPUFAMILY_ARM_KOMODO 0x6d0ccb0c
441#define CPUFAMILY_ARM_BORNEO 0x7db56df1
442#define CPUFAMILY_ARM_NEVIS 0x37652b0c
416443
417/* Described in rdar://64125549 */444/* Described in rdar://64125549 */
418#define CPUSUBFAMILY_UNKNOWN 0445#define CPUSUBFAMILY_UNKNOWN 0
lib/libc/include/any-darwin-any/mach/memory_object_types.h+1-1
...@@ -183,7 +183,7 @@ typedef int memory_object_return_t;...@@ -183,7 +183,7 @@ typedef int memory_object_return_t;
183183
184#define MEMORY_OBJECT_DATA_FLUSH 0x1184#define MEMORY_OBJECT_DATA_FLUSH 0x1
185#define MEMORY_OBJECT_DATA_NO_CHANGE 0x2185#define MEMORY_OBJECT_DATA_NO_CHANGE 0x2
186#define MEMORY_OBJECT_DATA_PURGE 0x4186#define MEMORY_OBJECT_DATA_PURGE 0x4 /* This is unused and unimplemented */
187#define MEMORY_OBJECT_COPY_SYNC 0x8187#define MEMORY_OBJECT_COPY_SYNC 0x8
188#define MEMORY_OBJECT_DATA_SYNC 0x10188#define MEMORY_OBJECT_DATA_SYNC 0x10
189#define MEMORY_OBJECT_IO_SYNC 0x20189#define MEMORY_OBJECT_IO_SYNC 0x20
lib/libc/include/any-darwin-any/mach/port.h+40-9
...@@ -96,6 +96,7 @@...@@ -96,6 +96,7 @@
96 * Some structures must remain a constant size due to performance or ABI implications.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.97 * It's not necessarily an issue if you need to bump a size passed to these macros: act judiciously.
98 */98 */
99#if !defined(__cplusplus) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
99#if __arm64__100#if __arm64__
100#define xnu_static_assert_struct_size(name, expected_size) _Static_assert(\101#define xnu_static_assert_struct_size(name, expected_size) _Static_assert(\
101 sizeof(name) == expected_size, "struct changed size unexpectedly")102 sizeof(name) == expected_size, "struct changed size unexpectedly")
...@@ -114,6 +115,13 @@...@@ -114,6 +115,13 @@
114 xnu_static_assert_struct_size(name, expected_user32_size)115 xnu_static_assert_struct_size(name, expected_user32_size)
115#endif /* __LP64__ */116#endif /* __LP64__ */
116117
118#else /* !defined(__cplusplus) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L */
119/* Define these macros to no-ops in environments where _Static_assert is unavailable */
120#define xnu_static_assert_struct_size(name, expected_size)
121#define xnu_static_assert_struct_size_kernel_user(name, expected_kernel_size, expected_user_size)
122#define xnu_static_assert_struct_size_kernel_user64_user32(name, _kern_size, _u64_size, _u32_size)
123#endif /* !defined(__cplusplus) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L */
124
117/*125/*
118 * mach_port_name_t - the local identity for a Mach port126 * mach_port_name_t - the local identity for a Mach port
119 *127 *
...@@ -271,6 +279,7 @@ typedef struct mach_port_status {...@@ -271,6 +279,7 @@ typedef struct mach_port_status {
271#define MACH_PORT_QLIMIT_BASIC (5)279#define MACH_PORT_QLIMIT_BASIC (5)
272#define MACH_PORT_QLIMIT_SMALL (16)280#define MACH_PORT_QLIMIT_SMALL (16)
273#define MACH_PORT_QLIMIT_LARGE (1024)281#define MACH_PORT_QLIMIT_LARGE (1024)
282#define MACH_PORT_QLIMIT_KERNEL_SOFT (4 * MACH_PORT_QLIMIT_LARGE)
274#define MACH_PORT_QLIMIT_KERNEL (65534)283#define MACH_PORT_QLIMIT_KERNEL (65534)
275#define MACH_PORT_QLIMIT_MIN MACH_PORT_QLIMIT_ZERO284#define MACH_PORT_QLIMIT_MIN MACH_PORT_QLIMIT_ZERO
276#define MACH_PORT_QLIMIT_DEFAULT MACH_PORT_QLIMIT_BASIC285#define MACH_PORT_QLIMIT_DEFAULT MACH_PORT_QLIMIT_BASIC
...@@ -367,6 +376,9 @@ typedef struct mach_service_port_info * mach_service_port_info_t;...@@ -367,6 +376,9 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
367/* Allows 1p process to create weak reply port */376/* Allows 1p process to create weak reply port */
368#define MACH_PORT_WEAK_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port"377#define MACH_PORT_WEAK_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port"
369378
379/* Allows process to create read port for kernel_task - only works on dev/debug kernels */
380#define MACH_PORT_KERNEL_READ_ENTITLEMENT "com.apple.private.system-task-ports.kernel.read"
381
370/*382/*
371 * Flags for mach_port_options (used for383 * Flags for mach_port_options (used for
372 * invocation of mach_port_construct).384 * invocation of mach_port_construct).
...@@ -405,6 +417,18 @@ typedef struct mach_service_port_info * mach_service_port_info_t;...@@ -405,6 +417,18 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
405/* MPO port type flags */417/* MPO port type flags */
406#define MPO_MAKE_PORT_TYPE(a, b) (((a & 0x7) << 14) | ((b & 0x7) << 10))418#define MPO_MAKE_PORT_TYPE(a, b) (((a & 0x7) << 14) | ((b & 0x7) << 10))
407#define MPO_PORT_TYPE_MASK MPO_MAKE_PORT_TYPE(0x7, 0x7) /* 0x1dc00 */419#define MPO_PORT_TYPE_MASK MPO_MAKE_PORT_TYPE(0x7, 0x7) /* 0x1dc00 */
420
421#if __BUILDING_XNU_LIB_UNITTEST__
422/*
423 * This is a test only MPO flag for bootstrap port
424 * as copyin doesn't work in unit test yet.
425 */
426#define MPO_UNIT_TEST_BOOTSTRAP_ENTRY \
427 MPO_UNIT_TEST_BOOTSTRAP_PORT = MPO_MAKE_PORT_TYPE(4, 4), /* 0x11000 */
428#else /* __BUILDING_XNU_LIB_UNITTEST__ */
429#define MPO_UNIT_TEST_BOOTSTRAP_ENTRY
430#endif /* __BUILDING_XNU_LIB_UNITTEST__ */
431
408/* These need to be defined for libxpc and other clients who `#ifdef` */432/* These need to be defined for libxpc and other clients who `#ifdef` */
409 #define MPO_PORT MPO_PORT433 #define MPO_PORT MPO_PORT
410 #define MPO_SERVICE_PORT MPO_SERVICE_PORT434 #define MPO_SERVICE_PORT MPO_SERVICE_PORT
...@@ -431,6 +455,11 @@ __options_decl(mpo_flags_t, uint32_t, {...@@ -431,6 +455,11 @@ __options_decl(mpo_flags_t, uint32_t, {
431 MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */455 MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */
432 /* Can receive OOL port array descriptors */456 /* Can receive OOL port array descriptors */
433 MPO_CONNECTION_PORT_WITH_PORT_ARRAY = MPO_MAKE_PORT_TYPE(4, 0), /* 0x10000 */457 MPO_CONNECTION_PORT_WITH_PORT_ARRAY = MPO_MAKE_PORT_TYPE(4, 0), /* 0x10000 */
458 /*
459 * Temporary flag for IPC unit testing. Expand to nothing if
460 * __BUILDING_XNU_LIB_UNITTEST__ is not defined.
461 */
462 MPO_UNIT_TEST_BOOTSTRAP_ENTRY /* 0x11000 */
434});463});
435464
436/* For bincompat: weak reply port used to be called provisional reply port */465/* For bincompat: weak reply port used to be called provisional reply port */
...@@ -489,8 +518,15 @@ enum mach_port_guard_exception_codes {...@@ -489,8 +518,15 @@ enum mach_port_guard_exception_codes {
489 kGUARD_EXC_UNGUARDED = 8,518 kGUARD_EXC_UNGUARDED = 8,
490 kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9,519 kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9,
491 kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS = 10,520 kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS = 10,
521 kGUARD_EXC_RESTRICT_VOUCHER_OPERATIONS = 11,
522 kGUARD_EXC_MACH_EXC_THREAD_SET_STATE = 12,
523 kGUARD_EXC_MOVE_WEAK_REPLY_PORT_FATAL = 13,
492 kGUARD_EXC_INCORRECT_GUARD = 16,524 kGUARD_EXC_INCORRECT_GUARD = 16,
525 kGUARD_EXC_BOOTSTRAP_PORT_NOTIFICATION = 17,
526 kGUARD_EXC_CV_INVALID_EXCEPTION_PORT = 18,
493 kGUARD_EXC_IMMOVABLE = 32,527 kGUARD_EXC_IMMOVABLE = 32,
528 kGUARD_EXC_RESTRICT_VOUCHER_RECIPE_SIZE = 33,
529 kGUARD_EXC_RESTRICT_INLINE_PORT_DESCRIPTORS = 34,
494 kGUARD_EXC_STRICT_REPLY = 64,530 kGUARD_EXC_STRICT_REPLY = 64,
495 kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65,531 kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65,
496 kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66,532 kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66,
...@@ -512,24 +548,19 @@ enum mach_port_guard_exception_codes {...@@ -512,24 +548,19 @@ enum mach_port_guard_exception_codes {
512 /* start of always non-fatal guards */548 /* start of always non-fatal guards */
513 kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */549 kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */
514 kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused */550 kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused */
515 kGUARD_EXC_INVALID_NOTIFICATION_PORT = 0x00100006,
516 kGUARD_EXC_MACH_EXC_THREAD_SET_STATE = 0x00100007,
517 kGUARD_EXC_CV_NOTIFICATION_PORT_REQ = 0x00100008,
518 kGUARD_EXC_WEAK_REPLY_PORT = 0x00100002, /* unused */551 kGUARD_EXC_WEAK_REPLY_PORT = 0x00100002, /* unused */
519 kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */552 kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */
520 kGUARD_EXC_MOVE_WEAK_REPLY_PORT = 0x00100004,553 kGUARD_EXC_MOVE_WEAK_REPLY_PORT = 0x00100004, /* unused */
521 kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005,554 kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005,
555 kGUARD_EXC_INVALID_NOTIFICATION_PORT = 0x00100006,
556 kGUARD_EXC_CV_NOTIFICATION_PORT_REQ = 0x00100008,
522 kGUARD_EXC_MOD_REFS_NON_FATAL = 1u << 21,557 kGUARD_EXC_MOD_REFS_NON_FATAL = 1u << 21,
523 kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22, /* unused */558 kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22,
524};559};
525560
526#define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED561#define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED
527#define MAX_OPTIONAL_kGUARD_EXC_CODE kGUARD_EXC_RCV_INVALID_NAME562#define MAX_OPTIONAL_kGUARD_EXC_CODE kGUARD_EXC_RCV_INVALID_NAME
528563
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
533564
534/*565/*
535 * Mach port guard flags.566 * Mach port guard flags.
lib/libc/include/any-darwin-any/mach/processor_info.h+19-4
...@@ -90,10 +90,11 @@ typedef integer_t processor_set_info_data_t[PROCESSOR_SET_INFO_MAX];...@@ -90,10 +90,11 @@ typedef integer_t processor_set_info_data_t[PROCESSOR_SET_INFO_MAX];
90 * Currently defined information.90 * Currently defined information.
91 */91 */
92typedef int processor_flavor_t;92typedef int processor_flavor_t;
93#define PROCESSOR_BASIC_INFO 1 /* basic information */93#define PROCESSOR_BASIC_INFO 1 /* basic information */
94#define PROCESSOR_CPU_LOAD_INFO 2 /* cpu load information */94#define PROCESSOR_CPU_LOAD_INFO 2 /* cpu load information */
95#define PROCESSOR_PM_REGS_INFO 0x10000001 /* performance monitor register info */95#define PROCESSOR_CPU_COUNTERS_INFO 3 /* per-CPU active/idle time, cycles, instructions, energy */
96#define PROCESSOR_TEMPERATURE 0x10000002 /* Processor core temperature */96#define PROCESSOR_PM_REGS_INFO 0x10000001 /* performance monitor register info */
97#define PROCESSOR_TEMPERATURE 0x10000002 /* Processor core temperature */
9798
98struct processor_basic_info {99struct processor_basic_info {
99 cpu_type_t cpu_type; /* type of cpu */100 cpu_type_t cpu_type; /* type of cpu */
...@@ -120,6 +121,20 @@ typedef struct processor_cpu_load_info *processor_cpu_load_info_t;...@@ -120,6 +121,20 @@ typedef struct processor_cpu_load_info *processor_cpu_load_info_t;
120#define PROCESSOR_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \121#define PROCESSOR_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \
121 (sizeof(processor_cpu_load_info_data_t)/sizeof(natural_t)))122 (sizeof(processor_cpu_load_info_data_t)/sizeof(natural_t)))
122123
124struct processor_cpu_counters_info {
125 uint64_t user_time_mach; /* user-mode time, mach absolute units */
126 uint64_t system_time_mach; /* system-mode time, mach absolute units */
127 uint64_t idle_time_mach; /* idle time, mach absolute units */
128 uint64_t cycles; /* 0 if CPU counters unsupported */
129 uint64_t instructions; /* 0 if CPU counters unsupported */
130 uint64_t energy_nj; /* 0 if energy accounting unsupported */
131};
132
133typedef struct processor_cpu_counters_info processor_cpu_counters_info_data_t;
134typedef struct processor_cpu_counters_info *processor_cpu_counters_info_t;
135#define PROCESSOR_CPU_COUNTERS_INFO_COUNT ((mach_msg_type_number_t) \
136 (sizeof(processor_cpu_counters_info_data_t)/sizeof(natural_t)))
137
123/*138/*
124 * Scaling factor for load_average, mach_factor.139 * Scaling factor for load_average, mach_factor.
125 */140 */
lib/libc/include/any-darwin-any/mach/task.h+8-4
...@@ -172,7 +172,8 @@ mig_external...@@ -172,7 +172,8 @@ mig_external
172#else172#else
173extern173extern
174#endif /* mig_external */174#endif /* mig_external */
175__TVOS_PROHIBITED __WATCHOS_PROHIBITED175__API_DEPRECATED("use task_suspend2 instead", macos(10.0, __API_TO_BE_DEPRECATED), ios(2.0, __API_TO_BE_DEPRECATED), visionos(1.0, __API_TO_BE_DEPRECATED))
176__API_UNAVAILABLE(tvos, watchos)
176kern_return_t task_suspend177kern_return_t task_suspend
177(178(
178 task_read_t target_task179 task_read_t target_task
...@@ -184,7 +185,8 @@ mig_external...@@ -184,7 +185,8 @@ mig_external
184#else185#else
185extern186extern
186#endif /* mig_external */187#endif /* mig_external */
187__TVOS_PROHIBITED __WATCHOS_PROHIBITED188__API_DEPRECATED("use task_resume2 instead", macos(10.0, __API_TO_BE_DEPRECATED), ios(2.0, __API_TO_BE_DEPRECATED), visionos(1.0, __API_TO_BE_DEPRECATED))
189__API_UNAVAILABLE(tvos, watchos)
188kern_return_t task_resume190kern_return_t task_resume
189(191(
190 task_read_t target_task192 task_read_t target_task
...@@ -588,7 +590,8 @@ mig_external...@@ -588,7 +590,8 @@ mig_external
588#else590#else
589extern591extern
590#endif /* mig_external */592#endif /* mig_external */
591__TVOS_PROHIBITED __WATCHOS_PROHIBITED593__API_AVAILABLE(macos(10.9), ios(7.0), visionos(1.0))
594__API_UNAVAILABLE(watchos, tvos)
592kern_return_t task_suspend2595kern_return_t task_suspend2
593(596(
594 task_read_t target_task,597 task_read_t target_task,
...@@ -601,7 +604,8 @@ mig_external...@@ -601,7 +604,8 @@ mig_external
601#else604#else
602extern605extern
603#endif /* mig_external */606#endif /* mig_external */
604__TVOS_PROHIBITED __WATCHOS_PROHIBITED607__API_AVAILABLE(macos(10.9), ios(7.0), visionos(1.0))
608__API_UNAVAILABLE(watchos, tvos)
605kern_return_t task_resume2609kern_return_t task_resume2
606(610(
607 task_suspension_token_t suspend_token611 task_suspension_token_t suspend_token
lib/libc/include/any-darwin-any/mach/task_info.h+32-1
...@@ -69,9 +69,9 @@...@@ -69,9 +69,9 @@
69#include <mach/machine/vm_types.h>69#include <mach/machine/vm_types.h>
70#include <mach/time_value.h>70#include <mach/time_value.h>
71#include <mach/policy.h>71#include <mach/policy.h>
72#include <mach/machine.h>
72#include <mach/vm_statistics.h> /* for vm_extmod_statistics_data_t */73#include <mach/vm_statistics.h> /* for vm_extmod_statistics_data_t */
73#include <Availability.h>74#include <Availability.h>
74
75#include <sys/cdefs.h>75#include <sys/cdefs.h>
7676
77/*77/*
...@@ -521,6 +521,37 @@ typedef struct task_ipc_space_policy_info * task_ipc_space_policy_info_t;...@@ -521,6 +521,37 @@ typedef struct task_ipc_space_policy_info * task_ipc_space_policy_info_t;
521#define TASK_IPC_SPACE_POLICY_INFO_COUNT ((mach_msg_type_number_t) \521#define TASK_IPC_SPACE_POLICY_INFO_COUNT ((mach_msg_type_number_t) \
522 (sizeof(struct task_ipc_space_policy_info) / sizeof(natural_t)))522 (sizeof(struct task_ipc_space_policy_info) / sizeof(natural_t)))
523523
524#define TASK_VM_SHARED_CACHE_INFO 34
525struct task_vm_shared_cache_info {
526 uint32_t slide;
527};
528typedef struct task_vm_shared_cache_info task_vm_shared_cache_info_data_t;
529typedef struct task_vm_shared_cache_info *task_vm_shared_cache_info_t;
530#define TASK_VM_SHARED_CACHE_INFO_COUNT \
531 (sizeof(struct task_vm_shared_cache_info) / sizeof(natural_t))
532
533OS_ENUM(task_shared_region_stubs, uint8_t,
534 TASK_SHARED_REGION_STUBS_DEV = 0x01,
535 TASK_SHARED_REGION_STUBS_PROD = 0x02,
536 );
537
538#define TASK_SHARED_REGION_INFO 35
539struct task_shared_region_info {
540 mach_vm_address_t sri_base_address;
541 mach_vm_size_t sri_size;
542 mach_vm_offset_t sri_slide;
543 uint64_t sri_id;
544 uint64_t sri_namespace_id;
545 cpu_type_t sri_cpu_type;
546 cpu_subtype_t sri_cpu_subtype;
547 boolean_t sri_reslid;
548 boolean_t sri_driverkit;
549 task_shared_region_stubs_t sri_stubs;
550};
551typedef struct task_shared_region_info task_shared_region_info_data_t;
552typedef struct task_shared_region_info *task_shared_region_info_t;
553#define TASK_SHARED_REGION_INFO_COUNT (sizeof(struct task_shared_region_info) / sizeof(natural_t))
554
524/*555/*
525 * Type to control EXC_GUARD delivery options for a task556 * Type to control EXC_GUARD delivery options for a task
526 * via task_get/set_exc_guard_behavior interface(s).557 * via task_get/set_exc_guard_behavior interface(s).
lib/libc/include/any-darwin-any/mach/thread_act.h+8-4
...@@ -147,7 +147,8 @@ mig_external...@@ -147,7 +147,8 @@ mig_external
147#else147#else
148extern148extern
149#endif /* mig_external */149#endif /* mig_external */
150__WATCHOS_PROHIBITED150__API_DEPRECATED("use thread_suspend2 instead", macos(10.0, __API_TO_BE_DEPRECATED), ios(2.0, __API_TO_BE_DEPRECATED), tvos(9.0, __API_TO_BE_DEPRECATED), visionos(1.0, __API_TO_BE_DEPRECATED))
151__API_UNAVAILABLE(watchos)
151kern_return_t thread_suspend152kern_return_t thread_suspend
152(153(
153 thread_read_t target_act154 thread_read_t target_act
...@@ -159,7 +160,8 @@ mig_external...@@ -159,7 +160,8 @@ mig_external
159#else160#else
160extern161extern
161#endif /* mig_external */162#endif /* mig_external */
162__WATCHOS_PROHIBITED163__API_DEPRECATED("use thread_resume2 instead", macos(10.0, __API_TO_BE_DEPRECATED), ios(2.0, __API_TO_BE_DEPRECATED), tvos(9.0, __API_TO_BE_DEPRECATED), visionos(1.0, __API_TO_BE_DEPRECATED))
164__API_UNAVAILABLE(watchos)
163kern_return_t thread_resume165kern_return_t thread_resume
164(166(
165 thread_read_t target_act167 thread_read_t target_act
...@@ -515,7 +517,8 @@ mig_external...@@ -515,7 +517,8 @@ mig_external
515#else517#else
516extern518extern
517#endif /* mig_external */519#endif /* mig_external */
518__WATCHOS_PROHIBITED520__API_AVAILABLE(macos(26.4), ios(26.4), tvos(26.4), visionos(26.4))
521__API_UNAVAILABLE(watchos)
519kern_return_t thread_suspend2522kern_return_t thread_suspend2
520(523(
521 thread_read_t target_act,524 thread_read_t target_act,
...@@ -528,7 +531,8 @@ mig_external...@@ -528,7 +531,8 @@ mig_external
528#else531#else
529extern532extern
530#endif /* mig_external */533#endif /* mig_external */
531__WATCHOS_PROHIBITED534__API_AVAILABLE(macos(26.4), ios(26.4), tvos(26.4), visionos(26.4))
535__API_UNAVAILABLE(watchos)
532kern_return_t thread_resume2536kern_return_t thread_resume2
533(537(
534 mach_port_t suspend_token538 mach_port_t suspend_token
lib/libc/include/any-darwin-any/mach/vm_map.h+2-2
...@@ -1337,7 +1337,7 @@ union __RequestUnion__vm_map_subsystem {...@@ -1337,7 +1337,7 @@ union __RequestUnion__vm_map_subsystem {
1337 vm_size_t size;1337 vm_size_t size;
1338 natural_t nesting_depth;1338 natural_t nesting_depth;
1339 mach_msg_type_number_t infoCnt;1339 mach_msg_type_number_t infoCnt;
1340 int info[19];1340 int info[21];
1341 } __Reply__vm_region_recurse_t __attribute__((unused));1341 } __Reply__vm_region_recurse_t __attribute__((unused));
1342#ifdef __MigPackStructs1342#ifdef __MigPackStructs
1343#pragma pack(pop)1343#pragma pack(pop)
...@@ -1354,7 +1354,7 @@ union __RequestUnion__vm_map_subsystem {...@@ -1354,7 +1354,7 @@ union __RequestUnion__vm_map_subsystem {
1354 vm_size_t size;1354 vm_size_t size;
1355 natural_t nesting_depth;1355 natural_t nesting_depth;
1356 mach_msg_type_number_t infoCnt;1356 mach_msg_type_number_t infoCnt;
1357 int info[19];1357 int info[21];
1358 } __Reply__vm_region_recurse_64_t __attribute__((unused));1358 } __Reply__vm_region_recurse_64_t __attribute__((unused));
1359#ifdef __MigPackStructs1359#ifdef __MigPackStructs
1360#pragma pack(pop)1360#pragma pack(pop)
lib/libc/include/any-darwin-any/mach/vm_param.h+1
...@@ -67,6 +67,7 @@...@@ -67,6 +67,7 @@
67#ifndef _MACH_VM_PARAM_H_67#ifndef _MACH_VM_PARAM_H_
68#define _MACH_VM_PARAM_H_68#define _MACH_VM_PARAM_H_
6969
70
70#include <mach/machine/vm_param.h>71#include <mach/machine/vm_param.h>
7172
7273
lib/libc/include/any-darwin-any/mach/vm_region.h+37-6
...@@ -42,7 +42,9 @@...@@ -42,7 +42,9 @@
42#include <mach/vm_prot.h>42#include <mach/vm_prot.h>
43#include <mach/vm_inherit.h>43#include <mach/vm_inherit.h>
44#include <mach/vm_behavior.h>44#include <mach/vm_behavior.h>
45#include <mach/vm_statistics.h>
45#include <mach/vm_types.h>46#include <mach/vm_types.h>
47#include <mach/mach_types.h>
46#include <mach/message.h>48#include <mach/message.h>
47#include <mach/machine/vm_param.h>49#include <mach/machine/vm_param.h>
48#include <mach/machine/vm_types.h>50#include <mach/machine/vm_types.h>
...@@ -72,7 +74,6 @@ typedef int *vm_region_recurse_info_64_t;...@@ -72,7 +74,6 @@ typedef int *vm_region_recurse_info_64_t;
72typedef int vm_region_flavor_t;74typedef int vm_region_flavor_t;
73typedef int vm_region_info_data_t[VM_REGION_INFO_MAX];75typedef int vm_region_info_data_t[VM_REGION_INFO_MAX];
7476
75
76#define VM_REGION_BASIC_INFO_64 977#define VM_REGION_BASIC_INFO_64 9
77struct vm_region_basic_info_64 {78struct vm_region_basic_info_64 {
78 vm_prot_t protection;79 vm_prot_t protection;
...@@ -133,7 +134,7 @@ typedef struct vm_region_basic_info vm_region_basic_info_data_t;...@@ -133,7 +134,7 @@ typedef struct vm_region_basic_info vm_region_basic_info_data_t;
133#define SM_TRUESHARED 5134#define SM_TRUESHARED 5
134#define SM_PRIVATE_ALIASED 6135#define SM_PRIVATE_ALIASED 6
135#define SM_SHARED_ALIASED 7136#define SM_SHARED_ALIASED 7
136#define SM_LARGE_PAGE 8137#define SM_LARGE_PAGE 8 /* Unused today, but provided for compatibility */
137138
138/*139/*
139 * For submap info, the SM flags above are overlayed when a submap140 * For submap info, the SM flags above are overlayed when a submap
...@@ -259,6 +260,10 @@ struct vm_region_submap_info_64 {...@@ -259,6 +260,10 @@ struct vm_region_submap_info_64 {
259 unsigned int pages_reusable;260 unsigned int pages_reusable;
260 /* v2 fields */261 /* v2 fields */
261 vm_object_id_t object_id_full;262 vm_object_id_t object_id_full;
263 /* v3 fields */
264 uint32_t pages_wired;
265 uint16_t wire_tag;
266 uint16_t __padding0;
262};267};
263268
264typedef struct vm_region_submap_info_64 *vm_region_submap_info_64_t;269typedef struct vm_region_submap_info_64 *vm_region_submap_info_64_t;
...@@ -269,9 +274,13 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t...@@ -269,9 +274,13 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t
269 * so if we ever increase this you'll need to also bump the definition of274 * so if we ever increase this you'll need to also bump the definition of
270 * vm_region_recurse_info_t.275 * vm_region_recurse_info_t.
271 */276 */
272#define VM_REGION_SUBMAP_INFO_V2_SIZE \277#define VM_REGION_SUBMAP_INFO_V3_SIZE \
273 (sizeof (vm_region_submap_info_data_64_t))278 (sizeof (vm_region_submap_info_data_64_t))
274279
280/* v2 size is v3 size minus v3's new fields */
281#define VM_REGION_SUBMAP_INFO_V2_SIZE \
282 (offsetof (vm_region_submap_info_data_64_t, pages_wired))
283
275/* v1 size is v2 size minus v2's new fields */284/* v1 size is v2 size minus v2's new fields */
276#define VM_REGION_SUBMAP_INFO_V1_SIZE \285#define VM_REGION_SUBMAP_INFO_V1_SIZE \
277 (VM_REGION_SUBMAP_INFO_V2_SIZE - \286 (VM_REGION_SUBMAP_INFO_V2_SIZE - \
...@@ -282,6 +291,9 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t...@@ -282,6 +291,9 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t
282 (VM_REGION_SUBMAP_INFO_V1_SIZE - \291 (VM_REGION_SUBMAP_INFO_V1_SIZE - \
283 sizeof (unsigned int) /* pages_reusable */ )292 sizeof (unsigned int) /* pages_reusable */ )
284293
294#define VM_REGION_SUBMAP_INFO_V3_COUNT_64 \
295 ((mach_msg_type_number_t) \
296 (VM_REGION_SUBMAP_INFO_V3_SIZE / sizeof (natural_t)))
285#define VM_REGION_SUBMAP_INFO_V2_COUNT_64 \297#define VM_REGION_SUBMAP_INFO_V2_COUNT_64 \
286 ((mach_msg_type_number_t) \298 ((mach_msg_type_number_t) \
287 (VM_REGION_SUBMAP_INFO_V2_SIZE / sizeof (natural_t)))299 (VM_REGION_SUBMAP_INFO_V2_SIZE / sizeof (natural_t)))
...@@ -293,11 +305,13 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t...@@ -293,11 +305,13 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t
293 (VM_REGION_SUBMAP_INFO_V0_SIZE / sizeof (natural_t)))305 (VM_REGION_SUBMAP_INFO_V0_SIZE / sizeof (natural_t)))
294306
295/* set this to the latest version */307/* set this to the latest version */
296#define VM_REGION_SUBMAP_INFO_COUNT_64 VM_REGION_SUBMAP_INFO_V2_COUNT_64308#define VM_REGION_SUBMAP_INFO_COUNT_64 VM_REGION_SUBMAP_INFO_V3_COUNT_64
297309
298#define VM_REGION_FLAG_JIT_ENABLED 0x1310#define VM_REGION_FLAG_JIT_ENABLED 0x1
299#define VM_REGION_FLAG_TPRO_ENABLED 0x2311#define VM_REGION_FLAG_TPRO_ENABLED 0x2
300312/* SPI bits; see vm_region_private.h */
313#define VM_REGION_FLAG_RESERVED_BIT_3 0x4
314#define VM_REGION_FLAG_RESERVED_BIT_4 0x8
301315
302struct vm_region_submap_short_info_64 {316struct vm_region_submap_short_info_64 {
303 vm_prot_t protection; /* present access protection */317 vm_prot_t protection; /* present access protection */
...@@ -355,9 +369,11 @@ typedef struct vm32_read_entry vm32_read_entry_t[VM_MAP_ENTRY_MAX];...@@ -355,9 +369,11 @@ typedef struct vm32_read_entry vm32_read_entry_t[VM_MAP_ENTRY_MAX];
355#define VM_PAGE_INFO_MAX369#define VM_PAGE_INFO_MAX
356typedef int *vm_page_info_t;370typedef int *vm_page_info_t;
357typedef int vm_page_info_data_t[VM_PAGE_INFO_MAX];371typedef int vm_page_info_data_t[VM_PAGE_INFO_MAX];
372
358typedef int vm_page_info_flavor_t;373typedef int vm_page_info_flavor_t;
374#define VM_PAGE_INFO_BASIC 1
375#define VM_PAGE_INFO_EXTENDED 2
359376
360#define VM_PAGE_INFO_BASIC 1
361struct vm_page_info_basic {377struct vm_page_info_basic {
362 int disposition;378 int disposition;
363 int ref_count;379 int ref_count;
...@@ -372,5 +388,20 @@ typedef struct vm_page_info_basic vm_page_info_basic_data_t;...@@ -372,5 +388,20 @@ typedef struct vm_page_info_basic vm_page_info_basic_data_t;
372#define VM_PAGE_INFO_BASIC_COUNT ((mach_msg_type_number_t) \388#define VM_PAGE_INFO_BASIC_COUNT ((mach_msg_type_number_t) \
373 (sizeof(vm_page_info_basic_data_t)/sizeof(int)))389 (sizeof(vm_page_info_basic_data_t)/sizeof(int)))
374390
391typedef struct vm_page_info_extended {
392 vm_page_disposition_t disposition;
393 uint32_t ref_count;
394 vm_object_id_t object_id;
395 memory_object_offset_t offset;
396 int depth;
397 uint32_t __pad1;
398 uint64_t disposition_ts; /* abs. time (in sec) */
399 uint64_t __reserved[4];
400} vm_page_info_extended_data_t;
401
402typedef struct vm_page_info_extended *vm_page_info_extended_t;
403
404#define VM_PAGE_INFO_EXTENDED_COUNT ((mach_msg_type_number_t) \
405 (sizeof(vm_page_info_extended_data_t) / sizeof(natural_t)))
375406
376#endif /*_MACH_VM_REGION_H_*/407#endif /*_MACH_VM_REGION_H_*/
lib/libc/include/any-darwin-any/mach/vm_statistics.h+103-21
...@@ -207,6 +207,59 @@ struct vm_statistics64 {...@@ -207,6 +207,59 @@ struct vm_statistics64 {
207 uint64_t tagged_decompressions;207 uint64_t tagged_decompressions;
208 /* The current number of bytes consumed by compressed tag storage data */208 /* The current number of bytes consumed by compressed tag storage data */
209 uint64_t compressed_tag_storage_bytes;209 uint64_t compressed_tag_storage_bytes;
210 /* added for rev4 */
211 /* The number of pages created due to speculative prefetch since boot */
212 uint64_t speculative_pages_created;
213 /* The number speculative pages that have been activated since boot */
214 uint64_t speculative_pages_activated;
215
216 /* Added for rev4 */
217 /* The number of pages currently populated in the swapfile */
218 uint64_t swap_count;
219
220 /* Added for rev5 */
221 /*
222 * The number of tag storage pages which are reserved for storing tags but
223 * don't currently hold any
224 */
225 uint64_t empty_tag_storing_tag_storage_pages;
226 /*
227 * The number of resident, file-backed (i.e. excluding JIT) pages which are
228 * mapped as executable
229 */
230 uint64_t executable_count;
231 /* The number of resident pages which are part of a shared region */
232 uint64_t shared_region_count;
233 /* The number of pages stolen by the booter */
234 uint64_t boot_stolen_count;
235 /* The number of file-backed pages which are secluded */
236 uint64_t secluded_count;
237 /* The number of internal pageable pages which are active */
238 uint64_t active_internal_count;
239 /* The number of internal pageable pages which are inactive */
240 uint64_t inactive_internal_count;
241 /* The number of external pageable pages which are active */
242 uint64_t active_external_count;
243 /* The number of external pageable pages which are inactive */
244 uint64_t inactive_external_count;
245 /* The number of purgeable volatile pages which are pageable */
246 uint64_t purgeable_pageable_count;
247 /* The number of purgeable-volatile pages which are wired */
248 uint64_t purgeable_wired_count;
249 /* The number of anonymous pages which are backgrounded */
250 uint64_t background_internal_count;
251 /* The number of file-backed pages which are backgrounded */
252 uint64_t background_external_count;
253 /* The number of anonymous pages which are queued for self-donation (App Swap) */
254 uint64_t donated_count;
255 /* The number of anonymous pages which are marked as real-time */
256 uint64_t realtime_count;
257 /* The size of physical memory in pages */
258 uint64_t max_mem_count;
259 /* The number of phantom file-cache ghosts which were re-paged-in */
260 uint64_t phantom_ghosts_found;
261 /* The number of phantom file-cache ghosts created by pageout */
262 uint64_t phantom_ghosts_added;
210} __attribute__((aligned(8)));263} __attribute__((aligned(8)));
211264
212typedef struct vm_statistics64 *vm_statistics64_t;265typedef struct vm_statistics64 *vm_statistics64_t;
...@@ -259,18 +312,19 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;...@@ -259,18 +312,19 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
259312
260typedef int32_t vm_page_disposition_t;313typedef int32_t vm_page_disposition_t;
261314
262#define VM_PAGE_QUERY_PAGE_PRESENT 0x001315#define VM_PAGE_QUERY_PAGE_PRESENT 0x0001
263#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x002316#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x0002
264#define VM_PAGE_QUERY_PAGE_REF 0x004317#define VM_PAGE_QUERY_PAGE_REF 0x0004
265#define VM_PAGE_QUERY_PAGE_DIRTY 0x008318#define VM_PAGE_QUERY_PAGE_DIRTY 0x0008
266#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x010319#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x0010
267#define VM_PAGE_QUERY_PAGE_COPIED 0x020320#define VM_PAGE_QUERY_PAGE_COPIED 0x0020
268#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x040321#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x0040
269#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x080322#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x0080
270#define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x100323#define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x0100
271#define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x200324#define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x0200
272#define VM_PAGE_QUERY_PAGE_CS_NX 0x400325#define VM_PAGE_QUERY_PAGE_CS_NX 0x0400
273#define VM_PAGE_QUERY_PAGE_REUSABLE 0x800326#define VM_PAGE_QUERY_PAGE_REUSABLE 0x0800
327#define VM_PAGE_QUERY_PAGE_WIRED 0x1000
274328
275#pragma mark User Flags329#pragma mark User Flags
276330
...@@ -322,6 +376,10 @@ typedef int32_t vm_page_disposition_t;...@@ -322,6 +376,10 @@ typedef int32_t vm_page_disposition_t;
322 * VM_FLAGS_GUARD_OBJECT_OPTOUT376 * VM_FLAGS_GUARD_OBJECT_OPTOUT
323 * Opt out this allocation from the guard object allocation policy.377 * Opt out this allocation from the guard object allocation policy.
324 * And memory will be allocated in typical first-fit allocation order.378 * And memory will be allocated in typical first-fit allocation order.
379 *
380 * VM_FLAGS_SUPERPAGE_*
381 * Deprecated; not supported on any current hardware.
382 * These bits may be reused in the future and thus lead to unexpected results.
325 */383 */
326384
327#define VM_FLAGS_FIXED 0x00000000385#define VM_FLAGS_FIXED 0x00000000
...@@ -335,13 +393,8 @@ typedef int32_t vm_page_disposition_t;...@@ -335,13 +393,8 @@ typedef int32_t vm_page_disposition_t;
335#define VM_FLAGS_PERMANENT 0x00000080393#define VM_FLAGS_PERMANENT 0x00000080
336#define VM_FLAGS_TPRO 0x00001000394#define VM_FLAGS_TPRO 0x00001000
337#define VM_FLAGS_MTE 0x00002000395#define VM_FLAGS_MTE 0x00002000
338#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */396#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */
339/*397#define VM_FLAGS_SUPERPAGE_MASK 0x00070000 /* Currently unused. Bits 0x10000, 0x20000, 0x40000. */
340 * VM_FLAGS_SUPERPAGE_MASK
341 * 3 bits that specify whether large pages should be used instead of
342 * base pages (!=0), as well as the requested page size.
343 */
344#define VM_FLAGS_SUPERPAGE_MASK 0x00070000 /* bits 0x10000, 0x20000, 0x40000 */
345#define VM_FLAGS_RETURN_DATA_ADDR 0x00100000 /* Return address of target data, rather than base of page */398#define VM_FLAGS_RETURN_DATA_ADDR 0x00100000 /* Return address of target data, rather than base of page */
346#define VM_FLAGS_GUARD_OBJECT_OPTOUT 0x00400000399#define VM_FLAGS_GUARD_OBJECT_OPTOUT 0x00400000
347#define VM_FLAGS_RETURN_4K_DATA_ADDR 0x00800000 /* Return 4K aligned address of target data */400#define VM_FLAGS_RETURN_4K_DATA_ADDR 0x00800000 /* Return 4K aligned address of target data */
...@@ -365,7 +418,6 @@ typedef int32_t vm_page_disposition_t;...@@ -365,7 +418,6 @@ typedef int32_t vm_page_disposition_t;
365 VM_FLAGS_PERMANENT | \418 VM_FLAGS_PERMANENT | \
366 VM_FLAGS_OVERWRITE | \419 VM_FLAGS_OVERWRITE | \
367 VM_FLAGS_GUARD_OBJECT_OPTOUT | \420 VM_FLAGS_GUARD_OBJECT_OPTOUT | \
368 VM_FLAGS_SUPERPAGE_MASK | \
369 VM_FLAGS_HW | \421 VM_FLAGS_HW | \
370 VM_FLAGS_ALIAS_MASK)422 VM_FLAGS_ALIAS_MASK)
371423
...@@ -381,6 +433,11 @@ typedef int32_t vm_page_disposition_t;...@@ -381,6 +433,11 @@ typedef int32_t vm_page_disposition_t;
381 VM_FLAGS_RESILIENT_CODESIGN | \433 VM_FLAGS_RESILIENT_CODESIGN | \
382 VM_FLAGS_RESILIENT_MEDIA)434 VM_FLAGS_RESILIENT_MEDIA)
383435
436/*
437 * Superpage macros are deprecated as we don't currently support this feature
438 * on any platforms. We may reuse those flag bits in the future and thus use
439 * of these bits might lead to unexpected results in future OS versions.
440 */
384#define VM_FLAGS_SUPERPAGE_SHIFT 16441#define VM_FLAGS_SUPERPAGE_SHIFT 16
385#define SUPERPAGE_NONE 0 /* no superpages, if all bits are 0 */442#define SUPERPAGE_NONE 0 /* no superpages, if all bits are 0 */
386#define SUPERPAGE_SIZE_ANY 1443#define SUPERPAGE_SIZE_ANY 1
...@@ -404,7 +461,26 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {...@@ -404,7 +461,26 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
404 kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10,461 kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10,
405 kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11,462 kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11,
406 kGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION = 12,463 kGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION = 12,
407 kGUARD_EXC_LARGE_ALLOCATION_TELEMETRY = 13,464
465 /**
466 * Guard exception sent to a thread when a CoW defeatured map attempts to
467 * copy memory which is not permitted by system policy.
468 */
469 kGUARD_EXC_COW_DEFEATURED_COPY_DENIED = 13,
470 /**
471 * Guard exception sent to a thread when it attempts to extract a given type
472 * of memory in a way which is not permitted for CoW defeatured maps.
473 */
474 kGUARD_EXC_COW_DEFEATURED_EXTRACT_DENIED = 14,
475 /**
476 * Guard exception sent to a thread when it attempts to copy-map a memory
477 * entry which was created for sharing by a CoW defeatured map.
478 */
479 kGUARD_EXC_COW_DEFEATURED_SHARE_MAP_AS_COPY_DENIED = 15,
480 kGUARD_EXC_COW_DEFEATURED_FIRST = kGUARD_EXC_COW_DEFEATURED_COPY_DENIED,
481 kGUARD_EXC_COW_DEFEATURED_LAST = kGUARD_EXC_COW_DEFEATURED_SHARE_MAP_AS_COPY_DENIED,
482
483 kGUARD_EXC_LARGE_ALLOCATION_TELEMETRY = 16,
408 /*484 /*
409 * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned)485 * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned)
410 */486 */
...@@ -662,6 +738,12 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {...@@ -662,6 +738,12 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
662/* memory allocated for CompositorServices */738/* memory allocated for CompositorServices */
663#define VM_MEMORY_COMPOSITOR_SERVICES 107739#define VM_MEMORY_COMPOSITOR_SERVICES 107
664740
741/* memory allocate for in-process debug tools */
742#define VM_MEMORY_DEBUG 108
743
744/* Apple Neural Engine */
745#define VM_MEMORY_NEURAL 109
746
665/* Reserve 230-239 for Rosetta */747/* Reserve 230-239 for Rosetta */
666#define VM_MEMORY_ROSETTA 230748#define VM_MEMORY_ROSETTA 230
667#define VM_MEMORY_ROSETTA_THREAD_CONTEXT 231749#define VM_MEMORY_ROSETTA_THREAD_CONTEXT 231
lib/libc/include/any-darwin-any/mach_debug/zone_info.h+8
...@@ -61,6 +61,7 @@...@@ -61,6 +61,7 @@
6161
62#include <mach/boolean.h>62#include <mach/boolean.h>
63#include <mach/machine/vm_types.h>63#include <mach/machine/vm_types.h>
64#include <sys/cdefs.h>
6465
65/*66/*
66 * Legacy definitions for host_zone_info(). This interface, and67 * Legacy definitions for host_zone_info(). This interface, and
...@@ -152,11 +153,17 @@ typedef task_zone_info_t *task_zone_info_array_t;...@@ -152,11 +153,17 @@ typedef task_zone_info_t *task_zone_info_array_t;
152typedef struct mach_memory_info {153typedef struct mach_memory_info {
153 uint64_t flags;154 uint64_t flags;
154 uint64_t site;155 uint64_t site;
156 /* The current size of the site in bytes */
155 uint64_t size;157 uint64_t size;
158 /* The number of bytes which are not currently in use */
156 uint64_t free;159 uint64_t free;
160 /* The size of the largest individual element in the site */
157 uint64_t largest;161 uint64_t largest;
162 /* The number of bytes which could be recovered by kernel GC */
158 uint64_t collectable_bytes;163 uint64_t collectable_bytes;
164 /* The amount of kernel VA consumed by this site */
159 uint64_t mapped;165 uint64_t mapped;
166 /* The peak (max) size of this site */
160 uint64_t peak;167 uint64_t peak;
161 uint16_t tag;168 uint16_t tag;
162 uint16_t zone;169 uint16_t zone;
...@@ -167,6 +174,7 @@ typedef struct mach_memory_info {...@@ -167,6 +174,7 @@ typedef struct mach_memory_info {
167174
168typedef mach_memory_info_t *mach_memory_info_array_t;175typedef mach_memory_info_t *mach_memory_info_array_t;
169176
177
170/*178/*
171 * MAX_ZTRACE_DEPTH configures how deep of a stack trace is taken on each zalloc in the zone of interest. 15179 * MAX_ZTRACE_DEPTH configures how deep of a stack trace is taken on each zalloc in the zone of interest. 15
172 * levels is usually enough to get past all the layers of code in kalloc and IOKit and see who the actual180 * levels is usually enough to get past all the layers of code in kalloc and IOKit and see who the actual
lib/libc/include/any-darwin-any/malloc/_malloc.h+2
...@@ -30,7 +30,9 @@...@@ -30,7 +30,9 @@
30 * Be cautious about what is included and declared here.30 * Be cautious about what is included and declared here.
31 */31 */
3232
33#ifndef __MALLOC_NO_AVAILABILITY_MACROS__
33#include <Availability.h>34#include <Availability.h>
35#endif
34#include <sys/cdefs.h>36#include <sys/cdefs.h>
35#if __has_include(<sys/_types/_size_t.h>)37#if __has_include(<sys/_types/_size_t.h>)
36#include <sys/_types/_size_t.h>38#include <sys/_types/_size_t.h>
lib/libc/include/any-darwin-any/malloc/_malloc_type.h+2
...@@ -32,7 +32,9 @@ typedef unsigned long long malloc_type_id_t;...@@ -32,7 +32,9 @@ typedef unsigned long long malloc_type_id_t;
32#if defined(__LP64__) /* MALLOC_TARGET_64BIT */32#if defined(__LP64__) /* MALLOC_TARGET_64BIT */
3333
34// Included from <malloc/_malloc.h> so carefully manage what we include here.34// Included from <malloc/_malloc.h> so carefully manage what we include here.
35#ifndef __MALLOC_NO_AVAILABILITY_MACROS__
35#include <Availability.h> /* __SPI_AVAILABLE */36#include <Availability.h> /* __SPI_AVAILABLE */
37#endif
36#if __has_include(<sys/_types/_size_t.h>)38#if __has_include(<sys/_types/_size_t.h>)
37#include <sys/_types/_size_t.h>39#include <sys/_types/_size_t.h>
38#else40#else
lib/libc/include/any-darwin-any/malloc/malloc.h+15-11
...@@ -24,10 +24,14 @@...@@ -24,10 +24,14 @@
24#ifndef _MALLOC_MALLOC_H_24#ifndef _MALLOC_MALLOC_H_
25#define _MALLOC_MALLOC_H_25#define _MALLOC_MALLOC_H_
2626
27#if __has_include(<TargetConditionals.h>)
27#include <TargetConditionals.h>28#include <TargetConditionals.h>
29#endif
28#include <malloc/_platform.h>30#include <malloc/_platform.h>
31#ifndef __MALLOC_NO_AVAILABILITY_MACROS__
29#include <Availability.h>32#include <Availability.h>
30#include <os/availability.h>33#include <os/availability.h>
34#endif
3135
32#include <malloc/_ptrcheck.h>36#include <malloc/_ptrcheck.h>
33__ptrcheck_abi_assume_single()37__ptrcheck_abi_assume_single()
...@@ -390,7 +394,7 @@ typedef union {...@@ -390,7 +394,7 @@ typedef union {
390extern malloc_zone_t *malloc_default_zone(void);394extern malloc_zone_t *malloc_default_zone(void);
391 /* The initial zone */395 /* The initial zone */
392396
393#if !0 && !0397#if !0 && !0 && !TARGET_OS_RTKIT
394extern malloc_zone_t *malloc_create_zone(vm_size_t start_size, unsigned flags);398extern malloc_zone_t *malloc_create_zone(vm_size_t start_size, unsigned flags);
395 /* Creates a new zone with default behavior and registers it */399 /* Creates a new zone with default behavior and registers it */
396400
...@@ -422,7 +426,7 @@ extern void * __sized_by_or_null(size) malloc_zone_malloc(malloc_zone_t *zone, s...@@ -422,7 +426,7 @@ extern void * __sized_by_or_null(size) malloc_zone_malloc(malloc_zone_t *zone, s
422 * if align is MALLOC_ZONE_MALLOC_DEFAULT_ALIGN. OS version 26.0 does not426 * if align is MALLOC_ZONE_MALLOC_DEFAULT_ALIGN. OS version 26.0 does not
423 * implement this exception.427 * implement this exception.
424 *428 *
425 * @param options429 * @param opts
426 * A bitmask of options defining how the memory should be allocated. See the430 * A bitmask of options defining how the memory should be allocated. See the
427 * available bit values in the malloc_zone_malloc_options_t enum definition.431 * available bit values in the malloc_zone_malloc_options_t enum definition.
428 *432 *
...@@ -469,7 +473,7 @@ extern void * __sized_by_or_null(size) malloc_zone_memalign(malloc_zone_t *zone,...@@ -469,7 +473,7 @@ extern void * __sized_by_or_null(size) malloc_zone_memalign(malloc_zone_t *zone,
469473
470/********* Batch methods ************/474/********* Batch methods ************/
471475
472#if !0 && !0476#if !0 && !0 && !TARGET_OS_RTKIT
473extern unsigned malloc_zone_batch_malloc(malloc_zone_t *zone, size_t size, void * __unsafe_indexable * __counted_by(num_requested) results, unsigned num_requested);477extern unsigned malloc_zone_batch_malloc(malloc_zone_t *zone, size_t size, void * __unsafe_indexable * __counted_by(num_requested) results, unsigned num_requested);
474 /* Allocates num blocks of the same size; Returns the number truly allocated (may be 0) */478 /* Allocates num blocks of the same size; Returns the number truly allocated (may be 0) */
475479
...@@ -479,7 +483,7 @@ extern void malloc_zone_batch_free(malloc_zone_t *zone, void * __unsafe_indexabl...@@ -479,7 +483,7 @@ extern void malloc_zone_batch_free(malloc_zone_t *zone, void * __unsafe_indexabl
479483
480/********* Functions for libcache ************/484/********* Functions for libcache ************/
481485
482#if !0 && !0486#if !0 && !0 && !TARGET_OS_RTKIT
483extern malloc_zone_t *malloc_default_purgeable_zone(void) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);487extern malloc_zone_t *malloc_default_purgeable_zone(void) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
484 /* Returns a pointer to the default purgeable_zone. */488 /* Returns a pointer to the default purgeable_zone. */
485489
...@@ -494,7 +498,7 @@ extern int malloc_make_nonpurgeable(void * __unsafe_indexable ptr) __OSX_AVAILAB...@@ -494,7 +498,7 @@ extern int malloc_make_nonpurgeable(void * __unsafe_indexable ptr) __OSX_AVAILAB
494498
495/********* Functions for zone implementors ************/499/********* Functions for zone implementors ************/
496500
497#if !0 && !0501#if !0 && !0 && !TARGET_OS_RTKIT
498extern void malloc_zone_register(malloc_zone_t *zone);502extern void malloc_zone_register(malloc_zone_t *zone);
499 /* Registers a custom malloc zone; Should typically be called after a503 /* Registers a custom malloc zone; Should typically be called after a
500 * malloc_zone_t has been filled in with custom methods by a client. See504 * malloc_zone_t has been filled in with custom methods by a client. See
...@@ -512,7 +516,7 @@ extern void malloc_set_zone_name(malloc_zone_t *zone, const char * __null_termin...@@ -512,7 +516,7 @@ extern void malloc_set_zone_name(malloc_zone_t *zone, const char * __null_termin
512extern const char *malloc_get_zone_name(malloc_zone_t *zone);516extern const char *malloc_get_zone_name(malloc_zone_t *zone);
513 /* Returns the name of a zone */517 /* Returns the name of a zone */
514518
515#if !0 && !0519#if !0 && !0 && !TARGET_OS_RTKIT
516size_t malloc_zone_pressure_relief(malloc_zone_t *zone, size_t goal) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);520size_t malloc_zone_pressure_relief(malloc_zone_t *zone, size_t goal) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
517 /* malloc_zone_pressure_relief() advises the malloc subsystem that the process is under memory pressure and521 /* malloc_zone_pressure_relief() advises the malloc subsystem that the process is under memory pressure and
518 * that the subsystem should make its best effort towards releasing (i.e. munmap()-ing) "goal" bytes from "zone".522 * that the subsystem should make its best effort towards releasing (i.e. munmap()-ing) "goal" bytes from "zone".
...@@ -579,7 +583,7 @@ typedef struct malloc_introspection_t {...@@ -579,7 +583,7 @@ typedef struct malloc_introspection_t {
579// verbose passed to print()583// verbose passed to print()
580#define MALLOC_VERBOSE_PRINT_LEVEL 2584#define MALLOC_VERBOSE_PRINT_LEVEL 2
581585
582#if !0 && !0586#if !0 && !0 && !TARGET_OS_RTKIT
583extern void malloc_printf(const char * __null_terminated format, ...) __printflike(1,2);587extern void malloc_printf(const char * __null_terminated format, ...) __printflike(1,2);
584 /* Convenience for logging errors and warnings;588 /* Convenience for logging errors and warnings;
585 No allocation is performed during execution of this function;589 No allocation is performed during execution of this function;
...@@ -589,7 +593,7 @@ extern void malloc_printf(const char * __null_terminated format, ...) __printfli...@@ -589,7 +593,7 @@ extern void malloc_printf(const char * __null_terminated format, ...) __printfli
589593
590/********* Functions for performance tools ************/594/********* Functions for performance tools ************/
591595
592#if !0 && !0596#if !0 && !0 && !TARGET_OS_RTKIT
593extern kern_return_t malloc_get_all_zones(task_t task, memory_reader_t reader, vm_address_t * __single * __counted_by(*count) addresses, unsigned *count);597extern kern_return_t malloc_get_all_zones(task_t task, memory_reader_t reader, vm_address_t * __single * __counted_by(*count) addresses, unsigned *count);
594 /* Fills addresses and count with the addresses of the zones in task;598 /* Fills addresses and count with the addresses of the zones in task;
595 Note that the validity of the addresses returned correspond to the validity reader */599 Note that the validity of the addresses returned correspond to the validity reader */
...@@ -606,7 +610,7 @@ extern boolean_t malloc_zone_check(malloc_zone_t *zone);...@@ -606,7 +610,7 @@ extern boolean_t malloc_zone_check(malloc_zone_t *zone);
606extern void malloc_zone_print(malloc_zone_t *zone, boolean_t verbose);610extern void malloc_zone_print(malloc_zone_t *zone, boolean_t verbose);
607 /* Prints summary on zone; if !zone, prints all zones */611 /* Prints summary on zone; if !zone, prints all zones */
608612
609#if !0 && !0613#if !0 && !0 && !TARGET_OS_RTKIT
610extern void malloc_zone_statistics(malloc_zone_t *zone, malloc_statistics_t *stats);614extern void malloc_zone_statistics(malloc_zone_t *zone, malloc_statistics_t *stats);
611 /* Fills statistics for zone; if !zone, sums up all zones */615 /* Fills statistics for zone; if !zone, sums up all zones */
612616
...@@ -625,7 +629,7 @@ struct mstats {...@@ -625,7 +629,7 @@ struct mstats {
625 size_t bytes_free;629 size_t bytes_free;
626};630};
627631
628#if !0 && !0632#if !0 && !0 && !TARGET_OS_RTKIT
629extern struct mstats mstats(void);633extern struct mstats mstats(void);
630634
631extern boolean_t malloc_zone_enable_discharge_checking(malloc_zone_t *zone) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);635extern boolean_t malloc_zone_enable_discharge_checking(malloc_zone_t *zone) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
...@@ -640,7 +644,7 @@ extern void malloc_zone_discharge(malloc_zone_t *zone, void * __unsafe_indexable...@@ -640,7 +644,7 @@ extern void malloc_zone_discharge(malloc_zone_t *zone, void * __unsafe_indexable
640 If discharge checking is off for the zone this function is a no-op. */644 If discharge checking is off for the zone this function is a no-op. */
641#endif 645#endif
642646
643#if !0 && !0647#if !0 && !0 && !TARGET_OS_RTKIT
644#ifdef __BLOCKS__648#ifdef __BLOCKS__
645extern void malloc_zone_enumerate_discharged_pointers(malloc_zone_t *zone, void (^report_discharged)(void *memory, void *info)) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);649extern void malloc_zone_enumerate_discharged_pointers(malloc_zone_t *zone, void (^report_discharged)(void *memory, void *info)) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
646 /* Calls report_discharged for each block that was registered using malloc_zone_discharge() but has not yet been freed.650 /* Calls report_discharged for each block that was registered using malloc_zone_discharge() but has not yet been freed.
lib/libc/include/any-darwin-any/math.h+11-1
...@@ -63,7 +63,15 @@ __BEGIN_DECLS...@@ -63,7 +63,15 @@ __BEGIN_DECLS
63# define HUGE_VAL __builtin_huge_val()63# define HUGE_VAL __builtin_huge_val()
64# define HUGE_VALF __builtin_huge_valf()64# define HUGE_VALF __builtin_huge_valf()
65# define HUGE_VALL __builtin_huge_vall()65# define HUGE_VALL __builtin_huge_vall()
66# define NAN __builtin_nanf("0x7fc00000")66# if defined(__has_feature) && __has_feature(modules) && defined(__has_include) && __has_include(<float.h>)
67__END_DECLS
68# define __need_infinity_nan
69# include <float.h>
70# undef __need_infinity_nan
71__BEGIN_DECLS
72# else
73# define NAN __builtin_nanf("0x7fc00000")
74# endif
67#else75#else
68# define HUGE_VAL 1e50076# define HUGE_VAL 1e500
69# define HUGE_VALF 1e50f77# define HUGE_VALF 1e50f
...@@ -71,7 +79,9 @@ __BEGIN_DECLS...@@ -71,7 +79,9 @@ __BEGIN_DECLS
71# define NAN __nan()79# define NAN __nan()
72#endif80#endif
7381
82#if !defined(__GNUC__) || !defined(__has_feature) || !__has_feature(modules) || !defined(__has_include) || !__has_include(<float.h>)
74#define INFINITY HUGE_VALF83#define INFINITY HUGE_VALF
84#endif
7585
76/******************************************************************************86/******************************************************************************
77 * Taxonomy of floating point data types *87 * Taxonomy of floating point data types *
lib/libc/include/any-darwin-any/net/if.h+4-2
...@@ -1,5 +1,5 @@...@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2000-2021 Apple Inc. All rights reserved.2 * Copyright (c) 2000-2026 Apple Inc. All rights reserved.
3 *3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *5 *
...@@ -143,6 +143,7 @@ struct if_clonereq {...@@ -143,6 +143,7 @@ struct if_clonereq {
143#define IFCAP_CSUM_PARTIAL 0x02000 /* can offload partial checksum */143#define IFCAP_CSUM_PARTIAL 0x02000 /* can offload partial checksum */
144#define IFCAP_CSUM_ZERO_INVERT 0x04000 /* can invert 0 to -0 (0xffff) */144#define IFCAP_CSUM_ZERO_INVERT 0x04000 /* can invert 0 to -0 (0xffff) */
145#define IFCAP_LRO_NUM_SEG 0x08000 /* NIC & driver can set the num of segments a LRO-packet is built of */145#define IFCAP_LRO_NUM_SEG 0x08000 /* NIC & driver can set the num of segments a LRO-packet is built of */
146#define IFCAP_IPSEC 0x10000 /* can do ipsec offload */
146147
147#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)148#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)
148#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6)149#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6)
...@@ -150,7 +151,8 @@ struct if_clonereq {...@@ -150,7 +151,8 @@ struct if_clonereq {
150#define IFCAP_VALID (IFCAP_HWCSUM | IFCAP_TSO | IFCAP_LRO | IFCAP_VLAN_MTU | \151#define IFCAP_VALID (IFCAP_HWCSUM | IFCAP_TSO | IFCAP_LRO | IFCAP_VLAN_MTU | \
151 IFCAP_VLAN_HWTAGGING | IFCAP_JUMBO_MTU | IFCAP_AV | IFCAP_TXSTATUS | \152 IFCAP_VLAN_HWTAGGING | IFCAP_JUMBO_MTU | IFCAP_AV | IFCAP_TXSTATUS | \
152 IFCAP_SKYWALK | IFCAP_SW_TIMESTAMP | IFCAP_HW_TIMESTAMP | \153 IFCAP_SKYWALK | IFCAP_SW_TIMESTAMP | IFCAP_HW_TIMESTAMP | \
153 IFCAP_CSUM_PARTIAL | IFCAP_CSUM_ZERO_INVERT | IFCAP_LRO_NUM_SEG)154 IFCAP_CSUM_PARTIAL | IFCAP_CSUM_ZERO_INVERT | IFCAP_LRO_NUM_SEG | \
155 IFCAP_IPSEC)
154156
155#define IFQ_MAXLEN 128157#define IFQ_MAXLEN 128
156#define IFNET_SLOWHZ 1 /* granularity is 1 second */158#define IFNET_SLOWHZ 1 /* granularity is 1 second */
lib/libc/include/any-darwin-any/net/if_var.h+1
...@@ -139,6 +139,7 @@ struct net_event_data {...@@ -139,6 +139,7 @@ struct net_event_data {
139#include <sys/_types/_timeval32.h>139#include <sys/_types/_timeval32.h>
140#define IF_DATA_TIMEVAL timeval32140#define IF_DATA_TIMEVAL timeval32
141#else141#else
142#include <sys/_types/_timeval.h>
142#define IF_DATA_TIMEVAL timeval143#define IF_DATA_TIMEVAL timeval
143#endif144#endif
144145
lib/libc/include/any-darwin-any/objc/message.h+1-1
...@@ -186,8 +186,8 @@ OBJC_EXPORT void...@@ -186,8 +186,8 @@ OBJC_EXPORT void
186objc_msgSend_fp2ret(void /* id self, SEL op, ... */ )186objc_msgSend_fp2ret(void /* id self, SEL op, ... */ )
187 OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0);187 OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0);
188188
189#pragma clang diagnostic pop
190# endif189# endif
190#pragma clang diagnostic pop
191191
192// !OBJC_OLD_DISPATCH_PROTOTYPES192// !OBJC_OLD_DISPATCH_PROTOTYPES
193#else193#else
lib/libc/include/any-darwin-any/objc/runtime.h+22-3
...@@ -1057,7 +1057,10 @@ method_getArgumentType(Method _Nonnull m, unsigned int index,...@@ -1057,7 +1057,10 @@ method_getArgumentType(Method _Nonnull m, unsigned int index,
10571057
1058OBJC_EXPORT struct objc_method_description * _Nonnull1058OBJC_EXPORT struct objc_method_description * _Nonnull
1059method_getDescription(Method _Nonnull m) 1059method_getDescription(Method _Nonnull m)
1060 OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0);1060 __API_DEPRECATED("Use method_getName and method_getTypeEncoding.",
1061 macos(10.5, 11.0), ios(2.0, 15.0), tvos(9.0, 15.0),
1062 watchos(1.0, 8.0), visionos(1.0, 1.0));
1063
10611064
1062/** 1065/**
1063 * Sets the implementation of a method.1066 * Sets the implementation of a method.
...@@ -1444,13 +1447,29 @@ protocol_addProperty(Protocol * _Nonnull proto, const char * _Nonnull name,...@@ -1444,13 +1447,29 @@ protocol_addProperty(Protocol * _Nonnull proto, const char * _Nonnull name,
1444 * 1447 *
1445 * @param outCount The number of names returned.1448 * @param outCount The number of names returned.
1446 * 1449 *
1447 * @return An array of C strings of names. Must be free()'d by caller.1450 * @return An array of C strings of names. The array contains @c *outCount
1451 * pointers followed by a @c NULL terminator. You must free the array with
1452 * @c free().
1448 */1453 */
1449OBJC_EXPORT const char * _Nonnull * _Nonnull1454OBJC_EXPORT const char * _Nonnull * _Nonnull
1450objc_copyImageNames(unsigned int * _Nullable outCount) 1455objc_copyImageNames(unsigned int * _Nullable outCount)
1451 OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0);1456 OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0);
14521457
1453/** 1458/**
1459 * Returns the Mach headers of all the images loaded into the current process
1460 * that contain Objective-C or Swift code.
1461 *
1462 * @param outCount The number of image headers returned.
1463 *
1464 * @return An array of @c mach_header pointers. The array contains @c *outCount
1465 * pointers followed by a @c NULL terminator. You must free the array with
1466 * @c free().
1467 */
1468OBJC_EXPORT struct mach_header const *_Nonnull *_Nonnull
1469objc_copyImageHeaders(unsigned int * _Nullable outCount)
1470 OBJC_AVAILABLE(27.0, 27.0, 27.0, 27.0, 27.0);
1471
1472/**
1454 * Returns the dynamic library name a class originated from.1473 * Returns the dynamic library name a class originated from.
1455 * 1474 *
1456 * @param cls The class you are inquiring about.1475 * @param cls The class you are inquiring about.
lib/libc/include/any-darwin-any/os/lock.h+4-1
...@@ -57,7 +57,10 @@ __BEGIN_DECLS...@@ -57,7 +57,10 @@ __BEGIN_DECLS
57 *57 *
58 * The values stored in the lock should be considered opaque and implementation58 * The values stored in the lock should be considered opaque and implementation
59 * defined, they contain thread ownership information that the system may use59 * defined, they contain thread ownership information that the system may use
60 * to attempt to resolve priority inversions.60 * to attempt to resolve priority inversions. However, it is guaranteed that an
61 * unlocked lock with no other contending threads will have the value
62 * OS_UNFAIR_LOCK_INIT, and so bytewise copying the value to a new location is
63 * equivalent to initializing a new lock in the new location.
61 *64 *
62 * This lock must be unlocked from the same thread that locked it, attempts to65 * This lock must be unlocked from the same thread that locked it, attempts to
63 * unlock from a different thread will cause an assertion aborting the process.66 * unlock from a different thread will cause an assertion aborting the process.
lib/libc/include/any-darwin-any/sys/_symbol_aliasing.h+24
...@@ -593,6 +593,18 @@...@@ -593,6 +593,18 @@
593#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_5(x)593#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_5(x)
594#endif594#endif
595595
596#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 260600
597#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_6(x) x
598#else
599#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_6(x)
600#endif
601
602#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 270000
603#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_27_0(x) x
604#else
605#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_27_0(x)
606#endif
607
596#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000608#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000
597#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x609#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x
598#else610#else
...@@ -1061,3 +1073,15 @@...@@ -1061,3 +1073,15 @@
1061#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_5(x)1073#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_5(x)
1062#endif1074#endif
10631075
1076#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260600
1077#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_6(x) x
1078#else
1079#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_6(x)
1080#endif
1081
1082#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 270000
1083#define __DARWIN_ALIAS_STARTING_MAC___MAC_27_0(x) x
1084#else
1085#define __DARWIN_ALIAS_STARTING_MAC___MAC_27_0(x)
1086#endif
1087
lib/libc/include/any-darwin-any/sys/_types/_graftdmg_un.h+1
...@@ -42,6 +42,7 @@...@@ -42,6 +42,7 @@
42#define SBC_PANIC_ON_AUTHFAIL 0x0008 /* On failure to authenticate, panic */42#define SBC_PANIC_ON_AUTHFAIL 0x0008 /* On failure to authenticate, panic */
43#define SBC_STRICT_AUTH 0x0010 /* Strict authentication mode */43#define SBC_STRICT_AUTH 0x0010 /* Strict authentication mode */
44#define SBC_PRESERVE_GRAFT 0x0020 /* Preserve graft itself until unmount */44#define SBC_PRESERVE_GRAFT 0x0020 /* Preserve graft itself until unmount */
45#define SBC_SKIP_AUTH 0x0040 /* No authentication mode (check root hash only) */
4546
46/* Flag values for ungraftdmg */47/* Flag values for ungraftdmg */
47#define UNGRAFTDMG_NOFORCE 0x0000000000000002ULL /* Disallow ungraft if a non-dir vnode inside the graft is in use */48#define UNGRAFTDMG_NOFORCE 0x0000000000000002ULL /* Disallow ungraft if a non-dir vnode inside the graft is in use */
lib/libc/include/any-darwin-any/sys/aio.h+45-5
...@@ -65,8 +65,14 @@...@@ -65,8 +65,14 @@
65struct aiocb {65struct aiocb {
66 int aio_fildes; /* File descriptor */66 int aio_fildes; /* File descriptor */
67 off_t aio_offset; /* File offset */67 off_t aio_offset; /* File offset */
68 volatile void *aio_buf; /* Location of buffer */68 union {
69 size_t aio_nbytes; /* Length of transfer */69 volatile void *aio_buf; /* Location of buffer */
70 volatile struct iovec *aio_iov; /* I/O scatter/gather list */
71 };
72 union {
73 size_t aio_nbytes; /* Length of transfer */
74 size_t aio_iovcnt; /* Number of iovecs in list */
75 };
70 int aio_reqprio; /* Request priority offset */76 int aio_reqprio; /* Request priority offset */
71 struct sigevent aio_sigevent; /* Signal number and value */77 struct sigevent aio_sigevent; /* Signal number and value */
72 int aio_lio_opcode; /* Operation to be performed */78 int aio_lio_opcode; /* Operation to be performed */
...@@ -81,7 +87,7 @@ struct aiocb {...@@ -81,7 +87,7 @@ struct aiocb {
81 * none of the requested operations could be canceled since they are87 * none of the requested operations could be canceled since they are
82 * already complete.88 * already complete.
83 */89 */
84#define AIO_ALLDONE 0x190#define AIO_ALLDONE 0x1
8591
86/* all requested operations have been canceled */92/* all requested operations have been canceled */
87#define AIO_CANCELED 0x293#define AIO_CANCELED 0x2
...@@ -92,14 +98,23 @@ struct aiocb {...@@ -92,14 +98,23 @@ struct aiocb {
92 */98 */
93#define AIO_NOTCANCELED 0x499#define AIO_NOTCANCELED 0x4
94100
101/*
102 * Apple extension: special file descriptor value for aio_cancel()
103 * to cancel all outstanding async I/O operations for the process.
104 * This is a non-portable extension to the POSIX specification.
105 */
106#define AIO_CANCEL_ALL_NP ((int)0x80414c4c) /* '\80ALL' */
107
95108
96/*109/*
97 * lio_listio operation options110 * lio_listio operation options
98 */111 */
99112
100#define LIO_NOP 0x0 /* option indicating that no transfer is requested */113#define LIO_NOP 0x0 /* option indicating that no transfer is requested */
101#define LIO_READ 0x1 /* option requesting a read */114#define LIO_READ 0x1 /* option requesting a read */
102#define LIO_WRITE 0x2 /* option requesting a write */115#define LIO_WRITE 0x2 /* option requesting a write */
116#define LIO_READV 0x3 /* option requesting a vectored read */
117#define LIO_WRITEV 0x4 /* option requesting a vectored write */
103118
104/*119/*
105 * lio_listio() modes120 * lio_listio() modes
...@@ -123,7 +138,12 @@ struct aiocb {...@@ -123,7 +138,12 @@ struct aiocb {
123/*138/*
124 * Maximum number of operations in single lio_listio call139 * Maximum number of operations in single lio_listio call
125 */140 */
126#define AIO_LISTIO_MAX 16141#define AIO_LISTIO_MAX 32
142
143/*
144 * Maximum number of iovec structures in vectored AIO operations
145 */
146#define AIO_UIO_MAXIOV UIO_MAXIOV
127147
128148
129/*149/*
...@@ -227,6 +247,26 @@ int aio_suspend( const struct aiocb *const aiocblist[],...@@ -227,6 +247,26 @@ int aio_suspend( const struct aiocb *const aiocblist[],
227 */247 */
228int aio_write( struct aiocb * aiocbp );248int aio_write( struct aiocb * aiocbp );
229249
250/*
251 * Read data into the scatter/gather list specified by aiocbp->aio_iov and
252 * aiocbp->aio_iovcnt from the file associated with aiocbp->aio_fildes. The
253 * function shall return when the read request has been initiated or, at a
254 * minimum, queued. The aiocbp argument may be used as an argument to aio_error()
255 * and aio_return() in order to determine the error status and return status,
256 * respectively, of the asynchronous operation while it is proceeding.
257 */
258int aio_readv( struct aiocb * aiocbp );
259
260/*
261 * Write data from the scatter/gather list specified by aiocbp->aio_iov and
262 * aiocbp->aio_iovcnt to the file associated with aiocbp->aio_fildes. The
263 * function shall return when the write request has been initiated or, at a
264 * minimum, queued. The aiocbp argument may be used as an argument to aio_error()
265 * and aio_return() in order to determine the error status and return status,
266 * respectively, of the asynchronous operation while it is proceeding.
267 */
268int aio_writev( struct aiocb * aiocbp );
269
230/*270/*
231 * Initiate a list of I/O requests with a single function call. The mode271 * Initiate a list of I/O requests with a single function call. The mode
232 * argument takes one of the values LIO_WAIT or LIO_NOWAIT and determines whether272 * argument takes one of the values LIO_WAIT or LIO_NOWAIT and determines whether
lib/libc/include/any-darwin-any/sys/event.h+2-1
...@@ -77,8 +77,9 @@...@@ -77,8 +77,9 @@
77#define EVFILT_USER (-10) /* User events */77#define EVFILT_USER (-10) /* User events */
78#define EVFILT_VM (-12) /* Virtual memory events */78#define EVFILT_VM (-12) /* Virtual memory events */
79#define EVFILT_EXCEPT (-15) /* Exception events */79#define EVFILT_EXCEPT (-15) /* Exception events */
80#define EVFILT_LIO (-19) /* attached to lio requests */
8081
81#define EVFILT_SYSCOUNT 1882#define EVFILT_SYSCOUNT 19
82#define EVFILT_THREADMARKER EVFILT_SYSCOUNT /* Internal use only */83#define EVFILT_THREADMARKER EVFILT_SYSCOUNT /* Internal use only */
8384
84#pragma pack(4)85#pragma pack(4)
lib/libc/include/any-darwin-any/sys/fcntl.h+27-8
...@@ -155,6 +155,7 @@...@@ -155,6 +155,7 @@
155155
156156
157#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL157#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
158#define O_CLOFORK 0x08000000 /* implicitly set FD_CLOFORK */
158#define O_NOFOLLOW_ANY 0x20000000 /* no symlinks allowed in path */159#define O_NOFOLLOW_ANY 0x20000000 /* no symlinks allowed in path */
159#endif160#endif
160161
...@@ -328,18 +329,17 @@...@@ -328,18 +329,17 @@
328#define F_ADDFILESUPPL 104 /* Add supplemental signature from same file with fd reference to original */329#define F_ADDFILESUPPL 104 /* Add supplemental signature from same file with fd reference to original */
329#define F_GETSIGSINFO 105 /* Look up code signature information attached to a file or slice */330#define F_GETSIGSINFO 105 /* Look up code signature information attached to a file or slice */
330331
331#define F_SETLEASE 106 /* Acquire or release lease */332#define F_SETLEASE 106 /* Acquire or release lease */
332#define F_GETLEASE 107 /* Retrieve lease information */333#define F_GETLEASE 107 /* Retrieve lease information */
333334
334#define F_SETLEASE_ARG(t, oc) ((t) | ((oc) << 2))335#define F_SETLEASE_ARG(t, oc) ((t) | ((oc) << 2))
335336
336#define F_TRANSFEREXTENTS 110 /* Transfer allocated extents beyond leof to a different file */337#define F_TRANSFEREXTENTS 110 /* Transfer allocated extents beyond leof to a different file */
337338
338#define F_ATTRIBUTION_TAG 111 /* Based on flags, query/set/delete a file's attribution tag */339#define F_ATTRIBUTION_TAG 111 /* Based on flags, query/set/delete a file's attribution tag */
339#define F_NOCACHE_EXT 112 /* turn data caching off/on for this fd and relax size and alignment restrictions for write */340#define F_NOCACHE_EXT 112 /* turn data caching off/on for this fd and relax size and alignment restrictions for write */
340
341#define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */
342341
342#define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */
343343
344// FS-specific fcntl()'s numbers begin at 0x00010000 and go up344// FS-specific fcntl()'s numbers begin at 0x00010000 and go up
345#define FCNTL_FS_SPECIFIC_BASE 0x00010000345#define FCNTL_FS_SPECIFIC_BASE 0x00010000
...@@ -350,8 +350,15 @@...@@ -350,8 +350,15 @@
350#define F_DUPFD_CLOEXEC 67 /* mark the dup with FD_CLOEXEC */350#define F_DUPFD_CLOEXEC 67 /* mark the dup with FD_CLOEXEC */
351#endif351#endif
352352
353#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
354#define F_DUPFD_CLOFORK 115 /* mark the dup with FD_CLOFORK */
355#endif
356
357#define F_RDADVISEV 116 /* Issue multiple advisory reads async with no copy to user */
358
353/* file descriptor flags (F_GETFD, F_SETFD) */359/* file descriptor flags (F_GETFD, F_SETFD) */
354#define FD_CLOEXEC 1 /* close-on-exec flag */360#define FD_CLOEXEC 1 /* close-on-exec flag */
361#define FD_CLOFORK 2 /* close-on-fork flag */
355362
356/* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */363/* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */
357#define F_RDLCK 1 /* shared or read lock */364#define F_RDLCK 1 /* shared or read lock */
...@@ -416,12 +423,24 @@ struct flocktimeout {...@@ -416,12 +423,24 @@ struct flocktimeout {
416 * information passed by user to system423 * information passed by user to system
417 */424 */
418425
419
420struct radvisory {426struct radvisory {
421 off_t ra_offset;427 off_t ra_offset;
422 int ra_count;428 int ra_count;
423};429};
424430
431/*
432 * vector advisory file read data type -
433 * information passed by user to system
434 */
435#define READ_ADVISE_RANGES_MAX 64
436#define F_RDADVISEV_NOAGE 0x1 /* keep read pages in the active queue */
437
438struct radvisoryv {
439 unsigned int rav_flags;
440 unsigned int rav_count;
441 struct radvisory *rav_ranges;
442};
443
425444
426/*445/*
427 * detached code signatures data type -446 * detached code signatures data type -
lib/libc/include/any-darwin-any/sys/paths.h+5-2
...@@ -40,7 +40,7 @@...@@ -40,7 +40,7 @@
40#define _PATH_RSRCNAME "rsrc"40#define _PATH_RSRCNAME "rsrc"
41#define _PATH_RSRCFORKSPEC "/..namedfork/rsrc"41#define _PATH_RSRCFORKSPEC "/..namedfork/rsrc"
4242
43/* Prefix Path Namespace */43/* Path resolution modifiers (added either as prefixes to a path or as arguments to system calls) */
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 */
...@@ -50,8 +50,11 @@...@@ -50,8 +50,11 @@
50#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */50#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */
51#define RESOLVE_NOQUARANTINE 0x00000080 /* prevent operating on a quarantined file */51#define RESOLVE_NOQUARANTINE 0x00000080 /* prevent operating on a quarantined file */
52#define RESOLVE_NOUNION 0x00000100 /* prevent a path lookup on filesystem with MNT_UNION from traversing to covered filesystem */52#define RESOLVE_NOUNION 0x00000100 /* prevent a path lookup on filesystem with MNT_UNION from traversing to covered filesystem */
53#define RESOLVE_BENEATH 0x00000200 /* prevent relative path lookups from going above a specified directory */
54#define RESOLVE_NOCROSSMOUNT 0x00000400 /* prevent a path lookup from traversing to different filesystems */
5355
54#define RESOLVE_VALIDMASK 0x000001FF56#define RESOLVE_VALIDMASK 0x000007FF
57#define RESOLVE_RELATIVE_MASK (RESOLVE_BENEATH | RESOLVE_NOCROSSMOUNT)
5558
5659
57#endif /* __APPLE_API_PRIVATE */60#endif /* __APPLE_API_PRIVATE */
lib/libc/include/any-darwin-any/sys/resource.h+9-2
...@@ -414,7 +414,10 @@ struct rusage_info_v6 {...@@ -414,7 +414,10 @@ struct rusage_info_v6 {
414 uint64_t ri_neural_footprint;414 uint64_t ri_neural_footprint;
415 uint64_t ri_lifetime_max_neural_footprint;415 uint64_t ri_lifetime_max_neural_footprint;
416 uint64_t ri_interval_max_neural_footprint;416 uint64_t ri_interval_max_neural_footprint;
417 uint64_t ri_reserved[9];417 uint64_t ri_conclave_footprint;
418 uint64_t ri_page_wait_time_mach;
419 uint64_t ri_page_cache_hits;
420 uint64_t ri_reserved[6];
418};421};
419422
420typedef struct rusage_info_v6 rusage_info_current;423typedef struct rusage_info_v6 rusage_info_current;
...@@ -509,13 +512,16 @@ struct proc_rlimit_control_wakeupmon {...@@ -509,13 +512,16 @@ struct proc_rlimit_control_wakeupmon {
509#define IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES 3512#define IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES 3
510#define IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME 4513#define IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME 4
511#define IOPOL_TYPE_VFS_TRIGGER_RESOLVE 5514#define IOPOL_TYPE_VFS_TRIGGER_RESOLVE 5
512#define IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION 6515#define IOPOL_TYPE_VFS_CONTENT_PROTECTION 6
513#define IOPOL_TYPE_VFS_IGNORE_PERMISSIONS 7516#define IOPOL_TYPE_VFS_IGNORE_PERMISSIONS 7
514#define IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE 8517#define IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE 8
515#define IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES 9518#define IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES 9
516#define IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY 10519#define IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY 10
517#define IOPOL_TYPE_VFS_ENTITLED_RESERVE_ACCESS 14520#define IOPOL_TYPE_VFS_ENTITLED_RESERVE_ACCESS 14
518521
522/* compatibility with older names */
523#define IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION IOPOL_TYPE_VFS_CONTENT_PROTECTION
524
519/* scope */525/* scope */
520#define IOPOL_SCOPE_PROCESS 0526#define IOPOL_SCOPE_PROCESS 0
521#define IOPOL_SCOPE_THREAD 1527#define IOPOL_SCOPE_THREAD 1
...@@ -551,6 +557,7 @@ struct proc_rlimit_control_wakeupmon {...@@ -551,6 +557,7 @@ struct proc_rlimit_control_wakeupmon {
551557
552#define IOPOL_VFS_CONTENT_PROTECTION_DEFAULT 0558#define IOPOL_VFS_CONTENT_PROTECTION_DEFAULT 0
553#define IOPOL_VFS_CONTENT_PROTECTION_IGNORE 1559#define IOPOL_VFS_CONTENT_PROTECTION_IGNORE 1
560#define IOPOL_VFS_CONTENT_PROTECTION_STRICT 2
554561
555#define IOPOL_VFS_IGNORE_PERMISSIONS_OFF 0562#define IOPOL_VFS_IGNORE_PERMISSIONS_OFF 0
556#define IOPOL_VFS_IGNORE_PERMISSIONS_ON 1563#define IOPOL_VFS_IGNORE_PERMISSIONS_ON 1
lib/libc/include/any-darwin-any/sys/signal.h+1
...@@ -378,6 +378,7 @@ struct sigstack {...@@ -378,6 +378,7 @@ struct sigstack {
378#define sigmask(m) (1 << ((m)-1))378#define sigmask(m) (1 << ((m)-1))
379379
380380
381
381#define BADSIG SIG_ERR382#define BADSIG SIG_ERR
382383
383#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */384#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
lib/libc/include/any-darwin-any/sys/socket.h+2
...@@ -189,6 +189,8 @@...@@ -189,6 +189,8 @@
189189
190#define SO_BINDTODEVICE 0x1134 /* bind socket to a network device (max valid option length IFNAMSIZ) */190#define SO_BINDTODEVICE 0x1134 /* bind socket to a network device (max valid option length IFNAMSIZ) */
191191
192#define SO_MAX_PACING_RATE 0x1136 /* Define per-socket maximum pacing rate in bytes/sec */
193
192/* When adding new socket-options, you need to make sure MPTCP supports these as well! */194/* When adding new socket-options, you need to make sure MPTCP supports these as well! */
193195
194/*196/*
lib/libc/include/any-darwin-any/sys/spawn.h+4-4
...@@ -74,10 +74,10 @@...@@ -74,10 +74,10 @@
74#define POSIX_SPAWN_PCONTROL_SUSPEND 0x000274#define POSIX_SPAWN_PCONTROL_SUSPEND 0x0002
75#define POSIX_SPAWN_PCONTROL_KILL 0x000375#define POSIX_SPAWN_PCONTROL_KILL 0x0003
7676
77#define POSIX_SPAWN_PANIC_ON_CRASH 0x177#define POSIX_SPAWN_PANIC_ON_CRASH 0x1
78#define POSIX_SPAWN_PANIC_ON_NON_ZERO_EXIT 0x278#define POSIX_SPAWN_PANIC_ON_NON_ZERO_EXIT 0x2
79#define POSIX_SPAWN_PANIC_ON_EXIT 0x479#define POSIX_SPAWN_PANIC_ON_EXIT 0x4
80#define POSIX_SPAWN_PANIC_ON_SPAWN_FAIL 0x880#define POSIX_SPAWN_PANIC_ON_SPAWN_FAIL 0x8
8181
82#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */82#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
8383
lib/libc/include/any-darwin-any/sys/stat.h+6
...@@ -402,6 +402,12 @@ int futimens(int __fd, const struct timespec __times[2]) __API_AVAILABLE(mac...@@ -402,6 +402,12 @@ int futimens(int __fd, const struct timespec __times[2]) __API_AVAILABLE(mac
402int utimensat(int __fd, const char *__path, const struct timespec __times[2],402int utimensat(int __fd, const char *__path, const struct timespec __times[2],
403 int __flag) __API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0), watchos(4.0));403 int __flag) __API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0), watchos(4.0));
404#endif404#endif
405
406#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
407int fchflagsat(int, const char *, __uint32_t, int) __API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0));
408mode_t getumask(void) __API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0));
409#endif
410
405__END_DECLS411__END_DECLS
406412
407#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)413#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
lib/libc/include/any-darwin-any/sys/sysctl.h+8
...@@ -698,6 +698,14 @@ extern struct loadavg averunnable;...@@ -698,6 +698,14 @@ extern struct loadavg averunnable;
698 * hw.perflevelN.l2perflevels - These values provide a bitmap, where bit number of CPUs of the same type that share L2 and L3 caches.698 * hw.perflevelN.l2perflevels - These values provide a bitmap, where bit number of CPUs of the same type that share L2 and L3 caches.
699 * hw.perflevelN.l3perflevels - If a cache is not present then the selector will return and error.699 * hw.perflevelN.l3perflevels - If a cache is not present then the selector will return and error.
700 *700 *
701 */
702/*
703 * hw.perflevelN.sharesl2 - A bitmap of other perflevel indexes that share L2 cache with
704 * - perflevel N. Bit K is set if perflevel K shares L2 cache with perflevel N. Only exists
705 * - for perflevels that share L2 cache with at least one other perflevel.
706 *
707 */
708/*
701 * hw.packages - Gives the number of processor packages.709 * hw.packages - Gives the number of processor packages.
702 *710 *
703 * These are the selectors for optional processor features for specific processors. Selectors that return errors are not support711 * These are the selectors for optional processor features for specific processors. Selectors that return errors are not support
lib/libc/include/any-darwin-any/sys/unistd.h+5
...@@ -213,6 +213,11 @@ ssize_t readlinkat(int, const char *, char *, size_t) __OSX_AVAILABLE_STARTING...@@ -213,6 +213,11 @@ ssize_t readlinkat(int, const char *, char *, size_t) __OSX_AVAILABLE_STARTING
213int symlinkat(const char *, int, const char *) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);213int symlinkat(const char *, int, const char *) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
214int unlinkat(int, const char *, int) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);214int unlinkat(int, const char *, int) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
215215
216__API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0), visionos(27.0))
217int dup3(int, int, int);
218__API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0), visionos(27.0))
219int pipe2(int [2], int);
220
216__END_DECLS221__END_DECLS
217222
218#endif /* __DARWIN_C_LEVEL >= 200809L */223#endif /* __DARWIN_C_LEVEL >= 200809L */
lib/libc/include/any-darwin-any/sys/wait.h+1-1
...@@ -133,7 +133,7 @@ typedef enum {...@@ -133,7 +133,7 @@ typedef enum {
133#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */133#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */
134134
135/* These macros are permited, as they are in the implementation namespace */135/* These macros are permited, as they are in the implementation namespace */
136#define _WSTATUS(x) (_W_INT(x) & 0177)136#define _WSTATUS(x) (_W_INT(x) & 127)
137#define _WSTOPPED 0177 /* _WSTATUS if process is stopped */137#define _WSTOPPED 0177 /* _WSTATUS if process is stopped */
138138
139/*139/*
lib/libc/include/any-darwin-any/xpc/base.h+117-125
...@@ -35,70 +35,131 @@...@@ -35,70 +35,131 @@
3535
36__BEGIN_DECLS36__BEGIN_DECLS
3737
38#ifndef __XPC_TEST__
39#define __XPC_TEST__ 0
40#endif
41
42#ifndef XPC_CONCAT
43#define XPC_CONCAT(_A, _B) XPC_CONCAT_(_A, _B)
44#define XPC_CONCAT_(_A, _B) _A ## _B
45#endif
46
38#pragma mark Attribute Shims47#pragma mark Attribute Shims
39#ifdef __GNUC__48// We use __has_attribute to check for attribute existance. The macros are set
40#define XPC_CONSTRUCTOR __attribute__((constructor))49// up to always use __ before and after attributes to guard against
41#define XPC_NORETURN __attribute__((__noreturn__))50// similarly-named mactos since these go in public headers. We also use
42#define XPC_NOTHROW __attribute__((__nothrow__))51// __attribute__ for best compatibility with older C/C++ versions. Attributes
43#define XPC_NONNULL1 __attribute__((__nonnull__(1)))52// should be optimized for use by Clang (i.e. use Clang's preferred form over a
44#define XPC_NONNULL2 __attribute__((__nonnull__(2)))53// supported GCC form if it's preferred by the compiler). Attributes are
45#define XPC_NONNULL3 __attribute__((__nonnull__(3)))54// defined in the order that they appear in Clang's doccumentation
46#define XPC_NONNULL4 __attribute__((__nonnull__(4)))55
47#define XPC_NONNULL5 __attribute__((__nonnull__(5)))56#if !defined(__has_attribute)
48#define XPC_NONNULL6 __attribute__((__nonnull__(6)))57#define __has_attribute(_X) 0
49#define XPC_NONNULL7 __attribute__((__nonnull__(7)))58#endif // !defined(__has_attribute)
50#define XPC_NONNULL8 __attribute__((__nonnull__(8)))59
51#define XPC_NONNULL9 __attribute__((__nonnull__(9)))60#define _XPC_CHOOSE_0(...)
52#define XPC_NONNULL10 __attribute__((__nonnull__(10)))61#define _XPC_CHOOSE_1(...) __VA_ARGS__
53#define XPC_NONNULL11 __attribute__((__nonnull__(11)))62
54#define XPC_NONNULL_ALL __attribute__((__nonnull__))63#define XPC_ATTRIBUTE(_X, ...) XPC_CONCAT(_XPC_CHOOSE_, __has_attribute(_X))(__attribute__((__##_X##__(__VA_ARGS__))))
55#define XPC_SENTINEL __attribute__((__sentinel__))64
56#define XPC_PURE __attribute__((__pure__))65// Swift attributes
57#define XPC_WARN_RESULT __attribute__((__warn_unused_result__))66#define XPC_SWIFT_SENDABLE XPC_ATTRIBUTE(swift_attr, "@Sendable")
58#define XPC_MALLOC __attribute__((__malloc__))67#define XPC_SWIFT_NAME(_Name) XPC_ATTRIBUTE(swift_name, _Name)
59#define XPC_UNUSED __attribute__((__unused__))68#define XPC_SWIFT_UNAVAILABLE(msg) __swift_unavailable(msg)
60#define XPC_USED __attribute__((__used__))69#define XPC_SWIFT_NOEXPORT XPC_SWIFT_UNAVAILABLE("Unavailable in Swift from the XPC C Module")
61#define XPC_PACKED __attribute__((__packed__))70// Declaration attributes
62#define XPC_PRINTF(m, n) __attribute__((format(printf, m, n)))71#define XPC_DEPRECATED(_M) XPC_ATTRIBUTE(deprecated, _M)
63#define XPC_INLINE static __inline__ __attribute__((__always_inline__))72#define XPC_TRANSPARENT_UNION XPC_ATTRIBUTE(transparent_union)
64#define XPC_NOINLINE __attribute__((noinline))73// Function attributes
65#define XPC_NOIMPL __attribute__((unavailable))74#define XPC_NORETURN XPC_ATTRIBUTE(noreturn)
6675#define XPC_ALLOC_SIZE(...) XPC_MALLOC XPC_ATTRIBUTE(alloc_size, __VA_ARGS__)
67#if __has_attribute(noescape)76#define XPC_INLINE static inline XPC_ATTRIBUTE(always_inline)
68#define XPC_NOESCAPE __attribute__((__noescape__))77#define XPC_RETURNS_ALIGNED(_N) XPC_ATTRIBUTE(assume_aligned, _N)
78#define XPC_CONSTRUCTOR XPC_ATTRIBUTE(constructor)
79#define XPC_PRINTF(_M, _N) XPC_ATTRIBUTE(format, printf, _M, _N)
80#define XPC_MALLOC XPC_ATTRIBUTE(malloc)
81#define XPC_WARN_RESULT XPC_ATTRIBUTE(warn_unused_result)
82#define XPC_NOINLINE XPC_ATTRIBUTE(noinline)
83#define XPC_NOTHROW XPC_ATTRIBUTE(nothrow)
84#define XPC_USED XPC_ATTRIBUTE(used)
85// Nullibility attributes
86#define XPC_NONNULL1 XPC_ATTRIBUTE(nonnull, 1)
87#define XPC_NONNULL2 XPC_ATTRIBUTE(nonnull, 2)
88#define XPC_NONNULL3 XPC_ATTRIBUTE(nonnull, 3)
89#define XPC_NONNULL4 XPC_ATTRIBUTE(nonnull, 4)
90#define XPC_NONNULL5 XPC_ATTRIBUTE(nonnull, 5)
91#define XPC_NONNULL6 XPC_ATTRIBUTE(nonnull, 6)
92#define XPC_NONNULL7 XPC_ATTRIBUTE(nonnull, 7)
93#define XPC_NONNULL8 XPC_ATTRIBUTE(nonnull, 8)
94#define XPC_NONNULL9 XPC_ATTRIBUTE(nonnull, 9)
95#define XPC_NONNULL10 XPC_ATTRIBUTE(nonnull, 10)
96#define XPC_NONNULL11 XPC_ATTRIBUTE(nonnull, 11)
97#define XPC_NONNULL_ALL XPC_ATTRIBUTE(nonnull)
98#define XPC_RETURNS_NONNULL XPC_ATTRIBUTE(returns_nonnull)
99// Variable attributes
100#define XPC_UNUSED XPC_ATTRIBUTE(unused)
101#define XPC_NOESCAPE XPC_ATTRIBUTE(noescape)
102// Other attributes
103#define XPC_READ_NONE XPC_ATTRIBUTE(const) // const attribute adds memory(none)
104#define XPC_PACKED XPC_ATTRIBUTE(packed)
105#define XPC_PURE XPC_ATTRIBUTE(pure) // pure attribute adds memory(read)
106#define XPC_NOIMPL XPC_ATTRIBUTE(unavailable)
107
108// diagnose_as_builtin
109#if !defined(__has_builtin)
110#define __has_builtin(_X) 0
111#endif
112#define XPC_DIAGNOSE_AS(_Builtin, ...) XPC_CONCAT(_XPC_CHOOSE_, __has_builtin(__builtin_ ## _Builtin))(XPC_ATTRIBTUE(diagnose_as_builtin, __builtin_ ## _Builtin)(__VA_ARGS__))
113
114// __abortlike
115#ifdef __abortlike
116#define XPC_ABORTLIKE __abortlike
69#else117#else
70#define XPC_NOESCAPE118#define XPC_ABORTLIKE
71#endif119#endif
72120
121// unavailable(message)
73#if __has_extension(attribute_unavailable_with_message)122#if __has_extension(attribute_unavailable_with_message)
74#define XPC_UNAVAILABLE(m) __attribute__((unavailable(m)))123#define XPC_UNAVAILABLE(m) XPC_ATTRIBUTE(unavailable, m)
75#else // __has_extension(attribute_unavailable_with_message)124#else
76#define XPC_UNAVAILABLE(m) XPC_NOIMPL125#define XPC_UNAVAILABLE(m) XPC_NOIMPL
77#endif // __has_extension(attribute_unavailable_with_message)126#endif
78127
79#define XPC_EXPORT extern __attribute__((visibility("default")))128// _xpc_unreachable
80#define XPC_NOEXPORT __attribute__((visibility("hidden")))129#if __has_builtin(__builtin_unreachable)
81#define XPC_WEAKIMPORT extern __attribute__((weak_import))130#define _xpc_unreachable() __builtin_unreachable()
131#else
132#define _xpc_unreachable()
133#endif
134
135#pragma mark Import/Export
136#define XPC_CONST const
137#define XPC_NOCONST
138#define XPC_EXPORT extern XPC_ATTRIBUTE(visibility, "default")
139#define XPC_NOEXPORT XPC_ATTRIBUTE(visibility, "hidden")
82#define XPC_DEBUGGER_EXCL XPC_NOEXPORT XPC_USED140#define XPC_DEBUGGER_EXCL XPC_NOEXPORT XPC_USED
83#define XPC_TRANSPARENT_UNION __attribute__((transparent_union))141#define XPC_WEAKIMPORT extern XPC_ATTRIBUTE(weak_import)
84#if __clang__142
85#define XPC_DEPRECATED(m) __attribute__((deprecated(m)))143// XPC_TESTEXPORT
86#else // __clang__
87#define XPC_DEPRECATED(m) __attribute__((deprecated))
88#endif // __clang
89#ifndef XPC_TESTEXPORT144#ifndef XPC_TESTEXPORT
90#define XPC_TESTEXPORT XPC_NOEXPORT145#define XPC_TESTEXPORT XPC_NOEXPORT
91#endif // XPC_TESTEXPORT146#endif // XPC_TESTEXPORT
92147
93#if defined(__XPC_TEST__) && __XPC_TEST__148// XPC_TESTCONST
149#ifndef XPC_TESTCONST
150#define XPC_TESTCONST XPC_CONST
151#endif // XPC_TESTCONST
152
153#if __XPC_TEST__
94#define XPC_TESTSTATIC154#define XPC_TESTSTATIC
95#define XPC_TESTEXTERN extern155#define XPC_TESTEXTERN extern
96#define XPC_TESTNORETURN156#define XPC_TESTNORETURN
97#else // defined(__XPC_TEST__) && __XPC_TEST__157#else // __XPC_TEST__
98#define XPC_TESTSTATIC static158#define XPC_TESTSTATIC static
99#define XPC_TESTNORETURN XPC_NORETURN159#define XPC_TESTNORETURN XPC_NORETURN
100#endif // defined(__XPC_TEST__) && __XPC_TEST__160#endif // __XPC_TEST__
101161
162#pragma mark ARC
102#if __has_feature(objc_arc)163#if __has_feature(objc_arc)
103#define XPC_GIVES_REFERENCE __strong164#define XPC_GIVES_REFERENCE __strong
104#define XPC_UNRETAINED __unsafe_unretained165#define XPC_UNRETAINED __unsafe_unretained
...@@ -117,72 +178,8 @@ __BEGIN_DECLS...@@ -117,72 +178,8 @@ __BEGIN_DECLS
117#define XPC_BRIDGEREF_END(xo) (xo)178#define XPC_BRIDGEREF_END(xo) (xo)
118#endif // __has_feature(objc_arc)179#endif // __has_feature(objc_arc)
119180
120#define _xpc_unreachable() __builtin_unreachable()
121#else // __GNUC__
122/*! @parseOnly */
123#define XPC_CONSTRUCTOR
124/*! @parseOnly */
125#define XPC_NORETURN
126/*! @parseOnly */
127#define XPC_NOTHROW
128/*! @parseOnly */
129#define XPC_NONNULL1
130/*! @parseOnly */
131#define XPC_NONNULL2
132/*! @parseOnly */
133#define XPC_NONNULL3
134/*! @parseOnly */
135#define XPC_NONNULL4
136/*! @parseOnly */
137#define XPC_NONNULL5
138/*! @parseOnly */
139#define XPC_NONNULL6
140/*! @parseOnly */
141#define XPC_NONNULL7
142/*! @parseOnly */
143#define XPC_NONNULL8
144/*! @parseOnly */
145#define XPC_NONNULL9
146/*! @parseOnly */
147#define XPC_NONNULL10
148/*! @parseOnly */
149#define XPC_NONNULL11
150/*! @parseOnly */
151#define XPC_NONNULL(n)
152/*! @parseOnly */
153#define XPC_NONNULL_ALL
154/*! @parseOnly */
155#define XPC_SENTINEL
156/*! @parseOnly */
157#define XPC_PURE
158/*! @parseOnly */
159#define XPC_WARN_RESULT
160/*! @parseOnly */
161#define XPC_MALLOC
162/*! @parseOnly */
163#define XPC_UNUSED
164/*! @parseOnly */
165#define XPC_PACKED
166/*! @parseOnly */
167#define XPC_PRINTF(m, n)
168/*! @parseOnly */
169#define XPC_INLINE static inline
170/*! @parseOnly */
171#define XPC_NOINLINE
172/*! @parseOnly */
173#define XPC_NOIMPL
174/*! @parseOnly */
175#define XPC_EXPORT extern
176/*! @parseOnly */
177#define XPC_WEAKIMPORT
178/*! @parseOnly */
179#define XPC_DEPRECATED
180/*! @parseOnly */
181#define XPC_UNAVAILABLE(m)
182/*! @parseOnly */
183#define XPC_NOESCAPE
184#endif // __GNUC__
185181
182#pragma mark Nullability
186#if __has_feature(assume_nonnull)183#if __has_feature(assume_nonnull)
187#define XPC_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")184#define XPC_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
188#define XPC_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")185#define XPC_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
...@@ -197,10 +194,13 @@ __BEGIN_DECLS...@@ -197,10 +194,13 @@ __BEGIN_DECLS
197#define XPC_NONNULL_ARRAY194#define XPC_NONNULL_ARRAY
198#endif195#endif
199196
197#pragma mark Bounds safety attributes
200#if defined(__has_ptrcheck) && __has_ptrcheck198#if defined(__has_ptrcheck) && __has_ptrcheck
201#define XPC_PTR_ASSUMES_SINGLE __ptrcheck_abi_assume_single()199#define XPC_PTR_ASSUMES_SINGLE __ptrcheck_abi_assume_single()
202#define XPC_SINGLE __single200#define XPC_SINGLE __single
203#define XPC_UNSAFE_INDEXABLE __unsafe_indexable201#define XPC_UNSAFE_INDEXABLE __unsafe_indexable
202// This should be __null_terminated but because it was originally defined this
203// way, it will cause build failures to fix
204#define XPC_CSTRING XPC_UNSAFE_INDEXABLE204#define XPC_CSTRING XPC_UNSAFE_INDEXABLE
205#define XPC_SIZEDBY(N) __sized_by(N)205#define XPC_SIZEDBY(N) __sized_by(N)
206#define XPC_COUNTEDBY(N) __counted_by(N)206#define XPC_COUNTEDBY(N) __counted_by(N)
...@@ -219,33 +219,25 @@ __BEGIN_DECLS...@@ -219,33 +219,25 @@ __BEGIN_DECLS
219#define XPC_UNSAFE_FORGE_SINGLE(_type, _ptr) ((_type)(_ptr))219#define XPC_UNSAFE_FORGE_SINGLE(_type, _ptr) ((_type)(_ptr))
220#endif // defined(__has_ptrcheck) ** __has_ptrcheck220#endif // defined(__has_ptrcheck) ** __has_ptrcheck
221221
222#pragma mark Enums
223// XPC_FLAGS_ENUM
222#ifdef OS_CLOSED_OPTIONS224#ifdef OS_CLOSED_OPTIONS
223#define XPC_FLAGS_ENUM(_name, _type, ...) \225#define XPC_FLAGS_ENUM(_name, _type, ...) \
224 OS_CLOSED_OPTIONS(_name, _type, __VA_ARGS__)226 OS_CLOSED_OPTIONS(_name, _type, __VA_ARGS__)
225#else // OS_CLOSED_ENUM227#else
226#define XPC_FLAGS_ENUM(_name, _type, ...) \228#define XPC_FLAGS_ENUM(_name, _type, ...) \
227 OS_ENUM(_name, _type, __VA_ARGS__)229 OS_ENUM(_name, _type, __VA_ARGS__)
228#endif // OS_CLOSED_ENUM230#endif
229231
232// XPC_ENUM
230#ifdef OS_CLOSED_ENUM233#ifdef OS_CLOSED_ENUM
231#define XPC_ENUM(_name, _type, ...) \234#define XPC_ENUM(_name, _type, ...) \
232 OS_CLOSED_ENUM(_name, _type, __VA_ARGS__)235 OS_CLOSED_ENUM(_name, _type, __VA_ARGS__)
233#else // OS_CLOSED_ENUM236#else
234#define XPC_ENUM(_name, _type, ...) \237#define XPC_ENUM(_name, _type, ...) \
235 OS_ENUM(_name, _type, __VA_ARGS__)238 OS_ENUM(_name, _type, __VA_ARGS__)
236#endif // OS_CLOSED_ENUM
237
238#if __has_attribute(swift_name)
239# define XPC_SWIFT_NAME(_name) __attribute__((swift_name(_name)))
240#else
241# define XPC_SWIFT_NAME(_name) // __has_attribute(swift_name)
242#endif239#endif
243240
244#define XPC_SWIFT_UNAVAILABLE(msg) __swift_unavailable(msg)
245#define XPC_SWIFT_NOEXPORT XPC_SWIFT_UNAVAILABLE("Unavailable in Swift from the XPC C Module")
246
247#define XPC_SWIFT_SENDABLE __attribute__((__swift_attr__("@Sendable")))
248
249__END_DECLS241__END_DECLS
250242
251#endif // __XPC_BASE_H__ 243#endif // __XPC_BASE_H__