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{"MinimalDisplayName":"26.5"}
1{"MinimalDisplayName":"27.0"}
lib/libc/darwin/libSystem.tbd+779-618
......@@ -1,10 +1,12 @@
11--- !tapi-tbd
22tbd-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 ]
45install-name: '/usr/lib/libSystem.B.dylib'
5current-version: 1356
6current-version: 1359
67reexported-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 ]
810 libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib',
911 '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib',
1012 '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib',
......@@ -36,19 +38,23 @@ exports:
3638 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction',
3739 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink',
3840 '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 ]
4043 symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd,
4144 _mach_init_routine ]
4245--- !tapi-tbd
4346tbd-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 ]
4549install-name: '/usr/lib/system/libcache.dylib'
4650current-version: 95
4751parent-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 ]
4954 umbrella: System
5055exports:
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 ]
5258 symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain,
5359 _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info,
5460 _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint,
......@@ -63,14 +69,17 @@ exports:
6369 _cache_value_make_purgeable_cb ]
6470--- !tapi-tbd
6571tbd-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 ]
6774install-name: '/usr/lib/system/libcommonCrypto.dylib'
6875current-version: 65535
6976parent-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 ]
7179 umbrella: System
7280exports:
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 ]
7483 symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal,
7584 _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd,
7685 _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear,
......@@ -83,8 +92,9 @@ exports:
8392 _CCBigNumSub, _CCBigNumSubI, _CCBigNumToData, _CCBigNumToDecimalString,
8493 _CCBigNumToHexString, _CCBigNumZeroLSBCount, _CCCKG2ContributorCommit,
8594 _CCCKG2ContributorCreate, _CCCKG2ContributorDestroy, _CCCKG2ContributorFinish,
86 _CCCKG2GetCommitmentSize, _CCCKG2GetOpeningSize, _CCCKG2GetShareSize,
87 _CCCKG2OwnerCreate, _CCCKG2OwnerDestroy, _CCCKG2OwnerFinish,
95 _CCCKG2ContributorFinishWithDomain, _CCCKG2GetCommitmentSize,
96 _CCCKG2GetOpeningSize, _CCCKG2GetShareSize, _CCCKG2OwnerCreate,
97 _CCCKG2OwnerDestroy, _CCCKG2OwnerFinish, _CCCKG2OwnerFinishWithDomain,
8898 _CCCKG2OwnerGenerateShare, _CCCKG2ParamsP224Sha256Version2,
8999 _CCCKGContributorCommit, _CCCKGContributorCreate, _CCCKGContributorDestroy,
90100 _CCCKGContributorFinish, _CCCKGGetCommitmentSize, _CCCKGGetOpeningSize,
......@@ -146,11 +156,11 @@ exports:
146156 _ccDevRandomGetRngState, _kCCRandomDefault, _kCCRandomDevRandom ]
147157--- !tapi-tbd
148158tbd-version: 4
149targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
159targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
150160install-name: '/usr/lib/system/libcompiler_rt.dylib'
151current-version: 103.3
161current-version: 103.4
152162parent-umbrella:
153 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
163 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
154164 umbrella: System
155165exports:
156166 - targets: [ x86_64-macos ]
......@@ -189,7 +199,7 @@ exports:
189199 ___paritysi2, ___parityti2, ___popcountdi2, ___popcountsi2,
190200 ___popcountti2, ___powixf2, ___subvdi3, ___subvsi3, ___subvti3,
191201 ___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 ]
193203 symbols: [ '$ld$hide$os10.10$___chkstk_darwin', '$ld$hide$os10.10$___extendhfsf2',
194204 '$ld$hide$os10.10$___truncdfhf2', '$ld$hide$os10.10$___truncsfhf2',
195205 '$ld$hide$os10.10$_atomic_flag_clear', '$ld$hide$os10.10$_atomic_flag_clear_explicit',
......@@ -373,23 +383,28 @@ exports:
373383 _atomic_signal_fence, _atomic_thread_fence ]
374384--- !tapi-tbd
375385tbd-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 ]
377388install-name: '/usr/lib/system/libcopyfile.dylib'
378389parent-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 ]
380392 umbrella: System
381393exports:
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 ]
383396 symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get,
384397 _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags,
385398 _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ]
386399--- !tapi-tbd
387400tbd-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 ]
389403install-name: '/usr/lib/system/libcorecrypto.dylib'
390current-version: 1922.121.1
404current-version: 2109.0.22
391405parent-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 ]
393408 umbrella: System
394409exports:
395410 - targets: [ x86_64-macos, x86_64-maccatalyst ]
......@@ -401,12 +416,13 @@ exports:
401416 _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode,
402417 _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di,
403418 _ccsha256_vng_intel_SupplementalSSE3_di ]
404 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
405 symbols: [ _CCEC_FAULT_CANARY, _CCMLDSA_FAULT_CANARY, _CCRSA_PKCS1_FAULT_CANARY,
406 _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192, _CCSS_PRIME_P224,
407 _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521, _cc_abort,
408 _cc_atfork_child, _cc_atfork_parent, _cc_atfork_prepare, _cc_clear,
409 _cc_cmp_safe, _cc_impl_name, _cc_try_abort, _cc_try_abort_if,
419 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst,
420 arm64e.x1-macos, arm64e.x1-maccatalyst ]
421 symbols: [ _CCEC_FAULT_CANARY, _CCHYBRIDSIG_FAULT_CANARY, _CCMLDSA_FAULT_CANARY,
422 _CCRSA_PKCS1_FAULT_CANARY, _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192,
423 _CCSS_PRIME_P224, _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521,
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,
410426 _ccaes_cbc_decrypt_mode, _ccaes_cbc_encrypt_mode, _ccaes_ccm_decrypt_mode,
411427 _ccaes_ccm_encrypt_mode, _ccaes_cfb8_decrypt_mode, _ccaes_cfb8_encrypt_mode,
412428 _ccaes_cfb_decrypt_mode, _ccaes_cfb_encrypt_mode, _ccaes_ctr_crypt_mode,
......@@ -416,14 +432,11 @@ exports:
416432 _ccaes_ltc_ecb_encrypt_mode, _ccaes_ofb_crypt_mode, _ccaes_siv_decrypt_mode,
417433 _ccaes_siv_encrypt_mode, _ccaes_siv_hmac_sha256_decrypt_mode,
418434 _ccaes_siv_hmac_sha256_encrypt_mode, _ccaes_unwind, _ccaes_xts_decrypt_mode,
419 _ccaes_xts_encrypt_mode, _ccansikdf_x963, _ccapsic_client_check_intersect_response,
420 _ccapsic_client_generate_match_response, _ccapsic_client_init,
421 _ccapsic_client_state_sizeof, _ccapsic_server_determine_intersection,
422 _ccapsic_server_encode_element, _ccapsic_server_init, _ccapsic_server_state_sizeof,
423 _ccascon_ascon128a, _ccascon_ascon128a_cmac, _ccascon_ascon128a_cmac_ref,
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,
435 _ccaes_xts_encrypt_mode, _ccansikdf_x963, _ccascon_ascon128a,
436 _ccascon_ascon128a_cmac, _ccascon_ascon128a_cmac_ref, _ccascon_ascon128a_decrypt,
437 _ccascon_ascon128a_encrypt, _ccascon_ascon128a_ref, _ccascon_cmac_init,
438 _ccascon_cmac_process, _ccascon_cmac_tag, _ccascon_cmac_verify,
439 _ccblowfish_cbc_decrypt_mode, _ccblowfish_cbc_encrypt_mode,
427440 _ccblowfish_cfb8_decrypt_mode, _ccblowfish_cfb8_encrypt_mode,
428441 _ccblowfish_cfb_decrypt_mode, _ccblowfish_cfb_encrypt_mode,
429442 _ccblowfish_ctr_crypt_mode, _ccblowfish_ecb_decrypt_mode,
......@@ -448,8 +461,9 @@ exports:
448461 _ccchacha20poly1305_encrypt_oneshot, _ccchacha20poly1305_finalize,
449462 _ccchacha20poly1305_incnonce, _ccchacha20poly1305_info, _ccchacha20poly1305_init,
450463 _ccchacha20poly1305_reset, _ccchacha20poly1305_setnonce, _ccchacha20poly1305_verify,
451 _ccckg2_contributor_commit, _ccckg2_contributor_finish, _ccckg2_ctx_cp,
452 _ccckg2_ctx_di, _ccckg2_init, _ccckg2_owner_finish, _ccckg2_owner_generate_share,
464 _ccckg2_contributor_commit, _ccckg2_contributor_finish, _ccckg2_contributor_finish_with_domain,
465 _ccckg2_ctx_cp, _ccckg2_ctx_di, _ccckg2_init, _ccckg2_owner_finish,
466 _ccckg2_owner_finish_with_domain, _ccckg2_owner_generate_share,
453467 _ccckg2_params_p224_sha256_v2, _ccckg2_sizeof_commitment,
454468 _ccckg2_sizeof_ctx, _ccckg2_sizeof_opening, _ccckg2_sizeof_share,
455469 _ccckg_contributor_commit, _ccckg_contributor_finish, _ccckg_ctx_cp,
......@@ -516,8 +530,11 @@ exports:
516530 _ccdh_gp_rfc3526group18, _ccdh_gp_rfc5114_MODP_1024_160, _ccdh_gp_rfc5114_MODP_2048_224,
517531 _ccdh_gp_rfc5114_MODP_2048_256, _ccdh_gp_size, _ccdh_import_full,
518532 _ccdh_import_priv, _ccdh_import_pub, _ccdh_init_gp_from_bytes,
519 _ccdigest, _ccdigest_init, _ccdigest_oid_lookup, _ccdigest_parallel,
520 _ccdigest_update, _ccdrbg_context_size, _ccdrbg_df_bc_init,
533 _ccdigest, _ccdigest_init, _ccdigest_managed_dit, _ccdigest_managed_dit_final,
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,
521538 _ccdrbg_done, _ccdrbg_factory_nistctr, _ccdrbg_factory_nisthmac,
522539 _ccdrbg_generate, _ccdrbg_init, _ccdrbg_must_reseed, _ccdrbg_reseed,
523540 _ccec_affinify, _ccec_blind, _ccec_compact_export, _ccec_compact_export_pub,
......@@ -526,10 +543,11 @@ exports:
526543 _ccec_compact_import_priv_size, _ccec_compact_import_pub,
527544 _ccec_compact_import_pub_size, _ccec_compact_transform_key,
528545 _ccec_compressed_x962_export_pub, _ccec_compressed_x962_export_pub_size,
529 _ccec_compressed_x962_import_pub, _ccec_compute_key, _ccec_cp_192,
530 _ccec_cp_224, _ccec_cp_256, _ccec_cp_384, _ccec_cp_521, _ccec_curve_for_length_lookup,
531 _ccec_der_export_diversified_pub, _ccec_der_export_diversified_pub_size,
532 _ccec_der_export_priv, _ccec_der_export_priv_size, _ccec_der_import_diversified_pub,
546 _ccec_compressed_x962_import_pub, _ccec_compute_key, _ccec_compute_pubkey,
547 _ccec_cp_192, _ccec_cp_224, _ccec_cp_256, _ccec_cp_384, _ccec_cp_521,
548 _ccec_curve_for_length_lookup, _ccec_der_export_diversified_pub,
549 _ccec_der_export_diversified_pub_size, _ccec_der_export_priv,
550 _ccec_der_export_priv_size, _ccec_der_import_diversified_pub,
533551 _ccec_der_import_priv, _ccec_der_import_priv_keytype, _ccec_diversify_min_entropy_len,
534552 _ccec_diversify_priv_twin, _ccec_diversify_pub, _ccec_diversify_pub_twin,
535553 _ccec_export_affine_point, _ccec_export_affine_point_size,
......@@ -613,43 +631,56 @@ exports:
613631 _cchpke_params_sizeof_kem_sk, _cchpke_params_x25519_AESGCM128_HKDF_SHA256,
614632 _cchpke_params_x25519_AESGCM256_HKDF_SHA256, _cchpke_params_xwing_AESGCM128_HKDF_SHA256,
615633 _cchpke_responder_decrypt, _cchpke_responder_export, _cchpke_responder_open,
616 _cchpke_responder_setup, _cckem_decapsulate, _cckem_derive_key_from_seed,
617 _cckem_encapsulate, _cckem_encapsulated_key_nbytes_ctx, _cckem_encapsulated_key_nbytes_info,
634 _cchpke_responder_setup, _cchybridsig_export_privkey, _cchybridsig_export_pubkey,
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,
618647 _cckem_export_privkey, _cckem_export_pubkey, _cckem_full_ctx_init,
619648 _cckem_generate_key, _cckem_generate_key_with_seed, _cckem_import_privkey,
620649 _cckem_import_pubkey, _cckem_kyber1024, _cckem_kyber768, _cckem_mlkem1024,
621 _cckem_mlkem768, _cckem_privkey_nbytes_ctx, _cckem_privkey_nbytes_info,
622 _cckem_pub_ctx_init, _cckem_pubkey_nbytes_ctx, _cckem_pubkey_nbytes_info,
623 _cckem_public_ctx, _cckem_seed_nbytes_ctx, _cckem_seed_nbytes_info,
624 _cckem_shared_key_nbytes_ctx, _cckem_shared_key_nbytes_info,
625 _cckem_sizeof_full_ctx, _cckem_sizeof_pub_ctx, _cckem_xwing_mlkem768x25519,
626 _cclr_aes_init, _cclr_block_nbytes, _cclr_decrypt_block, _cclr_encrypt_block,
627 _ccmd2_ltc_di, _ccmd4_ltc_di, _ccmd5_di, _ccmd5_ltc_di, _ccmgf,
628 _ccmldsa65, _ccmldsa87, _ccmldsa_derive_key_from_seed, _ccmldsa_export_privkey,
629 _ccmldsa_export_pubkey, _ccmldsa_full_ctx_init, _ccmldsa_generate_key,
630 _ccmldsa_generate_key_with_seed, _ccmldsa_hash_nbytes_ctx,
631 _ccmldsa_hash_nbytes_params, _ccmldsa_import_privkey, _ccmldsa_import_pubkey,
632 _ccmldsa_prehash, _ccmldsa_prehash_with_context, _ccmldsa_privkey_nbytes_ctx,
633 _ccmldsa_privkey_nbytes_params, _ccmldsa_pub_ctx_init, _ccmldsa_pubkey_nbytes_ctx,
634 _ccmldsa_pubkey_nbytes_params, _ccmldsa_public_ctx, _ccmldsa_seed_nbytes_ctx,
635 _ccmldsa_seed_nbytes_params, _ccmldsa_sign, _ccmldsa_sign_prehashed,
636 _ccmldsa_sign_with_context, _ccmldsa_signature_nbytes_ctx,
637 _ccmldsa_signature_nbytes_params, _ccmldsa_sizeof_full_ctx,
638 _ccmldsa_sizeof_pub_ctx, _ccmldsa_verify, _ccmldsa_verify_prehashed,
639 _ccmldsa_verify_prehashed_with_canary, _ccmldsa_verify_with_canary,
640 _ccmldsa_verify_with_context, _ccmldsa_verify_with_context_and_canary,
641 _ccmode_factory_cbc_decrypt, _ccmode_factory_cbc_encrypt,
642 _ccmode_factory_ccm_decrypt, _ccmode_factory_ccm_encrypt,
643 _ccmode_factory_cfb8_decrypt, _ccmode_factory_cfb8_encrypt,
644 _ccmode_factory_cfb_decrypt, _ccmode_factory_cfb_encrypt,
645 _ccmode_factory_ctr_crypt, _ccmode_factory_gcm_decrypt, _ccmode_factory_gcm_encrypt,
646 _ccmode_factory_ofb_crypt, _ccmode_factory_siv_decrypt, _ccmode_factory_siv_encrypt,
647 _ccmode_factory_xts_decrypt, _ccmode_factory_xts_encrypt,
648 _ccn_add, _ccn_add1, _ccn_bitlen, _ccn_cmp, _ccn_cmpn, _ccn_lprint,
649 _ccn_print, _ccn_read_uint, _ccn_set_bit, _ccn_seti, _ccn_sub,
650 _ccn_swap, _ccn_write_int, _ccn_write_int_size, _ccn_write_uint,
651 _ccn_write_uint_padded, _ccn_write_uint_padded_ct, _ccn_write_uint_size,
652 _ccn_xor, _ccn_zero, _ccnistkdf_ctr_cmac, _ccnistkdf_ctr_cmac_fixed,
650 _cckem_mlkem1024_unmasked, _cckem_mlkem768, _cckem_mlkem768_unmasked,
651 _cckem_privkey_nbytes_ctx, _cckem_privkey_nbytes_info, _cckem_pub_ctx_init,
652 _cckem_pubkey_nbytes_ctx, _cckem_pubkey_nbytes_info, _cckem_public_ctx,
653 _cckem_seed_nbytes_ctx, _cckem_seed_nbytes_info, _cckem_shared_key_nbytes_ctx,
654 _cckem_shared_key_nbytes_info, _cckem_sizeof_full_ctx, _cckem_sizeof_pub_ctx,
655 _cckem_xwing_mlkem768x25519, _cckmac256_info, _cckmac_finalize,
656 _cckmac_init, _cckmac_update, _cclr_aes_init, _cclr_block_nbytes,
657 _cclr_decrypt_block, _cclr_encrypt_block, _ccmd2_ltc_di, _ccmd4_ltc_di,
658 _ccmd5_di, _ccmd5_ltc_di, _ccmgf, _ccmldsa65, _ccmldsa87,
659 _ccmldsa_derive_key_from_seed, _ccmldsa_export_privkey, _ccmldsa_export_pubkey,
660 _ccmldsa_full_ctx_init, _ccmldsa_generate_key, _ccmldsa_generate_key_with_seed,
661 _ccmldsa_hash_nbytes_ctx, _ccmldsa_hash_nbytes_params, _ccmldsa_import_privkey,
662 _ccmldsa_import_pubkey, _ccmldsa_prehash, _ccmldsa_prehash_with_context,
663 _ccmldsa_privkey_nbytes_ctx, _ccmldsa_privkey_nbytes_params,
664 _ccmldsa_pub_ctx_init, _ccmldsa_pubkey_nbytes_ctx, _ccmldsa_pubkey_nbytes_params,
665 _ccmldsa_public_ctx, _ccmldsa_seed_nbytes_ctx, _ccmldsa_seed_nbytes_params,
666 _ccmldsa_sign, _ccmldsa_sign_prehashed, _ccmldsa_sign_with_context,
667 _ccmldsa_signature_nbytes_ctx, _ccmldsa_signature_nbytes_params,
668 _ccmldsa_sizeof_full_ctx, _ccmldsa_sizeof_pub_ctx, _ccmldsa_verify,
669 _ccmldsa_verify_prehashed, _ccmldsa_verify_prehashed_with_canary,
670 _ccmldsa_verify_with_canary, _ccmldsa_verify_with_context,
671 _ccmldsa_verify_with_context_and_canary, _ccmode_factory_cbc_decrypt,
672 _ccmode_factory_cbc_encrypt, _ccmode_factory_ccm_decrypt,
673 _ccmode_factory_ccm_encrypt, _ccmode_factory_cfb8_decrypt,
674 _ccmode_factory_cfb8_encrypt, _ccmode_factory_cfb_decrypt,
675 _ccmode_factory_cfb_encrypt, _ccmode_factory_ctr_crypt, _ccmode_factory_gcm_decrypt,
676 _ccmode_factory_gcm_encrypt, _ccmode_factory_ofb_crypt, _ccmode_factory_siv_decrypt,
677 _ccmode_factory_siv_encrypt, _ccmode_factory_xts_decrypt,
678 _ccmode_factory_xts_encrypt, _ccn_add, _ccn_add1, _ccn_bitlen,
679 _ccn_cmp, _ccn_cmpn, _ccn_lprint, _ccn_print, _ccn_read_uint,
680 _ccn_set_bit, _ccn_seti, _ccn_sub, _ccn_swap, _ccn_write_int,
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,
653684 _ccnistkdf_ctr_hmac, _ccnistkdf_ctr_hmac_fixed, _ccofb_block_size,
654685 _ccofb_context_size, _ccofb_init, _ccofb_one_shot, _ccofb_update,
655686 _ccoid_equal, _ccoid_payload, _ccoid_size, _ccpad_cts1_decrypt,
......@@ -699,8 +730,9 @@ exports:
699730 _ccsae_verify_commitment_with_rejected_groups, _ccsae_verify_confirmation,
700731 _ccscrypt, _ccscrypt_storage_size, _ccsha1_di, _ccsha1_eay_di,
701732 _ccsha1_ltc_di, _ccsha224_di, _ccsha224_ltc_di, _ccsha256_di,
702 _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_di,
703 _ccsha3_256_di, _ccsha3_384_di, _ccsha3_512_di, _ccsha512_256_di,
733 _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_c_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,
704736 _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccshake128,
705737 _ccshake128_xi, _ccshake256, _ccshake256_xi, _ccsigma_clear,
706738 _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys,
......@@ -723,13 +755,14 @@ exports:
723755 _ccspake_get_session_key, _ccspake_kex_generate, _ccspake_kex_process,
724756 _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256,
725757 _ccspake_mac_hkdf_hmac_sha256, _ccspake_mac_hkdf_hmac_sha512,
726 _ccspake_mac_verify_and_get_session_key, _ccspake_prover_init,
727 _ccspake_prover_initialize, _ccspake_reduce_w, _ccspake_reduce_w_RFC9383,
728 _ccspake_sizeof_ctx, _ccspake_sizeof_point, _ccspake_sizeof_w,
729 _ccspake_verifier_init, _ccspake_verifier_initialize, _ccsrp_client_process_challenge,
730 _ccsrp_client_set_noUsernameInX, _ccsrp_client_start_authentication,
731 _ccsrp_client_verify_session, _ccsrp_ctx_init, _ccsrp_ctx_init_option,
732 _ccsrp_ctx_init_with_size_option, _ccsrp_exchange_size, _ccsrp_generate_salt_and_verification,
758 _ccspake_mac_nistkdf_cmac_aes128_sha256, _ccspake_mac_verify_and_get_session_key,
759 _ccspake_prover_init, _ccspake_prover_initialize, _ccspake_reduce_w,
760 _ccspake_reduce_w_RFC9383, _ccspake_sizeof_ctx, _ccspake_sizeof_point,
761 _ccspake_sizeof_w, _ccspake_verifier_init, _ccspake_verifier_initialize,
762 _ccsrp_client_process_challenge, _ccsrp_client_set_noUsernameInX,
763 _ccsrp_client_start_authentication, _ccsrp_client_verify_session,
764 _ccsrp_ctx_init, _ccsrp_ctx_init_option, _ccsrp_ctx_init_with_size_option,
765 _ccsrp_exchange_size, _ccsrp_generate_salt_and_verification,
733766 _ccsrp_generate_verifier, _ccsrp_get_premaster_secret, _ccsrp_get_session_key,
734767 _ccsrp_get_session_key_length, _ccsrp_gp_rfc5054_1024, _ccsrp_gp_rfc5054_2048,
735768 _ccsrp_gp_rfc5054_3072, _ccsrp_gp_rfc5054_4096, _ccsrp_gp_rfc5054_8192,
......@@ -752,13 +785,14 @@ exports:
752785 _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt,
753786 _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size,
754787 _ccxof_absorb, _ccxof_init, _ccxof_squeeze, _ccxts_block_size,
755 _ccxts_context_size, _ccxts_init, _ccxts_one_shot, _ccxts_set_tweak,
756 _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit, _ccz_bitlen,
757 _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod, _ccz_expmod,
758 _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one, _ccz_is_prime,
759 _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod, _ccz_mul, _ccz_muli,
760 _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits, _ccz_read_radix,
761 _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity,
788 _ccxts_context_size, _ccxts_init, _ccxts_managed_dit_init,
789 _ccxts_managed_dit_set_tweak, _ccxts_managed_dit_update, _ccxts_one_shot,
790 _ccxts_set_tweak, _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit,
791 _ccz_bitlen, _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod,
792 _ccz_expmod, _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one,
793 _ccz_is_prime, _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod,
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,
762796 _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size,
763797 _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int,
764798 _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size,
......@@ -766,25 +800,31 @@ exports:
766800 _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime,
767801 _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post,
768802 _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 ]
770804 symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode,
771805 _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode,
806 _ccaes_arm_ecb_aligned_decrypt_mode, _ccaes_arm_ecb_aligned_encrypt_mode,
772807 _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,
774 _ccsha1_vng_arm_di, _ccsha224_vng_arm_di, _ccsha256_vng_arm64neon_di,
808 _ccaes_arm_ofb_crypt_mode, _ccaes_arm_xts_aligned_decrypt_mode,
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,
775812 _ccsha256_vng_arm_di, _ccsha384_vng_arm_di, _ccsha384_vng_arm_hw_di,
776813 _ccsha512_256_vng_arm_di, _ccsha512_256_vng_arm_hw_di, _ccsha512_vng_arm_di,
777814 _ccsha512_vng_arm_hw_di ]
778815--- !tapi-tbd
779816tbd-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 ]
781819install-name: '/usr/lib/system/libdispatch.dylib'
782current-version: 1542.100.32
820current-version: 1605.0.2
783821parent-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 ]
785824 umbrella: System
786825exports:
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 ]
788828 symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not',
789829 '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool,
790830 __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap,
......@@ -894,6 +934,7 @@ exports:
894934 _dispatch_source_set_timer, _dispatch_source_testcancel, _dispatch_suspend,
895935 _dispatch_swift_job_should_yield, _dispatch_sync, _dispatch_sync_f,
896936 _dispatch_thread_get_current_override_qos_floor, _dispatch_thread_override_self,
937 _dispatch_thread_override_self_with_base, _dispatch_thread_reset_override_self,
897938 _dispatch_time, _dispatch_time_from_nsec, _dispatch_time_to_nsec,
898939 _dispatch_time_to_nsecs, _dispatch_tsd_indexes, _dispatch_verify_current_queue_4swiftonly,
899940 _dispatch_walltime, _dispatch_workloop_copy_current, _dispatch_workloop_create,
......@@ -946,17 +987,17 @@ exports:
946987--- !tapi-tbd
947988tbd-version: 4
948989targets: [ 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 ]
950991install-name: '/usr/lib/system/libdyld.dylib'
951992current-version: 0
952993compatibility-version: 0
953994parent-umbrella:
954995 - 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 ]
956997 umbrella: System
957998exports:
958999 - 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 ]
9601001 symbols: [ _NSVersionOfLinkTimeLibrary, _NSVersionOfRunTimeLibrary, _NXArgc,
9611002 _NXArgv, __NSGetExecutablePath, ___progname, __dyld_atfork_parent,
9621003 __dyld_atfork_prepare, __dyld_call_with_writable_tpro_memory,
......@@ -969,12 +1010,12 @@ exports:
9691010 __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_framework_HWTrace_spis_enabled,
9701011 __dyld_get_dlopen_image_header, __dyld_get_dyld_header, __dyld_get_image_header,
9711012 __dyld_get_image_name, __dyld_get_image_slide, __dyld_get_image_uuid,
972 __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, __dyld_get_prog_image_header,
973 __dyld_get_shared_cache_range, __dyld_get_shared_cache_uuid,
974 __dyld_get_swift_prespecialized_data, __dyld_has_fix_for_radar,
975 __dyld_has_preoptimized_swift_protocol_conformances, __dyld_image_count,
976 __dyld_images_for_addresses, __dyld_initializer, __dyld_is_memory_immutable,
977 __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded,
1013 __dyld_get_image_vmaddr_slide, __dyld_get_lib_msg_send_offsets,
1014 __dyld_get_objc_selector, __dyld_get_prog_image_header, __dyld_get_shared_cache_range,
1015 __dyld_get_shared_cache_uuid, __dyld_get_swift_prespecialized_data,
1016 __dyld_has_fix_for_radar, __dyld_has_preoptimized_swift_protocol_conformances,
1017 __dyld_image_count, __dyld_images_for_addresses, __dyld_initializer,
1018 __dyld_is_memory_immutable, __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded,
9781019 __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lazy_load,
9791020 __dyld_lookup_section_info, __dyld_objc_class_count, __dyld_objc_notify_register,
9801021 __dyld_objc_register_callbacks, __dyld_objc_uses_large_shared_cache,
......@@ -987,78 +1028,86 @@ exports:
9871028 __dyld_process_info_retain, __dyld_pseudodylib_deregister,
9881029 __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register,
9891030 __dyld_pseudodylib_register_callbacks, __dyld_register_dlsym_notifier,
990 __dyld_register_driverkit_main, __dyld_register_for_bulk_image_loads,
991 __dyld_register_for_image_loads, __dyld_register_func_for_add_image,
992 __dyld_register_func_for_remove_image, __dyld_shared_cache_contains_path,
993 __dyld_shared_cache_file_path_containing_address, __dyld_shared_cache_is_locally_built,
994 __dyld_shared_cache_optimized, __dyld_shared_cache_real_path,
1031 __dyld_register_dlsym_notifier_with_handle, __dyld_register_driverkit_main,
1032 __dyld_register_for_bulk_image_loads, __dyld_register_for_image_loads,
1033 __dyld_register_func_for_add_image, __dyld_register_func_for_remove_image,
1034 __dyld_shared_cache_contains_path, __dyld_shared_cache_file_path_containing_address,
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,
9951037 __dyld_stack_bottom, __dyld_stack_range, __dyld_stack_top,
996 __dyld_swift_optimizations_version, __dyld_visit_objc_classes,
997 __tlv_atexit, __tlv_bootstrap, __tlv_exit, _dladdr, _dlclose,
998 _dlerror, _dlopen, _dlopen_audited, _dlopen_from, _dlopen_preflight,
999 _dlsym, _dyldVersionNumber, _dyldVersionString, _dyld_dynamic_interpose,
1000 _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_ex,
1001 _dyld_for_each_installed_shared_cache_with_system_path, _dyld_get_active_platform,
1002 _dyld_get_base_platform, _dyld_get_image_versions, _dyld_get_min_os_version,
1003 _dyld_get_program_min_os_version, _dyld_get_program_minos_version_token,
1004 _dyld_get_program_sdk_version, _dyld_get_program_sdk_version_token,
1005 _dyld_get_sdk_version, _dyld_has_inserted_or_interposing_libraries,
1006 _dyld_image_content_for_section, _dyld_image_content_for_segment,
1007 _dyld_image_copy_uuid, _dyld_image_for_each_section_info,
1008 _dyld_image_for_each_segment_info, _dyld_image_get_file_path,
1009 _dyld_image_get_installname, _dyld_image_header_containing_address,
1010 _dyld_image_local_nlist_content_4Symbolication, _dyld_image_path_containing_address,
1011 _dyld_image_release_4HWTrace, _dyld_image_retain_4HWTrace,
1012 _dyld_image_segment_data_4HWTrace, _dyld_is_simulator_platform,
1013 _dyld_minos_at_least, _dyld_need_closure, _dyld_process_create_for_current_task,
1014 _dyld_process_create_for_task, _dyld_process_dispose, _dyld_process_has_objc_patches,
1015 _dyld_process_is_restricted, _dyld_process_register_for_event_notification,
1016 _dyld_process_register_for_image_notifications, _dyld_process_snapshot_create_for_process,
1017 _dyld_process_snapshot_create_from_data, _dyld_process_snapshot_create_metrics,
1018 _dyld_process_snapshot_dispose, _dyld_process_snapshot_for_each_image,
1019 _dyld_process_snapshot_get_shared_cache, _dyld_process_unregister_for_notification,
1020 _dyld_program_minos_at_least, _dyld_program_sdk_at_least,
1021 _dyld_sdk_at_least, _dyld_shared_cache_copy_uuid, _dyld_shared_cache_file_path,
1022 _dyld_shared_cache_find_iterate_text, _dyld_shared_cache_for_each_file,
1023 _dyld_shared_cache_for_each_image, _dyld_shared_cache_for_file,
1024 _dyld_shared_cache_get_base_address, _dyld_shared_cache_get_mapped_size,
1038 __dyld_swift_optimizations_version, __dyld_thread_local_free,
1039 __dyld_visit_objc_classes, __tlv_atexit, __tlv_bootstrap,
1040 __tlv_exit, _dladdr, _dlclose, _dlerror, _dlopen, _dlopen_audited,
1041 _dlopen_from, _dlopen_preflight, _dlsym, _dyldVersionNumber,
1042 _dyldVersionString, _dyld_dynamic_interpose, _dyld_for_each_installed_shared_cache,
1043 _dyld_for_each_installed_shared_cache_ex, _dyld_for_each_installed_shared_cache_with_system_path,
1044 _dyld_get_active_platform, _dyld_get_base_platform, _dyld_get_image_versions,
1045 _dyld_get_min_os_version, _dyld_get_program_min_os_version,
1046 _dyld_get_program_minos_version_token, _dyld_get_program_sdk_version,
1047 _dyld_get_program_sdk_version_token, _dyld_get_sdk_version,
1048 _dyld_has_inserted_or_interposing_libraries, _dyld_image_content_for_section,
1049 _dyld_image_content_for_segment, _dyld_image_copy_uuid, _dyld_image_for_each_section_info,
1050 _dyld_image_for_each_segment_info, _dyld_image_get_cpu_subtype,
1051 _dyld_image_get_cpu_type, _dyld_image_get_file_path, _dyld_image_get_installname,
1052 _dyld_image_header_containing_address, _dyld_image_local_nlist_content_4Symbolication,
1053 _dyld_image_path_containing_address, _dyld_image_release_4HWTrace,
1054 _dyld_image_retain_4HWTrace, _dyld_image_segment_data_4HWTrace,
1055 _dyld_is_simulator_platform, _dyld_minos_at_least, _dyld_need_closure,
1056 _dyld_process_create_for_current_task, _dyld_process_create_for_task,
1057 _dyld_process_dispose, _dyld_process_has_objc_patches, _dyld_process_is_restricted,
1058 _dyld_process_register_for_event_notification, _dyld_process_register_for_image_notifications,
1059 _dyld_process_snapshot_create_for_process, _dyld_process_snapshot_create_from_data,
1060 _dyld_process_snapshot_create_metrics, _dyld_process_snapshot_dispose,
1061 _dyld_process_snapshot_for_each_image, _dyld_process_snapshot_get_shared_cache,
1062 _dyld_process_unregister_for_notification, _dyld_program_minos_at_least,
1063 _dyld_program_sdk_at_least, _dyld_sdk_at_least, _dyld_shared_cache_copy_uuid,
1064 _dyld_shared_cache_file_path, _dyld_shared_cache_find_iterate_text,
1065 _dyld_shared_cache_for_each_file, _dyld_shared_cache_for_each_image,
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,
10251069 _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,
10271072 _dyld_shared_cache_unpin_mapping, _dyld_version_token_at_least,
10281073 _dyld_version_token_get_platform, _environ, _macho_arch_name_for_cpu_type,
10291074 _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,
1031 _macho_for_each_defined_rpath, _macho_for_each_dependent_dylib,
1032 _macho_for_each_exported_symbol, _macho_for_each_imported_symbol,
1033 _macho_for_each_runnable_arch_name, _macho_for_each_slice,
1034 _macho_for_each_slice_in_fd, _macho_source_version, dyld_stub_binder ]
1035 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1075 _macho_cpu_type_for_arch_name, _macho_disk_section_content,
1076 _macho_disk_slice_valid_for_dyld, _macho_dyld_section_content,
1077 _macho_dylib_install_name, _macho_for_each_defined_rpath,
1078 _macho_for_each_dependent_dylib, _macho_for_each_exported_symbol,
1079 _macho_for_each_imported_symbol, _macho_for_each_runnable_arch_name,
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 ]
10361085 symbols: [ _NSAddImage, _NSAddLibrary, _NSAddLibraryWithSearching, _NSAddressOfSymbol,
10371086 _NSCreateObjectFileImageFromFile, _NSCreateObjectFileImageFromMemory,
10381087 _NSDestroyObjectFileImage, _NSGetSectionDataInObjectFileImage,
1039 _NSInstallLinkEditErrorHandlers, _NSIsSymbolDefinedInObjectFileImage,
1040 _NSIsSymbolNameDefined, _NSIsSymbolNameDefinedInImage, _NSIsSymbolNameDefinedWithHint,
1088 _NSIsSymbolDefinedInObjectFileImage, _NSIsSymbolNameDefined,
1089 _NSIsSymbolNameDefinedInImage, _NSIsSymbolNameDefinedWithHint,
10411090 _NSLibraryNameForModule, _NSLinkEditError, _NSLinkModule,
10421091 _NSLookupAndBindSymbol, _NSLookupAndBindSymbolWithHint, _NSLookupSymbolInImage,
10431092 _NSLookupSymbolInModule, _NSModuleForSymbol, _NSNameOfModule,
1044 _NSNameOfSymbol, _NSSymbolDefinitionCountInObjectFileImage,
1045 _NSSymbolDefinitionNameInObjectFileImage, _NSSymbolReferenceCountInObjectFileImage,
1046 _NSSymbolReferenceNameInObjectFileImage, _NSUnLinkModule,
1047 __dyld_all_twolevel_modules_prebound, __dyld_bind_fully_image_containing_address,
1093 _NSUnLinkModule, __dyld_bind_fully_image_containing_address,
10481094 __dyld_get_image_header_containing_address, __dyld_image_containing_address,
1049 __dyld_launched_prebound, __dyld_lookup_and_bind, __dyld_lookup_and_bind_fully,
1050 __dyld_lookup_and_bind_with_hint, __dyld_present, __dyld_process_info_for_each_aot_image,
1051 _dyld_shared_cache_for_each_subcache4Rosetta, _dyld_shared_subcache_get_info4Rosetta ]
1095 __dyld_lookup_and_bind, __dyld_lookup_and_bind_fully, __dyld_lookup_and_bind_with_hint,
1096 __dyld_present, __dyld_process_info_for_each_aot_image, _dyld_shared_cache_for_each_subcache4Rosetta,
1097 _dyld_shared_subcache_get_info4Rosetta ]
10521098--- !tapi-tbd
10531099tbd-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 ]
10551102install-name: '/usr/lib/system/libkeymgr.dylib'
10561103current-version: 31
10571104parent-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 ]
10591107 umbrella: System
10601108exports:
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 ]
10621111 symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer,
10631112 __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2,
10641113 __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr,
......@@ -1066,14 +1115,14 @@ exports:
10661115 __keymgr_unlock_processwide_ptr, _keymgrVersionNumber, _keymgrVersionString ]
10671116--- !tapi-tbd
10681117tbd-version: 4
1069targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1118targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
10701119install-name: '/usr/lib/system/libmacho.dylib'
10711120current-version: 1040
10721121parent-umbrella:
1073 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1122 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
10741123 umbrella: System
10751124exports:
1076 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1125 - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ]
10771126 symbols: [ _NXCombineCpuSubtypes, _NXFindBestFatArch, _NXFindBestFatArch_64,
10781127 _NXFreeArchInfo, _NXGetAllArchInfos, _NXGetArchInfoFromCpuType,
10791128 _NXGetArchInfoFromName, _NXGetLocalArchInfo, _get_edata, _get_end,
......@@ -1105,14 +1154,17 @@ exports:
11051154 _swap_x86_thread_state, _swap_x86_thread_state64 ]
11061155--- !tapi-tbd
11071156tbd-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 ]
11091159install-name: '/usr/lib/system/libquarantine.dylib'
1110current-version: 196.120.2
1160current-version: 217.0.4
11111161parent-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 ]
11131164 umbrella: System
11141165exports:
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 ]
11161168 symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point,
11171169 __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free,
11181170 __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata,
......@@ -1133,7 +1185,7 @@ exports:
11331185 _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid,
11341186 _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init,
11351187 _responsibility_set_pid_responsible_for_pid ]
1136 - targets: [ x86_64-macos, arm64e-macos ]
1188 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
11371189 symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data,
11381190 _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token,
11391191 _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform,
......@@ -1149,14 +1201,17 @@ exports:
11491201 _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ]
11501202--- !tapi-tbd
11511203tbd-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 ]
11531206install-name: '/usr/lib/system/libremovefile.dylib'
1154current-version: 85.100.6
1207current-version: 96
11551208parent-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 ]
11571211 umbrella: System
11581212exports:
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 ]
11601215 symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer,
11611216 ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker,
11621217 ___removefile_tree_walker_slim, _removefile, _removefile_cancel,
......@@ -1164,14 +1219,17 @@ exports:
11641219 _removefile_state_set, _removefileat ]
11651220--- !tapi-tbd
11661221tbd-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 ]
11681224install-name: '/usr/lib/system/libsystem_asl.dylib'
1169current-version: 406
1225current-version: 409
11701226parent-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 ]
11721229 umbrella: System
11731230exports:
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 ]
11751233 symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child,
11761234 __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child,
11771235 __asl_mt_shim_send_message, __asl_server_cancel_direct_watch,
......@@ -1242,14 +1300,17 @@ exports:
12421300 _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ]
12431301--- !tapi-tbd
12441302tbd-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 ]
12461305install-name: '/usr/lib/system/libsystem_blocks.dylib'
1247current-version: 96
1306current-version: 98.1
12481307parent-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 ]
12501310 umbrella: System
12511311exports:
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 ]
12531314 symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature,
12541315 __Block_isDeallocating, __Block_layout, __Block_object_assign,
12551316 __Block_object_dispose, __Block_release, __Block_signature,
......@@ -1258,11 +1319,13 @@ exports:
12581319 __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ]
12591320--- !tapi-tbd
12601321tbd-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 ]
12621324install-name: '/usr/lib/system/libsystem_c.dylib'
1263current-version: 1752.120.2
1325current-version: 1786.0.3
12641326parent-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 ]
12661329 umbrella: System
12671330exports:
12681331 - targets: [ x86_64-macos, x86_64-maccatalyst ]
......@@ -1279,7 +1342,8 @@ exports:
12791342 '_scandirat$INODE64', '_scandirat_b$INODE64', '_seekdir$INODE64',
12801343 _statx64_np, '_statx_np$INODE64', _strtoencf80_l, '_telldir$INODE64',
12811344 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 ]
12831347 symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres',
12841348 '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime',
12851349 '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy',
......@@ -1397,8 +1461,11 @@ exports:
13971461 _fputws, _fputws_l, _fread, _free_printf_comp, _free_printf_domain,
13981462 _freelocale, _freopen, _fscanf, _fscanf_l, _fseek, _fseeko,
13991463 _fsetpos, _fstatvfs, _fstatx_np, _fsync_volume_np, _ftell,
1400 _ftello, _ftime, _ftok, _ftrylockfile, _fts_children, _fts_close,
1401 _fts_open, _fts_open_b, _fts_read, _fts_set, _ftw, _fungetrune,
1464 _ftello, _ftime, _ftok, _ftrylockfile, _fts_children, '_fts_children$NFTS',
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,
14021469 _funlockfile, _funopen, _fwide, _fwprintf, _fwprintf_l, _fwrite,
14031470 _fwscanf, _fwscanf_l, _fxprintf, _fxprintf_exec, _gcvt, _getbsize,
14041471 _getc, _getc_unlocked, _getchar, _getchar_unlocked, _getcwd,
......@@ -1508,15 +1575,10 @@ exports:
15081575 _timegm, _timelocal, _timeoff, _times, _timespec_get, _timezone,
15091576 _timingsafe_bcmp, _tmpfile, _tmpnam, _toascii, _tolower, _tolower_l,
15101577 _toupper, _toupper_l, _towctrans, _towctrans_l, _towlower,
1511 _towlower_l, _towupper, _towupper_l, _tre_ast_new_catenation,
1512 _tre_ast_new_iter, _tre_ast_new_literal, _tre_ast_new_node,
1513 _tre_ast_new_union, _tre_compile, _tre_fill_pmatch, _tre_free,
1514 _tre_mem_alloc_impl, _tre_mem_destroy, _tre_mem_new_impl,
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',
1578 _towlower_l, _towupper, _towupper_l, _tsearch, _ttyname, _ttyname_r,
1579 _ttyslot, _twalk, _tzname, _tzset, _tzsetwall, _ualarm, _ulimit,
1580 _umaskx_np, _uname, _ungetc, _ungetwc, _ungetwc_l, _unlockpt,
1581 _unsetenv, _unvis, _uselocale, _usleep, '_usleep$NOCANCEL',
15201582 _utime, _utmpxname, _uuid_clear, _uuid_compare, _uuid_copy,
15211583 _uuid_generate, _uuid_generate_random, _uuid_generate_time,
15221584 _uuid_is_null, _uuid_pack, _uuid_parse, _uuid_unpack, _uuid_unparse,
......@@ -1548,21 +1610,25 @@ exports:
15481610 _xprintf_exec ]
15491611 weak-symbols: [ __os_debug_log_redirect_func ]
15501612reexports:
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 ]
15521615 symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy,
15531616 _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8,
15541617 _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp,
15551618 _strncpy, _strnlen, _strstr ]
15561619--- !tapi-tbd
15571620tbd-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 ]
15591623install-name: '/usr/lib/system/libsystem_collections.dylib'
1560current-version: 1752.120.2
1624current-version: 1786.0.3
15611625parent-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 ]
15631628 umbrella: System
15641629exports:
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 ]
15661632 symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete,
15671633 _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach,
15681634 _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count,
......@@ -1572,24 +1638,30 @@ exports:
15721638 _os_map_64_init, _os_map_64_insert, _os_map_str_clear, _os_map_str_count,
15731639 _os_map_str_delete, _os_map_str_destroy, _os_map_str_entry,
15741640 _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,
1576 _os_set_32_ptr_destroy, _os_set_32_ptr_find, _os_set_32_ptr_foreach,
1577 _os_set_32_ptr_init, _os_set_32_ptr_insert, _os_set_64_ptr_clear,
1578 _os_set_64_ptr_count, _os_set_64_ptr_delete, _os_set_64_ptr_destroy,
1579 _os_set_64_ptr_find, _os_set_64_ptr_foreach, _os_set_64_ptr_init,
1580 _os_set_64_ptr_insert, _os_set_str_ptr_clear, _os_set_str_ptr_count,
1581 _os_set_str_ptr_delete, _os_set_str_ptr_destroy, _os_set_str_ptr_find,
1582 _os_set_str_ptr_foreach, _os_set_str_ptr_init, _os_set_str_ptr_insert ]
1641 _os_set_128_ptr_clear, _os_set_128_ptr_count, _os_set_128_ptr_delete,
1642 _os_set_128_ptr_destroy, _os_set_128_ptr_find, _os_set_128_ptr_foreach,
1643 _os_set_128_ptr_init, _os_set_128_ptr_insert, _os_set_32_ptr_clear,
1644 _os_set_32_ptr_count, _os_set_32_ptr_delete, _os_set_32_ptr_destroy,
1645 _os_set_32_ptr_find, _os_set_32_ptr_foreach, _os_set_32_ptr_init,
1646 _os_set_32_ptr_insert, _os_set_64_ptr_clear, _os_set_64_ptr_count,
1647 _os_set_64_ptr_delete, _os_set_64_ptr_destroy, _os_set_64_ptr_find,
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 ]
15831652--- !tapi-tbd
15841653tbd-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 ]
15861656install-name: '/usr/lib/system/libsystem_configuration.dylib'
1587current-version: 1405.120.5
1657current-version: 1446
15881658parent-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 ]
15901661 umbrella: System
15911662exports:
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 ]
15931665 symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent,
15941666 __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack,
15951667 __nwi_state_force_refresh, _config_agent_copy_dns_information,
......@@ -1606,18 +1678,24 @@ exports:
16061678 _nwi_state_get_reachability_flags, _nwi_state_release ]
16071679--- !tapi-tbd
16081680tbd-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 ]
16101683install-name: '/usr/lib/system/libsystem_containermanager.dylib'
16111684parent-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 ]
16131687 umbrella: System
16141688exports:
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 ]
16161691 symbols: [ _CMCONTAINERSEAM_DEFAULT, _CMDISPATCHSEAM_DEFAULT, _CMFSSEAM_DEFAULT,
1617 _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT, _CMQUARANTINESEAM_DEFAULT,
1618 _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES, _CONTAINER_NOTIFY_GENERATION_INITIAL,
1692 _CMKPERSONASEAM_DEFAULT, _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT,
1693 _CMQUARANTINESEAM_DEFAULT, _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES,
1694 _CONTAINER_MODE_ERROR, _CONTAINER_NOTIFY_GENERATION_INITIAL,
16191695 _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,
16211699 __container_notify_copy_notify_name, __container_query_get_next_result_sync,
16221700 __container_query_get_result_at_index, __container_query_get_servicing_pid,
16231701 __container_query_operation_set_private_flags, __container_query_reset_iterator,
......@@ -1631,8 +1709,9 @@ exports:
16311709 _container_audit_token_copy_entitlement, _container_audit_token_copy_executable_name,
16321710 _container_audit_token_copy_executable_name_with_pid, _container_audit_token_for_pid,
16331711 _container_audit_token_get_codesign_status, _container_audit_token_get_egid,
1634 _container_audit_token_get_euid, _container_audit_token_get_pid,
1635 _container_audit_token_get_platform, _container_audit_token_is_valid,
1712 _container_audit_token_get_euid, _container_audit_token_get_launch_persona,
1713 _container_audit_token_get_pid, _container_audit_token_get_platform,
1714 _container_audit_token_get_uid, _container_audit_token_is_valid,
16361715 _container_authorize, _container_authorize_container, _container_authorize_container_for_self,
16371716 _container_authorize_get_result_description, _container_base64_decode,
16381717 _container_base64_decode_string, _container_base64_encode,
......@@ -1642,10 +1721,12 @@ exports:
16421721 _container_class_supports_randomized_path, _container_class_supports_randomized_path_on_current_platform,
16431722 _container_client_copy_decoded_from_xpc_object, _container_client_copy_encoded_xpc_object,
16441723 _container_client_copy_entitlement, _container_client_create_from_audit_token,
1724 _container_client_create_from_audit_token_with_launch_persona,
16451725 _container_client_get_audit_token, _container_client_get_codesign_identifier,
16461726 _container_client_get_codesign_team_identifier, _container_client_get_egid,
1647 _container_client_get_euid, _container_client_get_persona_unique_string,
1648 _container_client_get_pid, _container_client_get_platform,
1727 _container_client_get_euid, _container_client_get_launch_persona,
1728 _container_client_get_persona_unique_string, _container_client_get_pid,
1729 _container_client_get_platform, _container_client_get_uid,
16491730 _container_client_initializer, _container_client_is_alive,
16501731 _container_client_is_platform_binary, _container_client_is_sandboxed,
16511732 _container_client_is_signature_valid, _container_client_is_signed,
......@@ -1665,6 +1746,7 @@ exports:
16651746 _container_create_or_lookup_path_for_current_user, _container_create_or_lookup_path_for_platform,
16661747 _container_create_or_lookup_system_group_paths, _container_create_or_lookup_user_managed_assets_path,
16671748 _container_create_or_lookup_user_managed_assets_relative_path,
1749 _container_debug_copy_state, _container_debug_dump_state,
16681750 _container_delete, _container_delete_all_container_content,
16691751 _container_delete_all_data_container_content_for_current_user,
16701752 _container_delete_array_of_containers, _container_delete_user_managed_assets,
......@@ -1685,6 +1767,7 @@ exports:
16851767 _container_frozenset_get_count, _container_frozenset_get_creator_of_container_at_index,
16861768 _container_frozenset_get_generation, _container_frozenset_get_identifier_of_container_at_index,
16871769 _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,
16881771 _container_frozenset_get_path_of_container_at_index, _container_frozenset_get_persona_unique_string_of_container_at_index,
16891772 _container_frozenset_get_stored_string, _container_frozenset_get_uid_of_container_at_index,
16901773 _container_frozenset_get_uma_relative_path_of_container_at_index,
......@@ -1692,11 +1775,12 @@ exports:
16921775 _container_frozenset_get_uuid_of_container_at_index, _container_fs_add_path_component,
16931776 _container_fs_append_trailing_slash, _container_fs_item_exists,
16941777 _container_fs_item_exists_at, _container_fs_load_plist_at,
1695 _container_fs_path_at, _container_fs_resolve_dirent_type_at,
1696 _container_get_all_with_class_for_current_user, _container_get_class,
1697 _container_get_creator_codesign_identifier, _container_get_error_description,
1698 _container_get_identifier, _container_get_info, _container_get_info_value_for_key,
1699 _container_get_path, _container_get_persona_unique_string,
1778 _container_fs_parse_mode_string, _container_fs_path_at, _container_fs_resolve_dirent_type_at,
1779 _container_fs_set_mode_string, _container_get_all_with_class_for_current_user,
1780 _container_get_class, _container_get_creator_codesign_identifier,
1781 _container_get_error_description, _container_get_identifier,
1782 _container_get_info, _container_get_info_value_for_key, _container_get_path,
1783 _container_get_persona_unique_string, _container_get_posix_ownership,
17001784 _container_get_uid, _container_get_unique_path_component,
17011785 _container_get_user_managed_assets_relative_path, _container_group_container_identifiers_for_current_user,
17021786 _container_info_delete, _container_info_modify, _container_info_put,
......@@ -1705,44 +1789,50 @@ exports:
17051789 _container_log_client_fault_logging_is_enabled, _container_log_error,
17061790 _container_log_error_with_faults, _container_log_ext_error,
17071791 _container_log_ext_error_with_faults, _container_log_handle_for_category,
1708 _container_log_replication_disable, _container_log_replication_enable_to_uid_relative_path,
1709 _container_log_replication_prune_for_uid, _container_log_set_client_fault_logging,
1792 _container_log_set_client_fault_logging, _container_notify_cancel_generation_handler,
17101793 _container_notify_create, _container_notify_create_with_class,
17111794 _container_notify_create_with_initial_gen_count, _container_notify_free,
17121795 _container_notify_get_generation, _container_notify_get_last_error,
17131796 _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,
17151799 _container_notify_set_flags, _container_notify_set_generation,
17161800 _container_notify_set_queue, _container_notify_set_uid, _container_notify_start,
17171801 _container_notify_stop, _container_object_copy, _container_object_create,
17181802 _container_object_create_blank, _container_object_free, _container_object_get_class,
17191803 _container_object_get_creator_codesign_identifier, _container_object_get_identifier,
17201804 _container_object_get_info, _container_object_get_path, _container_object_get_persona_unique_string,
1721 _container_object_get_query, _container_object_get_sandbox_token,
1722 _container_object_get_uid, _container_object_get_unique_path_component,
1723 _container_object_get_user_managed_assets_relative_path, _container_object_get_uuid,
1724 _container_object_is_new, _container_object_is_transient,
1805 _container_object_get_posix_ownership, _container_object_get_query,
1806 _container_object_get_sandbox_token, _container_object_get_uid,
1807 _container_object_get_unique_path_component, _container_object_get_user_managed_assets_relative_path,
1808 _container_object_get_uuid, _container_object_is_new, _container_object_is_transient,
17251809 _container_object_sandbox_extension_activate, _container_object_set_backing_store_from_query,
17261810 _container_object_set_class, _container_object_set_creator_codesign_identifier,
17271811 _container_object_set_info, _container_object_set_is_new,
1728 _container_object_set_path, _container_object_set_sandbox_token,
1729 _container_object_set_transient, _container_object_set_unique_path_component,
1730 _container_object_set_user_managed_assets_relative_path, _container_object_set_uuid,
1731 _container_object_update_metadata, _container_operation_complete_background_tasks,
1732 _container_operation_delete, _container_operation_delete_array,
1733 _container_operation_delete_reclaim_disk_space, _container_paths_context_create,
1812 _container_object_set_path, _container_object_set_posix_ownership,
1813 _container_object_set_sandbox_token, _container_object_set_transient,
1814 _container_object_set_unique_path_component, _container_object_set_user_managed_assets_relative_path,
1815 _container_object_set_uuid, _container_object_update_metadata,
1816 _container_operation_complete_background_tasks, _container_operation_delete,
1817 _container_operation_delete_array, _container_operation_delete_reclaim_disk_space,
1818 _container_operation_set_data_protection, _container_paths_context_create,
17341819 _container_paths_context_free, _container_paths_context_set_class,
17351820 _container_paths_context_set_flags, _container_paths_context_set_persona_unique_string,
17361821 _container_paths_context_set_transient, _container_paths_context_set_uid,
1737 _container_paths_copy_container_at, _container_paths_copy_container_from_path,
1738 _container_paths_copy_container_root_path_for_context, _container_paths_copy_part_subpath,
1739 _container_paths_copy_uid_home_relative, _container_paths_create_uid_home_relative,
1740 _container_paths_enumerate_containers_at, _container_perfect_hash_copyout_external_bytes,
1741 _container_perfect_hash_count, _container_perfect_hash_create,
1742 _container_perfect_hash_create_from_external_bytes, _container_perfect_hash_destroy,
1743 _container_perfect_hash_index_of, _container_perfect_hash_num_indexes,
1744 _container_perform_with_client_context, _container_persona_collect_all_ids,
1745 _container_persona_convert_unique_string_to_persona_uid, _container_persona_foreach,
1822 _container_paths_copy_container_at, _container_paths_copy_container_from_managed_prefix_path,
1823 _container_paths_copy_container_from_path, _container_paths_copy_container_root_path_for_context,
1824 _container_paths_copy_part_subpath, _container_paths_copy_uid_home_relative,
1825 _container_paths_create_uid_home_relative, _container_paths_enumerate_containers_at,
1826 _container_perfect_hash_copyout_external_bytes, _container_perfect_hash_count,
1827 _container_perfect_hash_create, _container_perfect_hash_create_from_external_bytes,
1828 _container_perfect_hash_destroy, _container_perfect_hash_index_of,
1829 _container_perfect_hash_num_indexes, _container_perform_with_client_context,
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,
17461836 _container_process_restored_container, _container_pwd_copy_user_home_path,
17471837 _container_pwd_for_name, _container_pwd_for_uid, _container_pwd_get_cached_current_user_home_path,
17481838 _container_pwd_get_mobile_user_uid, _container_query_copy,
......@@ -1752,8 +1842,9 @@ exports:
17521842 _container_query_iterate_results_with_subquery_sync, _container_query_operation_set_client,
17531843 _container_query_operation_set_flags, _container_query_operation_set_part,
17541844 _container_query_operation_set_part_domain, _container_query_operation_set_platform,
1755 _container_query_set_class, _container_query_set_group_identifiers,
1756 _container_query_set_identifiers, _container_query_set_include_other_owners,
1845 _container_query_set_class, _container_query_set_container_identifiers,
1846 _container_query_set_group_identifiers, _container_query_set_identifiers,
1847 _container_query_set_include_other_owners, _container_query_set_ownership,
17571848 _container_query_set_persona_unique_string, _container_query_set_transient,
17581849 _container_query_set_uid, _container_realpath, _container_realpathat,
17591850 _container_recreate_structure, _container_references_get_last_error,
......@@ -1763,7 +1854,8 @@ exports:
17631854 _container_sandbox_issue_extension, _container_seam_container_reset,
17641855 _container_seam_container_set_common, _container_seam_dispatch_reset,
17651856 _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,
17671859 _container_seam_notify_set_common, _container_seam_pwd_reset,
17681860 _container_seam_pwd_set_common, _container_seam_quarantine_reset,
17691861 _container_seam_quarantine_set_common, _container_seam_sandbox_reset,
......@@ -1791,10 +1883,12 @@ exports:
17911883 _container_user_managed_assets_relative_path, _container_xpc_connection_is_shared,
17921884 _container_xpc_create_connection, _container_xpc_decode_container_object,
17931885 _container_xpc_decode_create_container_object_array, _container_xpc_decode_error,
1886 _container_xpc_decode_ownership_object, _container_xpc_decode_persona_object,
17941887 _container_xpc_encode_client_onto_message, _container_xpc_encode_container_array,
17951888 _container_xpc_encode_container_as_object, _container_xpc_encode_container_metadata_as_object,
17961889 _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,
17981892 _container_xpc_get_outgoing_message_postprocess_block, _container_xpc_get_outgoing_message_send_block,
17991893 _container_xpc_get_raw_connection, _container_xpc_invalidate_connection,
18001894 _container_xpc_release, _container_xpc_send_message, _container_xpc_send_sync_message,
......@@ -1802,9 +1896,9 @@ exports:
18021896 _container_xpc_set_incoming_reply_preprocess_block, _container_xpc_set_outgoing_message_postprocess_block,
18031897 _container_xpc_set_outgoing_message_send_block, _container_xpc_set_use_shared_connection,
18041898 _container_xpc_shared_copy_connection, _gCMContainerSeam,
1805 _gCMDispatchSeam, _gCMFSSeam, _gCMNotifySeam, _gCMPWDSeam,
1806 _gCMQuarantineSeam, _gCMSandboxSeam ]
1807 - targets: [ x86_64-maccatalyst, arm64e-maccatalyst ]
1899 _gCMDispatchSeam, _gCMFSSeam, _gCMKPersonaSeam, _gCMNotifySeam,
1900 _gCMPWDSeam, _gCMQuarantineSeam, _gCMSandboxSeam ]
1901 - targets: [ x86_64-maccatalyst, arm64e-maccatalyst, arm64e.x1-maccatalyst ]
18081902 symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID,
18091903 _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths,
18101904 _container_create_or_lookup_group_container_paths_for_current_user,
......@@ -1818,32 +1912,38 @@ exports:
18181912 _container_references_set_uid ]
18191913--- !tapi-tbd
18201914tbd-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 ]
18221917install-name: '/usr/lib/system/libsystem_coreservices.dylib'
18231918current-version: 129
18241919parent-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 ]
18261922 umbrella: System
18271923exports:
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 ]
18291926 symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration,
18301927 _NSStartSearchPathEnumerationPrivate, ___user_local_dirname,
18311928 ___user_relative_dirname, __dirhelper, __dirhelper_relative,
18321929 __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix,
18331930 _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration,
18341931 _sysdir_start_search_path_enumeration_private ]
1835 - targets: [ x86_64-macos, arm64e-macos ]
1932 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
18361933 symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints,
18371934 __dirhelper_remove_test, __dirhelper_test, __idle_exit ]
18381935--- !tapi-tbd
18391936tbd-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 ]
18411939install-name: '/usr/lib/system/libsystem_darwin.dylib'
18421940parent-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 ]
18441943 umbrella: System
18451944exports:
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 ]
18471947 symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np,
18481948 _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np,
18491949 _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np,
......@@ -1853,46 +1953,52 @@ exports:
18531953 _os_crash_spawnattr_set_reporter_port, _os_enumerate_boot_args,
18541954 _os_enumerate_boot_args_b, _os_enumerate_boot_args_from_buffer,
18551955 _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,
1857 _os_mach_msg_get_context_trailer, _os_mach_msg_get_trailer,
1858 _os_mach_msg_trailer_copy_description, _os_mach_port_copy_description,
1859 _os_parse_boot_arg_from_buffer_int, _os_parse_boot_arg_from_buffer_string,
1860 _os_parse_boot_arg_int, _os_parse_boot_arg_string, _os_simple_hash,
1861 _os_simple_hash_string, _os_simple_hash_string_with_seed,
1862 _os_simple_hash_with_seed, _os_subcommand_fprintf, _os_subcommand_main,
1863 _os_subcommand_vfprintf, _os_variant_allows_internal_security_policies,
1864 _os_variant_allows_security_research, _os_variant_check, _os_variant_copy_description,
1865 _os_variant_has_factory_content, _os_variant_has_internal_content,
1866 _os_variant_has_internal_diagnostics, _os_variant_has_internal_ui,
1867 _os_variant_init_4launchd, _os_variant_is_darwinos, _os_variant_is_recovery,
1868 _os_variant_uses_ephemeral_storage, _realpath_np, _strerror_np,
1869 _strexit_np, _symerror_np, _symexit_np, _sysctl_get_data_np,
1870 _sysctlbyname_get_data_np, _sysexit_np, _vcrfprintf_np, _verr_np,
1871 _verrc_np, _vwarn_np, _vwfprintf_np, _warn_np, _wfprintf_np,
1872 _xferfd_np, _zsnprintf_np ]
1873 - targets: [ x86_64-macos, arm64e-macos ]
1956 _os_localtime_file, _os_lockdown_mode_enabled, _os_mach_msg_copy_description,
1957 _os_mach_msg_get_audit_trailer, _os_mach_msg_get_context_trailer,
1958 _os_mach_msg_get_trailer, _os_mach_msg_trailer_copy_description,
1959 _os_mach_port_copy_description, _os_parse_boot_arg_from_buffer_int,
1960 _os_parse_boot_arg_from_buffer_string, _os_parse_boot_arg_int,
1961 _os_parse_boot_arg_string, _os_simple_hash, _os_simple_hash_string,
1962 _os_simple_hash_string_with_seed, _os_simple_hash_with_seed,
1963 _os_subcommand_fprintf, _os_subcommand_main, _os_subcommand_vfprintf,
1964 _os_variant_allows_internal_security_policies, _os_variant_allows_security_research,
1965 _os_variant_check, _os_variant_copy_description, _os_variant_has_factory_content,
1966 _os_variant_has_internal_content, _os_variant_has_internal_diagnostics,
1967 _os_variant_has_internal_ui, _os_variant_init_4launchd, _os_variant_is_darwinos,
1968 _os_variant_is_recovery, _os_variant_uses_ephemeral_storage,
1969 _realpath_np, _strerror_np, _strexit_np, _symerror_np, _symexit_np,
1970 _sysctl_get_data_np, _sysctlbyname_get_data_np, _sysexit_np,
1971 _vcrfprintf_np, _verr_np, _verrc_np, _vwarn_np, _vwfprintf_np,
1972 _warn_np, _wfprintf_np, _xferfd_np, _zsnprintf_np ]
1973 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
18741974 symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ]
18751975--- !tapi-tbd
18761976tbd-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 ]
18781979install-name: '/usr/lib/system/libsystem_darwindirectory.dylib'
18791980parent-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 ]
18811983 umbrella: System
18821984exports:
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 ]
18841987 symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply,
18851988 _DarwinDirectoryRecordStoreApplyWithFilter ]
18861989--- !tapi-tbd
18871990tbd-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 ]
18891993install-name: '/usr/lib/system/libsystem_dnssd.dylib'
1890current-version: 2881.120.11
1994current-version: 3111.0.5
18911995parent-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 ]
18931998 umbrella: System
18941999exports:
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 ]
18962002 symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree,
18972003 _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData,
18982004 _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate,
......@@ -1920,42 +2026,49 @@ exports:
19202026 _kDNSServiceAttributeAAAAFallback ]
19212027--- !tapi-tbd
19222028tbd-version: 4
1923targets: [ x86_64-macos, arm64e-macos ]
2029targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
19242030install-name: '/usr/lib/system/libsystem_eligibility.dylib'
1925current-version: 319.121.1
2031current-version: 446.1.3
19262032parent-umbrella:
1927 - targets: [ x86_64-macos, arm64e-macos ]
2033 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
19282034 umbrella: System
19292035exports:
1930 - targets: [ x86_64-macos, arm64e-macos ]
1931 symbols: [ _os_eligibility_domain_for_name, _os_eligibility_dump_sysdiagnose_data_to_dir,
1932 _os_eligibility_fetch_newest_policies, _os_eligibility_force_domain_answer,
1933 _os_eligibility_force_domain_set_answers, _os_eligibility_get_all_domain_answers,
1934 _os_eligibility_get_domain_answer, _os_eligibility_get_domain_notification_name,
1935 _os_eligibility_get_error_description, _os_eligibility_get_internal_state,
1936 _os_eligibility_get_state_dump, _os_eligibility_precise_locations,
1937 _os_eligibility_reset_all_domains, _os_eligibility_reset_domain,
1938 _os_eligibility_set_input, _os_eligibility_set_test_mode ]
2036 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
2037 symbols: [ _os_eligibility_bring_up_daemon_4_migration, _os_eligibility_bring_up_daemon_4_secure_erase,
2038 _os_eligibility_diff_mobile_asset, _os_eligibility_domain_for_name,
2039 _os_eligibility_dump_sysdiagnose_data_to_dir, _os_eligibility_fetch_newest_policies,
2040 _os_eligibility_force_domain_answer, _os_eligibility_force_domain_set_answers,
2041 _os_eligibility_get_all_domain_answers, _os_eligibility_get_domain_answer,
2042 _os_eligibility_get_domain_notification_name, _os_eligibility_get_error_description,
2043 _os_eligibility_get_internal_state, _os_eligibility_get_state_dump,
2044 _os_eligibility_precise_locations, _os_eligibility_reset_all_domains,
2045 _os_eligibility_reset_domain, _os_eligibility_set_input, _os_eligibility_set_test_mode ]
19392046--- !tapi-tbd
19402047tbd-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 ]
19422050install-name: '/usr/lib/system/libsystem_featureflags.dylib'
1943current-version: 103
2051current-version: 108
19442052parent-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 ]
19462055 umbrella: System
19472056exports:
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 ]
19492059 symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ]
19502060--- !tapi-tbd
19512061tbd-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 ]
19532064install-name: '/usr/lib/system/libsystem_info.dylib'
19542065parent-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 ]
19562068 umbrella: System
19572069exports:
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 ]
19592072 symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create,
19602073 _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname,
19612074 __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized,
......@@ -2071,12 +2184,12 @@ exports:
20712184--- !tapi-tbd
20722185tbd-version: 4
20732186targets: [ 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 ]
20752188install-name: '/usr/lib/system/libsystem_kernel.dylib'
2076current-version: 12377.121.6
2189current-version: 13432.1.9
20772190parent-umbrella:
20782191 - 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 ]
20802193 umbrella: System
20812194exports:
20822195 - targets: [ x86_64-macos, x86_64-maccatalyst ]
......@@ -2084,7 +2197,7 @@ exports:
20842197 '_getfsstat$INODE64', _i386_get_ldt, _i386_set_ldt, '_lstat$INODE64',
20852198 '_pselect$1050', '_select$1050', '_stat$INODE64', '_statfs$INODE64' ]
20862199 - 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 ]
20882201 symbols: [ _NDR_record, _____sigwait_nocancel, ____kernelVersionNumber,
20892202 ____kernelVersionString, ___abort_with_payload, ___accept,
20902203 ___accept_nocancel, ___access_extended, ___aio_suspend_nocancel,
......@@ -2097,16 +2210,16 @@ exports:
20972210 ___csrctl, ___darwin_check_fd_set_overflow, ___debug_syscall_reject,
20982211 ___debug_syscall_reject_config, ___delete, ___disable_threadsignal,
20992212 ___error, ___execve, ___exit, ___fchmod, ___fchmod_extended,
2100 ___fcntl, ___fcntl_nocancel, ___fork, ___fs_snapshot, ___fstat64_extended,
2101 ___fstat_extended, ___fsync_nocancel, ___get_remove_counter,
2102 ___getattrlist, ___getdirentries64, ___gethostuuid, ___getlogin,
2103 ___getpeername, ___getpid, ___getrlimit, ___getsgroups, ___getsockname,
2104 ___gettid, ___gettimeofday, ___getwgroups, ___guarded_open_dprotected_np,
2105 ___guarded_open_np, ___identitysvc, ___inc_remove_counter,
2106 ___initgroups, ___ioctl, ___iopolicysys, ___kdebug_trace,
2107 ___kdebug_trace64, ___kdebug_trace_string, ___kdebug_typefilter,
2108 ___kill, ___kqueue_workloop_ctl, ___lchown, ___libkernel_init,
2109 ___libkernel_init_after_boot_tasks, ___libkernel_init_late,
2213 ___fchmodat, ___fcntl, ___fcntl_nocancel, ___fork, ___fs_snapshot,
2214 ___fstat64_extended, ___fstat_extended, ___fsync_nocancel,
2215 ___get_remove_counter, ___getattrlist, ___getdirentries64,
2216 ___gethostuuid, ___getlogin, ___getpeername, ___getpid, ___getrlimit,
2217 ___getsgroups, ___getsockname, ___gettid, ___gettimeofday,
2218 ___getwgroups, ___guarded_open_dprotected_np, ___guarded_open_np,
2219 ___identitysvc, ___inc_remove_counter, ___initgroups, ___ioctl,
2220 ___iopolicysys, ___kdebug_trace, ___kdebug_trace64, ___kdebug_trace_string,
2221 ___kdebug_typefilter, ___kill, ___kqueue_workloop_ctl, ___lchown,
2222 ___libkernel_init, ___libkernel_init_after_boot_tasks, ___libkernel_init_late,
21102223 ___libkernel_platform_init, ___libkernel_voucher_init, ___listen,
21112224 ___log_data, ___lseek, ___lstat64_extended, ___lstat_extended,
21122225 ___mac_execve, ___mac_get_fd, ___mac_get_file, ___mac_get_link,
......@@ -2124,20 +2237,20 @@ exports:
21242237 ___openat_nocancel, ___os_nexus_flow_add, ___os_nexus_flow_del,
21252238 ___os_nexus_get_llink_info, ___os_nexus_ifattach, ___os_nexus_ifdetach,
21262239 ___oslog_coproc, ___oslog_coproc_reg, ___persona, ___pipe,
2127 ___poll_nocancel, ___posix_spawn, ___pread_nocancel, ___preadv_nocancel,
2128 ___proc_info, ___proc_info_extended_id, ___process_policy,
2129 ___pselect, ___pselect_nocancel, ___psynch_cvbroad, ___psynch_cvclrprepost,
2130 ___psynch_cvsignal, ___psynch_cvwait, ___psynch_mutexdrop,
2131 ___psynch_mutexwait, ___psynch_rw_downgrade, ___psynch_rw_longrdlock,
2132 ___psynch_rw_rdlock, ___psynch_rw_unlock, ___psynch_rw_unlock2,
2133 ___psynch_rw_upgrade, ___psynch_rw_wrlock, ___psynch_rw_yieldwrlock,
2134 ___pthread_canceled, ___pthread_chdir, ___pthread_fchdir,
2135 ___pthread_kill, ___pthread_markcancel, ___pthread_sigmask,
2136 ___ptrace, ___pwrite_nocancel, ___pwritev_nocancel, ___read_nocancel,
2137 ___readv_nocancel, ___reboot, ___record_system_event, ___recvfrom,
2138 ___recvfrom_nocancel, ___recvmsg, ___recvmsg_nocancel, ___rename,
2139 ___renameat, ___renameatx_np, ___rmdir, ___sandbox_me, ___sandbox_mm,
2140 ___sandbox_ms, ___sandbox_msp, ___select, ___select_nocancel,
2240 ___pipe2, ___poll_nocancel, ___posix_spawn, ___pread_nocancel,
2241 ___preadv_nocancel, ___proc_info, ___proc_info_extended_id,
2242 ___process_policy, ___pselect, ___pselect_nocancel, ___psynch_cvbroad,
2243 ___psynch_cvclrprepost, ___psynch_cvsignal, ___psynch_cvwait,
2244 ___psynch_mutexdrop, ___psynch_mutexwait, ___psynch_rw_downgrade,
2245 ___psynch_rw_longrdlock, ___psynch_rw_rdlock, ___psynch_rw_unlock,
2246 ___psynch_rw_unlock2, ___psynch_rw_upgrade, ___psynch_rw_wrlock,
2247 ___psynch_rw_yieldwrlock, ___pthread_canceled, ___pthread_chdir,
2248 ___pthread_fchdir, ___pthread_kill, ___pthread_markcancel,
2249 ___pthread_sigmask, ___ptrace, ___pwrite_nocancel, ___pwritev_nocancel,
2250 ___read_nocancel, ___readv_nocancel, ___reboot, ___record_system_event,
2251 ___recvfrom, ___recvfrom_nocancel, ___recvmsg, ___recvmsg_nocancel,
2252 ___rename, ___renameat, ___renameatx_np, ___rmdir, ___sandbox_me,
2253 ___sandbox_mm, ___sandbox_ms, ___sandbox_msp, ___select, ___select_nocancel,
21412254 ___sem_open, ___sem_wait_nocancel, ___semctl, ___semsys, ___semwait_signal,
21422255 ___semwait_signal_nocancel, ___sendmsg, ___sendmsg_nocancel,
21432256 ___sendto, ___sendto_nocancel, ___setattrlist, ___setlogin,
......@@ -2203,13 +2316,14 @@ exports:
22032316 _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL',
22042317 _access, _accessx_np, _acct, _act_get_state, _act_set_state,
22052318 _adjtime, _aio_cancel, _aio_error, _aio_fsync, _aio_read,
2206 _aio_return, _aio_suspend, '_aio_suspend$NOCANCEL', _aio_write,
2207 _audit, _audit_session_join, _audit_session_port, _audit_session_self,
2208 _auditctl, _auditon, _bind, _bootstrap_port, _cerror, _cerror_nocancel,
2209 _change_fdguard_np, _chdir, _chflags, _chmod, _chown, _chroot,
2210 _clock_alarm, _clock_alarm_reply, _clock_get_attributes, _clock_get_time,
2211 _clock_set_attributes, _clock_set_time, _clock_sleep, _clock_sleep_trap,
2212 _clonefile, _clonefileat, _close, '_close$NOCANCEL', _coalition_create,
2319 _aio_readv, _aio_return, _aio_suspend, '_aio_suspend$NOCANCEL',
2320 _aio_write, _aio_writev, _audit, _audit_session_join, _audit_session_port,
2321 _audit_session_self, _auditctl, _auditon, _bind, _bootstrap_port,
2322 _cerror, _cerror_nocancel, _change_fdguard_np, _chdir, _chflags,
2323 _chmod, _chown, _chroot, _clock_alarm, _clock_alarm_reply,
2324 _clock_get_attributes, _clock_get_time, _clock_set_attributes,
2325 _clock_set_time, _clock_sleep, _clock_sleep_trap, _clonefile,
2326 _clonefileat, _close, '_close$NOCANCEL', _coalition_create,
22132327 _coalition_info_debug_info, _coalition_info_pid_list, _coalition_info_resource_usage,
22142328 _coalition_info_set_efficiency, _coalition_info_set_name,
22152329 _coalition_ledger_set_logical_writes_limit, _coalition_policy_get,
......@@ -2217,43 +2331,47 @@ exports:
22172331 _connect, '_connect$NOCANCEL', _connectx, _csops, _csops_audittoken,
22182332 _csr_check, _csr_get_active_config, _debug_control_port_for_pid,
22192333 _debug_syscall_reject, _debug_syscall_reject_config, _denap_boost_assertion_token,
2220 _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server,
2221 _exc_server_routine, _exception_raise, _exception_raise_state,
2222 _exception_raise_state_identity, _exchangedata, _exclaves_aoe_enumerate_and_setup_services,
2223 _exclaves_aoe_get_all_service_infos, _exclaves_aoe_message_loop,
2224 _exclaves_aoe_message_loop_with_service_id, _exclaves_aoe_setup,
2225 _exclaves_aoe_work_loop, _exclaves_aoe_work_loop_with_service_id,
2334 _disableiopolicy_np, _disconnectx, _dup, _dup2, _dup3, _enableiopolicy_np,
2335 _errno, _etap_trace_thread, _exc_server, _exc_server_routine,
2336 _exception_raise, _exception_raise_state, _exception_raise_state_identity,
2337 _exchangedata, _exclaves_aoe_enumerate_and_setup_services,
2338 _exclaves_aoe_get_all_service_infos, _exclaves_aoe_message_loop_with_service_id,
2339 _exclaves_aoe_setup, _exclaves_aoe_work_loop_with_service_id,
22262340 _exclaves_arbitrated_buffer_copyout, _exclaves_arbitrated_buffer_create,
22272341 _exclaves_audio_buffer_copyout, _exclaves_audio_buffer_copyout_with_status,
2228 _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_daemon_notification_deregister,
2229 _exclaves_daemon_notification_register, _exclaves_endpoint_call,
2230 _exclaves_inbound_buffer_copyin, _exclaves_inbound_buffer_create,
2231 _exclaves_indicator_min_on_time, _exclaves_launch_conclave,
2232 _exclaves_lookup_service, _exclaves_named_buffer_copyin, _exclaves_named_buffer_copyout,
2233 _exclaves_named_buffer_create, _exclaves_notification_create,
2234 _exclaves_outbound_buffer_copyout, _exclaves_outbound_buffer_create,
2235 _exclaves_sensor_create, _exclaves_sensor_start, _exclaves_sensor_status,
2236 _exclaves_sensor_stop, _execve, _faccessat, _fchdir, _fchflags,
2237 _fchmod, _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl,
2238 '_fcntl$NOCANCEL', _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr,
2239 _fhopen, _fileport_makefd, _fileport_makeport, _flistxattr,
2240 _flock, _fmount, _fpathconf, _freadlink, _fremovexattr, _fs_snapshot_create,
2241 _fs_snapshot_delete, _fs_snapshot_list, _fs_snapshot_mount,
2242 _fs_snapshot_rename, _fs_snapshot_revert, _fs_snapshot_root,
2243 _fsctl, _fsetattrlist, _fsetxattr, _fsgetpath, _fsgetpath_ext,
2244 _fstat, _fstat64, _fstatat, _fstatat64, _fstatfs, _fstatfs64,
2245 _fstatfs_ext, _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount,
2246 _futimens, _futimes, _getattrlist, _getattrlistat, _getattrlistbulk,
2342 _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_c2cc_recv_loop,
2343 _exclaves_conclave_enable_c2cc_recv, _exclaves_daemon_notification_deregister,
2344 _exclaves_daemon_notification_register, _exclaves_device_state,
2345 _exclaves_endpoint_call, _exclaves_exsurfaceroot_connection_create,
2346 _exclaves_exsurfaceroot_surface_usecount_update, _exclaves_inbound_buffer_copyin,
2347 _exclaves_inbound_buffer_create, _exclaves_indicator_min_on_time,
2348 _exclaves_launch_conclave, _exclaves_lookup_service, _exclaves_named_buffer_copyin,
2349 _exclaves_named_buffer_copyout, _exclaves_named_buffer_create,
2350 _exclaves_notification_create, _exclaves_outbound_buffer_copyout,
2351 _exclaves_outbound_buffer_create, _exclaves_sensor_create,
2352 _exclaves_sensor_start, _exclaves_sensor_status, _exclaves_sensor_stop,
2353 _exclaves_stats_count, _exclaves_stats_describe, _exclaves_stats_read,
2354 _execve, _faccessat, _fchdir, _fchflags, _fchflagsat, _fchmod,
2355 _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl, '_fcntl$NOCANCEL',
2356 _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, _fhopen, _fileport_makefd,
2357 _fileport_makeport, _flistxattr, _flock, _fmount, _fpathconf,
2358 _freadlink, _fremovexattr, _fs_snapshot_create, _fs_snapshot_delete,
2359 _fs_snapshot_list, _fs_snapshot_mount, _fs_snapshot_rename,
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,
22472365 _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr,
22482366 _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat,
22492367 _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np,
22502368 _getitimer, _getpeername, _getpgid, _getpgrp, _getpid, _getppid,
22512369 _getpriority, _getrlimit, _getrusage, _getsgroups_np, _getsid,
2252 _getsockname, _getsockopt, _getuid, _getwgroups_np, _getxattr,
2253 _grab_pgo_data, _graftdmg, _guarded_close_np, _guarded_kqueue_np,
2254 _guarded_open_dprotected_np, _guarded_open_np, _guarded_pwrite_np,
2255 _guarded_write_np, _guarded_writev_np, _host_check_multiuser_mode,
2256 _host_create_mach_voucher, _host_create_mach_voucher_trap,
2370 _getsockname, _getsockopt, _getuid, _getumask, _getwgroups_np,
2371 _getxattr, _grab_pgo_data, _graftdmg, _guarded_close_np, _guarded_ftruncate_np,
2372 _guarded_kqueue_np, _guarded_open_dprotected_np, _guarded_open_np,
2373 _guarded_pwrite_np, _guarded_write_np, _guarded_writev_np,
2374 _host_check_multiuser_mode, _host_create_mach_voucher, _host_create_mach_voucher_trap,
22572375 _host_default_memory_manager, _host_get_UNDServer, _host_get_atm_diagnostic_flag,
22582376 _host_get_boot_info, _host_get_clock_control, _host_get_clock_service,
22592377 _host_get_exception_ports, _host_get_io_main, _host_get_io_master,
......@@ -2276,25 +2394,26 @@ exports:
22762394 _kill, _kmod_control, _kmod_create, _kmod_destroy, _kmod_get_info,
22772395 _kpersona_alloc, _kpersona_dealloc, _kpersona_find, _kpersona_find_by_type,
22782396 _kpersona_get, _kpersona_getpath, _kpersona_info, _kpersona_palloc,
2279 _kpersona_pidinfo, _kqueue, _lchown, _ledger, _link, _linkat,
2280 _lio_listio, _listen, _listxattr, _lock_set_create, _lock_set_destroy,
2281 _log_data_as_kernel, _lseek, _lstat, _lstat64, _mach_absolute_time,
2282 _mach_approximate_time, _mach_boottime_usec, _mach_continuous_approximate_time,
2283 _mach_continuous_time, _mach_error, _mach_error_full_diag,
2284 _mach_error_string, _mach_error_type, _mach_eventlink_associate,
2285 _mach_eventlink_create, _mach_eventlink_destroy, _mach_eventlink_disassociate,
2286 _mach_eventlink_signal, _mach_eventlink_signal_wait_until,
2397 _kpersona_pidinfo, _kpersona_pidinfo_audit_token, _kqueue,
2398 _lchown, _ledger, _link, _linkat, _lio_listio, _listen, _listxattr,
2399 _lock_set_create, _lock_set_destroy, _log_data_as_kernel,
2400 _lseek, _lstat, _lstat64, _mach_absolute_time, _mach_approximate_time,
2401 _mach_boottime_usec, _mach_continuous_approximate_time, _mach_continuous_time,
2402 _mach_error, _mach_error_full_diag, _mach_error_string, _mach_error_type,
2403 _mach_eventlink_associate, _mach_eventlink_create, _mach_eventlink_destroy,
2404 _mach_eventlink_disassociate, _mach_eventlink_signal, _mach_eventlink_signal_wait_until,
22872405 _mach_eventlink_wait_until, _mach_generate_activity_id, _mach_get_times,
22882406 _mach_host_self, _mach_host_special_port_description, _mach_host_special_port_for_id,
22892407 _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64,
22902408 _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts,
22912409 _mach_memory_entry_ownership, _mach_memory_entry_purgable_control,
2292 _mach_memory_info, _mach_memory_info_redacted, _mach_memory_object_memory_entry,
2293 _mach_memory_object_memory_entry_64, _mach_msg, _mach_msg2_internal,
2294 _mach_msg2_trap, _mach_msg_destroy, _mach_msg_overwrite, _mach_msg_overwrite_trap,
2295 _mach_msg_priority_encode, _mach_msg_priority_is_pthread_priority,
2296 _mach_msg_priority_overide_qos, _mach_msg_priority_qos, _mach_msg_priority_relpri,
2297 _mach_msg_receive, _mach_msg_send, _mach_msg_server, _mach_msg_server_importance,
2410 _mach_memory_entry_region_info, _mach_memory_info, _mach_memory_info_redacted,
2411 _mach_memory_object_memory_entry, _mach_memory_object_memory_entry_64,
2412 _mach_msg, _mach_msg2_internal, _mach_msg2_trap, _mach_msg_destroy,
2413 _mach_msg_overwrite, _mach_msg_overwrite_trap, _mach_msg_priority_encode,
2414 _mach_msg_priority_is_pthread_priority, _mach_msg_priority_overide_qos,
2415 _mach_msg_priority_qos, _mach_msg_priority_relpri, _mach_msg_receive,
2416 _mach_msg_send, _mach_msg_server, _mach_msg_server_importance,
22982417 _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name,
22992418 _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed,
23002419 _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full,
......@@ -2423,7 +2542,7 @@ exports:
24232542 _os_packet_trace_event, _os_proc_available_memory, _panic,
24242543 _panic_init, _panic_with_data, _pathconf, _peeloff, _pid_for_task,
24252544 _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',
24272546 _port_obj_init, _port_obj_table, _port_obj_table_size, _posix_madvise,
24282547 _posix_spawn, _posix_spawn_file_actions_add_fileportdup2_np,
24292548 _posix_spawn_file_actions_addchdir, _posix_spawn_file_actions_addchdir_np,
......@@ -2433,6 +2552,7 @@ exports:
24332552 _posix_spawn_file_actions_destroy, _posix_spawn_file_actions_init,
24342553 _posix_spawnattr_destroy, _posix_spawnattr_disable_ptr_auth_a_keys_np,
24352554 _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,
24362556 _posix_spawnattr_getarchpref_np, _posix_spawnattr_getbinpref_np,
24372557 _posix_spawnattr_getcpumonitor, _posix_spawnattr_getflags,
24382558 _posix_spawnattr_getmacpolicyinfo_np, _posix_spawnattr_getpcontrol_np,
......@@ -2452,62 +2572,64 @@ exports:
24522572 _posix_spawnattr_set_persona_uid_np, _posix_spawnattr_set_platform_np,
24532573 _posix_spawnattr_set_portlimits_ext, _posix_spawnattr_set_ptrauth_task_port_np,
24542574 _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,
2456 _posix_spawnattr_set_threadlimit_ext, _posix_spawnattr_set_uid_np,
2457 _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_setarchpref_np,
2458 _posix_spawnattr_setauditsessionport_np, _posix_spawnattr_setbinpref_np,
2459 _posix_spawnattr_setcoalition_np, _posix_spawnattr_setcpumonitor,
2460 _posix_spawnattr_setcpumonitor_default, _posix_spawnattr_setdataless_iopolicy_np,
2461 _posix_spawnattr_setexceptionports_np, _posix_spawnattr_setflags,
2462 _posix_spawnattr_setjetsam_ext, _posix_spawnattr_setmacpolicyinfo_np,
2463 _posix_spawnattr_setnosmt_np, _posix_spawnattr_setpcontrol_np,
2464 _posix_spawnattr_setpgroup, _posix_spawnattr_setprocesstype_np,
2465 _posix_spawnattr_setsigdefault, _posix_spawnattr_setsigmask,
2466 _posix_spawnattr_setspecialport_np, _pread, '_pread$NOCANCEL',
2467 _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits, _proc_clear_delayidlesleep,
2468 _proc_clear_dirty, _proc_clear_vmpressure, _proc_current_thread_schedinfo,
2469 _proc_denap_assertion_begin_with_msg, _proc_denap_assertion_complete,
2470 _proc_disable_apptype, _proc_disable_cpumon, _proc_disable_wakemon,
2471 _proc_donate_importance_boost, _proc_enable_apptype, _proc_get_cpumon_params,
2472 _proc_get_dirty, _proc_get_wakemon_params, _proc_importance_assertion_begin_with_msg,
2473 _proc_importance_assertion_complete, _proc_kmsgbuf, _proc_libversion,
2474 _proc_list_dynkqueueids, _proc_list_uptrs, _proc_listallpids,
2475 _proc_listchildpids, _proc_listcoalitions, _proc_listpgrppids,
2476 _proc_listpids, _proc_listpidspath, _proc_name, _proc_pid_rusage,
2477 _proc_piddynkqueueinfo, _proc_pidfdinfo, _proc_pidfileportinfo,
2478 _proc_pidinfo, _proc_pidoriginatorinfo, _proc_pidpath, _proc_pidpath_audittoken,
2479 _proc_regionfilename, _proc_reset_footprint_interval, _proc_resume_cpumon,
2480 _proc_rlimit_control, _proc_set_cpumon_defaults, _proc_set_cpumon_params,
2481 _proc_set_cpumon_params_fatal, _proc_set_csm, _proc_set_delayidlesleep,
2482 _proc_set_dirty, _proc_set_no_smt, _proc_set_owner_vmpressure,
2483 _proc_set_wakemon_defaults, _proc_set_wakemon_params, _proc_setcpu_percentage,
2484 _proc_setpcontrol, _proc_setthread_cpupercent, _proc_setthread_csm,
2485 _proc_setthread_no_smt, _proc_signal_delegate, _proc_signal_with_audittoken,
2486 _proc_suppress, _proc_terminate, _proc_terminate_all_rsr,
2487 _proc_terminate_delegate, _proc_terminate_with_audittoken,
2488 _proc_trace_log, _proc_track_dirty, _proc_udata_info, _proc_uuid_policy,
2489 _processor_assign, _processor_control, _processor_exit, _processor_get_assignment,
2490 _processor_info, _processor_set_create, _processor_set_default,
2491 _processor_set_destroy, _processor_set_info, _processor_set_max_priority,
2492 _processor_set_policy_control, _processor_set_policy_disable,
2493 _processor_set_policy_enable, _processor_set_stack_usage,
2494 _processor_set_statistics, _processor_set_tasks, _processor_set_tasks_with_flavor,
2495 _processor_set_threads, _processor_start, _pselect, '_pselect$DARWIN_EXTSN',
2496 '_pselect$DARWIN_EXTSN$NOCANCEL', '_pselect$NOCANCEL', _pthread_getugid_np,
2497 _pthread_setugid_np, _ptrace, _pwrite, '_pwrite$NOCANCEL',
2498 _pwritev, '_pwritev$NOCANCEL', _quota, _quotactl, _read, '_read$NOCANCEL',
2499 _readlink, _readlinkat, _readv, '_readv$NOCANCEL', _reboot,
2500 _reboot_np, _record_system_event_as_kernel, _recvfrom, '_recvfrom$NOCANCEL',
2501 _recvmsg, '_recvmsg$NOCANCEL', _recvmsg_x, _register_uexc_handler,
2502 _removexattr, _rename, _rename_ext, _renameat, _renameatx_np,
2503 _renamex_np, _revoke, _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN',
2504 '_select$DARWIN_EXTSN$NOCANCEL', '_select$NOCANCEL', _sem_close,
2505 _sem_destroy, _sem_getvalue, _sem_init, _sem_open, _sem_post,
2506 _sem_trywait, _sem_unlink, _sem_wait, '_sem_wait$NOCANCEL',
2507 _semaphore_create, _semaphore_destroy, _semaphore_signal,
2508 _semaphore_signal_all, _semaphore_signal_all_trap, _semaphore_signal_thread,
2509 _semaphore_signal_thread_trap, _semaphore_signal_trap, _semaphore_timedwait,
2510 _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap,
2575 _posix_spawnattr_set_shared_region_config_np, _posix_spawnattr_set_shared_region_namespace_np,
2576 _posix_spawnattr_set_subsystem_root_path_np, _posix_spawnattr_set_task_security_policy_np,
2577 _posix_spawnattr_set_telemetry_np, _posix_spawnattr_set_threadlimit_ext,
2578 _posix_spawnattr_set_uid_np, _posix_spawnattr_set_use_sanitizers_np,
2579 _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_set_virtual_env_np,
2580 _posix_spawnattr_setarchpref_np, _posix_spawnattr_setauditsessionport_np,
2581 _posix_spawnattr_setbinpref_np, _posix_spawnattr_setcoalition_np,
2582 _posix_spawnattr_setcpumonitor, _posix_spawnattr_setcpumonitor_default,
2583 _posix_spawnattr_setdataless_iopolicy_np, _posix_spawnattr_setexceptionports_np,
2584 _posix_spawnattr_setflags, _posix_spawnattr_setjetsam_ext,
2585 _posix_spawnattr_setmacpolicyinfo_np, _posix_spawnattr_setnosmt_np,
2586 _posix_spawnattr_setpcontrol_np, _posix_spawnattr_setpgroup,
2587 _posix_spawnattr_setprocesstype_np, _posix_spawnattr_setsigdefault,
2588 _posix_spawnattr_setsigmask, _posix_spawnattr_setspecialport_np,
2589 _pread, '_pread$NOCANCEL', _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits,
2590 _proc_clear_delayidlesleep, _proc_clear_dirty, _proc_clear_vmpressure,
2591 _proc_current_thread_schedinfo, _proc_denap_assertion_begin_with_msg,
2592 _proc_denap_assertion_complete, _proc_disable_apptype, _proc_disable_cpumon,
2593 _proc_disable_wakemon, _proc_donate_importance_boost, _proc_enable_apptype,
2594 _proc_get_cpumon_params, _proc_get_dirty, _proc_get_wakemon_params,
2595 _proc_importance_assertion_begin_with_msg, _proc_importance_assertion_complete,
2596 _proc_kmsgbuf, _proc_libversion, _proc_list_dynkqueueids,
2597 _proc_list_uptrs, _proc_listallpids, _proc_listchildpids,
2598 _proc_listcoalitions, _proc_listpgrppids, _proc_listpids,
2599 _proc_listpidspath, _proc_name, _proc_pid_rusage, _proc_piddynkqueueinfo,
2600 _proc_pidfdinfo, _proc_pidfileportinfo, _proc_pidinfo, _proc_pidoriginatorinfo,
2601 _proc_pidpath, _proc_pidpath_audittoken, _proc_regionfilename,
2602 _proc_reset_footprint_interval, _proc_resume_cpumon, _proc_rlimit_control,
2603 _proc_set_cpumon_defaults, _proc_set_cpumon_params, _proc_set_cpumon_params_fatal,
2604 _proc_set_csm, _proc_set_delayidlesleep, _proc_set_dirty,
2605 _proc_set_no_smt, _proc_set_owner_vmpressure, _proc_set_wakemon_defaults,
2606 _proc_set_wakemon_params, _proc_setcpu_percentage, _proc_setpcontrol,
2607 _proc_setthread_cpupercent, _proc_setthread_csm, _proc_setthread_no_smt,
2608 _proc_signal_delegate, _proc_signal_with_audittoken, _proc_suppress,
2609 _proc_terminate, _proc_terminate_all_rsr, _proc_terminate_delegate,
2610 _proc_terminate_with_audittoken, _proc_trace_log, _proc_track_dirty,
2611 _proc_udata_info, _proc_uuid_policy, _processor_assign, _processor_control,
2612 _processor_exit, _processor_get_assignment, _processor_info,
2613 _processor_set_create, _processor_set_default, _processor_set_destroy,
2614 _processor_set_info, _processor_set_max_priority, _processor_set_policy_control,
2615 _processor_set_policy_disable, _processor_set_policy_enable,
2616 _processor_set_stack_usage, _processor_set_statistics, _processor_set_tasks,
2617 _processor_set_tasks_with_flavor, _processor_set_threads,
2618 _processor_start, _pselect, '_pselect$DARWIN_EXTSN', '_pselect$DARWIN_EXTSN$NOCANCEL',
2619 '_pselect$NOCANCEL', _pthread_getugid_np, _pthread_setugid_np,
2620 _ptrace, _pwrite, '_pwrite$NOCANCEL', _pwritev, '_pwritev$NOCANCEL',
2621 _quota, _quotactl, _read, '_read$NOCANCEL', _readlink, _readlinkat,
2622 _readv, '_readv$NOCANCEL', _reboot, _reboot_np, _record_system_event_as_kernel,
2623 _recvfrom, '_recvfrom$NOCANCEL', _recvmsg, '_recvmsg$NOCANCEL',
2624 _recvmsg_x, _register_uexc_handler, _removexattr, _rename,
2625 _rename_ext, _renameat, _renameatx_np, _renamex_np, _revoke,
2626 _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', '_select$DARWIN_EXTSN$NOCANCEL',
2627 '_select$NOCANCEL', _sem_close, _sem_destroy, _sem_getvalue,
2628 _sem_init, _sem_open, _sem_post, _sem_trywait, _sem_unlink,
2629 _sem_wait, '_sem_wait$NOCANCEL', _semaphore_create, _semaphore_destroy,
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,
25112633 _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal,
25122634 _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl,
25132635 _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL',
......@@ -2567,7 +2689,8 @@ exports:
25672689 _thread_suspend2, _thread_swap_exception_ports, _thread_swap_mach_voucher,
25682690 _thread_switch, _thread_terminate, _thread_wire, _tracker_action,
25692691 _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,
25712694 _vm_allocate_cpm, _vm_behavior_set, _vm_copy, _vm_deallocate,
25722695 _vm_inherit, _vm_kernel_page_mask, _vm_kernel_page_shift,
25732696 _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query,
......@@ -2589,20 +2712,22 @@ exports:
25892712 _work_interval_instance_update, _work_interval_join, _work_interval_join_port,
25902713 _work_interval_leave, _work_interval_notify, _work_interval_notify_simple,
25912714 _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 ]
25932717 symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat,
25942718 ___stat, ___statfs, __current_pid, _mach_absolute_time_kernel,
2595 _mach_continuous_time_kernel, _os_custom_x18_abi_enabled,
2596 _os_set_custom_x18_abi_enabled, _update_tpidr ]
2719 _mach_continuous_time_kernel, _os_cross_arch_is_supported,
2720 _os_custom_x18_abi_enabled, _os_set_custom_x18_abi_enabled,
2721 _update_tpidr ]
25972722--- !tapi-tbd
25982723tbd-version: 4
25992724targets: [ 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 ]
26012726install-name: '/usr/lib/system/libsystem_m.dylib'
2602current-version: 3312.100.1
2727current-version: 3326.0.1
26032728parent-umbrella:
26042729 - 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 ]
26062731 umbrella: System
26072732exports:
26082733 - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ]
......@@ -2644,7 +2769,7 @@ exports:
26442769 __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16,
26452770 __simd_tgamma_f8 ]
26462771 - 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 ]
26482773 symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16,
26492774 ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f,
26502775 ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16,
......@@ -2814,18 +2939,21 @@ exports:
28142939 '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off',
28152940 '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off',
28162941 '_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 ]
28182943 symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ]
28192944--- !tapi-tbd
28202945tbd-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 ]
28222948install-name: '/usr/lib/system/libsystem_malloc.dylib'
2823current-version: 812.100.31
2949current-version: 886.0.8
28242950parent-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 ]
28262953 umbrella: System
28272954exports:
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 ]
28292957 symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init,
28302958 ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent,
28312959 __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override,
......@@ -2870,13 +2998,16 @@ exports:
28702998 _zeroify_scalable_zone ]
28712999--- !tapi-tbd
28723000tbd-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 ]
28743003install-name: '/usr/lib/system/libsystem_networkextension.dylib'
28753004parent-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 ]
28773007 umbrella: System
28783008exports:
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 ]
28803011 symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses,
28813012 _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID,
28823013 _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended,
......@@ -2959,14 +3090,17 @@ exports:
29593090 _nelog_is_info_logging_enabled ]
29603091--- !tapi-tbd
29613092tbd-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 ]
29633095install-name: '/usr/lib/system/libsystem_notify.dylib'
2964current-version: 348.120.4
3096current-version: 368
29653097parent-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 ]
29673100 umbrella: System
29683101exports:
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 ]
29703104 symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status,
29713105 _notify_get_event, _notify_get_state, _notify_is_valid_token,
29723106 _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check,
......@@ -2977,12 +3111,12 @@ exports:
29773111--- !tapi-tbd
29783112tbd-version: 4
29793113targets: [ 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 ]
29813115install-name: '/usr/lib/system/libsystem_platform.dylib'
2982current-version: 375.120.2
3116current-version: 402.0.1
29833117parent-umbrella:
29843118 - 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 ]
29863120 umbrella: System
29873121exports:
29883122 - targets: [ x86_64-macos, x86_64-maccatalyst ]
......@@ -2992,7 +3126,7 @@ exports:
29923126 _memmove_sse_np, _memset_pattern16_sse_np, _memset_pattern4_sse_np,
29933127 _memset_pattern8_sse_np, _memset_sse_np ]
29943128 - 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 ]
29963130 symbols: [ _OSAtomicAdd32, _OSAtomicAdd32Barrier, _OSAtomicAdd64, _OSAtomicAdd64Barrier,
29973131 _OSAtomicAnd32, _OSAtomicAnd32Barrier, _OSAtomicAnd32Orig,
29983132 _OSAtomicAnd32OrigBarrier, _OSAtomicCompareAndSwap32, _OSAtomicCompareAndSwap32Barrier,
......@@ -3051,22 +3185,23 @@ exports:
30513185 _setjmp, _siglongjmp, _sigsetjmp, _spin_lock, _spin_lock_try,
30523186 _spin_unlock, _swapcontext, _sys_cache_control, _sys_dcache_flush,
30533187 _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 ]
30553190 symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset,
30563191 __ctx_done, _os_apt_msg_async_task_stopped_4swift ]
30573192--- !tapi-tbd
30583193tbd-version: 4
30593194targets: [ 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 ]
30613196install-name: '/usr/lib/system/libsystem_pthread.dylib'
3062current-version: 539.100.4
3197current-version: 553.0.1
30633198parent-umbrella:
30643199 - 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 ]
30663201 umbrella: System
30673202exports:
30683203 - 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 ]
30703205 symbols: [ ____chkstk_darwin, ___is_threaded, ___pthread_init, ___pthread_late_init,
30713206 ___pthread_workqueue_setkill, ___unix_conforming, __pthread_atfork_child,
30723207 __pthread_atfork_child_handlers, __pthread_atfork_parent,
......@@ -3148,18 +3283,21 @@ exports:
31483283 _pthread_yield_np, _qos_class_main, _qos_class_self, _sched_get_priority_max,
31493284 _sched_get_priority_min, _sched_yield, _sigwait, '_sigwait$NOCANCEL',
31503285 _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 ]
31523287 symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ]
31533288--- !tapi-tbd
31543289tbd-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 ]
31563292install-name: '/usr/lib/system/libsystem_sandbox.dylib'
3157current-version: 2680.120.12
3293current-version: 3051.0.52
31583294parent-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 ]
31603297 umbrella: System
31613298exports:
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 ]
31633301 symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ,
31643302 _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER,
31653303 _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW,
......@@ -3173,14 +3311,14 @@ exports:
31733311 _SANDBOX_STORAGE_CLASS_GROUP_ANY, _SANDBOX_STORAGE_CLASS_PROPERTY_ACCEPTS_USER_APPROVAL,
31743312 _SANDBOX_STORAGE_CLASS_PROPERTY_READ_RESTRICTED, _SANDBOX_STORAGE_CLASS_PROPERTY_REPLACEMENT_RESTRICTED,
31753313 _SANDBOX_STORAGE_CLASS_PROPERTY_WRITE_RESTRICTED, __amkrtemp,
3176 __sandbox_enter_notify_libxpc, __sandbox_in_a_container, __sandbox_register_app_bundle_0,
3177 __sandbox_register_app_bundle_1, _kSBXProfileNoInternet, _kSBXProfileNoNetwork,
3178 _kSBXProfileNoWrite, _kSBXProfileNoWriteExceptTemporary, _kSBXProfilePureComputation,
3179 _kSandboxAppBundleAnySigningId, _kSandboxAppBundlePlatformTeamId,
3180 _kSandboxAppContainerAnySigningId, _kSandboxAppContainerPlatformTeamId,
3181 _rootless_allows_task_for_pid, _rootless_check_datavault_flag,
3182 _rootless_check_restricted_flag, _rootless_check_trusted,
3183 _rootless_check_trusted_class, _rootless_check_trusted_fd,
3314 __sandbox_enter_notify_libxpc, __sandbox_in_a_container, _kSBXProfileNoInternet,
3315 _kSBXProfileNoNetwork, _kSBXProfileNoWrite, _kSBXProfileNoWriteExceptTemporary,
3316 _kSBXProfilePureComputation, _kSandboxAppBundleAnySigningId,
3317 _kSandboxAppBundlePlatformTeamId, _kSandboxAppContainerAnySigningId,
3318 _kSandboxAppContainerPlatformTeamId, _kSandboxAppDataProtectionAnySigningId,
3319 _kSandboxAppDataProtectionPlatformTeamId, _rootless_allows_task_for_pid,
3320 _rootless_check_datavault_flag, _rootless_check_restricted_flag,
3321 _rootless_check_trusted, _rootless_check_trusted_class, _rootless_check_trusted_fd,
31843322 _rootless_convert_to_datavault, _rootless_mkdir_datavault,
31853323 _rootless_mkdir_nounlink, _rootless_mkdir_restricted, _rootless_protected_volume,
31863324 _rootless_protected_volume_fd, _rootless_register_trusted_storage_class,
......@@ -3188,19 +3326,19 @@ exports:
31883326 _rootless_remove_restricted_in_favor_of_static_storage_class,
31893327 _rootless_restricted_environment, _rootless_suspend, _rootless_trusted_by_self_token,
31903328 _rootless_verify_trusted_by_self_token, _sandbox_apply_bytecode,
3191 _sandbox_builtin_query, _sandbox_check, _sandbox_check_bulk,
3192 _sandbox_check_by_audit_token, _sandbox_check_by_reference,
3193 _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path,
3329 _sandbox_builtin_query, _sandbox_check, _sandbox_check_and_query_approval_category,
3330 _sandbox_check_asr_parser, _sandbox_check_bulk, _sandbox_check_by_audit_token,
3331 _sandbox_check_by_reference, _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path,
31943332 _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string,
31953333 _sandbox_check_network, _sandbox_check_process_signal_target,
31963334 _sandbox_check_protected_app_container, _sandbox_check_self_signal_target,
31973335 _sandbox_check_storage_class, _sandbox_check_with_attribution,
31983336 _sandbox_checkattr_alloc, _sandbox_checkattr_disable_reporting,
3199 _sandbox_checkattr_free, _sandbox_consume_extension, _sandbox_consume_fs_extension,
3200 _sandbox_consume_mach_extension, _sandbox_container_path_for_audit_token,
3201 _sandbox_container_path_for_pid, _sandbox_enable_local_state_flag,
3202 _sandbox_enable_root_translation, _sandbox_enable_state_flag,
3203 _sandbox_extension_consume, _sandbox_extension_issue_file,
3337 _sandbox_checkattr_free, _sandbox_clear_approval_cache, _sandbox_consume_extension,
3338 _sandbox_consume_fs_extension, _sandbox_consume_mach_extension,
3339 _sandbox_container_path_for_audit_token, _sandbox_container_path_for_pid,
3340 _sandbox_enable_local_state_flag, _sandbox_enable_root_translation,
3341 _sandbox_enable_state_flag, _sandbox_extension_consume, _sandbox_extension_issue_file,
32043342 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid,
32053343 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic,
32063344 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid,
......@@ -3212,16 +3350,18 @@ exports:
32123350 _sandbox_extension_release_file, _sandbox_extension_update_file,
32133351 _sandbox_extension_update_file_by_fileid, _sandbox_free_error,
32143352 _sandbox_get_container_expected, _sandbox_init, _sandbox_init_from_pid,
3215 _sandbox_init_with_parameters, _sandbox_issue_fs_extension,
3216 _sandbox_issue_mach_extension, _sandbox_message_filter_query,
3217 _sandbox_message_filter_release, _sandbox_message_filter_retain,
3218 _sandbox_note, _sandbox_passthrough_access, _sandbox_proc_getcontainer,
3219 _sandbox_proc_getprofilename, _sandbox_query_approval_policy_for_path,
3220 _sandbox_query_user_intent_for_process_with_audit_token, _sandbox_reference_release,
3221 _sandbox_reference_retain_by_audit_token, _sandbox_register_app_bundle,
3222 _sandbox_register_app_bundle_exception, _sandbox_register_app_bundle_package_exception,
3223 _sandbox_register_app_container, _sandbox_register_app_container_exception,
3224 _sandbox_register_app_container_package_exception, _sandbox_register_bastion_profile,
3353 _sandbox_init_with_parameters, _sandbox_integrity_check_app_bundle,
3354 _sandbox_issue_fs_extension, _sandbox_issue_mach_extension,
3355 _sandbox_message_filter_query, _sandbox_message_filter_release,
3356 _sandbox_message_filter_retain, _sandbox_note, _sandbox_passthrough_access,
3357 _sandbox_proc_getcontainer, _sandbox_proc_getprofilename,
3358 _sandbox_query_approval_policy_for_path, _sandbox_query_user_intent_for_process_with_audit_token,
3359 _sandbox_reference_release, _sandbox_reference_retain_by_audit_token,
3360 _sandbox_register_app_bundle, _sandbox_register_app_bundle_exception,
3361 _sandbox_register_app_bundle_package_exception, _sandbox_register_app_container,
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,
32253365 _sandbox_register_disk_image_backing_store, _sandbox_register_sync_root,
32263366 _sandbox_release_fs_extension, _sandbox_requests_integrity_protection_for_preference_domain,
32273367 _sandbox_set_container_path_for_application_group, _sandbox_set_container_path_for_application_group_with_persona,
......@@ -3232,20 +3372,20 @@ exports:
32323372 _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container,
32333373 _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store,
32343374 _sandbox_unsuspend ]
3235 - targets: [ x86_64-macos, arm64e-macos ]
3375 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
32363376 symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT,
32373377 _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply,
32383378 _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free,
32393379 _rootless_manifest_parse, _rootless_preflight ]
32403380--- !tapi-tbd
32413381tbd-version: 4
3242targets: [ x86_64-macos, arm64e-macos ]
3382targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
32433383install-name: '/usr/lib/system/libsystem_sanitizers.dylib'
32443384parent-umbrella:
3245 - targets: [ x86_64-macos, arm64e-macos ]
3385 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
32463386 umbrella: System
32473387exports:
3248 - targets: [ x86_64-macos, arm64e-macos ]
3388 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
32493389 symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned,
32503390 ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison,
32513391 ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init,
......@@ -3266,32 +3406,40 @@ exports:
32663406 ___asan_get_free_stack, ___asan_get_report_access_size, ___asan_get_report_access_type,
32673407 ___asan_get_report_address, ___asan_get_report_bp, ___asan_get_report_description,
32683408 ___asan_get_report_pc, ___asan_get_report_sp, ___asan_get_shadow_mapping,
3269 ___asan_locate_address, ___asan_report_present, __sanitizers_init,
3270 _sanitizers_address_on_report, _sanitizers_diagnose_memory_error,
3271 _sanitizers_report_globals, _sanitizers_testonly_diagnose_error,
3272 _sanitizers_testonly_get_shadow_address ]
3409 ___asan_locate_address, ___asan_report_present, ___bounds_safety_soft_trap,
3410 __sanitizers_atfork_child, __sanitizers_atfork_parent, __sanitizers_atfork_prepare,
3411 __sanitizers_init, _sanitizers_address_on_report, _sanitizers_config_get,
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 ]
32733415--- !tapi-tbd
32743416tbd-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 ]
32763419install-name: '/usr/lib/system/libsystem_secinit.dylib'
3277current-version: 168.100.7
3420current-version: 182
32783421parent-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 ]
32803424 umbrella: System
32813425exports:
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 ]
32833428 symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user,
32843429 _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes,
32853430 _libsecinit_fileoperation_symlink ]
32863431--- !tapi-tbd
32873432tbd-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 ]
32893435install-name: '/usr/lib/system/libsystem_symptoms.dylib'
32903436parent-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 ]
32923439 umbrella: System
32933440exports:
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 ]
32953443 symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition,
32963444 __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init,
32973445 _symptom_framework_set_version, _symptom_new, _symptom_send,
......@@ -3299,14 +3447,17 @@ exports:
32993447 _symptom_set_qualifier ]
33003448--- !tapi-tbd
33013449tbd-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 ]
33033452install-name: '/usr/lib/system/libsystem_trace.dylib'
3304current-version: 1861.120.4
3453current-version: 1966.1.1
33053454parent-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 ]
33073457 umbrella: System
33083458exports:
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 ]
33103461 symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource,
33113462 _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource,
33123463 _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate,
......@@ -3322,13 +3473,13 @@ exports:
33223473 __os_activity_none, __os_activity_set_breadcrumb, __os_activity_start,
33233474 __os_activity_stream_entry_encode, __os_log_create, __os_log_debug,
33243475 __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,
3326 __os_log_get_nscf_formatter, __os_log_impl, __os_log_internal,
3327 __os_log_pack_fill, __os_log_pack_size, __os_log_preferences_compute,
3328 __os_log_preferences_copy_cache, __os_log_preferences_load,
3329 __os_log_preferences_load_sysprefs, __os_log_preferences_merge,
3330 __os_log_release, __os_log_send_and_compose_impl, __os_log_set_nscf_formatter,
3331 __os_log_unreliable_impl, __os_metric_double_create_impl,
3476 __os_log_dynamic_impl_4XOJIT, __os_log_error, __os_log_error_impl,
3477 __os_log_fault, __os_log_fault_impl, __os_log_get_nscf_formatter,
3478 __os_log_impl, __os_log_internal, __os_log_pack_fill, __os_log_pack_size,
3479 __os_log_preferences_compute, __os_log_preferences_copy_cache,
3480 __os_log_preferences_load, __os_log_preferences_load_sysprefs,
3481 __os_log_preferences_merge, __os_log_release, __os_log_send_and_compose_impl,
3482 __os_log_set_nscf_formatter, __os_log_unreliable_impl, __os_metric_double_create_impl,
33323483 __os_metric_double_op_impl, __os_metric_int64_create_impl,
33333484 __os_metric_int64_op_impl, __os_metric_label_create_impl,
33343485 __os_metric_label_create_v, __os_metric_reset_impl, __os_metric_set_scale_impl,
......@@ -3345,17 +3496,19 @@ exports:
33453496 __os_trace_macho_for_each_slice, __os_trace_malloc_typed,
33463497 __os_trace_memdup, __os_trace_mmap, __os_trace_mmap_at, __os_trace_mmap_offset,
33473498 __os_trace_mode_match_4tests, __os_trace_os_cryptex_sysprefsdir_path,
3348 __os_trace_prefs_latest_version_4tests, __os_trace_prefsdir_path,
3349 __os_trace_read_file_at, __os_trace_read_plist_at, __os_trace_realloc_typed,
3350 __os_trace_scandir_free_namelist, __os_trace_sect_names, __os_trace_set_diagnostic_flags,
3351 __os_trace_set_mode_for_pid, __os_trace_strdup, __os_trace_sysprefsdir_path,
3352 __os_trace_update_with_datavolume_4launchd, __os_trace_with_buffer,
3353 __os_trace_write, __os_trace_writev, __os_trace_zalloc_typed,
3354 _amfi_check_dyld_policy_for_pid, _amfi_check_dyld_policy_self,
3355 _amfi_load_trust_cache, _amfi_unload_trust_cache, _os_activity_apply,
3356 _os_activity_apply_f, _os_activity_diagnostic_for_pid, _os_activity_end,
3357 _os_activity_for_task_thread, _os_activity_for_thread, _os_activity_get_active,
3358 _os_activity_get_identifier, _os_activity_iterate_activities,
3499 __os_trace_personas_in_oslog_enabled, __os_trace_prefs_latest_version_4tests,
3500 __os_trace_prefscachedir_path, __os_trace_prefsdir_path, __os_trace_read_file_at,
3501 __os_trace_read_plist_at, __os_trace_realloc_typed, __os_trace_scandir_free_namelist,
3502 __os_trace_sect_names, __os_trace_set_diagnostic_flags, __os_trace_set_intprefsdir_path,
3503 __os_trace_set_mode_for_pid, __os_trace_set_prefscachedir_path,
3504 __os_trace_set_prefsdir_path, __os_trace_set_sysprefsdir_path,
3505 __os_trace_strdup, __os_trace_sysprefsdir_path, __os_trace_update_with_datavolume_4launchd,
3506 __os_trace_with_buffer, __os_trace_write, __os_trace_writev,
3507 __os_trace_zalloc_typed, _amfi_check_dyld_policy_for_pid,
3508 _amfi_check_dyld_policy_self, _amfi_load_trust_cache, _amfi_unload_trust_cache,
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,
33593512 _os_activity_iterate_breadcrumbs, _os_activity_iterate_messages,
33603513 _os_activity_iterate_processes, _os_activity_messages_for_thread,
33613514 _os_activity_scope_enter, _os_activity_scope_leave, _os_log_backtrace_copy_description,
......@@ -3384,26 +3537,29 @@ exports:
33843537 objc-classes: [ OS_os_log ]
33853538--- !tapi-tbd
33863539tbd-version: 4
3387targets: [ x86_64-macos, arm64e-macos ]
3540targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
33883541install-name: '/usr/lib/system/libsystem_trial.dylib'
3389current-version: 474.2.18
3542current-version: 511
33903543parent-umbrella:
3391 - targets: [ x86_64-macos, arm64e-macos ]
3544 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
33923545 umbrella: System
33933546exports:
3394 - targets: [ x86_64-macos, arm64e-macos ]
3395 symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_impl,
3547 - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ]
3548 symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_long_impl,
33963549 __os_trial_factor_has_impl ]
33973550--- !tapi-tbd
33983551tbd-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 ]
34003554install-name: '/usr/lib/system/libunwind.dylib'
3401current-version: 2100.2
3555current-version: 2200.5
34023556parent-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 ]
34043559 umbrella: System
34053560exports:
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 ]
34073563 symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction,
34083564 __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA,
34093565 __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo,
......@@ -3418,17 +3574,20 @@ exports:
34183574 _unw_get_proc_info, _unw_get_proc_name, _unw_get_reg, _unw_getcontext,
34193575 _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache,
34203576 _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 ]
34223578--- !tapi-tbd
34233579tbd-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 ]
34253582install-name: '/usr/lib/system/libxpc.dylib'
3426current-version: 3102.120.13
3583current-version: 3298.1.1
34273584parent-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 ]
34293587 umbrella: System
34303588exports:
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 ]
34323591 symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN,
34333592 _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE,
34343593 _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE,
......@@ -3504,26 +3663,27 @@ exports:
35043663 __xpc_shmem_get_mach_port, __xpc_spawnattr_binprefs_pack,
35053664 __xpc_spawnattr_binprefs_size, __xpc_spawnattr_binprefs_unpack,
35063665 __xpc_spawnattr_pack_bytes, __xpc_spawnattr_pack_string, __xpc_spawnattr_pack_string_fragment,
3507 __xpc_spawnattr_unpack_bytes, __xpc_spawnattr_unpack_string,
3508 __xpc_spawnattr_unpack_strings, __xpc_string_set_value, __xpc_type_activity,
3509 __xpc_type_array, __xpc_type_base, __xpc_type_bool, __xpc_type_bundle,
3510 __xpc_type_connection, __xpc_type_data, __xpc_type_date, __xpc_type_dictionary,
3511 __xpc_type_double, __xpc_type_endpoint, __xpc_type_error,
3512 __xpc_type_fd, __xpc_type_file_transfer, __xpc_type_int64,
3513 __xpc_type_mach_recv, __xpc_type_mach_send, __xpc_type_mach_send_once,
3514 __xpc_type_null, __xpc_type_pipe, __xpc_type_pointer, __xpc_type_rich_error,
3515 __xpc_type_serializer, __xpc_type_service, __xpc_type_service_instance,
3516 __xpc_type_session, __xpc_type_shmem, __xpc_type_string, __xpc_type_string_cache,
3666 __xpc_spawnattr_pack_xpc_data, __xpc_spawnattr_unpack_bytes,
3667 __xpc_spawnattr_unpack_string, __xpc_spawnattr_unpack_strings,
3668 __xpc_string_set_value, __xpc_type_activity, __xpc_type_array,
3669 __xpc_type_base, __xpc_type_bool, __xpc_type_bundle, __xpc_type_connection,
3670 __xpc_type_data, __xpc_type_date, __xpc_type_dictionary, __xpc_type_double,
3671 __xpc_type_endpoint, __xpc_type_error, __xpc_type_fd, __xpc_type_file_transfer,
3672 __xpc_type_int64, __xpc_type_mach_recv, __xpc_type_mach_send,
3673 __xpc_type_mach_send_once, __xpc_type_null, __xpc_type_pipe,
3674 __xpc_type_pointer, __xpc_type_rich_error, __xpc_type_serializer,
3675 __xpc_type_service, __xpc_type_service_instance, __xpc_type_session,
3676 __xpc_type_shmem, __xpc_type_string, __xpc_type_string_cache,
35173677 __xpc_type_uint64, __xpc_type_uuid, __xpc_vtables, _amfi_developer_mode_resolved,
35183678 _amfi_developer_mode_status, _amfi_interface_authorize_local_signing,
3519 _amfi_interface_cdhash_in_trustcache, _amfi_interface_get_local_signing_private_key,
3520 _amfi_interface_get_local_signing_public_key, _amfi_interface_query_bootarg_state,
3521 _amfi_interface_set_local_signing_public_key, _amfi_launch_constraint_matches_process,
3522 _amfi_launch_constraint_set_spawnattr, _amfi_restricted_execution_mode_enable,
3523 _amfi_restricted_execution_mode_status, _bootstrap_check_in,
3524 _bootstrap_check_in2, _bootstrap_check_in3, _bootstrap_create_server,
3525 _bootstrap_create_service, _bootstrap_get_root, _bootstrap_info,
3526 _bootstrap_init, _bootstrap_look_up, _bootstrap_look_up2,
3679 _amfi_interface_authorize_local_signing_with_length, _amfi_interface_cdhash_in_trustcache,
3680 _amfi_interface_get_local_signing_private_key, _amfi_interface_get_local_signing_public_key,
3681 _amfi_interface_query_bootarg_state, _amfi_interface_set_local_signing_public_key,
3682 _amfi_launch_constraint_matches_process, _amfi_launch_constraint_set_spawnattr,
3683 _amfi_restricted_execution_mode_enable, _amfi_restricted_execution_mode_status,
3684 _bootstrap_check_in, _bootstrap_check_in2, _bootstrap_check_in3,
3685 _bootstrap_create_server, _bootstrap_create_service, _bootstrap_get_root,
3686 _bootstrap_info, _bootstrap_init, _bootstrap_look_up, _bootstrap_look_up2,
35273687 _bootstrap_look_up3, _bootstrap_look_up_per_user, _bootstrap_lookup_children,
35283688 _bootstrap_parent, _bootstrap_register, _bootstrap_register2,
35293689 _bootstrap_status, _bootstrap_strerror, _bootstrap_subset,
......@@ -3613,7 +3773,8 @@ exports:
36133773 _xpc_bundle_populate, _xpc_bundle_resolve, _xpc_bundle_resolve_on_queue,
36143774 _xpc_bundle_resolve_sync, _xpc_coalition_copy_info, _xpc_coalition_history_pipe_async,
36153775 _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,
36173778 _xpc_connection_copy_invalidation_reason, _xpc_connection_create,
36183779 _xpc_connection_create_bs_service_listener, _xpc_connection_create_from_endpoint,
36193780 _xpc_connection_create_listener, _xpc_connection_create_mach_service,
......@@ -3626,13 +3787,14 @@ exports:
36263787 _xpc_connection_resume, _xpc_connection_send_barrier, _xpc_connection_send_message,
36273788 _xpc_connection_send_message_with_reply, _xpc_connection_send_message_with_reply_sync,
36283789 _xpc_connection_send_notification, _xpc_connection_set_bootstrap,
3629 _xpc_connection_set_bs_type, _xpc_connection_set_context,
3630 _xpc_connection_set_distorter, _xpc_connection_set_event_channel,
3631 _xpc_connection_set_event_handler, _xpc_connection_set_finalizer_f,
3632 _xpc_connection_set_instance, _xpc_connection_set_instance_binpref,
3633 _xpc_connection_set_legacy, _xpc_connection_set_non_launching,
3634 _xpc_connection_set_oneshot_instance, _xpc_connection_set_peer_code_signing_requirement,
3635 _xpc_connection_set_peer_entitlement_exists_requirement, _xpc_connection_set_peer_entitlement_matches_value_requirement,
3790 _xpc_connection_set_bs_checkin_info, _xpc_connection_set_bs_type,
3791 _xpc_connection_set_context, _xpc_connection_set_distorter,
3792 _xpc_connection_set_event_channel, _xpc_connection_set_event_handler,
3793 _xpc_connection_set_finalizer_f, _xpc_connection_set_instance,
3794 _xpc_connection_set_instance_binpref, _xpc_connection_set_legacy,
3795 _xpc_connection_set_non_launching, _xpc_connection_set_oneshot_instance,
3796 _xpc_connection_set_peer_code_signing_requirement, _xpc_connection_set_peer_entitlement_exists_requirement,
3797 _xpc_connection_set_peer_entitlement_matches_value_requirement,
36363798 _xpc_connection_set_peer_lightweight_code_requirement, _xpc_connection_set_peer_platform_identity_requirement,
36373799 _xpc_connection_set_peer_requirement, _xpc_connection_set_peer_team_identity_requirement,
36383800 _xpc_connection_set_privileged, _xpc_connection_set_qos_class_fallback,
......@@ -3660,17 +3822,16 @@ exports:
36603822 _xpc_dictionary_create_empty, _xpc_dictionary_create_reply,
36613823 _xpc_dictionary_dup_fd, _xpc_dictionary_expects_reply, _xpc_dictionary_extract_mach_recv,
36623824 _xpc_dictionary_get_array, _xpc_dictionary_get_audit_token,
3663 _xpc_dictionary_get_bool, _xpc_dictionary_get_connection,
3664 _xpc_dictionary_get_count, _xpc_dictionary_get_data, _xpc_dictionary_get_date,
3665 _xpc_dictionary_get_dictionary, _xpc_dictionary_get_double,
3666 _xpc_dictionary_get_int64, _xpc_dictionary_get_pointer, _xpc_dictionary_get_remote_connection,
3667 _xpc_dictionary_get_string, _xpc_dictionary_get_uint64, _xpc_dictionary_get_uuid,
3668 _xpc_dictionary_get_value, _xpc_dictionary_handoff_reply,
3669 _xpc_dictionary_handoff_reply_f, _xpc_dictionary_send_reply,
3670 _xpc_dictionary_send_reply_4SWIFT, _xpc_dictionary_set_bool,
3671 _xpc_dictionary_set_connection, _xpc_dictionary_set_data,
3672 _xpc_dictionary_set_date, _xpc_dictionary_set_double, _xpc_dictionary_set_fd,
3673 _xpc_dictionary_set_int64, _xpc_dictionary_set_mach_recv,
3825 _xpc_dictionary_get_bool, _xpc_dictionary_get_count, _xpc_dictionary_get_data,
3826 _xpc_dictionary_get_date, _xpc_dictionary_get_dictionary,
3827 _xpc_dictionary_get_double, _xpc_dictionary_get_int64, _xpc_dictionary_get_pointer,
3828 _xpc_dictionary_get_remote_connection, _xpc_dictionary_get_string,
3829 _xpc_dictionary_get_uint64, _xpc_dictionary_get_uuid, _xpc_dictionary_get_value,
3830 _xpc_dictionary_handoff_reply, _xpc_dictionary_handoff_reply_f,
3831 _xpc_dictionary_send_reply, _xpc_dictionary_send_reply_4SWIFT,
3832 _xpc_dictionary_set_bool, _xpc_dictionary_set_connection,
3833 _xpc_dictionary_set_data, _xpc_dictionary_set_date, _xpc_dictionary_set_double,
3834 _xpc_dictionary_set_fd, _xpc_dictionary_set_int64, _xpc_dictionary_set_mach_recv,
36743835 _xpc_dictionary_set_mach_send, _xpc_dictionary_set_pointer,
36753836 _xpc_dictionary_set_string, _xpc_dictionary_set_uint64, _xpc_dictionary_set_uuid,
36763837 _xpc_dictionary_set_value, _xpc_dictionary_set_value_with_key_string_cache,
......@@ -3732,29 +3893,29 @@ exports:
37323893 _xpc_service_instance_set_cwd, _xpc_service_instance_set_endpoint,
37333894 _xpc_service_instance_set_environment, _xpc_service_instance_set_finalizer_f,
37343895 _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,
3736 _xpc_service_kickstart, _xpc_service_kickstart_with_flags,
3737 _xpc_service_set_attach_handler, _xpc_session_activate, _xpc_session_cancel,
3738 _xpc_session_copy_description, _xpc_session_create_mach_service,
3739 _xpc_session_create_xpc_endpoint, _xpc_session_create_xpc_service,
3740 _xpc_session_send_message, _xpc_session_send_message_with_reply_async,
3741 _xpc_session_send_message_with_reply_sync, _xpc_session_set_cancel_handler,
3742 _xpc_session_set_incoming_message_handler, _xpc_session_set_instance,
3743 _xpc_session_set_peer_code_signing_requirement, _xpc_session_set_peer_requirement,
3744 _xpc_session_set_target_queue, _xpc_session_set_target_user_session_uid,
3745 _xpc_set_event, _xpc_set_event_state, _xpc_set_event_stream_handler,
3746 _xpc_set_event_with_flags, _xpc_set_idle_handler, _xpc_shmem_create,
3747 _xpc_shmem_create_readonly, _xpc_shmem_get_length, _xpc_shmem_map,
3748 _xpc_strerror, _xpc_string_cache_create, _xpc_string_cache_for_each,
3749 _xpc_string_cache_get_count, _xpc_string_cache_get_name, _xpc_string_create,
3750 _xpc_string_create_cached, _xpc_string_create_no_copy, _xpc_string_create_with_format,
3751 _xpc_string_create_with_format_and_arguments, _xpc_string_get_length,
3752 _xpc_string_get_string_ptr, _xpc_test_symbols_exported, _xpc_track_activity,
3753 _xpc_transaction_begin, _xpc_transaction_end, _xpc_transaction_exit_clean,
3754 _xpc_transaction_interrupt_clean_exit, _xpc_transaction_try_exit_clean,
3755 _xpc_transactions_enable, _xpc_traverse_serialized_data, _xpc_type_get_name,
3756 _xpc_uint64_create, _xpc_uint64_get_value, _xpc_user_sessions_enabled,
3757 _xpc_user_sessions_get_foreground_uid, _xpc_user_sessions_get_session_uid,
3758 _xpc_uuid_create, _xpc_uuid_get_bytes ]
3896 _xpc_service_instance_set_sanitizer_flags, _xpc_service_instance_set_start_suspended,
3897 _xpc_service_instance_set_use_sec_transition_shims, _xpc_service_kickstart,
3898 _xpc_service_kickstart_with_flags, _xpc_service_set_attach_handler,
3899 _xpc_session_activate, _xpc_session_cancel, _xpc_session_copy_description,
3900 _xpc_session_create_mach_service, _xpc_session_create_xpc_endpoint,
3901 _xpc_session_create_xpc_service, _xpc_session_send_message,
3902 _xpc_session_send_message_with_reply_async, _xpc_session_send_message_with_reply_sync,
3903 _xpc_session_set_cancel_handler, _xpc_session_set_incoming_message_handler,
3904 _xpc_session_set_instance, _xpc_session_set_peer_code_signing_requirement,
3905 _xpc_session_set_peer_requirement, _xpc_session_set_target_queue,
3906 _xpc_session_set_target_user_session_uid, _xpc_set_event,
3907 _xpc_set_event_state, _xpc_set_event_stream_handler, _xpc_set_event_with_flags,
3908 _xpc_set_idle_handler, _xpc_shmem_create, _xpc_shmem_create_readonly,
3909 _xpc_shmem_get_length, _xpc_shmem_map, _xpc_strerror, _xpc_string_cache_create,
3910 _xpc_string_cache_for_each, _xpc_string_cache_get_count, _xpc_string_cache_get_name,
3911 _xpc_string_create, _xpc_string_create_cached, _xpc_string_create_no_copy,
3912 _xpc_string_create_with_format, _xpc_string_create_with_format_and_arguments,
3913 _xpc_string_get_length, _xpc_string_get_string_ptr, _xpc_test_symbols_exported,
3914 _xpc_track_activity, _xpc_transaction_begin, _xpc_transaction_end,
3915 _xpc_transaction_exit_clean, _xpc_transaction_interrupt_clean_exit,
3916 _xpc_transaction_try_exit_clean, _xpc_transactions_enable,
3917 _xpc_traverse_serialized_data, _xpc_type_get_name, _xpc_uint64_create,
3918 _xpc_uint64_get_value, _xpc_user_sessions_enabled, _xpc_user_sessions_get_foreground_uid,
3919 _xpc_user_sessions_get_session_uid, _xpc_uuid_create, _xpc_uuid_get_bytes ]
37593920 objc-classes: [ OS_xpc_object ]
37603921...
lib/libc/include/any-darwin-any/AssertMacros.h+1-1
......@@ -1272,7 +1272,7 @@
12721272 * of the old macros into the new equivalents. To do so, in Terminal go into the directory containing the
12731273 * sources to be converted and run this command.
12741274 *
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 \
12761276 replace "check(<b args>)" with "__Check(<args>)" \
12771277 replace "check_noerr(<b args>)" with "__Check_noErr(<args>)" \
12781278 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 @@
3737 #if __has_builtin(__is_target_os)
3838 #if __is_target_os(macos)
3939 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_5
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_27_0
4141 #endif
4242 #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
4343 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_5
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_27_0
4545 #endif /* __has_builtin(__is_target_os) */
4646 #endif /* defined(__has_builtin) */
4747#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */
......@@ -51,11 +51,11 @@
5151 #if __has_builtin(__is_target_os)
5252 #if __is_target_os(ios)
5353 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_5
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_27_0
5555 #endif
5656 #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
5757 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_5
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_27_0
5959 #endif /* __has_builtin(__is_target_os) */
6060 #endif /* defined(__has_builtin) */
6161#endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */
......@@ -65,13 +65,13 @@
6565 #if __has_builtin(__is_target_os)
6666 #if __is_target_os(watchos)
6767 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_5
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_27_0
6969 /* for compatibility with existing code. New code should use platform specific checks */
7070 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
7171 #endif
7272 #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
7373 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_5
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_27_0
7575 /* for compatibility with existing code. New code should use platform specific checks */
7676 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
7777 #endif /* __has_builtin(__is_target_os) */
......@@ -83,13 +83,13 @@
8383 #if __has_builtin(__is_target_os)
8484 #if __is_target_os(tvos)
8585 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_5
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_27_0
8787 /* for compatibility with existing code. New code should use platform specific checks */
8888 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
8989 #endif
9090 #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
9191 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_5
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_27_0
9393 /* for compatibility with existing code. New code should use platform specific checks */
9494 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
9595 #endif /* __has_builtin(__is_target_os) */
......@@ -103,7 +103,7 @@
103103 #if __has_builtin(__is_target_os)
104104 #if __is_target_os(driverkit)
105105 #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_5
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_27_0
107107 #endif
108108 #endif /* __has_builtin(__is_target_os) */
109109 #endif /* defined(__has_builtin) */
......@@ -114,7 +114,7 @@
114114 #if __has_builtin(__is_target_os)
115115 #if __is_target_os(visionos)
116116 #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_5
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_27_0
118118 /* for compatibility with existing code. New code should use platform specific checks */
119119 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1
120120 #endif
......@@ -219,6 +219,14 @@
219219 #endif /* __has_attribute(availability) */
220220#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
222230#ifndef __OPEN_SOURCE__
223231
224232#endif /* __OPEN_SOURCE__ */
lib/libc/include/any-darwin-any/AvailabilityVersions.h+16-1
......@@ -102,6 +102,8 @@
102102#define __MAC_26_3 260300
103103#define __MAC_26_4 260400
104104#define __MAC_26_5 260500
105#define __MAC_26_6 260600
106#define __MAC_27_0 270000
105107/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
106108
107109#define __IPHONE_2_0 20000
......@@ -198,6 +200,8 @@
198200#define __IPHONE_26_3 260300
199201#define __IPHONE_26_4 260400
200202#define __IPHONE_26_5 260500
203#define __IPHONE_26_6 260600
204#define __IPHONE_27_0 270000
201205/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
202206
203207#define __WATCHOS_1_0 10000
......@@ -263,6 +267,8 @@
263267#define __WATCHOS_26_3 260300
264268#define __WATCHOS_26_4 260400
265269#define __WATCHOS_26_5 260500
270#define __WATCHOS_26_6 260600
271#define __WATCHOS_27_0 270000
266272/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
267273
268274#define __TVOS_9_0 90000
......@@ -328,6 +334,8 @@
328334#define __TVOS_26_3 260300
329335#define __TVOS_26_4 260400
330336#define __TVOS_26_5 260500
337#define __TVOS_26_6 260600
338#define __TVOS_27_0 270000
331339/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
332340
333341#define __BRIDGEOS_2_0 20000
......@@ -369,7 +377,8 @@
369377#define __BRIDGEOS_10_2 100200
370378#define __BRIDGEOS_10_3 100300
371379#define __BRIDGEOS_10_4 100400
372#define __BRIDGEOS_26_5 260500
380#define __BRIDGEOS_10_5 100500
381#define __BRIDGEOS_10_6 100600
373382
374383
375384#define __DRIVERKIT_19_0 190000
......@@ -399,6 +408,8 @@
399408#define __DRIVERKIT_25_3 250300
400409#define __DRIVERKIT_25_4 250400
401410#define __DRIVERKIT_25_5 250500
411#define __DRIVERKIT_25_6 250600
412#define __DRIVERKIT_27_0 270000
402413/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
403414
404415#define __VISIONOS_1_0 10000
......@@ -419,6 +430,8 @@
419430#define __VISIONOS_26_3 260300
420431#define __VISIONOS_26_4 260400
421432#define __VISIONOS_26_5 260500
433#define __VISIONOS_26_6 260600
434#define __VISIONOS_27_0 270000
422435/* __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 @@
514527#define MAC_OS_VERSION_26_3 __MAC_26_3
515528#define MAC_OS_VERSION_26_4 __MAC_26_4
516529#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
518533#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 @@
137137 * It is disabled by default.
138138 */
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
140147#if !defined(__has_extension) || !__has_extension(define_target_os_macros)
141148#if defined(__has_builtin)
142149 #if __has_builtin(__is_target_arch)
......@@ -147,7 +154,7 @@
147154 /* "-target=x86_64-apple-ios12-macabi" */
148155 /* "-target=arm64-apple-ios12-macabi" */
149156 /* "-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)
151158 #define TARGET_OS_MAC 1
152159 #define TARGET_OS_IPHONE 1
153160 #define TARGET_OS_IOS 1
......@@ -163,7 +170,7 @@
163170 /* "-target=x86_64-apple-ios12-simulator" */
164171 /* "-target=arm64-apple-ios12-simulator" */
165172 /* "-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)
167174 #define TARGET_OS_MAC 1
168175 #define TARGET_OS_IPHONE 1
169176 #define TARGET_OS_IOS 1
lib/libc/include/any-darwin-any/_stdlib.h+2-2
......@@ -158,7 +158,7 @@ long atol(const char *);
158158long long
159159 atoll(const char *);
160160#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,
162162 size_t __width, int (* _Nonnull __compar)(const void *, const void *));
163163/* calloc is now declared in _malloc.h */
164164div_t div(int, int) __pure2;
......@@ -304,7 +304,7 @@ int atexit_b(void (^ _Nonnull)(void)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IP
304304#define __bsearch_noescape
305305#endif
306306#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,
308308 size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape)
309309 __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
310310#endif /* __BLOCKS__ */
lib/libc/include/any-darwin-any/_types/_nl_item.h+1-1
......@@ -30,4 +30,4 @@
3030#define _NL_ITEM
3131#include <_types.h>
3232typedef __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 @@
6060#if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>))
6161
6262#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)
6464#else
6565#include_next <limits.h>
6666#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);
366366
367367DISPATCH_ASSUME_ABI_SINGLE_END
368368
369#endif
369#endif /* __DISPATCH_BASE__ */
lib/libc/include/any-darwin-any/dispatch/block.h+107-42
......@@ -50,56 +50,121 @@ __BEGIN_DECLS
5050 * @const DISPATCH_BLOCK_DETACHED
5151 * Flag indicating that a dispatch block object should execute disassociated
5252 * 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,
54 * the behavior is the same as for DISPATCH_BLOCK_NO_QOS. If invoked directly,
55 * the block object will remove the other attributes from the calling thread for
56 * the duration of the block body (before applying attributes assigned to the
57 * block object, if any). If submitted to a queue, the block object will be
58 * executed with the attributes of the queue (or any attributes specifically
59 * assigned to the block object).
53 * and properties of the current IPC request (if any). This flag has the same
54 * QoS implications as DISPATCH_BLOCK_NO_QOS_CLASS, in that the block will have
55 * no QoS unless assigned one via dispatch_block_create_with_qos_class().
56 * If invoked directly, the block object will remove the other attributes from
57 * the calling thread for the duration of the block body (before applying
58 * attributes assigned to the block object, if any). If submitted to a queue,
59 * the block object will be executed with the attributes of the queue.
6060 *
6161 * @const DISPATCH_BLOCK_ASSIGN_CURRENT
6262 * Flag indicating that a dispatch block object should be assigned the execution
6363 * 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 of
64 * This applies to attributes such as QoS class, os_activity_t and properties of
6565 * the current IPC request (if any). If invoked directly, the block object will
6666 * 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 the
68 * default behavior of associating the submitted block instance with the
69 * execution context attributes that are current at the time of submission.
70 * If a specific QOS class is assigned with DISPATCH_BLOCK_NO_QOS_CLASS or
71 * dispatch_block_create_with_qos_class(), that QOS class takes precedence over
72 * the QOS class assignment indicated by this flag.
67 * body. Note that direct invocation of a block can raise but not lower the
68 * calling context's QoS class. If the block object is submitted to a queue,
69 * this flag replaces the default behavior, where the submitted block's
70 * assigned QoS and other execution attributes are inherited from the
71 * submitting thread. If the creating thread and submitting thread are the
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.
7376 *
7477 * @const DISPATCH_BLOCK_NO_QOS_CLASS
75 * 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 QOS
78 * Flag indicating that a dispatch block object should be not be assigned a QoS
79 * class. If invoked directly, the block object will be executed with the QoS
7780 * class of the calling thread. If the block object is submitted to a queue,
78 * this replaces the default behavior of associating the submitted block
79 * instance with the QOS class current at the time of submission.
80 * This flag is ignored if a specific QOS class is assigned with
81 * dispatch_block_create_with_qos_class().
81 * this replaces the default behavior of assigning the current thread's QoS to
82 * the block. This flag is ignored by dispatch_block_create_with_qos_class()
83 * called with any qos_class other than QOS_CLASS_UNSPECIFIED. Combining this
84 * flag with DISPATCH_BLOCK_ENFORCE_QOS_CLASS has no effect.
8285 *
8386 * @const DISPATCH_BLOCK_INHERIT_QOS_CLASS
8487 * 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 class
86 * assigned to the block (resp. associated with the block at the time of
87 * submission). The latter will only be used if the queue in question does not
88 * have an assigned QOS class, as long as doing so does not result in a QOS
89 * class lower than the QOS class inherited from the queue's target queue.
88 * queue should prefer the queue's specified QoS class over the block's
89 * assigned QoS class. The latter will only be used if the queue does not have
90 * a specified QoS class, as long as doing so does not result in a QoS class
91 * lower than the QoS class inherited from the queue's target queue.
9092 * 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 object
92 * is invoked directly. It is ignored if DISPATCH_BLOCK_ENFORCE_QOS_CLASS is
93 * also passed.
93 * for asynchronous execution, and passing it explicitly to dispatch_async() or
94 * dispatch_async_and_wait() has no additional effect. For synchronous
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.
94101 *
95102 * @const DISPATCH_BLOCK_ENFORCE_QOS_CLASS
96 * Flag indicating that execution of a dispatch block object submitted to a
97 * queue should prefer the QOS class assigned to the block (resp. associated
98 * with the block at the time of submission) over the QOS class assigned to the
99 * queue, as long as doing so will not result in a lower QOS class.
103 * Flag indicating that the block's assigned QoS class should be treated as
104 * enforced. When the block is submitted asynchronously to a queue, the
105 * enforced QoS class is preferred over the queue's specified 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.
100110 * This flag is the default when a dispatch block object is submitted to a queue
101111 * for synchronous execution or when the dispatch block object is invoked
102112 * 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.
103168 */
104169DISPATCH_REFINED_FOR_SWIFT
105170DISPATCH_OPTIONS(dispatch_block_flags, unsigned long,
......@@ -141,15 +206,15 @@ DISPATCH_OPTIONS(dispatch_block_flags, unsigned long,
141206 * on with dispatch_block_wait() or observed with dispatch_block_notify().
142207 *
143208 * 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 the
145 * time of submission, unless one of the following flags assigned a specific QOS
209 * submitted block instance will be assigned the QOS class current at the time
210 * of submission, unless one of the following flags assigned a specific QOS
146211 * class (or no QOS class) at the time of block creation:
147212 * - DISPATCH_BLOCK_ASSIGN_CURRENT
148213 * - DISPATCH_BLOCK_NO_QOS_CLASS
149214 * - DISPATCH_BLOCK_DETACHED
150 * The QOS class the block object will be executed with also depends on the QOS
151 * class assigned to the queue and which of the following flags was specified or
152 * defaulted to:
215 * The QOS class the block object will be executed with also depends on the
216 * queue's specified QOS class and which of the following flags was specified
217 * or defaulted to:
153218 * - DISPATCH_BLOCK_INHERIT_QOS_CLASS (default for asynchronous execution)
154219 * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS (default for synchronous execution)
155220 * 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);
197262 * only the first completed execution of a dispatch block object can be waited
198263 * on with dispatch_block_wait() or observed with dispatch_block_notify().
199264 *
200 * If invoked directly, the returned dispatch block object will be executed with
201 * the assigned QOS class as long as that does not result in a lower QOS class
202 * than what is current on the calling thread.
265 * If invoked directly, the returned dispatch block object will be executed at
266 * the higher of the block's assigned QoS class and the calling thread's QoS
267 * class.
203268 *
204269 * If the returned dispatch block object is submitted to a dispatch queue, the
205270 * 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 flags
207 * was specified or defaulted to:
271 * block, the queue's specified QOS class and which of the following flags was
272 * specified or defaulted to:
208273 * - DISPATCH_BLOCK_INHERIT_QOS_CLASS: default for asynchronous execution
209274 * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS: default for synchronous execution
210275 * See description of dispatch_block_flags_t for details.
lib/libc/include/any-darwin-any/dispatch/dispatch.h+1-1
......@@ -78,4 +78,4 @@
7878
7979#undef __DISPATCH_INDIRECT__
8080
81#endif
81#endif /* __DISPATCH_PUBLIC__ */
lib/libc/include/any-darwin-any/dispatch/group.h+1-1
......@@ -286,4 +286,4 @@ __END_DECLS
286286DISPATCH_ASSUME_ABI_SINGLE_END
287287DISPATCH_ASSUME_NONNULL_END
288288
289#endif
289#endif /* __DISPATCH_GROUP__ */
lib/libc/include/any-darwin-any/dispatch/object.h+10-6
......@@ -460,13 +460,17 @@ dispatch_resume(dispatch_object_t object);
460460 * Sets the QOS class floor on a dispatch queue, source or workloop.
461461 *
462462 * @discussion
463 * The QOS class of workitems submitted to this object asynchronously will be
464 * elevated to at least the specified QOS class floor. The QOS of the workitem
465 * will be used if higher than the floor even when the workitem has been created
466 * without "ENFORCE" semantics.
463 * Workitems submitted to this object asynchronously run at the higher of
464 * the floor and the workitem's assigned QoS class (regardless of whether
465 * the workitem was created with DISPATCH_BLOCK_ENFORCE_QOS_CLASS) — i.e.
466 * the floor raises the workitem's QoS class but never lowers it.
467467 *
468468 * 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.
470474 *
471475 * @param object
472476 * A dispatch queue, workloop, or source to configure.
......@@ -673,4 +677,4 @@ __END_DECLS
673677DISPATCH_ASSUME_ABI_SINGLE_END
674678DISPATCH_ASSUME_NONNULL_END
675679
676#endif
680#endif /* __DISPATCH_OBJECT__ */
lib/libc/include/any-darwin-any/dispatch/once.h+1-1
......@@ -125,4 +125,4 @@ __END_DECLS
125125DISPATCH_ASSUME_ABI_SINGLE_END
126126DISPATCH_ASSUME_NONNULL_END
127127
128#endif
128#endif /* __DISPATCH_ONCE__ */
lib/libc/include/any-darwin-any/dispatch/queue.h+34-17
......@@ -220,6 +220,15 @@ __BEGIN_DECLS
220220 * concurrently with respect to other blocks submitted to that same queue.
221221 * Serial queues are processed concurrently with respect to each other.
222222 *
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 *
223232 * @param queue
224233 * The target dispatch queue to which the block is submitted.
225234 * The system will hold a reference on the target queue until the block
......@@ -915,9 +924,10 @@ dispatch_queue_attr_make_with_autorelease_frequency(
915924 * relative priority to the queue.
916925 *
917926 * @discussion
918 * When specified in this manner, the QOS class and relative priority take
919 * precedence over those inherited from the dispatch queue's target queue (if
920 * any) as long that does not result in a lower QOS class and relative priority.
927 * The attribute sets the queue's specified QoS class and relative priority.
928 * This takes precedence over the QoS class and relative priority inherited
929 * from the target queue, but the target queue's QoS acts as a floor QoS for
930 * all work submitted to this queue.
921931 *
922932 * The global queue priorities map to the following QOS classes:
923933 * - DISPATCH_QUEUE_PRIORITY_HIGH: QOS_CLASS_USER_INITIATED
......@@ -934,9 +944,9 @@ dispatch_queue_attr_make_with_autorelease_frequency(
934944 * queue = dispatch_queue_create("com.example.myqueue", attr);
935945 * </code>
936946 *
937 * The QOS class and relative priority set this way on a queue have no effect on
938 * blocks that are submitted synchronously to a queue (via dispatch_sync(),
939 * dispatch_barrier_sync()).
947 * The QOS class and relative priority specified this way on a queue have no
948 * effect on blocks that are submitted synchronously to a queue (via
949 * dispatch_sync(), dispatch_barrier_sync()).
940950 *
941951 * @param attr
942952 * 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,
10001010 * a queue will hold a reference to that queue. Therefore a queue will not be
10011011 * deallocated until all pending blocks have finished.
10021012 *
1003 * When using a dispatch queue attribute @a attr specifying a QoS class (derived
1004 * from the result of dispatch_queue_attr_make_with_qos_class()), passing the
1005 * result of dispatch_get_global_queue() in @a target will ignore the QoS class
1006 * of that global queue and will use the global queue with the QoS class
1007 * specified by attr instead.
1013 * When using a dispatch queue attribute @a attr with a specified QoS class
1014 * (derived from the result of dispatch_queue_attr_make_with_qos_class()),
1015 * passing the result of dispatch_get_global_queue() in @a target will ignore
1016 * the QoS class of that global queue and will use the global queue with the
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.
10081021 *
10091022 * Queues created with dispatch_queue_create_with_target() cannot have their
10101023 * target queue changed, unless created inactive (See
......@@ -1066,6 +1079,10 @@ dispatch_queue_create_with_target(const char *_Nullable DISPATCH_UNSAFE_INDEXABL
10661079 * of service class of the newly created dispatch queue's target queue (if any)
10671080 * as long that does not result in a lower QOS class and relative priority.
10681081 *
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 *
10691086 * When no quality of service class is specified, the target queue of a newly
10701087 * created dispatch queue is the default priority global concurrent queue.
10711088 *
......@@ -1127,11 +1144,11 @@ dispatch_queue_get_label(dispatch_queue_t _Nullable queue);
11271144 * Returns the QOS class and relative priority of the given queue.
11281145 *
11291146 * @discussion
1130 * If the given queue was created with an attribute value returned from
1131 * dispatch_queue_attr_make_with_qos_class(), this function returns the QOS
1132 * class and relative priority specified at that time; for any other attribute
1133 * value it returns a QOS class of QOS_CLASS_UNSPECIFIED and a relative
1134 * priority of 0.
1147 * This function returns the QOS class and relative priority of the queue,
1148 * either set by dispatch_queue_attr_make_with_qos_class() or by
1149 * dispatch_set_qos_class_floor(). For a queue with no QOS class
1150 * configuration, it returns a QOS class of QOS_CLASS_UNSPECIFIED and a
1151 * relative priority of 0.
11351152 *
11361153 * If the given queue is one of the global queues, this function returns its
11371154 * assigned QOS class value as documented under dispatch_get_global_queue() and
......@@ -1804,4 +1821,4 @@ __END_DECLS
18041821DISPATCH_ASSUME_ABI_SINGLE_END
18051822DISPATCH_ASSUME_NONNULL_END
18061823
1807#endif
1824#endif /* __DISPATCH_QUEUE__ */
lib/libc/include/any-darwin-any/dispatch/source.h+3-4
......@@ -29,10 +29,9 @@
2929#if TARGET_OS_MAC
3030#include <mach/port.h>
3131#include <mach/message.h>
32#endif
33
34#if !defined(_WIN32)
3532#include <sys/signal.h>
33#elif !defined(_WIN32)
34#include <signal.h>
3635#endif
3736
3837DISPATCH_ASSUME_NONNULL_BEGIN
......@@ -801,4 +800,4 @@ __END_DECLS
801800DISPATCH_ASSUME_ABI_SINGLE_END
802801DISPATCH_ASSUME_NONNULL_END
803802
804#endif
803#endif /* __DISPATCH_SOURCE__ */
lib/libc/include/any-darwin-any/dispatch/time.h+1-1
......@@ -141,4 +141,4 @@ __END_DECLS
141141DISPATCH_ASSUME_ABI_SINGLE_END
142142DISPATCH_ASSUME_NONNULL_END
143143
144#endif
144#endif /* __DISPATCH_TIME__ */
lib/libc/include/any-darwin-any/dlfcn.h+243-21
......@@ -1,5 +1,5 @@
11/*
2 * Copyright (c) 2004-2008 Apple Inc. All rights reserved.
2 * Copyright (c) 2004-2026 Apple Inc. All rights reserved.
33 *
44 * @APPLE_LICENSE_HEADER_START@
55 *
......@@ -32,7 +32,7 @@
3232
3333#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)
3636#include <stdbool.h>
3737#include <Availability.h>
3838
......@@ -45,17 +45,59 @@
4545extern "C" {
4646#endif
4747
48/*
48/*!
4949 * 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.
5065 */
5166typedef struct dl_info {
52 const char *dli_fname; /* Pathname of shared object */
53 void *dli_fbase; /* Base address of shared object */
54 const char *dli_sname; /* Name of nearest symbol */
55 void *dli_saddr; /* Address of nearest symbol */
67 const char* dli_fname;
68 void* dli_fbase;
69 const char* dli_sname;
70 void* dli_saddr;
5671} 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
60102#ifdef __cplusplus
61103}
......@@ -70,33 +112,213 @@ extern int dladdr(const void *, Dl_info *);
70112extern "C" {
71113#endif
72114
73extern int dlclose(void * __handle) __DYLDDL_UNAVAILABLE;
74extern char * dlerror(void) __DYLDDL_UNAVAILABLE;
75extern void * dlopen(const char * __path, int __mode) __DYLDDL_UNAVAILABLE;
76extern void * dlsym(void * __handle, const char * __symbol) __DYLDDL_DLSYM_UNAVAILABLE;
115/*!
116 * Decrements the reference count on a dynamic library.
117 *
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
78278#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;
80299#endif /* not POSIX */
81300
82301
302/*
303 * Flags for dlopen().
304 */
83305#define RTLD_LAZY 0x1
84306#define RTLD_NOW 0x2
85307#define RTLD_LOCAL 0x4
86308#define RTLD_GLOBAL 0x8
87309
88310#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
89#define RTLD_NOLOAD 0x10
90#define RTLD_NODELETE 0x80
91#define RTLD_FIRST 0x100 /* Mac OS X 10.5 and later */
311#define RTLD_NOLOAD 0x10
312#define RTLD_NODELETE 0x80
313#define RTLD_FIRST 0x100
92314
93315/*
94 * Special handle arguments for dlsym().
316 * Special handle values for dlsym().
95317 */
96#define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */
97#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) */
99#define RTLD_MAIN_ONLY ((void *) -5) /* Search main executable only (Mac OS X 10.5 and later) */
318#define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */
319#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm. */
320#define RTLD_SELF ((void *) -3) /* Search this and subsequent objects */
321#define RTLD_MAIN_ONLY ((void *) -5) /* Search main executable only */
100322#endif /* not POSIX */
101323
102324#ifdef __cplusplus
lib/libc/include/any-darwin-any/fts.h+31-191
......@@ -1,195 +1,35 @@
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#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 */
1#ifndef DARWIN_FTS_H_INCLUDED
2#define DARWIN_FTS_H_INCLUDED
3/* Temporarily force FTS_COMPAT until we've cleared up the fallout */
4#ifndef WANT_FTS_NEW
5# ifndef WANT_FTS_COMPAT
6# define WANT_FTS_COMPAT 1
7# endif
1068#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>
1729#include <Availability.h>
173
174__BEGIN_DECLS
175FTSENT *fts_children(FTS *, int) __DARWIN_INODE64(fts_children);
176int fts_close(FTS *) __DARWIN_INODE64(fts_close);
177FTS *fts_open(char *_LIBC_CSTR const *, int,
178 int (*)(const FTSENT **, const FTSENT **)) __DARWIN_INODE64(fts_open);
179#ifdef __BLOCKS__
180#if __has_attribute(noescape)
181#define __fts_noescape __attribute__((__noescape__))
10#ifdef VARIANT_INODE32
11# undef WANT_FTS_NEW
12# define WANT_FTS_COMPAT 1
13#elif defined(WANT_FTS_NEW)
14# undef WANT_FTS_COMPAT
15#elif !defined(WANT_FTS_COMPAT)
16# if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 280000
17# define WANT_FTS_COMPAT 1
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>
18232#else
183#define __fts_noescape
33# include <fts_new.h>
18434#endif
185FTS *fts_open_b(char *_LIBC_CSTR const *, int,
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
35#endif /* DARWIN_FTS_H_INCLUDED */
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 @@
5757#if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>))
5858
5959#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)
6161#else
6262#include_next <limits.h>
6363#endif /* __has_include_next */
lib/libc/include/any-darwin-any/mach-o/compact_unwind_encoding.h+11-2
......@@ -288,6 +288,10 @@ enum {
288288 UNWIND_ARM64_MODE_FRAMELESS = 0x02000000,
289289 UNWIND_ARM64_MODE_DWARF = 0x03000000,
290290 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
292296 UNWIND_ARM64_FRAME_X19_X20_PAIR = 0x00000001,
293297 UNWIND_ARM64_FRAME_X21_X22_PAIR = 0x00000002,
......@@ -323,8 +327,13 @@ enum {
323327// This mode is never used in object files. It is only generated by the
324328// linker in final linked images which have only DWARF unwind info for a
325329// function.
326//
327
330// For arm64e there is one more mode for compact unwind encoding:
331// 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
329338#ifndef __OPEN_SOURCE__
330339//
lib/libc/include/any-darwin-any/mach-o/dyld.h+36-45
......@@ -128,6 +128,13 @@ extern void _tlv_bootstrap(void) __A
128128extern 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
131138/*
132139 * The following dyld API's are deprecated as of Mac OS X 10.5. They are either
133140 * no longer necessary or are superceeded by dlopen and friends in <dlfcn.h>.
......@@ -169,22 +176,18 @@ typedef struct __NSObjectFileImage* NSObjectFileImage;
169176
170177
171178/* 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()");
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, "");
174extern bool NSDestroyObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlclose()");
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()");
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, "");
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, "");
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, "");
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()");
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()");
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()");
182185
183186typedef 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, "");
185extern const char* NSLibraryNameForModule(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, "");
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()");
188191#define NSLINKMODULE_OPTION_NONE 0x0
189192#define NSLINKMODULE_OPTION_BINDNOW 0x1
190193#define NSLINKMODULE_OPTION_PRIVATE 0x2
......@@ -192,27 +195,26 @@ extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* modu
192195#define NSLINKMODULE_OPTION_DONT_CALL_MOD_INIT_ROUTINES 0x8
193196#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, "");
196199#define NSUNLINKMODULE_OPTION_NONE 0x0
197200#define NSUNLINKMODULE_OPTION_KEEP_MEMORY_MAPPED 0x1
198201#define NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES 0x2
199202
200203/* symbol API */
201204typedef 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()");
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()");
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()");
205extern 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()");
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()");
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()");
205extern bool NSIsSymbolNameDefined(const char* symbolName) __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()");
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()");
208extern NSSymbol NSLookupAndBindSymbol(const char* symbolName) __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()");
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()");
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()");
209212#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND 0x0
210213#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_NOW 0x1
211214#define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_FULLY 0x2
212215#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, "");
214extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()");
215extern NSModule NSModuleForSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dladdr()");
216extern 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()");
216218
217219/* error handling API */
218220typedef enum {
......@@ -240,36 +242,25 @@ typedef enum {
240242 NSOtherErrorInvalidArgs
241243} 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()");
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, "");
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()");
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()");
255extern 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()");
247extern bool NSAddLibrary(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()");
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()");
257250#define NSADDIMAGE_OPTION_NONE 0x0
258251#define NSADDIMAGE_OPTION_RETURN_ON_ERROR 0x1
259252#define NSADDIMAGE_OPTION_WITH_SEARCHING 0x2
260253#define NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED 0x4
261254#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");
264extern bool _dyld_launched_prebound(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "moot");
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");
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)");
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()");
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()");
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()");
256extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true");
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)");
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()");
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()");
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()");
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()");
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
275266#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
174174
175175 mach_port_t notifyPorts[DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT];
176176
177#if __LP64__
178177 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
182178 // The following fields were added in version 18 (previously they were reserved padding fields)
183179 uint64_t sharedCacheFSID;
184180 uint64_t sharedCacheFSObjID;
lib/libc/include/any-darwin-any/mach-o/fixup-chains.h+28
......@@ -109,6 +109,8 @@ enum {
109109 DYLD_CHAINED_PTR_ARM64E_USERLAND24 = 12, // stride 8, unauth target is vm offset, 24-bit bind
110110 DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE = 13, // stride 8, regular/auth targets both vm offsets. Only A keys supported
111111 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
112114};
113115
114116
......@@ -294,7 +296,33 @@ struct dyld_chained_ptr_arm64e_shared_cache_auth_rebase
294296 auth : 1; // == 1
295297};
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
299327// values for dyld_chained_fixups_header.imports_format
300328enum {
lib/libc/include/any-darwin-any/mach-o/utils.h+99-139
......@@ -1,5 +1,5 @@
11/*
2 * Copyright (c) 2021 Apple Inc. All rights reserved.
2 * Copyright (c) 2021-2026 Apple Inc. All rights reserved.
33 *
44 * @APPLE_LICENSE_HEADER_START@
55 *
......@@ -38,64 +38,45 @@ extern "C" {
3838#endif
3939
4040/*!
41 * @function macho_cpu_type_for_arch_name
41 * Converts an architecture name into a cpu type/subtype pairy.
4242 *
43 * @abstract
44 * Converts an architecture name into a cpu type/subtype pair.
43 * - Parameter archName: An architecture name (e.g "arm64e" or "x86_64").
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.
4546 *
46 * @param archName
47 * An architecture name (e.g "arm64e" or "x86_64").
47 * - Returns: Returns true if the archName is known and fills in the type/subtype.
48 * Returns false if the archName is unknown.
4849 *
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.
5850 */
5951extern bool macho_cpu_type_for_arch_name(const char* _Nonnull archName, cpu_type_t* _Nonnull type, cpu_subtype_t* _Nonnull subtype)
6052__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
6153
6254
6355/*!
64 * @function macho_arch_name_for_cpu_type
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)
56 * Converts a cpu type/subtype pair into the architecture name.
7157 *
72 * @param subtype
73 * The cpu subtype from <machine/machine.h> (e.g CPU_SUBTYPE_ARM64E)
58 * - Parameter type: The cpu type from <machine/machine.h> (e.g CPU_TYPE_ARM64)
59 * - Parameter subtype: The cpu subtype from <machine/machine.h> (e.g CPU_SUBTYPE_ARM64E)
7460 *
75 * @return
76 * Returns a static c-string which is the name for the cpu type/subtype (e.g. "arm64e").
77 * If the cpu type/subtype is unknown, NULL will be returned.
78 * The string returned is static and does not need to be deallocated.
61 * - Returns: 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.
63 * The string returned is static and does not need to be deallocated.
7964 */
8065extern const char* _Nullable macho_arch_name_for_cpu_type(cpu_type_t type, cpu_subtype_t subtype)
8166__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
8267
8368
8469/*!
85 * @function macho_arch_name_for_mach_header
70 * Returns the architecture name from the cpu type/subtype in a mach_header.
8671 *
87 * @abstract
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().
72 * This is a convenience wrapper around macho_arch_name_for_cpu_type().
9073 *
91 * @param mh
92 * A pointer to the header of a mach-o file.
93 * If NULL is passed, the architecture name of the main executable will be returned.
74 * - Parameter mh: 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.
9476 *
95 * @return
96 * Returns a static c-string which is the name for architecture of the mach-o file (e.g. "arm64e").
97 * If the architecture is unknown, NULL will be returned.
98 * The string returned is static and does not need to be deallocated.
77 * - Returns: 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.
79 * The string returned is static and does not need to be deallocated.
9980 */
10081extern const char* _Nullable macho_arch_name_for_mach_header(const struct mach_header* _Nullable mh)
10182__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));
10889 #endif
10990
11091/*!
111 * @function macho_for_each_slice
112 *
113 * @abstract
114 * Temporarily maps a mach-o or universal file and iterates the slices.
115 * If the file is mach-o, the block is called once with the mach-o file mapped.
116 * If the file is universal (aka fat), the block is called once per slice in the order in the header.
117 * If the path does not exist or does, but is not a mach-o file, the block is never called.
118 *
119 * @param path
120 * The path to the file to inspect.
121 *
122 * @param callback
123 * A block to call once per slice.
124 * Can be NULL. In which case the return value tells you if the file is mach-o or fat.
125 * The slice pointer is only valid during the block invocation.
126 * To stop iterating the slices, set *stop to true.
127 *
128 * @return
129 * Returns zero on success, otherwise it returns an errno value.
130 * Common returned errors:
131 * ENOENT - path does not exist
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
92 * Iterates slices in a universal file given its path.
93 *
94 * 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.
96 * 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
98 * start of each static library, which is not a mach-o file! If you only want to inspect mach-o slices,
99 * you can use `macho_arch_name_for_mach_header(slice) == NULL` to filter out non-mach-o files (e.g. static libs).
100 * If the path does not exist or does, but is not a mach-o file, the block is never called.
101 *
102 * - Parameter path: The path to the file to inspect.
103 * - Parameter callback: 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.
105 * The slice pointer is only valid during the block invocation.
106 * To stop iterating the slices, set *stop to true.
107 *
108 * - Returns: Returns zero on success, otherwise it returns an errno value:
109 * * ENOENT - path does not exist
110 * * EACCES - path exists put caller does not have permission to access it
111 * * EFTYPE - path exists but it is not a mach-o or fat file
112 * * EBADMACHO - path is a mach-o file, but it is malformed
135113 */
136114extern 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)
137115__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
138116
139117
140118/*!
141 * @function macho_for_each_slice_in_fd
142 *
143 * @abstract
144 * Temporarily maps a mach-o or universal file and iterates the slices.
145 * If the fd is to a mach-o, the block is called once with the mach-o file mapped.
146 * If the fd is to a universal (aka fat), the block is called once per slice in the order in the header.
147 * If the fd is closed or not mmap()able, the block is never called.
148 *
149 * @param fd
150 * An open file descriptor to a mmap()able file.
151 *
152 * @param callback
153 * A block to call once per slice.
154 * Can be NULL. In which case the return value tells you if the file is mach-o or fat.
155 * The slice pointer is only valid during the block invocation.
156 * To stop iterating the slices, set *stop to true.
157 *
158 * @return
159 * Returns zero on success, otherwise it returns an errno value.
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
119 * Iterates slices in a universal file given a file descriptor to the file.
120 *
121 * 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.
123 * 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
125 * start of each static library, which is not a mach-o file! If you only want to inspect mach-o slices,
126 * you can use `macho_arch_name_for_mach_header(slice) == NULL` to filter out non-mach-o files (e.g. static libs).
127 * If the fd is closed or not mmap()able, the block is never called.
128 *
129 * - Parameter fd: An open file descriptor to a mmap()able file.
130 * - Parameter callback: 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.
132 * The slice pointer is only valid during the block invocation.
133 * To stop iterating the slices, set *stop to true.
134 *
135 * - Returns: Returns zero on success, otherwise it returns an errno value.
136 * * EFTYPE - fd content is not a mach-o or fat file
137 * * EBADMACHO - fd content is a mach-o file, but it is malformed
163138 */
164139extern 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)
165140__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
166141
167142
168143/*!
169 * @function macho_best_slice
170 *
171 * @abstract
172 * Examines a mach-o or universal file to find the slice that would be loaded. That is, for dylib/bundles, which
173 * slice dyld would load. For main executables, which slice the kernel would use.
174 * In simulator processes, only other simulator main executables will be considered loadable.
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.
176 * If the file is universal (aka fat) file, the best slice is found and the block is called once with the mapped slice.
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.
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.
179 *
180 * @param path
181 * The path to the file to inspect.
182 *
183 * @param callback
184 * A block to call once with the best slice.
185 * Can be NULL. In which case the return value tells you if there was a loadable slice
186 * The slice pointer is only valid during the block invocation.
187 *
188 * @return
189 * Returns zero on success (meaning there is a best slice), otherwise it returns an errno value.
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
144 * Examines a mach-o or universal file by path to find the slice that would be loaded.
145 *
146 * For dylib/bundles, the best slice is the slice dyld would load.
147 * For main executables, the best slice is the slice the kernel would execute.
148 * 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.
150 * 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.
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.
153 *
154 * - Parameter path: The path to the file to inspect.
155 * - Parameter bestSlice: This block will be called once with the best slice.
156 * This parameter can be NULL, in which case the return value tells you if there was a loadable slice.
157 * The slice pointer is only valid during the block invocation.
158 *
159 * - Returns: Returns zero on success (meaning there is a best slice), otherwise it returns an errno value.
160 * * ENOENT - path does not exist
161 * * EACCES - path exists put caller does not have permission to access it
162 * * EFTYPE - path exists but it is not a mach-o or fat file
163 * * EBADARCH - path exists and is mach-o or fat, but none of the slices are loadable
164 * * EBADMACHO - path is a mach-o file, but it is malformed
196165 */
197166extern 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)
198167__API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0));
199168
200169
201170/*!
202 * @function macho_best_slice_in_fd
203 *
204 * @abstract
205 * Examines a mach-o or universal file to find the slice that would be loaded. That is, for dylib/bundles, which
206 * slice dyld would load. For main executables, which slice the kernel would use.
207 * In simulator processes, only other simulator main executables will be considered loadable.
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.
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.
210 * If the fd is closed or not mmap()able, the block is never called.
211 *
212 * @param fd
213 * An open file descriptor to a mmap()able file.
214 *
215 * @param callback
216 * A block to call once with the best slice.
217 * Can be NULL. In which case the return value tells you if there was a loadable slice
218 * The slice pointer is only valid during the block invocation.
219 *
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
171 * Examines a mach-o or universal file by descripotr to find the slice that would be loaded.
172 *
173 * For dylib/bundles, the best slice is the slice dyld would load.
174 * For main executables, the best slice is the slice the kernel would execute.
175 * 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.
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.
178 * If the fd is closed or not mmap()able, the block is never called.
179 *
180 * - Parameter fd: An open file descriptor to a mmap()able file.
181 * - Parameter bestSlice: This block will be called once with the best slice.
182 * This parameter can be NULL, in which case the return value tells you if there was a loadable slice.
183 * The slice pointer is only valid during the block invocation.
184 *
185 * - Returns: Returns zero on success (meaning there is a best slice), otherwise it returns an errno value.
186 * * EFTYPE - fd content is not a mach-o or fat file
187 * * EBADMACHO - fd content is a mach-o file, but it is malformed
188 * * EBADARCH - fd content is a mach-o or fat, but none of the slices are loadable
226189 */
227190extern 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)
228191__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));
230193#endif // __BLOCKS__
231194
232195
233
234
235
236196#if __cplusplus
237197}
238198#endif
lib/libc/include/any-darwin-any/mach/arm/exception.h-1
......@@ -37,7 +37,6 @@
3737
3838#define EXCEPTION_CODE_MAX 2 /* code and subcode */
3939
40
4140/*
4241 * Trap numbers as defined by the hardware exception vectors.
4342 */
lib/libc/include/any-darwin-any/mach/arm/thread_status.h+1-1
......@@ -1,5 +1,5 @@
11/*
2 * Copyright (c) 2007 Apple Inc. All rights reserved.
2 * Copyright (c) 2007-2026 Apple Inc. All rights reserved.
33 *
44 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55 *
lib/libc/include/any-darwin-any/mach/arm/vm_param.h+32-21
......@@ -66,42 +66,53 @@
6666
6767#define VM_MAX_PAGE_ADDRESS MACH_VM_MAX_ADDRESS
6868
69#ifndef __ASSEMBLER__
70
71
69/* Assembler-friendly values */
7270#if defined (__arm__)
7371
74#define VM_MIN_ADDRESS ((vm_address_t) 0x00000000)
75#define VM_MAX_ADDRESS ((vm_address_t) 0x80000000)
72#define VM_MIN_ADDRESS_RAW (0x00000000)
73#define VM_MAX_ADDRESS_RAW (0x80000000)
7674
7775/* system-wide values */
78#define MACH_VM_MIN_ADDRESS ((mach_vm_offset_t) 0)
79#define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) VM_MAX_ADDRESS)
76#define MACH_VM_MIN_ADDRESS_RAW (VM_MIN_ADDRESS_RAW)
77#define MACH_VM_MAX_ADDRESS_RAW (VM_MAX_ADDRESS_RAW)
78#define MACH_VM_ADDRESS_MASK (0x7FFFFFFF)
8079
8180#elif defined (__arm64__)
8281
83#define VM_MIN_ADDRESS ((vm_address_t) 0x0000000000000000ULL)
84#define VM_MAX_ADDRESS ((vm_address_t) 0x00000000F0000000ULL)
82#define VM_MIN_ADDRESS_RAW (0x0000000000000000ULL)
83#define VM_MAX_ADDRESS_RAW (0x00000000F0000000ULL)
8584
8685/* system-wide values */
87#define MACH_VM_MIN_ADDRESS_RAW 0x0ULL
88#define MACH_VM_MAX_ADDRESS_RAW 0x00007FFFFE000000ULL
86#define MACH_VM_MIN_ADDRESS_RAW (0x0000000000000000ULL)
8987
90/*
91 * `MACH_VM_MAX_ADDRESS` is exported to user space, but we don't want this
92 * larger value for `MACH_VM_MAX_ADDRESS` to be exposed outside the kernel.
93 */
88#define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW (0x0000001000000000ULL) /* 64 GiB */
89#define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW (0x0000007000000000ULL) /* 448 GiB */
90
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)
96#define MACH_VM_MAX_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_ADDRESS_RAW)
99#endif
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
100113#define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW)
101114#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
105116#endif
106117
107118#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;
182182#define HOST_VM_INFO64 4 /* 64-bit virtual memory stats */
183183#define HOST_EXTMOD_INFO64 5 /* External modification stats */
184184#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;
207208
208209/* size of the latest version of the structure */
209210#define HOST_VM_INFO64_LATEST_COUNT HOST_VM_INFO64_COUNT
210#define HOST_VM_INFO64_REV3_COUNT HOST_VM_INFO64_COUNT
211#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)))
211218#define HOST_VM_INFO64_REV2_COUNT ((mach_msg_type_number_t) \
212219 (offsetof(vm_statistics64_data_t, total_tag_storage_pages) / sizeof(integer_t)))
213220#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;
248255#define HOST_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \
249256 (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
251272struct host_preferred_user_arch {
252273 cpu_type_t cpu_type; /* Preferred user-space cpu type */
253274 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 @@
112112#define HOST_MEMORY_ERROR_PORT (26 + HOST_MAX_SPECIAL_KERNEL_PORT)
113113#define HOST_MANAGEDAPPDISTD_PORT (27 + HOST_MAX_SPECIAL_KERNEL_PORT)
114114#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_PORT
117#define HOST_MAX_SPECIAL_PORT HOST_DISKIMAGESIOD_PORT
117118/* MAX = last since rdar://59872249 */
118119
119120/* obsolete name */
......@@ -302,6 +303,11 @@
302303#define host_set_doubleagentd_port(host, port) \
303304 (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)))
305311/* HOST_RESOURCE_NOTIFY_PORT doesn't #defines these conveniences.
306312 * All lookups go through send_resource_violation()
307313 */
lib/libc/include/any-darwin-any/mach/mach_host.h+1-1
......@@ -270,7 +270,7 @@ extern
270270#endif /* mig_external */
271271kern_return_t host_lockgroup_info
272272(
273 host_t host,
273 host_t host_priv_t,
274274 lockgroup_info_array_t *lockgroup_info,
275275 mach_msg_type_number_t *lockgroup_infoCnt
276276);
lib/libc/include/any-darwin-any/mach/mach_types.h+1-1
......@@ -1,5 +1,5 @@
11/*
2 * Copyright (c) 2000-2018 Apple Inc. All rights reserved.
2 * Copyright (c) 2000-2026 Apple Inc. All rights reserved.
33 *
44 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55 *
lib/libc/include/any-darwin-any/mach/machine.h+27
......@@ -342,6 +342,30 @@ typedef integer_t cpu_threadtype_t;
342342#define CPU_SUBTYPE_ARM64_ALL ((cpu_subtype_t) 0)
343343#define CPU_SUBTYPE_ARM64_V8 ((cpu_subtype_t) 1)
344344#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
346370/* CPU subtype feature flags for ptrauth on arm64e platforms */
347371#define CPU_SUBTYPE_ARM64_PTR_AUTH_MASK 0x0f000000
......@@ -413,6 +437,9 @@ typedef integer_t cpu_threadtype_t;
413437#define CPUFAMILY_ARM_SOTRA 0xf76c5b1a
414438#define CPUFAMILY_ARM_THERA 0xab345f09
415439#define CPUFAMILY_ARM_TILOS 0x01d7a72b
440#define CPUFAMILY_ARM_KOMODO 0x6d0ccb0c
441#define CPUFAMILY_ARM_BORNEO 0x7db56df1
442#define CPUFAMILY_ARM_NEVIS 0x37652b0c
416443
417444/* Described in rdar://64125549 */
418445#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;
183183
184184#define MEMORY_OBJECT_DATA_FLUSH 0x1
185185#define MEMORY_OBJECT_DATA_NO_CHANGE 0x2
186#define MEMORY_OBJECT_DATA_PURGE 0x4
186#define MEMORY_OBJECT_DATA_PURGE 0x4 /* This is unused and unimplemented */
187187#define MEMORY_OBJECT_COPY_SYNC 0x8
188188#define MEMORY_OBJECT_DATA_SYNC 0x10
189189#define MEMORY_OBJECT_IO_SYNC 0x20
lib/libc/include/any-darwin-any/mach/port.h+40-9
......@@ -96,6 +96,7 @@
9696 * Some structures must remain a constant size due to performance or ABI implications.
9797 * It's not necessarily an issue if you need to bump a size passed to these macros: act judiciously.
9898 */
99#if !defined(__cplusplus) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
99100#if __arm64__
100101#define xnu_static_assert_struct_size(name, expected_size) _Static_assert(\
101102 sizeof(name) == expected_size, "struct changed size unexpectedly")
......@@ -114,6 +115,13 @@
114115 xnu_static_assert_struct_size(name, expected_user32_size)
115116#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
117125/*
118126 * mach_port_name_t - the local identity for a Mach port
119127 *
......@@ -271,6 +279,7 @@ typedef struct mach_port_status {
271279#define MACH_PORT_QLIMIT_BASIC (5)
272280#define MACH_PORT_QLIMIT_SMALL (16)
273281#define MACH_PORT_QLIMIT_LARGE (1024)
282#define MACH_PORT_QLIMIT_KERNEL_SOFT (4 * MACH_PORT_QLIMIT_LARGE)
274283#define MACH_PORT_QLIMIT_KERNEL (65534)
275284#define MACH_PORT_QLIMIT_MIN MACH_PORT_QLIMIT_ZERO
276285#define MACH_PORT_QLIMIT_DEFAULT MACH_PORT_QLIMIT_BASIC
......@@ -367,6 +376,9 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
367376/* Allows 1p process to create weak reply port */
368377#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
370382/*
371383 * Flags for mach_port_options (used for
372384 * invocation of mach_port_construct).
......@@ -405,6 +417,18 @@ typedef struct mach_service_port_info * mach_service_port_info_t;
405417/* MPO port type flags */
406418#define MPO_MAKE_PORT_TYPE(a, b) (((a & 0x7) << 14) | ((b & 0x7) << 10))
407419#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
408432/* These need to be defined for libxpc and other clients who `#ifdef` */
409433 #define MPO_PORT MPO_PORT
410434 #define MPO_SERVICE_PORT MPO_SERVICE_PORT
......@@ -431,6 +455,11 @@ __options_decl(mpo_flags_t, uint32_t, {
431455 MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */
432456 /* Can receive OOL port array descriptors */
433457 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 */
434463});
435464
436465/* For bincompat: weak reply port used to be called provisional reply port */
......@@ -489,8 +518,15 @@ enum mach_port_guard_exception_codes {
489518 kGUARD_EXC_UNGUARDED = 8,
490519 kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9,
491520 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,
492524 kGUARD_EXC_INCORRECT_GUARD = 16,
525 kGUARD_EXC_BOOTSTRAP_PORT_NOTIFICATION = 17,
526 kGUARD_EXC_CV_INVALID_EXCEPTION_PORT = 18,
493527 kGUARD_EXC_IMMOVABLE = 32,
528 kGUARD_EXC_RESTRICT_VOUCHER_RECIPE_SIZE = 33,
529 kGUARD_EXC_RESTRICT_INLINE_PORT_DESCRIPTORS = 34,
494530 kGUARD_EXC_STRICT_REPLY = 64,
495531 kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65,
496532 kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66,
......@@ -512,24 +548,19 @@ enum mach_port_guard_exception_codes {
512548 /* start of always non-fatal guards */
513549 kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */
514550 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,
518551 kGUARD_EXC_WEAK_REPLY_PORT = 0x00100002, /* unused */
519552 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 */
521554 kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005,
555 kGUARD_EXC_INVALID_NOTIFICATION_PORT = 0x00100006,
556 kGUARD_EXC_CV_NOTIFICATION_PORT_REQ = 0x00100008,
522557 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,
524559};
525560
526561#define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED
527562#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
534565/*
535566 * 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];
9090 * Currently defined information.
9191 */
9292typedef int processor_flavor_t;
93#define PROCESSOR_BASIC_INFO 1 /* basic information */
94#define PROCESSOR_CPU_LOAD_INFO 2 /* cpu load information */
95#define PROCESSOR_PM_REGS_INFO 0x10000001 /* performance monitor register info */
96#define PROCESSOR_TEMPERATURE 0x10000002 /* Processor core temperature */
93#define PROCESSOR_BASIC_INFO 1 /* basic information */
94#define PROCESSOR_CPU_LOAD_INFO 2 /* cpu load information */
95#define PROCESSOR_CPU_COUNTERS_INFO 3 /* per-CPU active/idle time, cycles, instructions, energy */
96#define PROCESSOR_PM_REGS_INFO 0x10000001 /* performance monitor register info */
97#define PROCESSOR_TEMPERATURE 0x10000002 /* Processor core temperature */
9798
9899struct processor_basic_info {
99100 cpu_type_t cpu_type; /* type of cpu */
......@@ -120,6 +121,20 @@ typedef struct processor_cpu_load_info *processor_cpu_load_info_t;
120121#define PROCESSOR_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \
121122 (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
123138/*
124139 * Scaling factor for load_average, mach_factor.
125140 */
lib/libc/include/any-darwin-any/mach/task.h+8-4
......@@ -172,7 +172,8 @@ mig_external
172172#else
173173extern
174174#endif /* mig_external */
175__TVOS_PROHIBITED __WATCHOS_PROHIBITED
175__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)
176177kern_return_t task_suspend
177178(
178179 task_read_t target_task
......@@ -184,7 +185,8 @@ mig_external
184185#else
185186extern
186187#endif /* mig_external */
187__TVOS_PROHIBITED __WATCHOS_PROHIBITED
188__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)
188190kern_return_t task_resume
189191(
190192 task_read_t target_task
......@@ -588,7 +590,8 @@ mig_external
588590#else
589591extern
590592#endif /* mig_external */
591__TVOS_PROHIBITED __WATCHOS_PROHIBITED
593__API_AVAILABLE(macos(10.9), ios(7.0), visionos(1.0))
594__API_UNAVAILABLE(watchos, tvos)
592595kern_return_t task_suspend2
593596(
594597 task_read_t target_task,
......@@ -601,7 +604,8 @@ mig_external
601604#else
602605extern
603606#endif /* mig_external */
604__TVOS_PROHIBITED __WATCHOS_PROHIBITED
607__API_AVAILABLE(macos(10.9), ios(7.0), visionos(1.0))
608__API_UNAVAILABLE(watchos, tvos)
605609kern_return_t task_resume2
606610(
607611 task_suspension_token_t suspend_token
lib/libc/include/any-darwin-any/mach/task_info.h+32-1
......@@ -69,9 +69,9 @@
6969#include <mach/machine/vm_types.h>
7070#include <mach/time_value.h>
7171#include <mach/policy.h>
72#include <mach/machine.h>
7273#include <mach/vm_statistics.h> /* for vm_extmod_statistics_data_t */
7374#include <Availability.h>
74
7575#include <sys/cdefs.h>
7676
7777/*
......@@ -521,6 +521,37 @@ typedef struct task_ipc_space_policy_info * task_ipc_space_policy_info_t;
521521#define TASK_IPC_SPACE_POLICY_INFO_COUNT ((mach_msg_type_number_t) \
522522 (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
524555/*
525556 * Type to control EXC_GUARD delivery options for a task
526557 * 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
147147#else
148148extern
149149#endif /* mig_external */
150__WATCHOS_PROHIBITED
150__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)
151152kern_return_t thread_suspend
152153(
153154 thread_read_t target_act
......@@ -159,7 +160,8 @@ mig_external
159160#else
160161extern
161162#endif /* mig_external */
162__WATCHOS_PROHIBITED
163__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)
163165kern_return_t thread_resume
164166(
165167 thread_read_t target_act
......@@ -515,7 +517,8 @@ mig_external
515517#else
516518extern
517519#endif /* mig_external */
518__WATCHOS_PROHIBITED
520__API_AVAILABLE(macos(26.4), ios(26.4), tvos(26.4), visionos(26.4))
521__API_UNAVAILABLE(watchos)
519522kern_return_t thread_suspend2
520523(
521524 thread_read_t target_act,
......@@ -528,7 +531,8 @@ mig_external
528531#else
529532extern
530533#endif /* mig_external */
531__WATCHOS_PROHIBITED
534__API_AVAILABLE(macos(26.4), ios(26.4), tvos(26.4), visionos(26.4))
535__API_UNAVAILABLE(watchos)
532536kern_return_t thread_resume2
533537(
534538 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 {
13371337 vm_size_t size;
13381338 natural_t nesting_depth;
13391339 mach_msg_type_number_t infoCnt;
1340 int info[19];
1340 int info[21];
13411341 } __Reply__vm_region_recurse_t __attribute__((unused));
13421342#ifdef __MigPackStructs
13431343#pragma pack(pop)
......@@ -1354,7 +1354,7 @@ union __RequestUnion__vm_map_subsystem {
13541354 vm_size_t size;
13551355 natural_t nesting_depth;
13561356 mach_msg_type_number_t infoCnt;
1357 int info[19];
1357 int info[21];
13581358 } __Reply__vm_region_recurse_64_t __attribute__((unused));
13591359#ifdef __MigPackStructs
13601360#pragma pack(pop)
lib/libc/include/any-darwin-any/mach/vm_param.h+1
......@@ -67,6 +67,7 @@
6767#ifndef _MACH_VM_PARAM_H_
6868#define _MACH_VM_PARAM_H_
6969
70
7071#include <mach/machine/vm_param.h>
7172
7273
lib/libc/include/any-darwin-any/mach/vm_region.h+37-6
......@@ -42,7 +42,9 @@
4242#include <mach/vm_prot.h>
4343#include <mach/vm_inherit.h>
4444#include <mach/vm_behavior.h>
45#include <mach/vm_statistics.h>
4546#include <mach/vm_types.h>
47#include <mach/mach_types.h>
4648#include <mach/message.h>
4749#include <mach/machine/vm_param.h>
4850#include <mach/machine/vm_types.h>
......@@ -72,7 +74,6 @@ typedef int *vm_region_recurse_info_64_t;
7274typedef int vm_region_flavor_t;
7375typedef int vm_region_info_data_t[VM_REGION_INFO_MAX];
7476
75
7677#define VM_REGION_BASIC_INFO_64 9
7778struct vm_region_basic_info_64 {
7879 vm_prot_t protection;
......@@ -133,7 +134,7 @@ typedef struct vm_region_basic_info vm_region_basic_info_data_t;
133134#define SM_TRUESHARED 5
134135#define SM_PRIVATE_ALIASED 6
135136#define SM_SHARED_ALIASED 7
136#define SM_LARGE_PAGE 8
137#define SM_LARGE_PAGE 8 /* Unused today, but provided for compatibility */
137138
138139/*
139140 * For submap info, the SM flags above are overlayed when a submap
......@@ -259,6 +260,10 @@ struct vm_region_submap_info_64 {
259260 unsigned int pages_reusable;
260261 /* v2 fields */
261262 vm_object_id_t object_id_full;
263 /* v3 fields */
264 uint32_t pages_wired;
265 uint16_t wire_tag;
266 uint16_t __padding0;
262267};
263268
264269typedef 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
269274 * so if we ever increase this you'll need to also bump the definition of
270275 * vm_region_recurse_info_t.
271276 */
272#define VM_REGION_SUBMAP_INFO_V2_SIZE \
277#define VM_REGION_SUBMAP_INFO_V3_SIZE \
273278 (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
275284/* v1 size is v2 size minus v2's new fields */
276285#define VM_REGION_SUBMAP_INFO_V1_SIZE \
277286 (VM_REGION_SUBMAP_INFO_V2_SIZE - \
......@@ -282,6 +291,9 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t
282291 (VM_REGION_SUBMAP_INFO_V1_SIZE - \
283292 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)))
285297#define VM_REGION_SUBMAP_INFO_V2_COUNT_64 \
286298 ((mach_msg_type_number_t) \
287299 (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
293305 (VM_REGION_SUBMAP_INFO_V0_SIZE / sizeof (natural_t)))
294306
295307/* set this to the latest version */
296#define VM_REGION_SUBMAP_INFO_COUNT_64 VM_REGION_SUBMAP_INFO_V2_COUNT_64
308#define VM_REGION_SUBMAP_INFO_COUNT_64 VM_REGION_SUBMAP_INFO_V3_COUNT_64
297309
298310#define VM_REGION_FLAG_JIT_ENABLED 0x1
299311#define VM_REGION_FLAG_TPRO_ENABLED 0x2
300
312/* 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
302316struct vm_region_submap_short_info_64 {
303317 vm_prot_t protection; /* present access protection */
......@@ -355,9 +369,11 @@ typedef struct vm32_read_entry vm32_read_entry_t[VM_MAP_ENTRY_MAX];
355369#define VM_PAGE_INFO_MAX
356370typedef int *vm_page_info_t;
357371typedef int vm_page_info_data_t[VM_PAGE_INFO_MAX];
372
358373typedef 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
361377struct vm_page_info_basic {
362378 int disposition;
363379 int ref_count;
......@@ -372,5 +388,20 @@ typedef struct vm_page_info_basic vm_page_info_basic_data_t;
372388#define VM_PAGE_INFO_BASIC_COUNT ((mach_msg_type_number_t) \
373389 (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
376407#endif /*_MACH_VM_REGION_H_*/
lib/libc/include/any-darwin-any/mach/vm_statistics.h+103-21
......@@ -207,6 +207,59 @@ struct vm_statistics64 {
207207 uint64_t tagged_decompressions;
208208 /* The current number of bytes consumed by compressed tag storage data */
209209 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;
210263} __attribute__((aligned(8)));
211264
212265typedef struct vm_statistics64 *vm_statistics64_t;
......@@ -259,18 +312,19 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t;
259312
260313typedef int32_t vm_page_disposition_t;
261314
262#define VM_PAGE_QUERY_PAGE_PRESENT 0x001
263#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x002
264#define VM_PAGE_QUERY_PAGE_REF 0x004
265#define VM_PAGE_QUERY_PAGE_DIRTY 0x008
266#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x010
267#define VM_PAGE_QUERY_PAGE_COPIED 0x020
268#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x040
269#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x080
270#define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x100
271#define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x200
272#define VM_PAGE_QUERY_PAGE_CS_NX 0x400
273#define VM_PAGE_QUERY_PAGE_REUSABLE 0x800
315#define VM_PAGE_QUERY_PAGE_PRESENT 0x0001
316#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x0002
317#define VM_PAGE_QUERY_PAGE_REF 0x0004
318#define VM_PAGE_QUERY_PAGE_DIRTY 0x0008
319#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x0010
320#define VM_PAGE_QUERY_PAGE_COPIED 0x0020
321#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x0040
322#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x0080
323#define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x0100
324#define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x0200
325#define VM_PAGE_QUERY_PAGE_CS_NX 0x0400
326#define VM_PAGE_QUERY_PAGE_REUSABLE 0x0800
327#define VM_PAGE_QUERY_PAGE_WIRED 0x1000
274328
275329#pragma mark User Flags
276330
......@@ -322,6 +376,10 @@ typedef int32_t vm_page_disposition_t;
322376 * VM_FLAGS_GUARD_OBJECT_OPTOUT
323377 * Opt out this allocation from the guard object allocation policy.
324378 * 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.
325383 */
326384
327385#define VM_FLAGS_FIXED 0x00000000
......@@ -335,13 +393,8 @@ typedef int32_t vm_page_disposition_t;
335393#define VM_FLAGS_PERMANENT 0x00000080
336394#define VM_FLAGS_TPRO 0x00001000
337395#define VM_FLAGS_MTE 0x00002000
338#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */
339/*
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 */
396#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */
397#define VM_FLAGS_SUPERPAGE_MASK 0x00070000 /* Currently unused. Bits 0x10000, 0x20000, 0x40000. */
345398#define VM_FLAGS_RETURN_DATA_ADDR 0x00100000 /* Return address of target data, rather than base of page */
346399#define VM_FLAGS_GUARD_OBJECT_OPTOUT 0x00400000
347400#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;
365418 VM_FLAGS_PERMANENT | \
366419 VM_FLAGS_OVERWRITE | \
367420 VM_FLAGS_GUARD_OBJECT_OPTOUT | \
368 VM_FLAGS_SUPERPAGE_MASK | \
369421 VM_FLAGS_HW | \
370422 VM_FLAGS_ALIAS_MASK)
371423
......@@ -381,6 +433,11 @@ typedef int32_t vm_page_disposition_t;
381433 VM_FLAGS_RESILIENT_CODESIGN | \
382434 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 */
384441#define VM_FLAGS_SUPERPAGE_SHIFT 16
385442#define SUPERPAGE_NONE 0 /* no superpages, if all bits are 0 */
386443#define SUPERPAGE_SIZE_ANY 1
......@@ -404,7 +461,26 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
404461 kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10,
405462 kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11,
406463 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,
408484 /*
409485 * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned)
410486 */
......@@ -662,6 +738,12 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, {
662738/* memory allocated for CompositorServices */
663739#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
665747/* Reserve 230-239 for Rosetta */
666748#define VM_MEMORY_ROSETTA 230
667749#define VM_MEMORY_ROSETTA_THREAD_CONTEXT 231
lib/libc/include/any-darwin-any/mach_debug/zone_info.h+8
......@@ -61,6 +61,7 @@
6161
6262#include <mach/boolean.h>
6363#include <mach/machine/vm_types.h>
64#include <sys/cdefs.h>
6465
6566/*
6667 * Legacy definitions for host_zone_info(). This interface, and
......@@ -152,11 +153,17 @@ typedef task_zone_info_t *task_zone_info_array_t;
152153typedef struct mach_memory_info {
153154 uint64_t flags;
154155 uint64_t site;
156 /* The current size of the site in bytes */
155157 uint64_t size;
158 /* The number of bytes which are not currently in use */
156159 uint64_t free;
160 /* The size of the largest individual element in the site */
157161 uint64_t largest;
162 /* The number of bytes which could be recovered by kernel GC */
158163 uint64_t collectable_bytes;
164 /* The amount of kernel VA consumed by this site */
159165 uint64_t mapped;
166 /* The peak (max) size of this site */
160167 uint64_t peak;
161168 uint16_t tag;
162169 uint16_t zone;
......@@ -167,6 +174,7 @@ typedef struct mach_memory_info {
167174
168175typedef mach_memory_info_t *mach_memory_info_array_t;
169176
177
170178/*
171179 * MAX_ZTRACE_DEPTH configures how deep of a stack trace is taken on each zalloc in the zone of interest. 15
172180 * 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 @@
3030 * Be cautious about what is included and declared here.
3131 */
3232
33#ifndef __MALLOC_NO_AVAILABILITY_MACROS__
3334#include <Availability.h>
35#endif
3436#include <sys/cdefs.h>
3537#if __has_include(<sys/_types/_size_t.h>)
3638#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;
3232#if defined(__LP64__) /* MALLOC_TARGET_64BIT */
3333
3434// Included from <malloc/_malloc.h> so carefully manage what we include here.
35#ifndef __MALLOC_NO_AVAILABILITY_MACROS__
3536#include <Availability.h> /* __SPI_AVAILABLE */
37#endif
3638#if __has_include(<sys/_types/_size_t.h>)
3739#include <sys/_types/_size_t.h>
3840#else
lib/libc/include/any-darwin-any/malloc/malloc.h+15-11
......@@ -24,10 +24,14 @@
2424#ifndef _MALLOC_MALLOC_H_
2525#define _MALLOC_MALLOC_H_
2626
27#if __has_include(<TargetConditionals.h>)
2728#include <TargetConditionals.h>
29#endif
2830#include <malloc/_platform.h>
31#ifndef __MALLOC_NO_AVAILABILITY_MACROS__
2932#include <Availability.h>
3033#include <os/availability.h>
34#endif
3135
3236#include <malloc/_ptrcheck.h>
3337__ptrcheck_abi_assume_single()
......@@ -390,7 +394,7 @@ typedef union {
390394extern malloc_zone_t *malloc_default_zone(void);
391395 /* The initial zone */
392396
393#if !0 && !0
397#if !0 && !0 && !TARGET_OS_RTKIT
394398extern malloc_zone_t *malloc_create_zone(vm_size_t start_size, unsigned flags);
395399 /* 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
422426 * if align is MALLOC_ZONE_MALLOC_DEFAULT_ALIGN. OS version 26.0 does not
423427 * implement this exception.
424428 *
425 * @param options
429 * @param opts
426430 * A bitmask of options defining how the memory should be allocated. See the
427431 * available bit values in the malloc_zone_malloc_options_t enum definition.
428432 *
......@@ -469,7 +473,7 @@ extern void * __sized_by_or_null(size) malloc_zone_memalign(malloc_zone_t *zone,
469473
470474/********* Batch methods ************/
471475
472#if !0 && !0
476#if !0 && !0 && !TARGET_OS_RTKIT
473477extern unsigned malloc_zone_batch_malloc(malloc_zone_t *zone, size_t size, void * __unsafe_indexable * __counted_by(num_requested) results, unsigned num_requested);
474478 /* 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
479483
480484/********* Functions for libcache ************/
481485
482#if !0 && !0
486#if !0 && !0 && !TARGET_OS_RTKIT
483487extern malloc_zone_t *malloc_default_purgeable_zone(void) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
484488 /* Returns a pointer to the default purgeable_zone. */
485489
......@@ -494,7 +498,7 @@ extern int malloc_make_nonpurgeable(void * __unsafe_indexable ptr) __OSX_AVAILAB
494498
495499/********* Functions for zone implementors ************/
496500
497#if !0 && !0
501#if !0 && !0 && !TARGET_OS_RTKIT
498502extern void malloc_zone_register(malloc_zone_t *zone);
499503 /* Registers a custom malloc zone; Should typically be called after a
500504 * 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
512516extern const char *malloc_get_zone_name(malloc_zone_t *zone);
513517 /* Returns the name of a zone */
514518
515#if !0 && !0
519#if !0 && !0 && !TARGET_OS_RTKIT
516520size_t malloc_zone_pressure_relief(malloc_zone_t *zone, size_t goal) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
517521 /* malloc_zone_pressure_relief() advises the malloc subsystem that the process is under memory pressure and
518522 * 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 {
579583// verbose passed to print()
580584#define MALLOC_VERBOSE_PRINT_LEVEL 2
581585
582#if !0 && !0
586#if !0 && !0 && !TARGET_OS_RTKIT
583587extern void malloc_printf(const char * __null_terminated format, ...) __printflike(1,2);
584588 /* Convenience for logging errors and warnings;
585589 No allocation is performed during execution of this function;
......@@ -589,7 +593,7 @@ extern void malloc_printf(const char * __null_terminated format, ...) __printfli
589593
590594/********* Functions for performance tools ************/
591595
592#if !0 && !0
596#if !0 && !0 && !TARGET_OS_RTKIT
593597extern kern_return_t malloc_get_all_zones(task_t task, memory_reader_t reader, vm_address_t * __single * __counted_by(*count) addresses, unsigned *count);
594598 /* Fills addresses and count with the addresses of the zones in task;
595599 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);
606610extern void malloc_zone_print(malloc_zone_t *zone, boolean_t verbose);
607611 /* Prints summary on zone; if !zone, prints all zones */
608612
609#if !0 && !0
613#if !0 && !0 && !TARGET_OS_RTKIT
610614extern void malloc_zone_statistics(malloc_zone_t *zone, malloc_statistics_t *stats);
611615 /* Fills statistics for zone; if !zone, sums up all zones */
612616
......@@ -625,7 +629,7 @@ struct mstats {
625629 size_t bytes_free;
626630};
627631
628#if !0 && !0
632#if !0 && !0 && !TARGET_OS_RTKIT
629633extern struct mstats mstats(void);
630634
631635extern 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
640644 If discharge checking is off for the zone this function is a no-op. */
641645#endif
642646
643#if !0 && !0
647#if !0 && !0 && !TARGET_OS_RTKIT
644648#ifdef __BLOCKS__
645649extern 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);
646650 /* 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
6363# define HUGE_VAL __builtin_huge_val()
6464# define HUGE_VALF __builtin_huge_valf()
6565# 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
6775#else
6876# define HUGE_VAL 1e500
6977# define HUGE_VALF 1e50f
......@@ -71,7 +79,9 @@ __BEGIN_DECLS
7179# define NAN __nan()
7280#endif
7381
82#if !defined(__GNUC__) || !defined(__has_feature) || !__has_feature(modules) || !defined(__has_include) || !__has_include(<float.h>)
7483#define INFINITY HUGE_VALF
84#endif
7585
7686/******************************************************************************
7787 * Taxonomy of floating point data types *
lib/libc/include/any-darwin-any/net/if.h+4-2
......@@ -1,5 +1,5 @@
11/*
2 * Copyright (c) 2000-2021 Apple Inc. All rights reserved.
2 * Copyright (c) 2000-2026 Apple Inc. All rights reserved.
33 *
44 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55 *
......@@ -143,6 +143,7 @@ struct if_clonereq {
143143#define IFCAP_CSUM_PARTIAL 0x02000 /* can offload partial checksum */
144144#define IFCAP_CSUM_ZERO_INVERT 0x04000 /* can invert 0 to -0 (0xffff) */
145145#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
147148#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)
148149#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6)
......@@ -150,7 +151,8 @@ struct if_clonereq {
150151#define IFCAP_VALID (IFCAP_HWCSUM | IFCAP_TSO | IFCAP_LRO | IFCAP_VLAN_MTU | \
151152 IFCAP_VLAN_HWTAGGING | IFCAP_JUMBO_MTU | IFCAP_AV | IFCAP_TXSTATUS | \
152153 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
155157#define IFQ_MAXLEN 128
156158#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 {
139139#include <sys/_types/_timeval32.h>
140140#define IF_DATA_TIMEVAL timeval32
141141#else
142#include <sys/_types/_timeval.h>
142143#define IF_DATA_TIMEVAL timeval
143144#endif
144145
lib/libc/include/any-darwin-any/objc/message.h+1-1
......@@ -186,8 +186,8 @@ OBJC_EXPORT void
186186objc_msgSend_fp2ret(void /* id self, SEL op, ... */ )
187187 OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0);
188188
189#pragma clang diagnostic pop
190189# endif
190#pragma clang diagnostic pop
191191
192192// !OBJC_OLD_DISPATCH_PROTOTYPES
193193#else
lib/libc/include/any-darwin-any/objc/runtime.h+22-3
......@@ -1057,7 +1057,10 @@ method_getArgumentType(Method _Nonnull m, unsigned int index,
10571057
10581058OBJC_EXPORT struct objc_method_description * _Nonnull
10591059method_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
10621065/**
10631066 * Sets the implementation of a method.
......@@ -1444,13 +1447,29 @@ protocol_addProperty(Protocol * _Nonnull proto, const char * _Nonnull name,
14441447 *
14451448 * @param outCount The number of names returned.
14461449 *
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().
14481453 */
14491454OBJC_EXPORT const char * _Nonnull * _Nonnull
14501455objc_copyImageNames(unsigned int * _Nullable outCount)
14511456 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/**
14541473 * Returns the dynamic library name a class originated from.
14551474 *
14561475 * @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
5757 *
5858 * The values stored in the lock should be considered opaque and implementation
5959 * 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.
6164 *
6265 * This lock must be unlocked from the same thread that locked it, attempts to
6366 * 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 @@
593593#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_5(x)
594594#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
596608#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000
597609#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x
598610#else
......@@ -1061,3 +1073,15 @@
10611073#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_5(x)
10621074#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 @@
4242#define SBC_PANIC_ON_AUTHFAIL 0x0008 /* On failure to authenticate, panic */
4343#define SBC_STRICT_AUTH 0x0010 /* Strict authentication mode */
4444#define SBC_PRESERVE_GRAFT 0x0020 /* Preserve graft itself until unmount */
45#define SBC_SKIP_AUTH 0x0040 /* No authentication mode (check root hash only) */
4546
4647/* Flag values for ungraftdmg */
4748#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 @@
6565struct aiocb {
6666 int aio_fildes; /* File descriptor */
6767 off_t aio_offset; /* File offset */
68 volatile void *aio_buf; /* Location of buffer */
69 size_t aio_nbytes; /* Length of transfer */
68 union {
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 };
7076 int aio_reqprio; /* Request priority offset */
7177 struct sigevent aio_sigevent; /* Signal number and value */
7278 int aio_lio_opcode; /* Operation to be performed */
......@@ -81,7 +87,7 @@ struct aiocb {
8187 * none of the requested operations could be canceled since they are
8288 * already complete.
8389 */
84#define AIO_ALLDONE 0x1
90#define AIO_ALLDONE 0x1
8591
8692/* all requested operations have been canceled */
8793#define AIO_CANCELED 0x2
......@@ -92,14 +98,23 @@ struct aiocb {
9298 */
9399#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
96109/*
97110 * lio_listio operation options
98111 */
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 */
101114#define LIO_READ 0x1 /* option requesting a read */
102115#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
104119/*
105120 * lio_listio() modes
......@@ -123,7 +138,12 @@ struct aiocb {
123138/*
124139 * Maximum number of operations in single lio_listio call
125140 */
126#define AIO_LISTIO_MAX 16
141#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
129149/*
......@@ -227,6 +247,26 @@ int aio_suspend( const struct aiocb *const aiocblist[],
227247 */
228248int 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
230270/*
231271 * Initiate a list of I/O requests with a single function call. The mode
232272 * 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 @@
7777#define EVFILT_USER (-10) /* User events */
7878#define EVFILT_VM (-12) /* Virtual memory events */
7979#define EVFILT_EXCEPT (-15) /* Exception events */
80#define EVFILT_LIO (-19) /* attached to lio requests */
8081
81#define EVFILT_SYSCOUNT 18
82#define EVFILT_SYSCOUNT 19
8283#define EVFILT_THREADMARKER EVFILT_SYSCOUNT /* Internal use only */
8384
8485#pragma pack(4)
lib/libc/include/any-darwin-any/sys/fcntl.h+27-8
......@@ -155,6 +155,7 @@
155155
156156
157157#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
158#define O_CLOFORK 0x08000000 /* implicitly set FD_CLOFORK */
158159#define O_NOFOLLOW_ANY 0x20000000 /* no symlinks allowed in path */
159160#endif
160161
......@@ -328,18 +329,17 @@
328329#define F_ADDFILESUPPL 104 /* Add supplemental signature from same file with fd reference to original */
329330#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_GETLEASE 107 /* Retrieve lease information */
332#define F_SETLEASE 106 /* Acquire or release lease */
333#define F_GETLEASE 107 /* Retrieve lease information */
333334
334335#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_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 */
339#define F_ATTRIBUTION_TAG 111 /* Based on flags, query/set/delete a file's attribution tag */
340#define F_NOCACHE_EXT 112 /* turn data caching off/on for this fd and relax size and alignment restrictions for write */
342341
342#define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */
343343
344344// FS-specific fcntl()'s numbers begin at 0x00010000 and go up
345345#define FCNTL_FS_SPECIFIC_BASE 0x00010000
......@@ -350,8 +350,15 @@
350350#define F_DUPFD_CLOEXEC 67 /* mark the dup with FD_CLOEXEC */
351351#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
353359/* file descriptor flags (F_GETFD, F_SETFD) */
354360#define FD_CLOEXEC 1 /* close-on-exec flag */
361#define FD_CLOFORK 2 /* close-on-fork flag */
355362
356363/* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */
357364#define F_RDLCK 1 /* shared or read lock */
......@@ -416,12 +423,24 @@ struct flocktimeout {
416423 * information passed by user to system
417424 */
418425
419
420426struct radvisory {
421427 off_t ra_offset;
422428 int ra_count;
423429};
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
426445/*
427446 * detached code signatures data type -
lib/libc/include/any-darwin-any/sys/paths.h+5-2
......@@ -40,7 +40,7 @@
4040#define _PATH_RSRCNAME "rsrc"
4141#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) */
4444#define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */
4545#define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */
4646#define RESOLVE_LOCAL 0x00000004 /* prevent a path lookup into a network filesystem */
......@@ -50,8 +50,11 @@
5050#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */
5151#define RESOLVE_NOQUARANTINE 0x00000080 /* prevent operating on a quarantined file */
5252#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 0x000001FF
56#define RESOLVE_VALIDMASK 0x000007FF
57#define RESOLVE_RELATIVE_MASK (RESOLVE_BENEATH | RESOLVE_NOCROSSMOUNT)
5558
5659
5760#endif /* __APPLE_API_PRIVATE */
lib/libc/include/any-darwin-any/sys/resource.h+9-2
......@@ -414,7 +414,10 @@ struct rusage_info_v6 {
414414 uint64_t ri_neural_footprint;
415415 uint64_t ri_lifetime_max_neural_footprint;
416416 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];
418421};
419422
420423typedef struct rusage_info_v6 rusage_info_current;
......@@ -509,13 +512,16 @@ struct proc_rlimit_control_wakeupmon {
509512#define IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES 3
510513#define IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME 4
511514#define IOPOL_TYPE_VFS_TRIGGER_RESOLVE 5
512#define IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION 6
515#define IOPOL_TYPE_VFS_CONTENT_PROTECTION 6
513516#define IOPOL_TYPE_VFS_IGNORE_PERMISSIONS 7
514517#define IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE 8
515518#define IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES 9
516519#define IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY 10
517520#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
519525/* scope */
520526#define IOPOL_SCOPE_PROCESS 0
521527#define IOPOL_SCOPE_THREAD 1
......@@ -551,6 +557,7 @@ struct proc_rlimit_control_wakeupmon {
551557
552558#define IOPOL_VFS_CONTENT_PROTECTION_DEFAULT 0
553559#define IOPOL_VFS_CONTENT_PROTECTION_IGNORE 1
560#define IOPOL_VFS_CONTENT_PROTECTION_STRICT 2
554561
555562#define IOPOL_VFS_IGNORE_PERMISSIONS_OFF 0
556563#define IOPOL_VFS_IGNORE_PERMISSIONS_ON 1
lib/libc/include/any-darwin-any/sys/signal.h+1
......@@ -378,6 +378,7 @@ struct sigstack {
378378#define sigmask(m) (1 << ((m)-1))
379379
380380
381
381382#define BADSIG SIG_ERR
382383
383384#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
lib/libc/include/any-darwin-any/sys/socket.h+2
......@@ -189,6 +189,8 @@
189189
190190#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
192194/* When adding new socket-options, you need to make sure MPTCP supports these as well! */
193195
194196/*
lib/libc/include/any-darwin-any/sys/spawn.h+4-4
......@@ -74,10 +74,10 @@
7474#define POSIX_SPAWN_PCONTROL_SUSPEND 0x0002
7575#define POSIX_SPAWN_PCONTROL_KILL 0x0003
7676
77#define POSIX_SPAWN_PANIC_ON_CRASH 0x1
78#define POSIX_SPAWN_PANIC_ON_NON_ZERO_EXIT 0x2
79#define POSIX_SPAWN_PANIC_ON_EXIT 0x4
80#define POSIX_SPAWN_PANIC_ON_SPAWN_FAIL 0x8
77#define POSIX_SPAWN_PANIC_ON_CRASH 0x1
78#define POSIX_SPAWN_PANIC_ON_NON_ZERO_EXIT 0x2
79#define POSIX_SPAWN_PANIC_ON_EXIT 0x4
80#define POSIX_SPAWN_PANIC_ON_SPAWN_FAIL 0x8
8181
8282#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
402402int utimensat(int __fd, const char *__path, const struct timespec __times[2],
403403 int __flag) __API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0), watchos(4.0));
404404#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
405411__END_DECLS
406412
407413#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;
698698 * hw.perflevelN.l2perflevels - These values provide a bitmap, where bit number of CPUs of the same type that share L2 and L3 caches.
699699 * hw.perflevelN.l3perflevels - If a cache is not present then the selector will return and error.
700700 *
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/*
701709 * hw.packages - Gives the number of processor packages.
702710 *
703711 * 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
213213int symlinkat(const char *, int, const char *) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
214214int 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
216221__END_DECLS
217222
218223#endif /* __DARWIN_C_LEVEL >= 200809L */
lib/libc/include/any-darwin-any/sys/wait.h+1-1
......@@ -133,7 +133,7 @@ typedef enum {
133133#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */
134134
135135/* 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)
137137#define _WSTOPPED 0177 /* _WSTATUS if process is stopped */
138138
139139/*
lib/libc/include/any-darwin-any/xpc/base.h+117-125
......@@ -35,70 +35,131 @@
3535
3636__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
3847#pragma mark Attribute Shims
39#ifdef __GNUC__
40#define XPC_CONSTRUCTOR __attribute__((constructor))
41#define XPC_NORETURN __attribute__((__noreturn__))
42#define XPC_NOTHROW __attribute__((__nothrow__))
43#define XPC_NONNULL1 __attribute__((__nonnull__(1)))
44#define XPC_NONNULL2 __attribute__((__nonnull__(2)))
45#define XPC_NONNULL3 __attribute__((__nonnull__(3)))
46#define XPC_NONNULL4 __attribute__((__nonnull__(4)))
47#define XPC_NONNULL5 __attribute__((__nonnull__(5)))
48#define XPC_NONNULL6 __attribute__((__nonnull__(6)))
49#define XPC_NONNULL7 __attribute__((__nonnull__(7)))
50#define XPC_NONNULL8 __attribute__((__nonnull__(8)))
51#define XPC_NONNULL9 __attribute__((__nonnull__(9)))
52#define XPC_NONNULL10 __attribute__((__nonnull__(10)))
53#define XPC_NONNULL11 __attribute__((__nonnull__(11)))
54#define XPC_NONNULL_ALL __attribute__((__nonnull__))
55#define XPC_SENTINEL __attribute__((__sentinel__))
56#define XPC_PURE __attribute__((__pure__))
57#define XPC_WARN_RESULT __attribute__((__warn_unused_result__))
58#define XPC_MALLOC __attribute__((__malloc__))
59#define XPC_UNUSED __attribute__((__unused__))
60#define XPC_USED __attribute__((__used__))
61#define XPC_PACKED __attribute__((__packed__))
62#define XPC_PRINTF(m, n) __attribute__((format(printf, m, n)))
63#define XPC_INLINE static __inline__ __attribute__((__always_inline__))
64#define XPC_NOINLINE __attribute__((noinline))
65#define XPC_NOIMPL __attribute__((unavailable))
66
67#if __has_attribute(noescape)
68#define XPC_NOESCAPE __attribute__((__noescape__))
48// We use __has_attribute to check for attribute existance. The macros are set
49// up to always use __ before and after attributes to guard against
50// similarly-named mactos since these go in public headers. We also use
51// __attribute__ for best compatibility with older C/C++ versions. Attributes
52// should be optimized for use by Clang (i.e. use Clang's preferred form over a
53// supported GCC form if it's preferred by the compiler). Attributes are
54// defined in the order that they appear in Clang's doccumentation
55
56#if !defined(__has_attribute)
57#define __has_attribute(_X) 0
58#endif // !defined(__has_attribute)
59
60#define _XPC_CHOOSE_0(...)
61#define _XPC_CHOOSE_1(...) __VA_ARGS__
62
63#define XPC_ATTRIBUTE(_X, ...) XPC_CONCAT(_XPC_CHOOSE_, __has_attribute(_X))(__attribute__((__##_X##__(__VA_ARGS__))))
64
65// Swift attributes
66#define XPC_SWIFT_SENDABLE XPC_ATTRIBUTE(swift_attr, "@Sendable")
67#define XPC_SWIFT_NAME(_Name) XPC_ATTRIBUTE(swift_name, _Name)
68#define XPC_SWIFT_UNAVAILABLE(msg) __swift_unavailable(msg)
69#define XPC_SWIFT_NOEXPORT XPC_SWIFT_UNAVAILABLE("Unavailable in Swift from the XPC C Module")
70// Declaration attributes
71#define XPC_DEPRECATED(_M) XPC_ATTRIBUTE(deprecated, _M)
72#define XPC_TRANSPARENT_UNION XPC_ATTRIBUTE(transparent_union)
73// Function attributes
74#define XPC_NORETURN XPC_ATTRIBUTE(noreturn)
75#define XPC_ALLOC_SIZE(...) XPC_MALLOC XPC_ATTRIBUTE(alloc_size, __VA_ARGS__)
76#define XPC_INLINE static inline XPC_ATTRIBUTE(always_inline)
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
69117#else
70#define XPC_NOESCAPE
118#define XPC_ABORTLIKE
71119#endif
72120
121// unavailable(message)
73122#if __has_extension(attribute_unavailable_with_message)
74#define XPC_UNAVAILABLE(m) __attribute__((unavailable(m)))
75#else // __has_extension(attribute_unavailable_with_message)
123#define XPC_UNAVAILABLE(m) XPC_ATTRIBUTE(unavailable, m)
124#else
76125#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")))
80#define XPC_NOEXPORT __attribute__((visibility("hidden")))
81#define XPC_WEAKIMPORT extern __attribute__((weak_import))
128// _xpc_unreachable
129#if __has_builtin(__builtin_unreachable)
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")
82140#define XPC_DEBUGGER_EXCL XPC_NOEXPORT XPC_USED
83#define XPC_TRANSPARENT_UNION __attribute__((transparent_union))
84#if __clang__
85#define XPC_DEPRECATED(m) __attribute__((deprecated(m)))
86#else // __clang__
87#define XPC_DEPRECATED(m) __attribute__((deprecated))
88#endif // __clang
141#define XPC_WEAKIMPORT extern XPC_ATTRIBUTE(weak_import)
142
143// XPC_TESTEXPORT
89144#ifndef XPC_TESTEXPORT
90145#define XPC_TESTEXPORT XPC_NOEXPORT
91146#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__
94154#define XPC_TESTSTATIC
95155#define XPC_TESTEXTERN extern
96156#define XPC_TESTNORETURN
97#else // defined(__XPC_TEST__) && __XPC_TEST__
157#else // __XPC_TEST__
98158#define XPC_TESTSTATIC static
99159#define XPC_TESTNORETURN XPC_NORETURN
100#endif // defined(__XPC_TEST__) && __XPC_TEST__
160#endif // __XPC_TEST__
101161
162#pragma mark ARC
102163#if __has_feature(objc_arc)
103164#define XPC_GIVES_REFERENCE __strong
104165#define XPC_UNRETAINED __unsafe_unretained
......@@ -117,72 +178,8 @@ __BEGIN_DECLS
117178#define XPC_BRIDGEREF_END(xo) (xo)
118179#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
186183#if __has_feature(assume_nonnull)
187184#define XPC_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
188185#define XPC_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
......@@ -197,10 +194,13 @@ __BEGIN_DECLS
197194#define XPC_NONNULL_ARRAY
198195#endif
199196
197#pragma mark Bounds safety attributes
200198#if defined(__has_ptrcheck) && __has_ptrcheck
201199#define XPC_PTR_ASSUMES_SINGLE __ptrcheck_abi_assume_single()
202200#define XPC_SINGLE __single
203201#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
204204#define XPC_CSTRING XPC_UNSAFE_INDEXABLE
205205#define XPC_SIZEDBY(N) __sized_by(N)
206206#define XPC_COUNTEDBY(N) __counted_by(N)
......@@ -219,33 +219,25 @@ __BEGIN_DECLS
219219#define XPC_UNSAFE_FORGE_SINGLE(_type, _ptr) ((_type)(_ptr))
220220#endif // defined(__has_ptrcheck) ** __has_ptrcheck
221221
222#pragma mark Enums
223// XPC_FLAGS_ENUM
222224#ifdef OS_CLOSED_OPTIONS
223225#define XPC_FLAGS_ENUM(_name, _type, ...) \
224226 OS_CLOSED_OPTIONS(_name, _type, __VA_ARGS__)
225#else // OS_CLOSED_ENUM
227#else
226228#define XPC_FLAGS_ENUM(_name, _type, ...) \
227229 OS_ENUM(_name, _type, __VA_ARGS__)
228#endif // OS_CLOSED_ENUM
230#endif
229231
232// XPC_ENUM
230233#ifdef OS_CLOSED_ENUM
231234#define XPC_ENUM(_name, _type, ...) \
232235 OS_CLOSED_ENUM(_name, _type, __VA_ARGS__)
233#else // OS_CLOSED_ENUM
236#else
234237#define XPC_ENUM(_name, _type, ...) \
235238 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)
242239#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
249241__END_DECLS
250242
251243#endif // __XPC_BASE_H__