| author | |
| committer | |
| log | 0d600e488f005a3823525779eeadf68ea6065427 |
| tree | b9e62cb14ed74c3941b05cbe09fc236697aea330 |
| parent | 3e15e99e60e6abda6637124cab8fe12e3c6bf547 |
| parent | 797f46d0ef8fc6e368b2cc5bc4e721b4c2e22c31 |
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/36805
Reviewed-by: Alex Rønne Petersen <alex@alexrp.com>71 files changed, 2303 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 @@ |
| 1 | 1 | --- !tapi-tbd |
| 2 | 2 | tbd-version: 4 |
| 3 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 4 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 4 | 5 | install-name: '/usr/lib/libSystem.B.dylib' |
| 5 | current-version: 1356 | |
| 6 | current-version: 1359 | |
| 6 | 7 | reexported-libraries: |
| 7 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 8 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 9 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 8 | 10 | libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib', |
| 9 | 11 | '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib', |
| 10 | 12 | '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib', |
| ... | ... | @@ -36,19 +38,23 @@ exports: |
| 36 | 38 | 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction', |
| 37 | 39 | 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink', |
| 38 | 40 | 'R8289209$_write' ] |
| 39 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 41 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 42 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 40 | 43 | symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd, |
| 41 | 44 | _mach_init_routine ] |
| 42 | 45 | --- !tapi-tbd |
| 43 | 46 | tbd-version: 4 |
| 44 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 47 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 48 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 45 | 49 | install-name: '/usr/lib/system/libcache.dylib' |
| 46 | 50 | current-version: 95 |
| 47 | 51 | parent-umbrella: |
| 48 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 52 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 53 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 49 | 54 | umbrella: System |
| 50 | 55 | exports: |
| 51 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 56 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 57 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 52 | 58 | symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain, |
| 53 | 59 | _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info, |
| 54 | 60 | _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint, |
| ... | ... | @@ -63,14 +69,17 @@ exports: |
| 63 | 69 | _cache_value_make_purgeable_cb ] |
| 64 | 70 | --- !tapi-tbd |
| 65 | 71 | tbd-version: 4 |
| 66 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 72 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 73 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 67 | 74 | install-name: '/usr/lib/system/libcommonCrypto.dylib' |
| 68 | 75 | current-version: 65535 |
| 69 | 76 | parent-umbrella: |
| 70 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 77 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 78 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 71 | 79 | umbrella: System |
| 72 | 80 | exports: |
| 73 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 81 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 82 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 74 | 83 | symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal, |
| 75 | 84 | _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd, |
| 76 | 85 | _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear, |
| ... | ... | @@ -83,8 +92,9 @@ exports: |
| 83 | 92 | _CCBigNumSub, _CCBigNumSubI, _CCBigNumToData, _CCBigNumToDecimalString, |
| 84 | 93 | _CCBigNumToHexString, _CCBigNumZeroLSBCount, _CCCKG2ContributorCommit, |
| 85 | 94 | _CCCKG2ContributorCreate, _CCCKG2ContributorDestroy, _CCCKG2ContributorFinish, |
| 86 | _CCCKG2GetCommitmentSize, _CCCKG2GetOpeningSize, _CCCKG2GetShareSize, | |
| 87 | _CCCKG2OwnerCreate, _CCCKG2OwnerDestroy, _CCCKG2OwnerFinish, | |
| 95 | _CCCKG2ContributorFinishWithDomain, _CCCKG2GetCommitmentSize, | |
| 96 | _CCCKG2GetOpeningSize, _CCCKG2GetShareSize, _CCCKG2OwnerCreate, | |
| 97 | _CCCKG2OwnerDestroy, _CCCKG2OwnerFinish, _CCCKG2OwnerFinishWithDomain, | |
| 88 | 98 | _CCCKG2OwnerGenerateShare, _CCCKG2ParamsP224Sha256Version2, |
| 89 | 99 | _CCCKGContributorCommit, _CCCKGContributorCreate, _CCCKGContributorDestroy, |
| 90 | 100 | _CCCKGContributorFinish, _CCCKGGetCommitmentSize, _CCCKGGetOpeningSize, |
| ... | ... | @@ -146,11 +156,11 @@ exports: |
| 146 | 156 | _ccDevRandomGetRngState, _kCCRandomDefault, _kCCRandomDevRandom ] |
| 147 | 157 | --- !tapi-tbd |
| 148 | 158 | tbd-version: 4 |
| 149 | targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | |
| 159 | targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 150 | 160 | install-name: '/usr/lib/system/libcompiler_rt.dylib' |
| 151 | current-version: 103.3 | |
| 161 | current-version: 103.4 | |
| 152 | 162 | parent-umbrella: |
| 153 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | |
| 163 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 154 | 164 | umbrella: System |
| 155 | 165 | exports: |
| 156 | 166 | - targets: [ x86_64-macos ] |
| ... | ... | @@ -189,7 +199,7 @@ exports: |
| 189 | 199 | ___paritysi2, ___parityti2, ___popcountdi2, ___popcountsi2, |
| 190 | 200 | ___popcountti2, ___powixf2, ___subvdi3, ___subvsi3, ___subvti3, |
| 191 | 201 | ___ucmpdi2, ___ucmpti2, ___udivdi3, ___udivmoddi4, ___umoddi3 ] |
| 192 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | |
| 202 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 193 | 203 | symbols: [ '$ld$hide$os10.10$___chkstk_darwin', '$ld$hide$os10.10$___extendhfsf2', |
| 194 | 204 | '$ld$hide$os10.10$___truncdfhf2', '$ld$hide$os10.10$___truncsfhf2', |
| 195 | 205 | '$ld$hide$os10.10$_atomic_flag_clear', '$ld$hide$os10.10$_atomic_flag_clear_explicit', |
| ... | ... | @@ -373,23 +383,28 @@ exports: |
| 373 | 383 | _atomic_signal_fence, _atomic_thread_fence ] |
| 374 | 384 | --- !tapi-tbd |
| 375 | 385 | tbd-version: 4 |
| 376 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 386 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 387 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 377 | 388 | install-name: '/usr/lib/system/libcopyfile.dylib' |
| 378 | 389 | parent-umbrella: |
| 379 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 390 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 391 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 380 | 392 | umbrella: System |
| 381 | 393 | exports: |
| 382 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 394 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 395 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 383 | 396 | symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get, |
| 384 | 397 | _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags, |
| 385 | 398 | _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ] |
| 386 | 399 | --- !tapi-tbd |
| 387 | 400 | tbd-version: 4 |
| 388 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 401 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 402 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 389 | 403 | install-name: '/usr/lib/system/libcorecrypto.dylib' |
| 390 | current-version: 1922.121.1 | |
| 404 | current-version: 2109.0.22 | |
| 391 | 405 | parent-umbrella: |
| 392 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 406 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 407 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 393 | 408 | umbrella: System |
| 394 | 409 | exports: |
| 395 | 410 | - targets: [ x86_64-macos, x86_64-maccatalyst ] |
| ... | ... | @@ -401,12 +416,13 @@ exports: |
| 401 | 416 | _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode, |
| 402 | 417 | _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di, |
| 403 | 418 | _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, | |
| 410 | 426 | _ccaes_cbc_decrypt_mode, _ccaes_cbc_encrypt_mode, _ccaes_ccm_decrypt_mode, |
| 411 | 427 | _ccaes_ccm_encrypt_mode, _ccaes_cfb8_decrypt_mode, _ccaes_cfb8_encrypt_mode, |
| 412 | 428 | _ccaes_cfb_decrypt_mode, _ccaes_cfb_encrypt_mode, _ccaes_ctr_crypt_mode, |
| ... | ... | @@ -416,14 +432,11 @@ exports: |
| 416 | 432 | _ccaes_ltc_ecb_encrypt_mode, _ccaes_ofb_crypt_mode, _ccaes_siv_decrypt_mode, |
| 417 | 433 | _ccaes_siv_encrypt_mode, _ccaes_siv_hmac_sha256_decrypt_mode, |
| 418 | 434 | _ccaes_siv_hmac_sha256_encrypt_mode, _ccaes_unwind, _ccaes_xts_decrypt_mode, |
| 419 | _ccaes_xts_encrypt_mode, _ccansikdf_x963, _ccapsic_client_check_intersect_response, | |
| 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, | |
| 427 | 440 | _ccblowfish_cfb8_decrypt_mode, _ccblowfish_cfb8_encrypt_mode, |
| 428 | 441 | _ccblowfish_cfb_decrypt_mode, _ccblowfish_cfb_encrypt_mode, |
| 429 | 442 | _ccblowfish_ctr_crypt_mode, _ccblowfish_ecb_decrypt_mode, |
| ... | ... | @@ -448,8 +461,9 @@ exports: |
| 448 | 461 | _ccchacha20poly1305_encrypt_oneshot, _ccchacha20poly1305_finalize, |
| 449 | 462 | _ccchacha20poly1305_incnonce, _ccchacha20poly1305_info, _ccchacha20poly1305_init, |
| 450 | 463 | _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, | |
| 453 | 467 | _ccckg2_params_p224_sha256_v2, _ccckg2_sizeof_commitment, |
| 454 | 468 | _ccckg2_sizeof_ctx, _ccckg2_sizeof_opening, _ccckg2_sizeof_share, |
| 455 | 469 | _ccckg_contributor_commit, _ccckg_contributor_finish, _ccckg_ctx_cp, |
| ... | ... | @@ -516,8 +530,11 @@ exports: |
| 516 | 530 | _ccdh_gp_rfc3526group18, _ccdh_gp_rfc5114_MODP_1024_160, _ccdh_gp_rfc5114_MODP_2048_224, |
| 517 | 531 | _ccdh_gp_rfc5114_MODP_2048_256, _ccdh_gp_size, _ccdh_import_full, |
| 518 | 532 | _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, | |
| 521 | 538 | _ccdrbg_done, _ccdrbg_factory_nistctr, _ccdrbg_factory_nisthmac, |
| 522 | 539 | _ccdrbg_generate, _ccdrbg_init, _ccdrbg_must_reseed, _ccdrbg_reseed, |
| 523 | 540 | _ccec_affinify, _ccec_blind, _ccec_compact_export, _ccec_compact_export_pub, |
| ... | ... | @@ -526,10 +543,11 @@ exports: |
| 526 | 543 | _ccec_compact_import_priv_size, _ccec_compact_import_pub, |
| 527 | 544 | _ccec_compact_import_pub_size, _ccec_compact_transform_key, |
| 528 | 545 | _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, | |
| 533 | 551 | _ccec_der_import_priv, _ccec_der_import_priv_keytype, _ccec_diversify_min_entropy_len, |
| 534 | 552 | _ccec_diversify_priv_twin, _ccec_diversify_pub, _ccec_diversify_pub_twin, |
| 535 | 553 | _ccec_export_affine_point, _ccec_export_affine_point_size, |
| ... | ... | @@ -613,43 +631,56 @@ exports: |
| 613 | 631 | _cchpke_params_sizeof_kem_sk, _cchpke_params_x25519_AESGCM128_HKDF_SHA256, |
| 614 | 632 | _cchpke_params_x25519_AESGCM256_HKDF_SHA256, _cchpke_params_xwing_AESGCM128_HKDF_SHA256, |
| 615 | 633 | _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, | |
| 618 | 647 | _cckem_export_privkey, _cckem_export_pubkey, _cckem_full_ctx_init, |
| 619 | 648 | _cckem_generate_key, _cckem_generate_key_with_seed, _cckem_import_privkey, |
| 620 | 649 | _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, | |
| 653 | 684 | _ccnistkdf_ctr_hmac, _ccnistkdf_ctr_hmac_fixed, _ccofb_block_size, |
| 654 | 685 | _ccofb_context_size, _ccofb_init, _ccofb_one_shot, _ccofb_update, |
| 655 | 686 | _ccoid_equal, _ccoid_payload, _ccoid_size, _ccpad_cts1_decrypt, |
| ... | ... | @@ -699,8 +730,9 @@ exports: |
| 699 | 730 | _ccsae_verify_commitment_with_rejected_groups, _ccsae_verify_confirmation, |
| 700 | 731 | _ccscrypt, _ccscrypt_storage_size, _ccsha1_di, _ccsha1_eay_di, |
| 701 | 732 | _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, | |
| 704 | 736 | _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccshake128, |
| 705 | 737 | _ccshake128_xi, _ccshake256, _ccshake256_xi, _ccsigma_clear, |
| 706 | 738 | _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys, |
| ... | ... | @@ -723,13 +755,14 @@ exports: |
| 723 | 755 | _ccspake_get_session_key, _ccspake_kex_generate, _ccspake_kex_process, |
| 724 | 756 | _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256, |
| 725 | 757 | _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, | |
| 733 | 766 | _ccsrp_generate_verifier, _ccsrp_get_premaster_secret, _ccsrp_get_session_key, |
| 734 | 767 | _ccsrp_get_session_key_length, _ccsrp_gp_rfc5054_1024, _ccsrp_gp_rfc5054_2048, |
| 735 | 768 | _ccsrp_gp_rfc5054_3072, _ccsrp_gp_rfc5054_4096, _ccsrp_gp_rfc5054_8192, |
| ... | ... | @@ -752,13 +785,14 @@ exports: |
| 752 | 785 | _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt, |
| 753 | 786 | _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size, |
| 754 | 787 | _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, | |
| 762 | 796 | _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size, |
| 763 | 797 | _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int, |
| 764 | 798 | _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size, |
| ... | ... | @@ -766,25 +800,31 @@ exports: |
| 766 | 800 | _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime, |
| 767 | 801 | _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post, |
| 768 | 802 | _fipspost_trace_vtable, _map_to_curve_sswu ] |
| 769 | - targets: [ arm64e-macos, arm64e-maccatalyst ] | |
| 803 | - targets: [ arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 770 | 804 | symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode, |
| 771 | 805 | _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode, |
| 806 | _ccaes_arm_ecb_aligned_decrypt_mode, _ccaes_arm_ecb_aligned_encrypt_mode, | |
| 772 | 807 | _ccaes_arm_ecb_decrypt_mode, _ccaes_arm_ecb_encrypt_mode, |
| 773 | _ccaes_arm_ofb_crypt_mode, _ccaes_arm_xts_decrypt_mode, _ccaes_arm_xts_encrypt_mode, | |
| 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, | |
| 775 | 812 | _ccsha256_vng_arm_di, _ccsha384_vng_arm_di, _ccsha384_vng_arm_hw_di, |
| 776 | 813 | _ccsha512_256_vng_arm_di, _ccsha512_256_vng_arm_hw_di, _ccsha512_vng_arm_di, |
| 777 | 814 | _ccsha512_vng_arm_hw_di ] |
| 778 | 815 | --- !tapi-tbd |
| 779 | 816 | tbd-version: 4 |
| 780 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 817 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 818 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 781 | 819 | install-name: '/usr/lib/system/libdispatch.dylib' |
| 782 | current-version: 1542.100.32 | |
| 820 | current-version: 1605.0.2 | |
| 783 | 821 | parent-umbrella: |
| 784 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 822 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 823 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 785 | 824 | umbrella: System |
| 786 | 825 | exports: |
| 787 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 826 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 827 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 788 | 828 | symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not', |
| 789 | 829 | '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool, |
| 790 | 830 | __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap, |
| ... | ... | @@ -894,6 +934,7 @@ exports: |
| 894 | 934 | _dispatch_source_set_timer, _dispatch_source_testcancel, _dispatch_suspend, |
| 895 | 935 | _dispatch_swift_job_should_yield, _dispatch_sync, _dispatch_sync_f, |
| 896 | 936 | _dispatch_thread_get_current_override_qos_floor, _dispatch_thread_override_self, |
| 937 | _dispatch_thread_override_self_with_base, _dispatch_thread_reset_override_self, | |
| 897 | 938 | _dispatch_time, _dispatch_time_from_nsec, _dispatch_time_to_nsec, |
| 898 | 939 | _dispatch_time_to_nsecs, _dispatch_tsd_indexes, _dispatch_verify_current_queue_4swiftonly, |
| 899 | 940 | _dispatch_walltime, _dispatch_workloop_copy_current, _dispatch_workloop_create, |
| ... | ... | @@ -946,17 +987,17 @@ exports: |
| 946 | 987 | --- !tapi-tbd |
| 947 | 988 | tbd-version: 4 |
| 948 | 989 | targets: [ 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 ] | |
| 950 | 991 | install-name: '/usr/lib/system/libdyld.dylib' |
| 951 | 992 | current-version: 0 |
| 952 | 993 | compatibility-version: 0 |
| 953 | 994 | parent-umbrella: |
| 954 | 995 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 955 | arm64e-macos, arm64e-maccatalyst ] | |
| 996 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 956 | 997 | umbrella: System |
| 957 | 998 | exports: |
| 958 | 999 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 959 | arm64e-macos, arm64e-maccatalyst ] | |
| 1000 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 960 | 1001 | symbols: [ _NSVersionOfLinkTimeLibrary, _NSVersionOfRunTimeLibrary, _NXArgc, |
| 961 | 1002 | _NXArgv, __NSGetExecutablePath, ___progname, __dyld_atfork_parent, |
| 962 | 1003 | __dyld_atfork_prepare, __dyld_call_with_writable_tpro_memory, |
| ... | ... | @@ -969,12 +1010,12 @@ exports: |
| 969 | 1010 | __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_framework_HWTrace_spis_enabled, |
| 970 | 1011 | __dyld_get_dlopen_image_header, __dyld_get_dyld_header, __dyld_get_image_header, |
| 971 | 1012 | __dyld_get_image_name, __dyld_get_image_slide, __dyld_get_image_uuid, |
| 972 | __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, __dyld_get_prog_image_header, | |
| 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, | |
| 978 | 1019 | __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lazy_load, |
| 979 | 1020 | __dyld_lookup_section_info, __dyld_objc_class_count, __dyld_objc_notify_register, |
| 980 | 1021 | __dyld_objc_register_callbacks, __dyld_objc_uses_large_shared_cache, |
| ... | ... | @@ -987,78 +1028,86 @@ exports: |
| 987 | 1028 | __dyld_process_info_retain, __dyld_pseudodylib_deregister, |
| 988 | 1029 | __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register, |
| 989 | 1030 | __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, | |
| 995 | 1037 | __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, | |
| 1025 | 1069 | _dyld_shared_cache_is_mapped_private, _dyld_shared_cache_iterate_text, |
| 1026 | _dyld_shared_cache_pin_mapping, _dyld_shared_cache_some_image_overridden, | |
| 1070 | _dyld_shared_cache_pin_mapping, _dyld_shared_cache_range_type_all, | |
| 1071 | _dyld_shared_cache_range_type_all_code, _dyld_shared_cache_some_image_overridden, | |
| 1027 | 1072 | _dyld_shared_cache_unpin_mapping, _dyld_version_token_at_least, |
| 1028 | 1073 | _dyld_version_token_get_platform, _environ, _macho_arch_name_for_cpu_type, |
| 1029 | 1074 | _macho_arch_name_for_mach_header, _macho_best_slice, _macho_best_slice_in_fd, |
| 1030 | _macho_cpu_type_for_arch_name, _macho_dylib_install_name, | |
| 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 ] | |
| 1036 | 1085 | symbols: [ _NSAddImage, _NSAddLibrary, _NSAddLibraryWithSearching, _NSAddressOfSymbol, |
| 1037 | 1086 | _NSCreateObjectFileImageFromFile, _NSCreateObjectFileImageFromMemory, |
| 1038 | 1087 | _NSDestroyObjectFileImage, _NSGetSectionDataInObjectFileImage, |
| 1039 | _NSInstallLinkEditErrorHandlers, _NSIsSymbolDefinedInObjectFileImage, | |
| 1040 | _NSIsSymbolNameDefined, _NSIsSymbolNameDefinedInImage, _NSIsSymbolNameDefinedWithHint, | |
| 1088 | _NSIsSymbolDefinedInObjectFileImage, _NSIsSymbolNameDefined, | |
| 1089 | _NSIsSymbolNameDefinedInImage, _NSIsSymbolNameDefinedWithHint, | |
| 1041 | 1090 | _NSLibraryNameForModule, _NSLinkEditError, _NSLinkModule, |
| 1042 | 1091 | _NSLookupAndBindSymbol, _NSLookupAndBindSymbolWithHint, _NSLookupSymbolInImage, |
| 1043 | 1092 | _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, | |
| 1048 | 1094 | __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 ] | |
| 1052 | 1098 | --- !tapi-tbd |
| 1053 | 1099 | tbd-version: 4 |
| 1054 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1100 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1101 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1055 | 1102 | install-name: '/usr/lib/system/libkeymgr.dylib' |
| 1056 | 1103 | current-version: 31 |
| 1057 | 1104 | parent-umbrella: |
| 1058 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1105 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1106 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1059 | 1107 | umbrella: System |
| 1060 | 1108 | exports: |
| 1061 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1109 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1110 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1062 | 1111 | symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer, |
| 1063 | 1112 | __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2, |
| 1064 | 1113 | __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr, |
| ... | ... | @@ -1066,14 +1115,14 @@ exports: |
| 1066 | 1115 | __keymgr_unlock_processwide_ptr, _keymgrVersionNumber, _keymgrVersionString ] |
| 1067 | 1116 | --- !tapi-tbd |
| 1068 | 1117 | tbd-version: 4 |
| 1069 | targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | |
| 1118 | targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 1070 | 1119 | install-name: '/usr/lib/system/libmacho.dylib' |
| 1071 | 1120 | current-version: 1040 |
| 1072 | 1121 | parent-umbrella: |
| 1073 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | |
| 1122 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 1074 | 1123 | umbrella: System |
| 1075 | 1124 | exports: |
| 1076 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | |
| 1125 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 1077 | 1126 | symbols: [ _NXCombineCpuSubtypes, _NXFindBestFatArch, _NXFindBestFatArch_64, |
| 1078 | 1127 | _NXFreeArchInfo, _NXGetAllArchInfos, _NXGetArchInfoFromCpuType, |
| 1079 | 1128 | _NXGetArchInfoFromName, _NXGetLocalArchInfo, _get_edata, _get_end, |
| ... | ... | @@ -1105,14 +1154,17 @@ exports: |
| 1105 | 1154 | _swap_x86_thread_state, _swap_x86_thread_state64 ] |
| 1106 | 1155 | --- !tapi-tbd |
| 1107 | 1156 | tbd-version: 4 |
| 1108 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1157 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1158 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1109 | 1159 | install-name: '/usr/lib/system/libquarantine.dylib' |
| 1110 | current-version: 196.120.2 | |
| 1160 | current-version: 217.0.4 | |
| 1111 | 1161 | parent-umbrella: |
| 1112 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1162 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1163 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1113 | 1164 | umbrella: System |
| 1114 | 1165 | exports: |
| 1115 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1166 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1167 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1116 | 1168 | symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point, |
| 1117 | 1169 | __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free, |
| 1118 | 1170 | __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata, |
| ... | ... | @@ -1133,7 +1185,7 @@ exports: |
| 1133 | 1185 | _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid, |
| 1134 | 1186 | _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init, |
| 1135 | 1187 | _responsibility_set_pid_responsible_for_pid ] |
| 1136 | - targets: [ x86_64-macos, arm64e-macos ] | |
| 1188 | - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 1137 | 1189 | symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data, |
| 1138 | 1190 | _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token, |
| 1139 | 1191 | _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform, |
| ... | ... | @@ -1149,14 +1201,17 @@ exports: |
| 1149 | 1201 | _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ] |
| 1150 | 1202 | --- !tapi-tbd |
| 1151 | 1203 | tbd-version: 4 |
| 1152 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1204 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1205 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1153 | 1206 | install-name: '/usr/lib/system/libremovefile.dylib' |
| 1154 | current-version: 85.100.6 | |
| 1207 | current-version: 96 | |
| 1155 | 1208 | parent-umbrella: |
| 1156 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1209 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1210 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1157 | 1211 | umbrella: System |
| 1158 | 1212 | exports: |
| 1159 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1213 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1214 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1160 | 1215 | symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer, |
| 1161 | 1216 | ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker, |
| 1162 | 1217 | ___removefile_tree_walker_slim, _removefile, _removefile_cancel, |
| ... | ... | @@ -1164,14 +1219,17 @@ exports: |
| 1164 | 1219 | _removefile_state_set, _removefileat ] |
| 1165 | 1220 | --- !tapi-tbd |
| 1166 | 1221 | tbd-version: 4 |
| 1167 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1222 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1223 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1168 | 1224 | install-name: '/usr/lib/system/libsystem_asl.dylib' |
| 1169 | current-version: 406 | |
| 1225 | current-version: 409 | |
| 1170 | 1226 | parent-umbrella: |
| 1171 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1227 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1228 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1172 | 1229 | umbrella: System |
| 1173 | 1230 | exports: |
| 1174 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1231 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1232 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1175 | 1233 | symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child, |
| 1176 | 1234 | __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child, |
| 1177 | 1235 | __asl_mt_shim_send_message, __asl_server_cancel_direct_watch, |
| ... | ... | @@ -1242,14 +1300,17 @@ exports: |
| 1242 | 1300 | _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ] |
| 1243 | 1301 | --- !tapi-tbd |
| 1244 | 1302 | tbd-version: 4 |
| 1245 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1303 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1304 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1246 | 1305 | install-name: '/usr/lib/system/libsystem_blocks.dylib' |
| 1247 | current-version: 96 | |
| 1306 | current-version: 98.1 | |
| 1248 | 1307 | parent-umbrella: |
| 1249 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1308 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1309 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1250 | 1310 | umbrella: System |
| 1251 | 1311 | exports: |
| 1252 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1312 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1313 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1253 | 1314 | symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature, |
| 1254 | 1315 | __Block_isDeallocating, __Block_layout, __Block_object_assign, |
| 1255 | 1316 | __Block_object_dispose, __Block_release, __Block_signature, |
| ... | ... | @@ -1258,11 +1319,13 @@ exports: |
| 1258 | 1319 | __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ] |
| 1259 | 1320 | --- !tapi-tbd |
| 1260 | 1321 | tbd-version: 4 |
| 1261 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1322 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1323 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1262 | 1324 | install-name: '/usr/lib/system/libsystem_c.dylib' |
| 1263 | current-version: 1752.120.2 | |
| 1325 | current-version: 1786.0.3 | |
| 1264 | 1326 | parent-umbrella: |
| 1265 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1327 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1328 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1266 | 1329 | umbrella: System |
| 1267 | 1330 | exports: |
| 1268 | 1331 | - targets: [ x86_64-macos, x86_64-maccatalyst ] |
| ... | ... | @@ -1279,7 +1342,8 @@ exports: |
| 1279 | 1342 | '_scandirat$INODE64', '_scandirat_b$INODE64', '_seekdir$INODE64', |
| 1280 | 1343 | _statx64_np, '_statx_np$INODE64', _strtoencf80_l, '_telldir$INODE64', |
| 1281 | 1344 | mcount ] |
| 1282 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1345 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1346 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1283 | 1347 | symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres', |
| 1284 | 1348 | '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime', |
| 1285 | 1349 | '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy', |
| ... | ... | @@ -1397,8 +1461,11 @@ exports: |
| 1397 | 1461 | _fputws, _fputws_l, _fread, _free_printf_comp, _free_printf_domain, |
| 1398 | 1462 | _freelocale, _freopen, _fscanf, _fscanf_l, _fseek, _fseeko, |
| 1399 | 1463 | _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, | |
| 1402 | 1469 | _funlockfile, _funopen, _fwide, _fwprintf, _fwprintf_l, _fwrite, |
| 1403 | 1470 | _fwscanf, _fwscanf_l, _fxprintf, _fxprintf_exec, _gcvt, _getbsize, |
| 1404 | 1471 | _getc, _getc_unlocked, _getchar, _getchar_unlocked, _getcwd, |
| ... | ... | @@ -1508,15 +1575,10 @@ exports: |
| 1508 | 1575 | _timegm, _timelocal, _timeoff, _times, _timespec_get, _timezone, |
| 1509 | 1576 | _timingsafe_bcmp, _tmpfile, _tmpnam, _toascii, _tolower, _tolower_l, |
| 1510 | 1577 | _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', | |
| 1520 | 1582 | _utime, _utmpxname, _uuid_clear, _uuid_compare, _uuid_copy, |
| 1521 | 1583 | _uuid_generate, _uuid_generate_random, _uuid_generate_time, |
| 1522 | 1584 | _uuid_is_null, _uuid_pack, _uuid_parse, _uuid_unpack, _uuid_unparse, |
| ... | ... | @@ -1548,21 +1610,25 @@ exports: |
| 1548 | 1610 | _xprintf_exec ] |
| 1549 | 1611 | weak-symbols: [ __os_debug_log_redirect_func ] |
| 1550 | 1612 | reexports: |
| 1551 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1613 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1614 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1552 | 1615 | symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy, |
| 1553 | 1616 | _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8, |
| 1554 | 1617 | _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp, |
| 1555 | 1618 | _strncpy, _strnlen, _strstr ] |
| 1556 | 1619 | --- !tapi-tbd |
| 1557 | 1620 | tbd-version: 4 |
| 1558 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1621 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1622 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1559 | 1623 | install-name: '/usr/lib/system/libsystem_collections.dylib' |
| 1560 | current-version: 1752.120.2 | |
| 1624 | current-version: 1786.0.3 | |
| 1561 | 1625 | parent-umbrella: |
| 1562 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1626 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1627 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1563 | 1628 | umbrella: System |
| 1564 | 1629 | exports: |
| 1565 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1630 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1631 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1566 | 1632 | symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete, |
| 1567 | 1633 | _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach, |
| 1568 | 1634 | _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count, |
| ... | ... | @@ -1572,24 +1638,30 @@ exports: |
| 1572 | 1638 | _os_map_64_init, _os_map_64_insert, _os_map_str_clear, _os_map_str_count, |
| 1573 | 1639 | _os_map_str_delete, _os_map_str_destroy, _os_map_str_entry, |
| 1574 | 1640 | _os_map_str_find, _os_map_str_foreach, _os_map_str_init, _os_map_str_insert, |
| 1575 | _os_set_32_ptr_clear, _os_set_32_ptr_count, _os_set_32_ptr_delete, | |
| 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 ] | |
| 1583 | 1652 | --- !tapi-tbd |
| 1584 | 1653 | tbd-version: 4 |
| 1585 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1654 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1655 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1586 | 1656 | install-name: '/usr/lib/system/libsystem_configuration.dylib' |
| 1587 | current-version: 1405.120.5 | |
| 1657 | current-version: 1446 | |
| 1588 | 1658 | parent-umbrella: |
| 1589 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1659 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1660 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1590 | 1661 | umbrella: System |
| 1591 | 1662 | exports: |
| 1592 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1663 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1664 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1593 | 1665 | symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent, |
| 1594 | 1666 | __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack, |
| 1595 | 1667 | __nwi_state_force_refresh, _config_agent_copy_dns_information, |
| ... | ... | @@ -1606,18 +1678,24 @@ exports: |
| 1606 | 1678 | _nwi_state_get_reachability_flags, _nwi_state_release ] |
| 1607 | 1679 | --- !tapi-tbd |
| 1608 | 1680 | tbd-version: 4 |
| 1609 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1681 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1682 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1610 | 1683 | install-name: '/usr/lib/system/libsystem_containermanager.dylib' |
| 1611 | 1684 | parent-umbrella: |
| 1612 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1685 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1686 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1613 | 1687 | umbrella: System |
| 1614 | 1688 | exports: |
| 1615 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1689 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1690 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1616 | 1691 | 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, | |
| 1619 | 1695 | _CONTAINER_NOTIFY_GENERATION_INVALID, _CONTAINER_NOTIFY_USER_INVALIDATED, |
| 1620 | _CONTAINER_PERSONA_CURRENT, _CONTAINER_PERSONA_PRIMARY, __container_init, | |
| 1696 | _CONTAINER_PERSONA_ALL_AVAILABLE, _CONTAINER_PERSONA_CURRENT, | |
| 1697 | _CONTAINER_PERSONA_PRIMARY, _CONTAINER_POSIX_OWNERSHIP_NULL, | |
| 1698 | _CONTAINER_TRAVERSE_ATTR_ENTRY_LENGTH_FIELD_SIZE, __container_init, | |
| 1621 | 1699 | __container_notify_copy_notify_name, __container_query_get_next_result_sync, |
| 1622 | 1700 | __container_query_get_result_at_index, __container_query_get_servicing_pid, |
| 1623 | 1701 | __container_query_operation_set_private_flags, __container_query_reset_iterator, |
| ... | ... | @@ -1631,8 +1709,9 @@ exports: |
| 1631 | 1709 | _container_audit_token_copy_entitlement, _container_audit_token_copy_executable_name, |
| 1632 | 1710 | _container_audit_token_copy_executable_name_with_pid, _container_audit_token_for_pid, |
| 1633 | 1711 | _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, | |
| 1636 | 1715 | _container_authorize, _container_authorize_container, _container_authorize_container_for_self, |
| 1637 | 1716 | _container_authorize_get_result_description, _container_base64_decode, |
| 1638 | 1717 | _container_base64_decode_string, _container_base64_encode, |
| ... | ... | @@ -1642,10 +1721,12 @@ exports: |
| 1642 | 1721 | _container_class_supports_randomized_path, _container_class_supports_randomized_path_on_current_platform, |
| 1643 | 1722 | _container_client_copy_decoded_from_xpc_object, _container_client_copy_encoded_xpc_object, |
| 1644 | 1723 | _container_client_copy_entitlement, _container_client_create_from_audit_token, |
| 1724 | _container_client_create_from_audit_token_with_launch_persona, | |
| 1645 | 1725 | _container_client_get_audit_token, _container_client_get_codesign_identifier, |
| 1646 | 1726 | _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, | |
| 1649 | 1730 | _container_client_initializer, _container_client_is_alive, |
| 1650 | 1731 | _container_client_is_platform_binary, _container_client_is_sandboxed, |
| 1651 | 1732 | _container_client_is_signature_valid, _container_client_is_signed, |
| ... | ... | @@ -1665,6 +1746,7 @@ exports: |
| 1665 | 1746 | _container_create_or_lookup_path_for_current_user, _container_create_or_lookup_path_for_platform, |
| 1666 | 1747 | _container_create_or_lookup_system_group_paths, _container_create_or_lookup_user_managed_assets_path, |
| 1667 | 1748 | _container_create_or_lookup_user_managed_assets_relative_path, |
| 1749 | _container_debug_copy_state, _container_debug_dump_state, | |
| 1668 | 1750 | _container_delete, _container_delete_all_container_content, |
| 1669 | 1751 | _container_delete_all_data_container_content_for_current_user, |
| 1670 | 1752 | _container_delete_array_of_containers, _container_delete_user_managed_assets, |
| ... | ... | @@ -1685,6 +1767,7 @@ exports: |
| 1685 | 1767 | _container_frozenset_get_count, _container_frozenset_get_creator_of_container_at_index, |
| 1686 | 1768 | _container_frozenset_get_generation, _container_frozenset_get_identifier_of_container_at_index, |
| 1687 | 1769 | _container_frozenset_get_is_new_of_container_at_index, _container_frozenset_get_is_transient_of_container_at_index, |
| 1770 | _container_frozenset_get_ownership_of_container_at_index, | |
| 1688 | 1771 | _container_frozenset_get_path_of_container_at_index, _container_frozenset_get_persona_unique_string_of_container_at_index, |
| 1689 | 1772 | _container_frozenset_get_stored_string, _container_frozenset_get_uid_of_container_at_index, |
| 1690 | 1773 | _container_frozenset_get_uma_relative_path_of_container_at_index, |
| ... | ... | @@ -1692,11 +1775,12 @@ exports: |
| 1692 | 1775 | _container_frozenset_get_uuid_of_container_at_index, _container_fs_add_path_component, |
| 1693 | 1776 | _container_fs_append_trailing_slash, _container_fs_item_exists, |
| 1694 | 1777 | _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, | |
| 1700 | 1784 | _container_get_uid, _container_get_unique_path_component, |
| 1701 | 1785 | _container_get_user_managed_assets_relative_path, _container_group_container_identifiers_for_current_user, |
| 1702 | 1786 | _container_info_delete, _container_info_modify, _container_info_put, |
| ... | ... | @@ -1705,44 +1789,50 @@ exports: |
| 1705 | 1789 | _container_log_client_fault_logging_is_enabled, _container_log_error, |
| 1706 | 1790 | _container_log_error_with_faults, _container_log_ext_error, |
| 1707 | 1791 | _container_log_ext_error_with_faults, _container_log_handle_for_category, |
| 1708 | _container_log_replication_disable, _container_log_replication_enable_to_uid_relative_path, | |
| 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, | |
| 1710 | 1793 | _container_notify_create, _container_notify_create_with_class, |
| 1711 | 1794 | _container_notify_create_with_initial_gen_count, _container_notify_free, |
| 1712 | 1795 | _container_notify_get_generation, _container_notify_get_last_error, |
| 1713 | 1796 | _container_notify_has_changed, _container_notify_increment_generation, |
| 1714 | _container_notify_post, _container_notify_set_class, _container_notify_set_event_handler, | |
| 1797 | _container_notify_post, _container_notify_register_generation_handler, | |
| 1798 | _container_notify_set_class, _container_notify_set_event_handler, | |
| 1715 | 1799 | _container_notify_set_flags, _container_notify_set_generation, |
| 1716 | 1800 | _container_notify_set_queue, _container_notify_set_uid, _container_notify_start, |
| 1717 | 1801 | _container_notify_stop, _container_object_copy, _container_object_create, |
| 1718 | 1802 | _container_object_create_blank, _container_object_free, _container_object_get_class, |
| 1719 | 1803 | _container_object_get_creator_codesign_identifier, _container_object_get_identifier, |
| 1720 | 1804 | _container_object_get_info, _container_object_get_path, _container_object_get_persona_unique_string, |
| 1721 | _container_object_get_query, _container_object_get_sandbox_token, | |
| 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, | |
| 1725 | 1809 | _container_object_sandbox_extension_activate, _container_object_set_backing_store_from_query, |
| 1726 | 1810 | _container_object_set_class, _container_object_set_creator_codesign_identifier, |
| 1727 | 1811 | _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, | |
| 1734 | 1819 | _container_paths_context_free, _container_paths_context_set_class, |
| 1735 | 1820 | _container_paths_context_set_flags, _container_paths_context_set_persona_unique_string, |
| 1736 | 1821 | _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, | |
| 1746 | 1836 | _container_process_restored_container, _container_pwd_copy_user_home_path, |
| 1747 | 1837 | _container_pwd_for_name, _container_pwd_for_uid, _container_pwd_get_cached_current_user_home_path, |
| 1748 | 1838 | _container_pwd_get_mobile_user_uid, _container_query_copy, |
| ... | ... | @@ -1752,8 +1842,9 @@ exports: |
| 1752 | 1842 | _container_query_iterate_results_with_subquery_sync, _container_query_operation_set_client, |
| 1753 | 1843 | _container_query_operation_set_flags, _container_query_operation_set_part, |
| 1754 | 1844 | _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, | |
| 1757 | 1848 | _container_query_set_persona_unique_string, _container_query_set_transient, |
| 1758 | 1849 | _container_query_set_uid, _container_realpath, _container_realpathat, |
| 1759 | 1850 | _container_recreate_structure, _container_references_get_last_error, |
| ... | ... | @@ -1763,7 +1854,8 @@ exports: |
| 1763 | 1854 | _container_sandbox_issue_extension, _container_seam_container_reset, |
| 1764 | 1855 | _container_seam_container_set_common, _container_seam_dispatch_reset, |
| 1765 | 1856 | _container_seam_dispatch_set_common, _container_seam_fs_ensure_lazy_loaded, |
| 1766 | _container_seam_fs_reset, _container_seam_fs_set_common, _container_seam_notify_reset, | |
| 1857 | _container_seam_fs_reset, _container_seam_fs_set_common, _container_seam_kpersona_reset, | |
| 1858 | _container_seam_kpersona_set_common, _container_seam_notify_reset, | |
| 1767 | 1859 | _container_seam_notify_set_common, _container_seam_pwd_reset, |
| 1768 | 1860 | _container_seam_pwd_set_common, _container_seam_quarantine_reset, |
| 1769 | 1861 | _container_seam_quarantine_set_common, _container_seam_sandbox_reset, |
| ... | ... | @@ -1791,10 +1883,12 @@ exports: |
| 1791 | 1883 | _container_user_managed_assets_relative_path, _container_xpc_connection_is_shared, |
| 1792 | 1884 | _container_xpc_create_connection, _container_xpc_decode_container_object, |
| 1793 | 1885 | _container_xpc_decode_create_container_object_array, _container_xpc_decode_error, |
| 1886 | _container_xpc_decode_ownership_object, _container_xpc_decode_persona_object, | |
| 1794 | 1887 | _container_xpc_encode_client_onto_message, _container_xpc_encode_container_array, |
| 1795 | 1888 | _container_xpc_encode_container_as_object, _container_xpc_encode_container_metadata_as_object, |
| 1796 | 1889 | _container_xpc_encode_container_object, _container_xpc_encode_error, |
| 1797 | _container_xpc_encode_error_as_object, _container_xpc_get_incoming_reply_preprocess_block, | |
| 1890 | _container_xpc_encode_error_as_object, _container_xpc_encode_ownership_as_object, | |
| 1891 | _container_xpc_encode_persona_as_object, _container_xpc_get_incoming_reply_preprocess_block, | |
| 1798 | 1892 | _container_xpc_get_outgoing_message_postprocess_block, _container_xpc_get_outgoing_message_send_block, |
| 1799 | 1893 | _container_xpc_get_raw_connection, _container_xpc_invalidate_connection, |
| 1800 | 1894 | _container_xpc_release, _container_xpc_send_message, _container_xpc_send_sync_message, |
| ... | ... | @@ -1802,9 +1896,9 @@ exports: |
| 1802 | 1896 | _container_xpc_set_incoming_reply_preprocess_block, _container_xpc_set_outgoing_message_postprocess_block, |
| 1803 | 1897 | _container_xpc_set_outgoing_message_send_block, _container_xpc_set_use_shared_connection, |
| 1804 | 1898 | _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 ] | |
| 1808 | 1902 | symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID, |
| 1809 | 1903 | _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths, |
| 1810 | 1904 | _container_create_or_lookup_group_container_paths_for_current_user, |
| ... | ... | @@ -1818,32 +1912,38 @@ exports: |
| 1818 | 1912 | _container_references_set_uid ] |
| 1819 | 1913 | --- !tapi-tbd |
| 1820 | 1914 | tbd-version: 4 |
| 1821 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1915 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1916 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1822 | 1917 | install-name: '/usr/lib/system/libsystem_coreservices.dylib' |
| 1823 | 1918 | current-version: 129 |
| 1824 | 1919 | parent-umbrella: |
| 1825 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1920 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1921 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1826 | 1922 | umbrella: System |
| 1827 | 1923 | exports: |
| 1828 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1924 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1925 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1829 | 1926 | symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration, |
| 1830 | 1927 | _NSStartSearchPathEnumerationPrivate, ___user_local_dirname, |
| 1831 | 1928 | ___user_relative_dirname, __dirhelper, __dirhelper_relative, |
| 1832 | 1929 | __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix, |
| 1833 | 1930 | _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration, |
| 1834 | 1931 | _sysdir_start_search_path_enumeration_private ] |
| 1835 | - targets: [ x86_64-macos, arm64e-macos ] | |
| 1932 | - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 1836 | 1933 | symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints, |
| 1837 | 1934 | __dirhelper_remove_test, __dirhelper_test, __idle_exit ] |
| 1838 | 1935 | --- !tapi-tbd |
| 1839 | 1936 | tbd-version: 4 |
| 1840 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1937 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1938 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1841 | 1939 | install-name: '/usr/lib/system/libsystem_darwin.dylib' |
| 1842 | 1940 | parent-umbrella: |
| 1843 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1941 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1942 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1844 | 1943 | umbrella: System |
| 1845 | 1944 | exports: |
| 1846 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1945 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1946 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1847 | 1947 | symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np, |
| 1848 | 1948 | _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np, |
| 1849 | 1949 | _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np, |
| ... | ... | @@ -1853,46 +1953,52 @@ exports: |
| 1853 | 1953 | _os_crash_spawnattr_set_reporter_port, _os_enumerate_boot_args, |
| 1854 | 1954 | _os_enumerate_boot_args_b, _os_enumerate_boot_args_from_buffer, |
| 1855 | 1955 | _os_enumerate_boot_args_from_buffer_b, _os_flagset_copy_string, |
| 1856 | _os_localtime_file, _os_mach_msg_copy_description, _os_mach_msg_get_audit_trailer, | |
| 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 ] | |
| 1874 | 1974 | symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ] |
| 1875 | 1975 | --- !tapi-tbd |
| 1876 | 1976 | tbd-version: 4 |
| 1877 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1977 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1978 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1878 | 1979 | install-name: '/usr/lib/system/libsystem_darwindirectory.dylib' |
| 1879 | 1980 | parent-umbrella: |
| 1880 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1981 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1982 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1881 | 1983 | umbrella: System |
| 1882 | 1984 | exports: |
| 1883 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1985 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1986 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1884 | 1987 | symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply, |
| 1885 | 1988 | _DarwinDirectoryRecordStoreApplyWithFilter ] |
| 1886 | 1989 | --- !tapi-tbd |
| 1887 | 1990 | tbd-version: 4 |
| 1888 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1991 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1992 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1889 | 1993 | install-name: '/usr/lib/system/libsystem_dnssd.dylib' |
| 1890 | current-version: 2881.120.11 | |
| 1994 | current-version: 3111.0.5 | |
| 1891 | 1995 | parent-umbrella: |
| 1892 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 1996 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 1997 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1893 | 1998 | umbrella: System |
| 1894 | 1999 | exports: |
| 1895 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2000 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2001 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1896 | 2002 | symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree, |
| 1897 | 2003 | _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData, |
| 1898 | 2004 | _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate, |
| ... | ... | @@ -1920,42 +2026,49 @@ exports: |
| 1920 | 2026 | _kDNSServiceAttributeAAAAFallback ] |
| 1921 | 2027 | --- !tapi-tbd |
| 1922 | 2028 | tbd-version: 4 |
| 1923 | targets: [ x86_64-macos, arm64e-macos ] | |
| 2029 | targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 1924 | 2030 | install-name: '/usr/lib/system/libsystem_eligibility.dylib' |
| 1925 | current-version: 319.121.1 | |
| 2031 | current-version: 446.1.3 | |
| 1926 | 2032 | parent-umbrella: |
| 1927 | - targets: [ x86_64-macos, arm64e-macos ] | |
| 2033 | - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 1928 | 2034 | umbrella: System |
| 1929 | 2035 | exports: |
| 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 ] | |
| 1939 | 2046 | --- !tapi-tbd |
| 1940 | 2047 | tbd-version: 4 |
| 1941 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2048 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2049 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1942 | 2050 | install-name: '/usr/lib/system/libsystem_featureflags.dylib' |
| 1943 | current-version: 103 | |
| 2051 | current-version: 108 | |
| 1944 | 2052 | parent-umbrella: |
| 1945 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2053 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2054 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1946 | 2055 | umbrella: System |
| 1947 | 2056 | exports: |
| 1948 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2057 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2058 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1949 | 2059 | symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ] |
| 1950 | 2060 | --- !tapi-tbd |
| 1951 | 2061 | tbd-version: 4 |
| 1952 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2062 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2063 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1953 | 2064 | install-name: '/usr/lib/system/libsystem_info.dylib' |
| 1954 | 2065 | parent-umbrella: |
| 1955 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2066 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2067 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1956 | 2068 | umbrella: System |
| 1957 | 2069 | exports: |
| 1958 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2070 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2071 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 1959 | 2072 | symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create, |
| 1960 | 2073 | _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname, |
| 1961 | 2074 | __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized, |
| ... | ... | @@ -2071,12 +2184,12 @@ exports: |
| 2071 | 2184 | --- !tapi-tbd |
| 2072 | 2185 | tbd-version: 4 |
| 2073 | 2186 | targets: [ 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 ] | |
| 2075 | 2188 | install-name: '/usr/lib/system/libsystem_kernel.dylib' |
| 2076 | current-version: 12377.121.6 | |
| 2189 | current-version: 13432.1.9 | |
| 2077 | 2190 | parent-umbrella: |
| 2078 | 2191 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 2079 | arm64e-macos, arm64e-maccatalyst ] | |
| 2192 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2080 | 2193 | umbrella: System |
| 2081 | 2194 | exports: |
| 2082 | 2195 | - targets: [ x86_64-macos, x86_64-maccatalyst ] |
| ... | ... | @@ -2084,7 +2197,7 @@ exports: |
| 2084 | 2197 | '_getfsstat$INODE64', _i386_get_ldt, _i386_set_ldt, '_lstat$INODE64', |
| 2085 | 2198 | '_pselect$1050', '_select$1050', '_stat$INODE64', '_statfs$INODE64' ] |
| 2086 | 2199 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 2087 | arm64e-macos, arm64e-maccatalyst ] | |
| 2200 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2088 | 2201 | symbols: [ _NDR_record, _____sigwait_nocancel, ____kernelVersionNumber, |
| 2089 | 2202 | ____kernelVersionString, ___abort_with_payload, ___accept, |
| 2090 | 2203 | ___accept_nocancel, ___access_extended, ___aio_suspend_nocancel, |
| ... | ... | @@ -2097,16 +2210,16 @@ exports: |
| 2097 | 2210 | ___csrctl, ___darwin_check_fd_set_overflow, ___debug_syscall_reject, |
| 2098 | 2211 | ___debug_syscall_reject_config, ___delete, ___disable_threadsignal, |
| 2099 | 2212 | ___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, | |
| 2110 | 2223 | ___libkernel_platform_init, ___libkernel_voucher_init, ___listen, |
| 2111 | 2224 | ___log_data, ___lseek, ___lstat64_extended, ___lstat_extended, |
| 2112 | 2225 | ___mac_execve, ___mac_get_fd, ___mac_get_file, ___mac_get_link, |
| ... | ... | @@ -2124,20 +2237,20 @@ exports: |
| 2124 | 2237 | ___openat_nocancel, ___os_nexus_flow_add, ___os_nexus_flow_del, |
| 2125 | 2238 | ___os_nexus_get_llink_info, ___os_nexus_ifattach, ___os_nexus_ifdetach, |
| 2126 | 2239 | ___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, | |
| 2141 | 2254 | ___sem_open, ___sem_wait_nocancel, ___semctl, ___semsys, ___semwait_signal, |
| 2142 | 2255 | ___semwait_signal_nocancel, ___sendmsg, ___sendmsg_nocancel, |
| 2143 | 2256 | ___sendto, ___sendto_nocancel, ___setattrlist, ___setlogin, |
| ... | ... | @@ -2203,13 +2316,14 @@ exports: |
| 2203 | 2316 | _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL', |
| 2204 | 2317 | _access, _accessx_np, _acct, _act_get_state, _act_set_state, |
| 2205 | 2318 | _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, | |
| 2213 | 2327 | _coalition_info_debug_info, _coalition_info_pid_list, _coalition_info_resource_usage, |
| 2214 | 2328 | _coalition_info_set_efficiency, _coalition_info_set_name, |
| 2215 | 2329 | _coalition_ledger_set_logical_writes_limit, _coalition_policy_get, |
| ... | ... | @@ -2217,43 +2331,47 @@ exports: |
| 2217 | 2331 | _connect, '_connect$NOCANCEL', _connectx, _csops, _csops_audittoken, |
| 2218 | 2332 | _csr_check, _csr_get_active_config, _debug_control_port_for_pid, |
| 2219 | 2333 | _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, | |
| 2226 | 2340 | _exclaves_arbitrated_buffer_copyout, _exclaves_arbitrated_buffer_create, |
| 2227 | 2341 | _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, | |
| 2247 | 2365 | _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr, |
| 2248 | 2366 | _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat, |
| 2249 | 2367 | _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np, |
| 2250 | 2368 | _getitimer, _getpeername, _getpgid, _getpgrp, _getpid, _getppid, |
| 2251 | 2369 | _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, | |
| 2257 | 2375 | _host_default_memory_manager, _host_get_UNDServer, _host_get_atm_diagnostic_flag, |
| 2258 | 2376 | _host_get_boot_info, _host_get_clock_control, _host_get_clock_service, |
| 2259 | 2377 | _host_get_exception_ports, _host_get_io_main, _host_get_io_master, |
| ... | ... | @@ -2276,25 +2394,26 @@ exports: |
| 2276 | 2394 | _kill, _kmod_control, _kmod_create, _kmod_destroy, _kmod_get_info, |
| 2277 | 2395 | _kpersona_alloc, _kpersona_dealloc, _kpersona_find, _kpersona_find_by_type, |
| 2278 | 2396 | _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, | |
| 2287 | 2405 | _mach_eventlink_wait_until, _mach_generate_activity_id, _mach_get_times, |
| 2288 | 2406 | _mach_host_self, _mach_host_special_port_description, _mach_host_special_port_for_id, |
| 2289 | 2407 | _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64, |
| 2290 | 2408 | _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts, |
| 2291 | 2409 | _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, | |
| 2298 | 2417 | _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name, |
| 2299 | 2418 | _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed, |
| 2300 | 2419 | _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full, |
| ... | ... | @@ -2423,7 +2542,7 @@ exports: |
| 2423 | 2542 | _os_packet_trace_event, _os_proc_available_memory, _panic, |
| 2424 | 2543 | _panic_init, _panic_with_data, _pathconf, _peeloff, _pid_for_task, |
| 2425 | 2544 | _pid_hibernate, _pid_resume, _pid_shutdown_networking, _pid_shutdown_sockets, |
| 2426 | _pid_suspend, _pipe, _pivot_root, _poll, '_poll$NOCANCEL', | |
| 2545 | _pid_suspend, _pipe, _pipe2, _pivot_root, _poll, '_poll$NOCANCEL', | |
| 2427 | 2546 | _port_obj_init, _port_obj_table, _port_obj_table_size, _posix_madvise, |
| 2428 | 2547 | _posix_spawn, _posix_spawn_file_actions_add_fileportdup2_np, |
| 2429 | 2548 | _posix_spawn_file_actions_addchdir, _posix_spawn_file_actions_addchdir_np, |
| ... | ... | @@ -2433,6 +2552,7 @@ exports: |
| 2433 | 2552 | _posix_spawn_file_actions_destroy, _posix_spawn_file_actions_init, |
| 2434 | 2553 | _posix_spawnattr_destroy, _posix_spawnattr_disable_ptr_auth_a_keys_np, |
| 2435 | 2554 | _posix_spawnattr_get_darwin_role_np, _posix_spawnattr_get_qos_clamp_np, |
| 2555 | _posix_spawnattr_get_shared_region_config_np, _posix_spawnattr_get_shared_region_namespace_np, | |
| 2436 | 2556 | _posix_spawnattr_getarchpref_np, _posix_spawnattr_getbinpref_np, |
| 2437 | 2557 | _posix_spawnattr_getcpumonitor, _posix_spawnattr_getflags, |
| 2438 | 2558 | _posix_spawnattr_getmacpolicyinfo_np, _posix_spawnattr_getpcontrol_np, |
| ... | ... | @@ -2452,62 +2572,64 @@ exports: |
| 2452 | 2572 | _posix_spawnattr_set_persona_uid_np, _posix_spawnattr_set_platform_np, |
| 2453 | 2573 | _posix_spawnattr_set_portlimits_ext, _posix_spawnattr_set_ptrauth_task_port_np, |
| 2454 | 2574 | _posix_spawnattr_set_qos_clamp_np, _posix_spawnattr_set_registered_ports_np, |
| 2455 | _posix_spawnattr_set_subsystem_root_path_np, _posix_spawnattr_set_telemetry_np, | |
| 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, | |
| 2511 | 2633 | _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal, |
| 2512 | 2634 | _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl, |
| 2513 | 2635 | _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL', |
| ... | ... | @@ -2567,7 +2689,8 @@ exports: |
| 2567 | 2689 | _thread_suspend2, _thread_swap_exception_ports, _thread_swap_mach_voucher, |
| 2568 | 2690 | _thread_switch, _thread_terminate, _thread_wire, _tracker_action, |
| 2569 | 2691 | _truncate, _umask, _undelete, _ungraftdmg, _unlink, _unlinkat, |
| 2570 | _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _vm_allocate, | |
| 2692 | _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _virtual_env_create, | |
| 2693 | _virtual_env_get_current, _virtual_env_get_info, _vm_allocate, | |
| 2571 | 2694 | _vm_allocate_cpm, _vm_behavior_set, _vm_copy, _vm_deallocate, |
| 2572 | 2695 | _vm_inherit, _vm_kernel_page_mask, _vm_kernel_page_shift, |
| 2573 | 2696 | _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query, |
| ... | ... | @@ -2589,20 +2712,22 @@ exports: |
| 2589 | 2712 | _work_interval_instance_update, _work_interval_join, _work_interval_join_port, |
| 2590 | 2713 | _work_interval_leave, _work_interval_notify, _work_interval_notify_simple, |
| 2591 | 2714 | _write, '_write$NOCANCEL', _writev, '_writev$NOCANCEL' ] |
| 2592 | - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2715 | - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2716 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2593 | 2717 | symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat, |
| 2594 | 2718 | ___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 ] | |
| 2597 | 2722 | --- !tapi-tbd |
| 2598 | 2723 | tbd-version: 4 |
| 2599 | 2724 | targets: [ 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 ] | |
| 2601 | 2726 | install-name: '/usr/lib/system/libsystem_m.dylib' |
| 2602 | current-version: 3312.100.1 | |
| 2727 | current-version: 3326.0.1 | |
| 2603 | 2728 | parent-umbrella: |
| 2604 | 2729 | - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, |
| 2605 | arm64e-macos, arm64e-maccatalyst ] | |
| 2730 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2606 | 2731 | umbrella: System |
| 2607 | 2732 | exports: |
| 2608 | 2733 | - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ] |
| ... | ... | @@ -2644,7 +2769,7 @@ exports: |
| 2644 | 2769 | __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16, |
| 2645 | 2770 | __simd_tgamma_f8 ] |
| 2646 | 2771 | - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, |
| 2647 | arm64e-macos, arm64e-maccatalyst ] | |
| 2772 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2648 | 2773 | symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16, |
| 2649 | 2774 | ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f, |
| 2650 | 2775 | ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16, |
| ... | ... | @@ -2814,18 +2939,21 @@ exports: |
| 2814 | 2939 | '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off', |
| 2815 | 2940 | '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off', |
| 2816 | 2941 | '_truncf$fenv_access_off', '_truncl$fenv_access_off' ] |
| 2817 | - targets: [ arm64e-macos, arm64e-maccatalyst ] | |
| 2942 | - targets: [ arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2818 | 2943 | symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ] |
| 2819 | 2944 | --- !tapi-tbd |
| 2820 | 2945 | tbd-version: 4 |
| 2821 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2946 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2947 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2822 | 2948 | install-name: '/usr/lib/system/libsystem_malloc.dylib' |
| 2823 | current-version: 812.100.31 | |
| 2949 | current-version: 886.0.8 | |
| 2824 | 2950 | parent-umbrella: |
| 2825 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2951 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2952 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2826 | 2953 | umbrella: System |
| 2827 | 2954 | exports: |
| 2828 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 2955 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 2956 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2829 | 2957 | symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init, |
| 2830 | 2958 | ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent, |
| 2831 | 2959 | __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override, |
| ... | ... | @@ -2870,13 +2998,16 @@ exports: |
| 2870 | 2998 | _zeroify_scalable_zone ] |
| 2871 | 2999 | --- !tapi-tbd |
| 2872 | 3000 | tbd-version: 4 |
| 2873 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3001 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3002 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2874 | 3003 | install-name: '/usr/lib/system/libsystem_networkextension.dylib' |
| 2875 | 3004 | parent-umbrella: |
| 2876 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3005 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3006 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2877 | 3007 | umbrella: System |
| 2878 | 3008 | exports: |
| 2879 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3009 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3010 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2880 | 3011 | symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses, |
| 2881 | 3012 | _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID, |
| 2882 | 3013 | _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended, |
| ... | ... | @@ -2959,14 +3090,17 @@ exports: |
| 2959 | 3090 | _nelog_is_info_logging_enabled ] |
| 2960 | 3091 | --- !tapi-tbd |
| 2961 | 3092 | tbd-version: 4 |
| 2962 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3093 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3094 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2963 | 3095 | install-name: '/usr/lib/system/libsystem_notify.dylib' |
| 2964 | current-version: 348.120.4 | |
| 3096 | current-version: 368 | |
| 2965 | 3097 | parent-umbrella: |
| 2966 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3098 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3099 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2967 | 3100 | umbrella: System |
| 2968 | 3101 | exports: |
| 2969 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3102 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3103 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2970 | 3104 | symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status, |
| 2971 | 3105 | _notify_get_event, _notify_get_state, _notify_is_valid_token, |
| 2972 | 3106 | _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check, |
| ... | ... | @@ -2977,12 +3111,12 @@ exports: |
| 2977 | 3111 | --- !tapi-tbd |
| 2978 | 3112 | tbd-version: 4 |
| 2979 | 3113 | targets: [ 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 ] | |
| 2981 | 3115 | install-name: '/usr/lib/system/libsystem_platform.dylib' |
| 2982 | current-version: 375.120.2 | |
| 3116 | current-version: 402.0.1 | |
| 2983 | 3117 | parent-umbrella: |
| 2984 | 3118 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 2985 | arm64e-macos, arm64e-maccatalyst ] | |
| 3119 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2986 | 3120 | umbrella: System |
| 2987 | 3121 | exports: |
| 2988 | 3122 | - targets: [ x86_64-macos, x86_64-maccatalyst ] |
| ... | ... | @@ -2992,7 +3126,7 @@ exports: |
| 2992 | 3126 | _memmove_sse_np, _memset_pattern16_sse_np, _memset_pattern4_sse_np, |
| 2993 | 3127 | _memset_pattern8_sse_np, _memset_sse_np ] |
| 2994 | 3128 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 2995 | arm64e-macos, arm64e-maccatalyst ] | |
| 3129 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 2996 | 3130 | symbols: [ _OSAtomicAdd32, _OSAtomicAdd32Barrier, _OSAtomicAdd64, _OSAtomicAdd64Barrier, |
| 2997 | 3131 | _OSAtomicAnd32, _OSAtomicAnd32Barrier, _OSAtomicAnd32Orig, |
| 2998 | 3132 | _OSAtomicAnd32OrigBarrier, _OSAtomicCompareAndSwap32, _OSAtomicCompareAndSwap32Barrier, |
| ... | ... | @@ -3051,22 +3185,23 @@ exports: |
| 3051 | 3185 | _setjmp, _siglongjmp, _sigsetjmp, _spin_lock, _spin_lock_try, |
| 3052 | 3186 | _spin_unlock, _swapcontext, _sys_cache_control, _sys_dcache_flush, |
| 3053 | 3187 | _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ] |
| 3054 | - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3188 | - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3189 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3055 | 3190 | symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset, |
| 3056 | 3191 | __ctx_done, _os_apt_msg_async_task_stopped_4swift ] |
| 3057 | 3192 | --- !tapi-tbd |
| 3058 | 3193 | tbd-version: 4 |
| 3059 | 3194 | targets: [ 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 ] | |
| 3061 | 3196 | install-name: '/usr/lib/system/libsystem_pthread.dylib' |
| 3062 | current-version: 539.100.4 | |
| 3197 | current-version: 553.0.1 | |
| 3063 | 3198 | parent-umbrella: |
| 3064 | 3199 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 3065 | arm64e-macos, arm64e-maccatalyst ] | |
| 3200 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3066 | 3201 | umbrella: System |
| 3067 | 3202 | exports: |
| 3068 | 3203 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, |
| 3069 | arm64e-macos, arm64e-maccatalyst ] | |
| 3204 | arm64e-macos, arm64e-maccatalyst, arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3070 | 3205 | symbols: [ ____chkstk_darwin, ___is_threaded, ___pthread_init, ___pthread_late_init, |
| 3071 | 3206 | ___pthread_workqueue_setkill, ___unix_conforming, __pthread_atfork_child, |
| 3072 | 3207 | __pthread_atfork_child_handlers, __pthread_atfork_parent, |
| ... | ... | @@ -3148,18 +3283,21 @@ exports: |
| 3148 | 3283 | _pthread_yield_np, _qos_class_main, _qos_class_self, _sched_get_priority_max, |
| 3149 | 3284 | _sched_get_priority_min, _sched_yield, _sigwait, '_sigwait$NOCANCEL', |
| 3150 | 3285 | _start_wqthread, _thread_chkstk_darwin, _thread_start ] |
| 3151 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | |
| 3286 | - targets: [ x86_64-macos, arm64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 3152 | 3287 | symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ] |
| 3153 | 3288 | --- !tapi-tbd |
| 3154 | 3289 | tbd-version: 4 |
| 3155 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3290 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3291 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3156 | 3292 | install-name: '/usr/lib/system/libsystem_sandbox.dylib' |
| 3157 | current-version: 2680.120.12 | |
| 3293 | current-version: 3051.0.52 | |
| 3158 | 3294 | parent-umbrella: |
| 3159 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3295 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3296 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3160 | 3297 | umbrella: System |
| 3161 | 3298 | exports: |
| 3162 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3299 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3300 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3163 | 3301 | symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ, |
| 3164 | 3302 | _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER, |
| 3165 | 3303 | _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW, |
| ... | ... | @@ -3173,14 +3311,14 @@ exports: |
| 3173 | 3311 | _SANDBOX_STORAGE_CLASS_GROUP_ANY, _SANDBOX_STORAGE_CLASS_PROPERTY_ACCEPTS_USER_APPROVAL, |
| 3174 | 3312 | _SANDBOX_STORAGE_CLASS_PROPERTY_READ_RESTRICTED, _SANDBOX_STORAGE_CLASS_PROPERTY_REPLACEMENT_RESTRICTED, |
| 3175 | 3313 | _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, | |
| 3184 | 3322 | _rootless_convert_to_datavault, _rootless_mkdir_datavault, |
| 3185 | 3323 | _rootless_mkdir_nounlink, _rootless_mkdir_restricted, _rootless_protected_volume, |
| 3186 | 3324 | _rootless_protected_volume_fd, _rootless_register_trusted_storage_class, |
| ... | ... | @@ -3188,19 +3326,19 @@ exports: |
| 3188 | 3326 | _rootless_remove_restricted_in_favor_of_static_storage_class, |
| 3189 | 3327 | _rootless_restricted_environment, _rootless_suspend, _rootless_trusted_by_self_token, |
| 3190 | 3328 | _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, | |
| 3194 | 3332 | _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string, |
| 3195 | 3333 | _sandbox_check_network, _sandbox_check_process_signal_target, |
| 3196 | 3334 | _sandbox_check_protected_app_container, _sandbox_check_self_signal_target, |
| 3197 | 3335 | _sandbox_check_storage_class, _sandbox_check_with_attribution, |
| 3198 | 3336 | _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, | |
| 3204 | 3342 | _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid, |
| 3205 | 3343 | _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic, |
| 3206 | 3344 | _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid, |
| ... | ... | @@ -3212,16 +3350,18 @@ exports: |
| 3212 | 3350 | _sandbox_extension_release_file, _sandbox_extension_update_file, |
| 3213 | 3351 | _sandbox_extension_update_file_by_fileid, _sandbox_free_error, |
| 3214 | 3352 | _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, | |
| 3225 | 3365 | _sandbox_register_disk_image_backing_store, _sandbox_register_sync_root, |
| 3226 | 3366 | _sandbox_release_fs_extension, _sandbox_requests_integrity_protection_for_preference_domain, |
| 3227 | 3367 | _sandbox_set_container_path_for_application_group, _sandbox_set_container_path_for_application_group_with_persona, |
| ... | ... | @@ -3232,20 +3372,20 @@ exports: |
| 3232 | 3372 | _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container, |
| 3233 | 3373 | _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store, |
| 3234 | 3374 | _sandbox_unsuspend ] |
| 3235 | - targets: [ x86_64-macos, arm64e-macos ] | |
| 3375 | - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 3236 | 3376 | symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT, |
| 3237 | 3377 | _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply, |
| 3238 | 3378 | _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free, |
| 3239 | 3379 | _rootless_manifest_parse, _rootless_preflight ] |
| 3240 | 3380 | --- !tapi-tbd |
| 3241 | 3381 | tbd-version: 4 |
| 3242 | targets: [ x86_64-macos, arm64e-macos ] | |
| 3382 | targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 3243 | 3383 | install-name: '/usr/lib/system/libsystem_sanitizers.dylib' |
| 3244 | 3384 | parent-umbrella: |
| 3245 | - targets: [ x86_64-macos, arm64e-macos ] | |
| 3385 | - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 3246 | 3386 | umbrella: System |
| 3247 | 3387 | exports: |
| 3248 | - targets: [ x86_64-macos, arm64e-macos ] | |
| 3388 | - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 3249 | 3389 | symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned, |
| 3250 | 3390 | ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison, |
| 3251 | 3391 | ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init, |
| ... | ... | @@ -3266,32 +3406,40 @@ exports: |
| 3266 | 3406 | ___asan_get_free_stack, ___asan_get_report_access_size, ___asan_get_report_access_type, |
| 3267 | 3407 | ___asan_get_report_address, ___asan_get_report_bp, ___asan_get_report_description, |
| 3268 | 3408 | ___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 ] | |
| 3273 | 3415 | --- !tapi-tbd |
| 3274 | 3416 | tbd-version: 4 |
| 3275 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3417 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3418 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3276 | 3419 | install-name: '/usr/lib/system/libsystem_secinit.dylib' |
| 3277 | current-version: 168.100.7 | |
| 3420 | current-version: 182 | |
| 3278 | 3421 | parent-umbrella: |
| 3279 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3422 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3423 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3280 | 3424 | umbrella: System |
| 3281 | 3425 | exports: |
| 3282 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3426 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3427 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3283 | 3428 | symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user, |
| 3284 | 3429 | _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes, |
| 3285 | 3430 | _libsecinit_fileoperation_symlink ] |
| 3286 | 3431 | --- !tapi-tbd |
| 3287 | 3432 | tbd-version: 4 |
| 3288 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3433 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3434 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3289 | 3435 | install-name: '/usr/lib/system/libsystem_symptoms.dylib' |
| 3290 | 3436 | parent-umbrella: |
| 3291 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3437 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3438 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3292 | 3439 | umbrella: System |
| 3293 | 3440 | exports: |
| 3294 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3441 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3442 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3295 | 3443 | symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition, |
| 3296 | 3444 | __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init, |
| 3297 | 3445 | _symptom_framework_set_version, _symptom_new, _symptom_send, |
| ... | ... | @@ -3299,14 +3447,17 @@ exports: |
| 3299 | 3447 | _symptom_set_qualifier ] |
| 3300 | 3448 | --- !tapi-tbd |
| 3301 | 3449 | tbd-version: 4 |
| 3302 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3450 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3451 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3303 | 3452 | install-name: '/usr/lib/system/libsystem_trace.dylib' |
| 3304 | current-version: 1861.120.4 | |
| 3453 | current-version: 1966.1.1 | |
| 3305 | 3454 | parent-umbrella: |
| 3306 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3455 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3456 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3307 | 3457 | umbrella: System |
| 3308 | 3458 | exports: |
| 3309 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3459 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3460 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3310 | 3461 | symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource, |
| 3311 | 3462 | _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource, |
| 3312 | 3463 | _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate, |
| ... | ... | @@ -3322,13 +3473,13 @@ exports: |
| 3322 | 3473 | __os_activity_none, __os_activity_set_breadcrumb, __os_activity_start, |
| 3323 | 3474 | __os_activity_stream_entry_encode, __os_log_create, __os_log_debug, |
| 3324 | 3475 | __os_log_debug_impl, __os_log_default, __os_log_disabled, |
| 3325 | __os_log_error, __os_log_error_impl, __os_log_fault, __os_log_fault_impl, | |
| 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, | |
| 3332 | 3483 | __os_metric_double_op_impl, __os_metric_int64_create_impl, |
| 3333 | 3484 | __os_metric_int64_op_impl, __os_metric_label_create_impl, |
| 3334 | 3485 | __os_metric_label_create_v, __os_metric_reset_impl, __os_metric_set_scale_impl, |
| ... | ... | @@ -3345,17 +3496,19 @@ exports: |
| 3345 | 3496 | __os_trace_macho_for_each_slice, __os_trace_malloc_typed, |
| 3346 | 3497 | __os_trace_memdup, __os_trace_mmap, __os_trace_mmap_at, __os_trace_mmap_offset, |
| 3347 | 3498 | __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, | |
| 3359 | 3512 | _os_activity_iterate_breadcrumbs, _os_activity_iterate_messages, |
| 3360 | 3513 | _os_activity_iterate_processes, _os_activity_messages_for_thread, |
| 3361 | 3514 | _os_activity_scope_enter, _os_activity_scope_leave, _os_log_backtrace_copy_description, |
| ... | ... | @@ -3384,26 +3537,29 @@ exports: |
| 3384 | 3537 | objc-classes: [ OS_os_log ] |
| 3385 | 3538 | --- !tapi-tbd |
| 3386 | 3539 | tbd-version: 4 |
| 3387 | targets: [ x86_64-macos, arm64e-macos ] | |
| 3540 | targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 3388 | 3541 | install-name: '/usr/lib/system/libsystem_trial.dylib' |
| 3389 | current-version: 474.2.18 | |
| 3542 | current-version: 511 | |
| 3390 | 3543 | parent-umbrella: |
| 3391 | - targets: [ x86_64-macos, arm64e-macos ] | |
| 3544 | - targets: [ x86_64-macos, arm64e-macos, arm64e.x1-macos ] | |
| 3392 | 3545 | umbrella: System |
| 3393 | 3546 | exports: |
| 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, | |
| 3396 | 3549 | __os_trial_factor_has_impl ] |
| 3397 | 3550 | --- !tapi-tbd |
| 3398 | 3551 | tbd-version: 4 |
| 3399 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3552 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3553 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3400 | 3554 | install-name: '/usr/lib/system/libunwind.dylib' |
| 3401 | current-version: 2100.2 | |
| 3555 | current-version: 2200.5 | |
| 3402 | 3556 | parent-umbrella: |
| 3403 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3557 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3558 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3404 | 3559 | umbrella: System |
| 3405 | 3560 | exports: |
| 3406 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3561 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3562 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3407 | 3563 | symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction, |
| 3408 | 3564 | __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA, |
| 3409 | 3565 | __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo, |
| ... | ... | @@ -3418,17 +3574,20 @@ exports: |
| 3418 | 3574 | _unw_get_proc_info, _unw_get_proc_name, _unw_get_reg, _unw_getcontext, |
| 3419 | 3575 | _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache, |
| 3420 | 3576 | _unw_local_addr_space, _unw_regname, _unw_resume, _unw_resume_with_frames_walked, |
| 3421 | _unw_set_fpreg, _unw_set_reg, _unw_step ] | |
| 3577 | _unw_set_fpreg, _unw_set_reg, _unw_step, _unw_strerror ] | |
| 3422 | 3578 | --- !tapi-tbd |
| 3423 | 3579 | tbd-version: 4 |
| 3424 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3580 | targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3581 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3425 | 3582 | install-name: '/usr/lib/system/libxpc.dylib' |
| 3426 | current-version: 3102.120.13 | |
| 3583 | current-version: 3298.1.1 | |
| 3427 | 3584 | parent-umbrella: |
| 3428 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3585 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3586 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3429 | 3587 | umbrella: System |
| 3430 | 3588 | exports: |
| 3431 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] | |
| 3589 | - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst, | |
| 3590 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | |
| 3432 | 3591 | symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN, |
| 3433 | 3592 | _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE, |
| 3434 | 3593 | _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE, |
| ... | ... | @@ -3504,26 +3663,27 @@ exports: |
| 3504 | 3663 | __xpc_shmem_get_mach_port, __xpc_spawnattr_binprefs_pack, |
| 3505 | 3664 | __xpc_spawnattr_binprefs_size, __xpc_spawnattr_binprefs_unpack, |
| 3506 | 3665 | __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, | |
| 3517 | 3677 | __xpc_type_uint64, __xpc_type_uuid, __xpc_vtables, _amfi_developer_mode_resolved, |
| 3518 | 3678 | _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, | |
| 3527 | 3687 | _bootstrap_look_up3, _bootstrap_look_up_per_user, _bootstrap_lookup_children, |
| 3528 | 3688 | _bootstrap_parent, _bootstrap_register, _bootstrap_register2, |
| 3529 | 3689 | _bootstrap_status, _bootstrap_strerror, _bootstrap_subset, |
| ... | ... | @@ -3613,7 +3773,8 @@ exports: |
| 3613 | 3773 | _xpc_bundle_populate, _xpc_bundle_resolve, _xpc_bundle_resolve_on_queue, |
| 3614 | 3774 | _xpc_bundle_resolve_sync, _xpc_coalition_copy_info, _xpc_coalition_history_pipe_async, |
| 3615 | 3775 | _xpc_connection_activate, _xpc_connection_bs_seal_listener, |
| 3616 | _xpc_connection_cancel, _xpc_connection_copy_bundle_id, _xpc_connection_copy_entitlement_value, | |
| 3776 | _xpc_connection_cancel, _xpc_connection_consume_bs_checkin_info, | |
| 3777 | _xpc_connection_copy_bundle_id, _xpc_connection_copy_entitlement_value, | |
| 3617 | 3778 | _xpc_connection_copy_invalidation_reason, _xpc_connection_create, |
| 3618 | 3779 | _xpc_connection_create_bs_service_listener, _xpc_connection_create_from_endpoint, |
| 3619 | 3780 | _xpc_connection_create_listener, _xpc_connection_create_mach_service, |
| ... | ... | @@ -3626,13 +3787,14 @@ exports: |
| 3626 | 3787 | _xpc_connection_resume, _xpc_connection_send_barrier, _xpc_connection_send_message, |
| 3627 | 3788 | _xpc_connection_send_message_with_reply, _xpc_connection_send_message_with_reply_sync, |
| 3628 | 3789 | _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, | |
| 3636 | 3798 | _xpc_connection_set_peer_lightweight_code_requirement, _xpc_connection_set_peer_platform_identity_requirement, |
| 3637 | 3799 | _xpc_connection_set_peer_requirement, _xpc_connection_set_peer_team_identity_requirement, |
| 3638 | 3800 | _xpc_connection_set_privileged, _xpc_connection_set_qos_class_fallback, |
| ... | ... | @@ -3660,17 +3822,16 @@ exports: |
| 3660 | 3822 | _xpc_dictionary_create_empty, _xpc_dictionary_create_reply, |
| 3661 | 3823 | _xpc_dictionary_dup_fd, _xpc_dictionary_expects_reply, _xpc_dictionary_extract_mach_recv, |
| 3662 | 3824 | _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, | |
| 3674 | 3835 | _xpc_dictionary_set_mach_send, _xpc_dictionary_set_pointer, |
| 3675 | 3836 | _xpc_dictionary_set_string, _xpc_dictionary_set_uint64, _xpc_dictionary_set_uuid, |
| 3676 | 3837 | _xpc_dictionary_set_value, _xpc_dictionary_set_value_with_key_string_cache, |
| ... | ... | @@ -3732,29 +3893,29 @@ exports: |
| 3732 | 3893 | _xpc_service_instance_set_cwd, _xpc_service_instance_set_endpoint, |
| 3733 | 3894 | _xpc_service_instance_set_environment, _xpc_service_instance_set_finalizer_f, |
| 3734 | 3895 | _xpc_service_instance_set_jetsam_properties, _xpc_service_instance_set_path, |
| 3735 | _xpc_service_instance_set_start_suspended, _xpc_service_instance_set_use_sec_transition_shims, | |
| 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 ] | |
| 3759 | 3920 | objc-classes: [ OS_xpc_object ] |
| 3760 | 3921 | ... |
lib/libc/include/any-darwin-any/AssertMacros.h+1-1| ... | ... | @@ -1272,7 +1272,7 @@ |
| 1272 | 1272 | * of the old macros into the new equivalents. To do so, in Terminal go into the directory containing the |
| 1273 | 1273 | * sources to be converted and run this command. |
| 1274 | 1274 | * |
| 1275 | find -E . -regex '.*\.(c|cc|cp|cpp|m|mm|h)' -print0 | xargs -0 tops -verbose \ | |
| 1275 | find -E . -regex '.*\.(c|cc|cp|cpp|m|mm|h|hh|hp|hpp)' -print0 | xargs -0 tops -verbose \ | |
| 1276 | 1276 | replace "check(<b args>)" with "__Check(<args>)" \ |
| 1277 | 1277 | replace "check_noerr(<b args>)" with "__Check_noErr(<args>)" \ |
| 1278 | 1278 | replace "check_noerr_string(<b args>)" with "__Check_noErr_String(<args>)" \ |
lib/libc/include/any-darwin-any/AvailabilityInternal.h+18-10| ... | ... | @@ -37,11 +37,11 @@ |
| 37 | 37 | #if __has_builtin(__is_target_os) |
| 38 | 38 | #if __is_target_os(macos) |
| 39 | 39 | #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 | |
| 41 | 41 | #endif |
| 42 | 42 | #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ |
| 43 | 43 | #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ |
| 44 | #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_5 | |
| 44 | #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_27_0 | |
| 45 | 45 | #endif /* __has_builtin(__is_target_os) */ |
| 46 | 46 | #endif /* defined(__has_builtin) */ |
| 47 | 47 | #endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */ |
| ... | ... | @@ -51,11 +51,11 @@ |
| 51 | 51 | #if __has_builtin(__is_target_os) |
| 52 | 52 | #if __is_target_os(ios) |
| 53 | 53 | #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 | |
| 55 | 55 | #endif |
| 56 | 56 | #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ |
| 57 | 57 | #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 | |
| 59 | 59 | #endif /* __has_builtin(__is_target_os) */ |
| 60 | 60 | #endif /* defined(__has_builtin) */ |
| 61 | 61 | #endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */ |
| ... | ... | @@ -65,13 +65,13 @@ |
| 65 | 65 | #if __has_builtin(__is_target_os) |
| 66 | 66 | #if __is_target_os(watchos) |
| 67 | 67 | #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 | |
| 69 | 69 | /* for compatibility with existing code. New code should use platform specific checks */ |
| 70 | 70 | #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 |
| 71 | 71 | #endif |
| 72 | 72 | #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ |
| 73 | 73 | #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 | |
| 75 | 75 | /* for compatibility with existing code. New code should use platform specific checks */ |
| 76 | 76 | #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 |
| 77 | 77 | #endif /* __has_builtin(__is_target_os) */ |
| ... | ... | @@ -83,13 +83,13 @@ |
| 83 | 83 | #if __has_builtin(__is_target_os) |
| 84 | 84 | #if __is_target_os(tvos) |
| 85 | 85 | #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 | |
| 87 | 87 | /* for compatibility with existing code. New code should use platform specific checks */ |
| 88 | 88 | #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 |
| 89 | 89 | #endif |
| 90 | 90 | #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ |
| 91 | 91 | #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 | |
| 93 | 93 | /* for compatibility with existing code. New code should use platform specific checks */ |
| 94 | 94 | #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 |
| 95 | 95 | #endif /* __has_builtin(__is_target_os) */ |
| ... | ... | @@ -103,7 +103,7 @@ |
| 103 | 103 | #if __has_builtin(__is_target_os) |
| 104 | 104 | #if __is_target_os(driverkit) |
| 105 | 105 | #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 | |
| 107 | 107 | #endif |
| 108 | 108 | #endif /* __has_builtin(__is_target_os) */ |
| 109 | 109 | #endif /* defined(__has_builtin) */ |
| ... | ... | @@ -114,7 +114,7 @@ |
| 114 | 114 | #if __has_builtin(__is_target_os) |
| 115 | 115 | #if __is_target_os(visionos) |
| 116 | 116 | #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 | |
| 118 | 118 | /* for compatibility with existing code. New code should use platform specific checks */ |
| 119 | 119 | #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1 |
| 120 | 120 | #endif |
| ... | ... | @@ -219,6 +219,14 @@ |
| 219 | 219 | #endif /* __has_attribute(availability) */ |
| 220 | 220 | #endif /* defined(__has_feature) && defined(__has_attribute) */ |
| 221 | 221 | |
| 222 | #if defined(__has_feature) && defined(__has_attribute) | |
| 223 | #if __has_attribute(availability) | |
| 224 | #define __API_AVAILABLE_PLATFORM_anyappleos(x) anyAppleOS,introduced=x | |
| 225 | #define __API_DEPRECATED_PLATFORM_anyappleos(x,y) anyAppleOS,introduced=x,deprecated=y | |
| 226 | #define __API_UNAVAILABLE_PLATFORM_anyappleos anyAppleOS,unavailable | |
| 227 | #endif /* __has_attribute(availability) */ | |
| 228 | #endif /* defined(__has_feature) && defined(__has_attribute) */ | |
| 229 | ||
| 222 | 230 | #ifndef __OPEN_SOURCE__ |
| 223 | 231 | |
| 224 | 232 | #endif /* __OPEN_SOURCE__ */ |
lib/libc/include/any-darwin-any/AvailabilityVersions.h+16-1| ... | ... | @@ -102,6 +102,8 @@ |
| 102 | 102 | #define __MAC_26_3 260300 |
| 103 | 103 | #define __MAC_26_4 260400 |
| 104 | 104 | #define __MAC_26_5 260500 |
| 105 | #define __MAC_26_6 260600 | |
| 106 | #define __MAC_27_0 270000 | |
| 105 | 107 | /* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 106 | 108 | |
| 107 | 109 | #define __IPHONE_2_0 20000 |
| ... | ... | @@ -198,6 +200,8 @@ |
| 198 | 200 | #define __IPHONE_26_3 260300 |
| 199 | 201 | #define __IPHONE_26_4 260400 |
| 200 | 202 | #define __IPHONE_26_5 260500 |
| 203 | #define __IPHONE_26_6 260600 | |
| 204 | #define __IPHONE_27_0 270000 | |
| 201 | 205 | /* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 202 | 206 | |
| 203 | 207 | #define __WATCHOS_1_0 10000 |
| ... | ... | @@ -263,6 +267,8 @@ |
| 263 | 267 | #define __WATCHOS_26_3 260300 |
| 264 | 268 | #define __WATCHOS_26_4 260400 |
| 265 | 269 | #define __WATCHOS_26_5 260500 |
| 270 | #define __WATCHOS_26_6 260600 | |
| 271 | #define __WATCHOS_27_0 270000 | |
| 266 | 272 | /* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 267 | 273 | |
| 268 | 274 | #define __TVOS_9_0 90000 |
| ... | ... | @@ -328,6 +334,8 @@ |
| 328 | 334 | #define __TVOS_26_3 260300 |
| 329 | 335 | #define __TVOS_26_4 260400 |
| 330 | 336 | #define __TVOS_26_5 260500 |
| 337 | #define __TVOS_26_6 260600 | |
| 338 | #define __TVOS_27_0 270000 | |
| 331 | 339 | /* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 332 | 340 | |
| 333 | 341 | #define __BRIDGEOS_2_0 20000 |
| ... | ... | @@ -369,7 +377,8 @@ |
| 369 | 377 | #define __BRIDGEOS_10_2 100200 |
| 370 | 378 | #define __BRIDGEOS_10_3 100300 |
| 371 | 379 | #define __BRIDGEOS_10_4 100400 |
| 372 | #define __BRIDGEOS_26_5 260500 | |
| 380 | #define __BRIDGEOS_10_5 100500 | |
| 381 | #define __BRIDGEOS_10_6 100600 | |
| 373 | 382 | |
| 374 | 383 | |
| 375 | 384 | #define __DRIVERKIT_19_0 190000 |
| ... | ... | @@ -399,6 +408,8 @@ |
| 399 | 408 | #define __DRIVERKIT_25_3 250300 |
| 400 | 409 | #define __DRIVERKIT_25_4 250400 |
| 401 | 410 | #define __DRIVERKIT_25_5 250500 |
| 411 | #define __DRIVERKIT_25_6 250600 | |
| 412 | #define __DRIVERKIT_27_0 270000 | |
| 402 | 413 | /* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 403 | 414 | |
| 404 | 415 | #define __VISIONOS_1_0 10000 |
| ... | ... | @@ -419,6 +430,8 @@ |
| 419 | 430 | #define __VISIONOS_26_3 260300 |
| 420 | 431 | #define __VISIONOS_26_4 260400 |
| 421 | 432 | #define __VISIONOS_26_5 260500 |
| 433 | #define __VISIONOS_26_6 260600 | |
| 434 | #define __VISIONOS_27_0 270000 | |
| 422 | 435 | /* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ |
| 423 | 436 | |
| 424 | 437 | |
| ... | ... | @@ -514,6 +527,8 @@ |
| 514 | 527 | #define MAC_OS_VERSION_26_3 __MAC_26_3 |
| 515 | 528 | #define MAC_OS_VERSION_26_4 __MAC_26_4 |
| 516 | 529 | #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 | |
| 517 | 532 | |
| 518 | 533 | #endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */ |
| 519 | 534 |
lib/libc/include/any-darwin-any/TargetConditionals.h+9-2| ... | ... | @@ -137,6 +137,13 @@ |
| 137 | 137 | * It is disabled by default. |
| 138 | 138 | */ |
| 139 | 139 | |
| 140 | ||
| 141 | #if defined(__is_target_environment) && defined(__has_extension) | |
| 142 | #if __is_target_environment(kernelkit) && !__has_extension(define_target_os_macros) | |
| 143 | #error KernelKit requires `-fdefine_target_os_macros` | |
| 144 | #endif | |
| 145 | #endif | |
| 146 | ||
| 140 | 147 | #if !defined(__has_extension) || !__has_extension(define_target_os_macros) |
| 141 | 148 | #if defined(__has_builtin) |
| 142 | 149 | #if __has_builtin(__is_target_arch) |
| ... | ... | @@ -147,7 +154,7 @@ |
| 147 | 154 | /* "-target=x86_64-apple-ios12-macabi" */ |
| 148 | 155 | /* "-target=arm64-apple-ios12-macabi" */ |
| 149 | 156 | /* "-target=arm64e-apple-ios12-macabi" */ |
| 150 | #if (__is_target_arch(x86_64) || __is_target_arch(arm64) || __is_target_arch(arm64e)) && __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(macabi) | |
| 157 | #if (__is_target_arch(x86_64) || __arm64__) && __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(macabi) | |
| 151 | 158 | #define TARGET_OS_MAC 1 |
| 152 | 159 | #define TARGET_OS_IPHONE 1 |
| 153 | 160 | #define TARGET_OS_IOS 1 |
| ... | ... | @@ -163,7 +170,7 @@ |
| 163 | 170 | /* "-target=x86_64-apple-ios12-simulator" */ |
| 164 | 171 | /* "-target=arm64-apple-ios12-simulator" */ |
| 165 | 172 | /* "-target=arm64e-apple-ios12-simulator" */ |
| 166 | #if (__is_target_arch(x86_64) || __is_target_arch(arm64) || __is_target_arch(arm64e)) && __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(simulator) | |
| 173 | #if (__is_target_arch(x86_64) || __arm64__) && __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(simulator) | |
| 167 | 174 | #define TARGET_OS_MAC 1 |
| 168 | 175 | #define TARGET_OS_IPHONE 1 |
| 169 | 176 | #define TARGET_OS_IOS 1 |
lib/libc/include/any-darwin-any/_stdlib.h+2-2| ... | ... | @@ -158,7 +158,7 @@ long	 atol(const char *); |
| 158 | 158 | long long |
| 159 | 159 | 	 atoll(const char *); |
| 160 | 160 | #endif /* !__DARWIN_NO_LONG_LONG */ |
| 161 | void	*bsearch(const void *_LIBC_SIZE(__width) __key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel, | |
| 161 | void	*bsearch(const void *__key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel, | |
| 162 | 162 | 	 size_t __width, int (* _Nonnull __compar)(const void *, const void *)); |
| 163 | 163 | /* calloc is now declared in _malloc.h */ |
| 164 | 164 | div_t	 div(int, int) __pure2; |
| ... | ... | @@ -304,7 +304,7 @@ int	 atexit_b(void (^ _Nonnull)(void)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IP |
| 304 | 304 | #define __bsearch_noescape |
| 305 | 305 | #endif |
| 306 | 306 | #endif /* __BLOCKS__ */ |
| 307 | void	*bsearch_b(const void *_LIBC_SIZE(__width) __key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel, | |
| 307 | void	*bsearch_b(const void *__key, const void *_LIBC_SIZE(__width * __nel) __base, size_t __nel, | |
| 308 | 308 | 	 size_t __width, int (^ _Nonnull __compar)(const void *, const void *) __bsearch_noescape) |
| 309 | 309 | 	 __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2); |
| 310 | 310 | #endif /* __BLOCKS__ */ |
lib/libc/include/any-darwin-any/_types/_nl_item.h+1-1| ... | ... | @@ -30,4 +30,4 @@ |
| 30 | 30 | #define _NL_ITEM |
| 31 | 31 | #include <_types.h> |
| 32 | 32 | typedef __darwin_nl_item nl_item; |
| 33 | #endif /* _NL_ITEM */ | |
| \ No newline at end of file | ||
| 33 | #endif /* _NL_ITEM */ |
lib/libc/include/any-darwin-any/arm/limits.h+1-1| ... | ... | @@ -60,7 +60,7 @@ |
| 60 | 60 | #if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>)) |
| 61 | 61 | |
| 62 | 62 | #if !__has_include_next(<limits.h>) |
| 63 | #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO) | |
| 63 | #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=YES) | |
| 64 | 64 | #else |
| 65 | 65 | #include_next <limits.h> |
| 66 | 66 | #endif /* __has_include_next */ |
lib/libc/include/any-darwin-any/dispatch/base.h+1-1| ... | ... | @@ -366,4 +366,4 @@ typedef void (*dispatch_function_t)(void *_Nullable); |
| 366 | 366 | |
| 367 | 367 | DISPATCH_ASSUME_ABI_SINGLE_END |
| 368 | 368 | |
| 369 | #endif | |
| 369 | #endif /* __DISPATCH_BASE__ */ |
lib/libc/include/any-darwin-any/dispatch/block.h+107-42| ... | ... | @@ -50,56 +50,121 @@ __BEGIN_DECLS |
| 50 | 50 | * @const DISPATCH_BLOCK_DETACHED |
| 51 | 51 | * Flag indicating that a dispatch block object should execute disassociated |
| 52 | 52 | * 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. | |
| 60 | 60 | * |
| 61 | 61 | * @const DISPATCH_BLOCK_ASSIGN_CURRENT |
| 62 | 62 | * Flag indicating that a dispatch block object should be assigned the execution |
| 63 | 63 | * context attributes that are current at the time the block object is created. |
| 64 | * This applies to attributes such as QOS class, os_activity_t and properties of | |
| 64 | * This applies to attributes such as QoS class, os_activity_t and properties of | |
| 65 | 65 | * the current IPC request (if any). If invoked directly, the block object will |
| 66 | 66 | * 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. | |
| 73 | 76 | * |
| 74 | 77 | * @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 | |
| 77 | 80 | * class of the calling thread. If the block object is submitted to a queue, |
| 78 | * this replaces the default behavior of associating the submitted 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. | |
| 82 | 85 | * |
| 83 | 86 | * @const DISPATCH_BLOCK_INHERIT_QOS_CLASS |
| 84 | 87 | * 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. | |
| 90 | 92 | * 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. | |
| 94 | 101 | * |
| 95 | 102 | * @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. | |
| 100 | 110 | * This flag is the default when a dispatch block object is submitted to a queue |
| 101 | 111 | * for synchronous execution or when the dispatch block object is invoked |
| 102 | 112 | * directly. |
| 113 | * | |
| 114 | * @discussion | |
| 115 | * When a block is submitted to a queue with dispatch_async(), the QoS class | |
| 116 | * at which the block runs is determined as follows: | |
| 117 | * | |
| 118 | * - If the block has an enforced QoS class | |
| 119 | * (DISPATCH_BLOCK_ENFORCE_QOS_CLASS), the block runs at the higher of | |
| 120 | * the enforced QoS class and the queue's specified or floor QoS class. | |
| 121 | * - Otherwise, if the queue has a specified QoS class (from | |
| 122 | * dispatch_queue_attr_make_with_qos_class()), the block runs at that | |
| 123 | * QoS class. | |
| 124 | * - Otherwise, the block runs at its assigned QoS class. | |
| 125 | * - The above QoS class is then raised, if necessary, to the queue's floor | |
| 126 | * QoS class (set via dispatch_set_qos_class_floor()) or to the specified | |
| 127 | * or floor QoS class of any target queue. | |
| 128 | * | |
| 129 | * For an anonymous block (one not wrapped with a dispatch_block_create* | |
| 130 | * function), the assigned QoS class is the QoS class of the calling thread at | |
| 131 | * the moment dispatch_async() is called. This value can be checked with | |
| 132 | * qos_class_self(). | |
| 133 | * | |
| 134 | * If the block has no assigned QoS class (DISPATCH_BLOCK_NO_QOS_CLASS, | |
| 135 | * DISPATCH_BLOCK_DETACHED, or an anonymous block submitted from a thread that | |
| 136 | * has opted out of QoS), the rules above are applied with the assigned QoS | |
| 137 | * class treated as QOS_CLASS_UNSPECIFIED. The queue's specified or floor QoS | |
| 138 | * class wins if it has one, and the block runs at QOS_CLASS_DEFAULT if not. | |
| 139 | * | |
| 140 | * QoS propagation through dispatch_async() caps the propagated QoS class at | |
| 141 | * QOS_CLASS_USER_INITIATED. Blocks that acquire their assigned QoS class by | |
| 142 | * propagation (anonymous blocks, dispatch_block_create() without an explicit | |
| 143 | * QoS class, and DISPATCH_BLOCK_ASSIGN_CURRENT) will have an assigned QoS of | |
| 144 | * QOS_CLASS_USER_INITIATED if submitted (or created, in the ASSIGN_CURRENT | |
| 145 | * case) from a thread at QOS_CLASS_USER_INTERACTIVE. A QoS class assigned | |
| 146 | * directly via dispatch_block_create_with_qos_class() bypasses the cap, as | |
| 147 | * does a queue's specified QoS class. | |
| 148 | * | |
| 149 | * When a block is submitted with dispatch_sync() or invoked directly, the | |
| 150 | * QoS class at which the block runs is determined as follows: | |
| 151 | * | |
| 152 | * - The block runs on the caller's thread, so it inherits the caller's | |
| 153 | * QoS class. | |
| 154 | * - If the block has an assigned QoS class higher than the caller's, the | |
| 155 | * thread elevates its own QoS class to that of the block for the | |
| 156 | * duration of the block. DISPATCH_BLOCK_INHERIT_QOS_CLASS suppresses | |
| 157 | * this elevation. | |
| 158 | * - The queue's QoS configuration is not applied to the block when it is | |
| 159 | * invoked. | |
| 160 | * | |
| 161 | * Blocks submitted synchronously via dispatch_async_and_wait() may run on | |
| 162 | * either the calling thread or the worker thread currently servicing the | |
| 163 | * queue. Unlike dispatch_sync(), the queue's specified QoS class and floor | |
| 164 | * are observed. The executing thread runs the block at the highest of the | |
| 165 | * caller's QoS class, the queue's QoS class, and the block's assigned QoS | |
| 166 | * class when the block enforces it. This composition only raises QoS, never | |
| 167 | * lowers it. | |
| 103 | 168 | */ |
| 104 | 169 | DISPATCH_REFINED_FOR_SWIFT |
| 105 | 170 | DISPATCH_OPTIONS(dispatch_block_flags, unsigned long, |
| ... | ... | @@ -141,15 +206,15 @@ DISPATCH_OPTIONS(dispatch_block_flags, unsigned long, |
| 141 | 206 | * on with dispatch_block_wait() or observed with dispatch_block_notify(). |
| 142 | 207 | * |
| 143 | 208 | * 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 | |
| 146 | 211 | * class (or no QOS class) at the time of block creation: |
| 147 | 212 | * - DISPATCH_BLOCK_ASSIGN_CURRENT |
| 148 | 213 | * - DISPATCH_BLOCK_NO_QOS_CLASS |
| 149 | 214 | * - 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: | |
| 153 | 218 | * - DISPATCH_BLOCK_INHERIT_QOS_CLASS (default for asynchronous execution) |
| 154 | 219 | * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS (default for synchronous execution) |
| 155 | 220 | * See description of dispatch_block_flags_t for details. |
| ... | ... | @@ -197,14 +262,14 @@ dispatch_block_create(dispatch_block_flags_t flags, dispatch_block_t block); |
| 197 | 262 | * only the first completed execution of a dispatch block object can be waited |
| 198 | 263 | * on with dispatch_block_wait() or observed with dispatch_block_notify(). |
| 199 | 264 | * |
| 200 | * If invoked directly, the returned dispatch block object will be executed 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. | |
| 203 | 268 | * |
| 204 | 269 | * If the returned dispatch block object is submitted to a dispatch queue, the |
| 205 | 270 | * 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: | |
| 208 | 273 | * - DISPATCH_BLOCK_INHERIT_QOS_CLASS: default for asynchronous execution |
| 209 | 274 | * - DISPATCH_BLOCK_ENFORCE_QOS_CLASS: default for synchronous execution |
| 210 | 275 | * See description of dispatch_block_flags_t for details. |
lib/libc/include/any-darwin-any/dispatch/dispatch.h+1-1| ... | ... | @@ -78,4 +78,4 @@ |
| 78 | 78 | |
| 79 | 79 | #undef __DISPATCH_INDIRECT__ |
| 80 | 80 | |
| 81 | #endif | |
| 81 | #endif /* __DISPATCH_PUBLIC__ */ |
lib/libc/include/any-darwin-any/dispatch/group.h+1-1| ... | ... | @@ -286,4 +286,4 @@ __END_DECLS |
| 286 | 286 | DISPATCH_ASSUME_ABI_SINGLE_END |
| 287 | 287 | DISPATCH_ASSUME_NONNULL_END |
| 288 | 288 | |
| 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); |
| 460 | 460 | * Sets the QOS class floor on a dispatch queue, source or workloop. |
| 461 | 461 | * |
| 462 | 462 | * @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. | |
| 467 | 467 | * |
| 468 | 468 | * Setting the QOS class floor is equivalent to the QOS effects of configuring |
| 469 | * a queue whose target queue has a QoS class set to the same value. | |
| 469 | * a queue whose target queue has the same specified QoS class. | |
| 470 | * | |
| 471 | * If this queue was previously created with a specified QoS class (via | |
| 472 | * dispatch_queue_attr_make_with_qos_class()), setting a floor QoS class | |
| 473 | * supersedes the specified QoS class. | |
| 470 | 474 | * |
| 471 | 475 | * @param object |
| 472 | 476 | * A dispatch queue, workloop, or source to configure. |
| ... | ... | @@ -673,4 +677,4 @@ __END_DECLS |
| 673 | 677 | DISPATCH_ASSUME_ABI_SINGLE_END |
| 674 | 678 | DISPATCH_ASSUME_NONNULL_END |
| 675 | 679 | |
| 676 | #endif | |
| 680 | #endif /* __DISPATCH_OBJECT__ */ |
lib/libc/include/any-darwin-any/dispatch/once.h+1-1| ... | ... | @@ -125,4 +125,4 @@ __END_DECLS |
| 125 | 125 | DISPATCH_ASSUME_ABI_SINGLE_END |
| 126 | 126 | DISPATCH_ASSUME_NONNULL_END |
| 127 | 127 | |
| 128 | #endif | |
| 128 | #endif /* __DISPATCH_ONCE__ */ |
lib/libc/include/any-darwin-any/dispatch/queue.h+34-17| ... | ... | @@ -220,6 +220,15 @@ __BEGIN_DECLS |
| 220 | 220 | * concurrently with respect to other blocks submitted to that same queue. |
| 221 | 221 | * Serial queues are processed concurrently with respect to each other. |
| 222 | 222 | * |
| 223 | * The QoS class at which the block runs is determined by the block's assigned | |
| 224 | * QoS class together with the target queue's specified QoS class (see | |
| 225 | * dispatch_queue_attr_make_with_qos_class()) and floor (see | |
| 226 | * dispatch_set_qos_class_floor()). For a bare block (one not wrapped by | |
| 227 | * dispatch_block_create*), the assigned QoS class is the QoS class current on | |
| 228 | * the calling thread at the moment dispatch_async() is called. See | |
| 229 | * dispatch_block_flags_t for the full resolution rules and for control over | |
| 230 | * how the block's QoS class interacts with the queue's. | |
| 231 | * | |
| 223 | 232 | * @param queue |
| 224 | 233 | * The target dispatch queue to which the block is submitted. |
| 225 | 234 | * The system will hold a reference on the target queue until the block |
| ... | ... | @@ -915,9 +924,10 @@ dispatch_queue_attr_make_with_autorelease_frequency( |
| 915 | 924 | * relative priority to the queue. |
| 916 | 925 | * |
| 917 | 926 | * @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. | |
| 921 | 931 | * |
| 922 | 932 | * The global queue priorities map to the following QOS classes: |
| 923 | 933 | * - DISPATCH_QUEUE_PRIORITY_HIGH: QOS_CLASS_USER_INITIATED |
| ... | ... | @@ -934,9 +944,9 @@ dispatch_queue_attr_make_with_autorelease_frequency( |
| 934 | 944 | *	queue = dispatch_queue_create("com.example.myqueue", attr); |
| 935 | 945 | * </code> |
| 936 | 946 | * |
| 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()). | |
| 940 | 950 | * |
| 941 | 951 | * @param attr |
| 942 | 952 | * A queue attribute value to be combined with the QOS class, or NULL. |
| ... | ... | @@ -1000,11 +1010,14 @@ dispatch_queue_attr_make_with_qos_class(dispatch_queue_attr_t _Nullable attr, |
| 1000 | 1010 | * a queue will hold a reference to that queue. Therefore a queue will not be |
| 1001 | 1011 | * deallocated until all pending blocks have finished. |
| 1002 | 1012 | * |
| 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. | |
| 1008 | 1021 | * |
| 1009 | 1022 | * Queues created with dispatch_queue_create_with_target() cannot have their |
| 1010 | 1023 | * target queue changed, unless created inactive (See |
| ... | ... | @@ -1066,6 +1079,10 @@ dispatch_queue_create_with_target(const char *_Nullable DISPATCH_UNSAFE_INDEXABL |
| 1066 | 1079 | * of service class of the newly created dispatch queue's target queue (if any) |
| 1067 | 1080 | * as long that does not result in a lower QOS class and relative priority. |
| 1068 | 1081 | * |
| 1082 | * The queue's QoS class can also be raised by configuring a floor with | |
| 1083 | * dispatch_set_qos_class_floor() (use DISPATCH_QUEUE_SERIAL_INACTIVE etc. to | |
| 1084 | * obtain an inactive queue, then activate it after configuration). | |
| 1085 | * | |
| 1069 | 1086 | * When no quality of service class is specified, the target queue of a newly |
| 1070 | 1087 | * created dispatch queue is the default priority global concurrent queue. |
| 1071 | 1088 | * |
| ... | ... | @@ -1127,11 +1144,11 @@ dispatch_queue_get_label(dispatch_queue_t _Nullable queue); |
| 1127 | 1144 | * Returns the QOS class and relative priority of the given queue. |
| 1128 | 1145 | * |
| 1129 | 1146 | * @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. | |
| 1135 | 1152 | * |
| 1136 | 1153 | * If the given queue is one of the global queues, this function returns its |
| 1137 | 1154 | * assigned QOS class value as documented under dispatch_get_global_queue() and |
| ... | ... | @@ -1804,4 +1821,4 @@ __END_DECLS |
| 1804 | 1821 | DISPATCH_ASSUME_ABI_SINGLE_END |
| 1805 | 1822 | DISPATCH_ASSUME_NONNULL_END |
| 1806 | 1823 | |
| 1807 | #endif | |
| 1824 | #endif /* __DISPATCH_QUEUE__ */ |
lib/libc/include/any-darwin-any/dispatch/source.h+3-4| ... | ... | @@ -29,10 +29,9 @@ |
| 29 | 29 | #if TARGET_OS_MAC |
| 30 | 30 | #include <mach/port.h> |
| 31 | 31 | #include <mach/message.h> |
| 32 | #endif | |
| 33 | ||
| 34 | #if !defined(_WIN32) | |
| 35 | 32 | #include <sys/signal.h> |
| 33 | #elif !defined(_WIN32) | |
| 34 | #include <signal.h> | |
| 36 | 35 | #endif |
| 37 | 36 | |
| 38 | 37 | DISPATCH_ASSUME_NONNULL_BEGIN |
| ... | ... | @@ -801,4 +800,4 @@ __END_DECLS |
| 801 | 800 | DISPATCH_ASSUME_ABI_SINGLE_END |
| 802 | 801 | DISPATCH_ASSUME_NONNULL_END |
| 803 | 802 | |
| 804 | #endif | |
| 803 | #endif /* __DISPATCH_SOURCE__ */ |
lib/libc/include/any-darwin-any/dispatch/time.h+1-1| ... | ... | @@ -141,4 +141,4 @@ __END_DECLS |
| 141 | 141 | DISPATCH_ASSUME_ABI_SINGLE_END |
| 142 | 142 | DISPATCH_ASSUME_NONNULL_END |
| 143 | 143 | |
| 144 | #endif | |
| 144 | #endif /* __DISPATCH_TIME__ */ |
lib/libc/include/any-darwin-any/dlfcn.h+243-21| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* |
| 2 | * Copyright (c) 2004-2008 Apple Inc. All rights reserved. | |
| 2 | * Copyright (c) 2004-2026 Apple Inc. All rights reserved. | |
| 3 | 3 | * |
| 4 | 4 | * @APPLE_LICENSE_HEADER_START@ |
| 5 | 5 | * |
| ... | ... | @@ -32,7 +32,7 @@ |
| 32 | 32 | |
| 33 | 33 | #include <sys/cdefs.h> |
| 34 | 34 | |
| 35 | #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE) | |
| 35 | #if !defined(_POSIX_C_SOURCE) || (_POSIX_C_SOURCE >= 202405L) || defined(_DARWIN_C_SOURCE) | |
| 36 | 36 | #include <stdbool.h> |
| 37 | 37 | #include <Availability.h> |
| 38 | 38 | |
| ... | ... | @@ -45,17 +45,59 @@ |
| 45 | 45 | extern "C" { |
| 46 | 46 | #endif |
| 47 | 47 | |
| 48 | /* | |
| 48 | /*! | |
| 49 | 49 | * Structure filled in by dladdr(). |
| 50 | * | |
| 51 | * ```C | |
| 52 | * struct Dl_info { | |
| 53 | * const char* dli_fname; | |
| 54 | * void* dli_fbase; | |
| 55 | * const char* dli_sname; | |
| 56 | * void* dli_saddr; | |
| 57 | * }; | |
| 58 | * ``` | |
| 59 | * | |
| 60 | * This structure contains information about the nearest symbol to a given address. | |
| 61 | * - Field dli_fname: The pathname of the mach-o image containing the address. | |
| 62 | * - Field dli_fbase: Load address of mach-o image containing the address. | |
| 63 | * - Field dli_sname: Name of nearest symbol. | |
| 64 | * - Field dli_saddr: Address of nearest symbol. | |
| 50 | 65 | */ |
| 51 | 66 | typedef 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; | |
| 56 | 71 | } Dl_info; |
| 72 | typedef struct dl_info Dl_info_t; /* POSIX 2024 */ | |
| 57 | 73 | |
| 58 | extern 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 | */ | |
| 100 | extern int dladdr(const void*, Dl_info*); | |
| 59 | 101 | |
| 60 | 102 | #ifdef __cplusplus |
| 61 | 103 | } |
| ... | ... | @@ -70,33 +112,213 @@ extern int dladdr(const void *, Dl_info *); |
| 70 | 112 | extern "C" { |
| 71 | 113 | #endif |
| 72 | 114 | |
| 73 | extern int dlclose(void * __handle) __DYLDDL_UNAVAILABLE; | |
| 74 | extern char * dlerror(void) __DYLDDL_UNAVAILABLE; | |
| 75 | extern void * dlopen(const char * __path, int __mode) __DYLDDL_UNAVAILABLE; | |
| 76 | extern 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 | */ | |
| 133 | extern 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 | */ | |
| 151 | extern 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 | */ | |
| 240 | extern 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 | */ | |
| 276 | extern void* dlsym(void*, const char*) __DYLDDL_DLSYM_UNAVAILABLE; | |
| 77 | 277 | |
| 78 | 278 | #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE) |
| 79 | extern 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 | */ | |
| 298 | extern bool dlopen_preflight(const char*) __API_AVAILABLE(macos(10.5), ios(2.0)) __DYLDDL_UNAVAILABLE; | |
| 80 | 299 | #endif /* not POSIX */ |
| 81 | 300 | |
| 82 | 301 | |
| 302 | /* | |
| 303 | * Flags for dlopen(). | |
| 304 | */ | |
| 83 | 305 | #define RTLD_LAZY	0x1 |
| 84 | 306 | #define RTLD_NOW	0x2 |
| 85 | 307 | #define RTLD_LOCAL	0x4 |
| 86 | 308 | #define RTLD_GLOBAL	0x8 |
| 87 | 309 | |
| 88 | 310 | #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 | |
| 92 | 314 | |
| 93 | 315 | /* |
| 94 | * Special handle arguments for dlsym(). | |
| 316 | * Special handle values for dlsym(). | |
| 95 | 317 | */ |
| 96 | #define	RTLD_NEXT	((void *) -1)	/* Search subsequent objects. */ | |
| 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 */ | |
| 100 | 322 | #endif /* not POSIX */ |
| 101 | 323 | |
| 102 | 324 | #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 | ||
| 74 | typedef 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 | |
| 106 | 8 | #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 | ||
| 117 | typedef struct _ftsent { | |
| 118 | 	struct _ftsent *fts_cycle;	/* cycle node */ | |
| 119 | 	struct _ftsent *fts_parent;	/* parent directory */ | |
| 120 | 	struct _ftsent *fts_link;	/* next file in directory */ | |
| 121 | 	long fts_number;	 /* local numeric value */ | |
| 122 | 	void *fts_pointer;	 /* local address value */ | |
| 123 | 	char *_LIBC_CSTR fts_accpath;	/* access path */ | |
| 124 | 	char *_LIBC_CSTR fts_path;	/* root path */ | |
| 125 | 	int fts_errno;			/* errno for this node */ | |
| 126 | 	int fts_symfd;			/* fd for symlink or chdir */ | |
| 127 | 	unsigned short fts_pathlen;	/* strlen(fts_path) */ | |
| 128 | 	unsigned short fts_namelen;	/* strlen(fts_name) */ | |
| 129 | ||
| 130 | 	ino_t fts_ino;			/* inode */ | |
| 131 | 	dev_t fts_dev;			/* device */ | |
| 132 | 	nlink_t fts_nlink;		/* link count */ | |
| 133 | ||
| 134 | #define	FTS_ROOTPARENTLEVEL	-1 | |
| 135 | #define	FTS_ROOTLEVEL		 0 | |
| 136 | #define	FTS_MAXLEVEL		 0x7fffffff | |
| 137 | 	short fts_level;		/* depth (-1 to N) */ | |
| 138 | ||
| 139 | #define	FTS_D		 1		/* preorder directory */ | |
| 140 | #define	FTS_DC		 2		/* directory that causes cycles */ | |
| 141 | #define	FTS_DEFAULT	 3		/* none of the above */ | |
| 142 | #define	FTS_DNR		 4		/* unreadable directory */ | |
| 143 | #define	FTS_DOT		 5		/* dot or dot-dot */ | |
| 144 | #define	FTS_DP		 6		/* postorder directory */ | |
| 145 | #define	FTS_ERR		 7		/* error; errno is set */ | |
| 146 | #define	FTS_F		 8		/* regular file */ | |
| 147 | #define	FTS_INIT	 9		/* initialized only */ | |
| 148 | #define	FTS_NS		10		/* stat(2) failed */ | |
| 149 | #define	FTS_NSOK	11		/* no stat(2) requested */ | |
| 150 | #define	FTS_SL		12		/* symbolic link */ | |
| 151 | #define	FTS_SLNONE	13		/* symbolic link without target */ | |
| 152 | #define	FTS_W		14		/* whiteout object */ | |
| 153 | 	unsigned short fts_info;	/* user flags for FTSENT structure */ | |
| 154 | ||
| 155 | #define	FTS_DONTCHDIR	 0x01		/* don't chdir .. to the parent */ | |
| 156 | #define	FTS_SYMFOLLOW	 0x02		/* followed a symlink to get here */ | |
| 157 | #define	FTS_ISW		 0x04		/* this is a whiteout object */ | |
| 158 | #define	FTS_CHDIRFD 0x08 /* indicates the fts_symfd field was set for chdir */ | |
| 159 | 	unsigned short fts_flags;	/* private flags for FTSENT structure */ | |
| 160 | ||
| 161 | #define	FTS_AGAIN	 1		/* read node again */ | |
| 162 | #define	FTS_FOLLOW	 2		/* follow symbolic link */ | |
| 163 | #define	FTS_NOINSTR	 3		/* no instructions */ | |
| 164 | #define	FTS_SKIP	 4		/* discard node */ | |
| 165 | 	unsigned short fts_instr;	/* fts_set() instructions */ | |
| 166 | ||
| 167 | 	struct stat *fts_statp;		/* stat(2) information */ | |
| 168 | 	char fts_name[1];		/* file name, unsafe with -fbounds-safety */ | |
| 169 | } FTSENT; | |
| 170 | ||
| 171 | #include <sys/cdefs.h> | |
| 172 | 9 | #include <Availability.h> |
| 173 | ||
| 174 | __BEGIN_DECLS | |
| 175 | FTSENT	*fts_children(FTS *, int) __DARWIN_INODE64(fts_children); | |
| 176 | int	 fts_close(FTS *) __DARWIN_INODE64(fts_close); | |
| 177 | FTS	*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> | |
| 182 | 32 | #else |
| 183 | #define __fts_noescape | |
| 33 | # include <fts_new.h> | |
| 184 | 34 | #endif |
| 185 | FTS	*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__ */ | |
| 189 | FTSENT	*fts_read(FTS *) __DARWIN_INODE64(fts_read); | |
| 190 | int	 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 | ||
| 76 | typedef 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 | ||
| 119 | typedef 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 | |
| 177 | FTSENT	*fts_children(FTS *, int) __DARWIN_INODE64(fts_children); | |
| 178 | int	 fts_close(FTS *) __DARWIN_INODE64(fts_close); | |
| 179 | FTS	*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 | |
| 187 | FTS	*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__ */ | |
| 191 | FTSENT	*fts_read(FTS *) __DARWIN_INODE64(fts_read); | |
| 192 | int	 fts_set(FTS *, FTSENT *, int) __DARWIN_INODE64(fts_set); | |
| 193 | __END_DECLS | |
| 194 | ||
| 195 | #pragma clang diagnostic pop | |
| 196 | #endif /* !_FTS_H_ */ | |
| 197 |
lib/libc/include/any-darwin-any/i386/limits.h+1-1| ... | ... | @@ -57,7 +57,7 @@ |
| 57 | 57 | #if (defined(__has_include) && __has_include(<__xnu_libcxx_sentinel.h>)) |
| 58 | 58 | |
| 59 | 59 | #if !__has_include_next(<limits.h>) |
| 60 | #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO) | |
| 60 | #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=YES) | |
| 61 | 61 | #else |
| 62 | 62 | #include_next <limits.h> |
| 63 | 63 | #endif /* __has_include_next */ |
lib/libc/include/any-darwin-any/mach-o/compact_unwind_encoding.h+11-2| ... | ... | @@ -288,6 +288,10 @@ enum { |
| 288 | 288 | UNWIND_ARM64_MODE_FRAMELESS = 0x02000000, |
| 289 | 289 | UNWIND_ARM64_MODE_DWARF = 0x03000000, |
| 290 | 290 | UNWIND_ARM64_MODE_FRAME = 0x04000000, |
| 291 | UNWIND_ARM64_MODE_FRAME_PAUTH_LR = 0x05000000, | |
| 292 | ||
| 293 | UNWIND_ARM64_PAUTH_LR_OFFSET_MASK = 0x00FFF000, | |
| 294 | UNWIND_ARM64_PAUTH_LR_OFFSET_SHIFT = 12, | |
| 291 | 295 | |
| 292 | 296 | UNWIND_ARM64_FRAME_X19_X20_PAIR = 0x00000001, |
| 293 | 297 | UNWIND_ARM64_FRAME_X21_X22_PAIR = 0x00000002, |
| ... | ... | @@ -323,8 +327,13 @@ enum { |
| 323 | 327 | // This mode is never used in object files. It is only generated by the |
| 324 | 328 | // linker in final linked images which have only DWARF unwind info for a |
| 325 | 329 | // 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. | |
| 328 | 337 | |
| 329 | 338 | #ifndef __OPEN_SOURCE__ |
| 330 | 339 | // |
lib/libc/include/any-darwin-any/mach-o/dyld.h+36-45| ... | ... | @@ -128,6 +128,13 @@ extern void _tlv_bootstrap(void) __A |
| 128 | 128 | extern 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; |
| 129 | 129 | |
| 130 | 130 | |
| 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 | */ | |
| 135 | extern const struct mach_header* _dyld_get_dlopen_image_header(void* handle) __API_AVAILABLE(macos(13.0), ios(16.0), watchos(9.0), tvos(16.0)) DYLD_DRIVERKIT_UNAVAILABLE; | |
| 136 | ||
| 137 | ||
| 131 | 138 | /* |
| 132 | 139 | * The following dyld API's are deprecated as of Mac OS X 10.5. They are either |
| 133 | 140 | * no longer necessary or are superceeded by dlopen and friends in <dlfcn.h>. |
| ... | ... | @@ -169,22 +176,18 @@ typedef struct __NSObjectFileImage* NSObjectFileImage; |
| 169 | 176 | |
| 170 | 177 | |
| 171 | 178 | /* NSObjectFileImage can only be used with MH_BUNDLE files */ |
| 172 | extern 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()"); | |
| 173 | extern 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, ""); | |
| 174 | extern bool NSDestroyObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlclose()"); | |
| 179 | extern 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()"); | |
| 180 | extern 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, ""); | |
| 181 | extern bool NSDestroyObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlclose()"); | |
| 175 | 182 | |
| 176 | extern uint32_t NSSymbolDefinitionCountInObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 177 | extern 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, ""); | |
| 178 | extern uint32_t NSSymbolReferenceCountInObjectFileImage(NSObjectFileImage objectFileImage) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 179 | extern 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, ""); | |
| 180 | extern 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()"); | |
| 181 | extern 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()"); | |
| 183 | extern 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()"); | |
| 184 | extern 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()"); | |
| 182 | 185 | |
| 183 | 186 | typedef struct __NSModule* NSModule; |
| 184 | extern const char* NSNameOfModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 185 | extern const char* NSLibraryNameForModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 187 | extern const char* NSNameOfModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 188 | extern const char* NSLibraryNameForModule(NSModule m) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 186 | 189 | |
| 187 | extern 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()"); | |
| 190 | extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* moduleName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); | |
| 188 | 191 | #define NSLINKMODULE_OPTION_NONE 0x0 |
| 189 | 192 | #define NSLINKMODULE_OPTION_BINDNOW 0x1 |
| 190 | 193 | #define NSLINKMODULE_OPTION_PRIVATE 0x2 |
| ... | ... | @@ -192,27 +195,26 @@ extern NSModule NSLinkModule(NSObjectFileImage objectFileImage, const char* modu |
| 192 | 195 | #define NSLINKMODULE_OPTION_DONT_CALL_MOD_INIT_ROUTINES 0x8 |
| 193 | 196 | #define NSLINKMODULE_OPTION_TRAILING_PHYS_NAME 0x10 |
| 194 | 197 | |
| 195 | extern bool NSUnLinkModule(NSModule module, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 198 | extern bool NSUnLinkModule(NSModule module, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 196 | 199 | #define NSUNLINKMODULE_OPTION_NONE 0x0 |
| 197 | 200 | #define NSUNLINKMODULE_OPTION_KEEP_MEMORY_MAPPED 0x1 |
| 198 | 201 | #define NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES	0x2 |
| 199 | 202 | |
| 200 | 203 | /* symbol API */ |
| 201 | 204 | typedef struct __NSSymbol* NSSymbol; |
| 202 | extern bool NSIsSymbolNameDefined(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()"); | |
| 203 | extern 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()"); | |
| 204 | extern 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()"); | |
| 205 | extern NSSymbol NSLookupAndBindSymbol(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()"); | |
| 206 | extern 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()"); | |
| 207 | extern 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()"); | |
| 208 | extern 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()"); | |
| 205 | extern bool NSIsSymbolNameDefined(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()"); | |
| 206 | extern 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()"); | |
| 207 | extern 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()"); | |
| 208 | extern NSSymbol NSLookupAndBindSymbol(const char* symbolName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlsym()"); | |
| 209 | extern 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()"); | |
| 210 | extern 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()"); | |
| 211 | extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); | |
| 209 | 212 | #define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND 0x0 |
| 210 | 213 | #define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_NOW 0x1 |
| 211 | 214 | #define NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_FULLY 0x2 |
| 212 | 215 | #define NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR 0x4 |
| 213 | extern const char* NSNameOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 214 | extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); | |
| 215 | extern NSModule NSModuleForSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dladdr()"); | |
| 216 | extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); | |
| 217 | extern NSModule NSModuleForSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dladdr()"); | |
| 216 | 218 | |
| 217 | 219 | /* error handling API */ |
| 218 | 220 | typedef enum { |
| ... | ... | @@ -240,36 +242,25 @@ typedef enum { |
| 240 | 242 | NSOtherErrorInvalidArgs |
| 241 | 243 | } NSOtherErrorNumbers; |
| 242 | 244 | |
| 243 | extern 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 | ||
| 245 | typedef 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 | ||
| 252 | extern void NSInstallLinkEditErrorHandlers(const NSLinkEditErrorHandlers *handlers) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, ""); | |
| 245 | extern 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()"); | |
| 253 | 246 | |
| 254 | extern bool NSAddLibrary(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()"); | |
| 255 | extern bool NSAddLibraryWithSearching(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()"); | |
| 256 | extern 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()"); | |
| 247 | extern bool NSAddLibrary(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()"); | |
| 248 | extern bool NSAddLibraryWithSearching(const char* pathName) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.4, "dlopen()"); | |
| 249 | extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); | |
| 257 | 250 | #define NSADDIMAGE_OPTION_NONE 	0x0 |
| 258 | 251 | #define NSADDIMAGE_OPTION_RETURN_ON_ERROR 	0x1 |
| 259 | 252 | #define NSADDIMAGE_OPTION_WITH_SEARCHING 	0x2 |
| 260 | 253 | #define NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED 	0x4 |
| 261 | 254 | #define NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME	0x8 |
| 262 | 255 | |
| 263 | extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); | |
| 264 | extern bool _dyld_launched_prebound(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "moot"); | |
| 265 | extern 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"); | |
| 266 | extern 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)"); | |
| 267 | extern 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()"); | |
| 268 | extern 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()"); | |
| 269 | extern 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()"); | |
| 270 | extern 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()"); | |
| 256 | extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); | |
| 257 | extern 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)"); | |
| 258 | extern 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()"); | |
| 259 | extern 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()"); | |
| 260 | extern 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()"); | |
| 261 | extern 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()"); | |
| 271 | 262 | |
| 272 | extern 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()"); | |
| 263 | extern 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()"); | |
| 273 | 264 | |
| 274 | 265 | |
| 275 | 266 | #if __cplusplus |
lib/libc/include/any-darwin-any/mach-o/dyld_images.h-4| ... | ... | @@ -174,11 +174,7 @@ struct __attribute__((aligned(16))) dyld_all_image_infos |
| 174 | 174 | |
| 175 | 175 | mach_port_t notifyPorts[DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT]; |
| 176 | 176 | |
| 177 | #if __LP64__ | |
| 178 | 177 | 	uintptr_t						reserved[11-(DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT/2)]; |
| 179 | #else | |
| 180 | 	uintptr_t						reserved[9-DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT]; | |
| 181 | #endif | |
| 182 | 178 | // The following fields were added in version 18 (previously they were reserved padding fields) |
| 183 | 179 | uint64_t sharedCacheFSID; |
| 184 | 180 | uint64_t sharedCacheFSObjID; |
lib/libc/include/any-darwin-any/mach-o/fixup-chains.h+28| ... | ... | @@ -109,6 +109,8 @@ enum { |
| 109 | 109 | DYLD_CHAINED_PTR_ARM64E_USERLAND24 = 12, // stride 8, unauth target is vm offset, 24-bit bind |
| 110 | 110 | DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE = 13, // stride 8, regular/auth targets both vm offsets. Only A keys supported |
| 111 | 111 | DYLD_CHAINED_PTR_ARM64E_SEGMENTED = 14, // stride 4, rebase offsets use segIndex and segOffset |
| 112 | DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3 = 15, // stride 8, regular/auth targets both vm offsets. Only A keys supported | |
| 113 | DYLD_CHAINED_PTR_SHARED_CACHE_V2 = 16, // stride 8, x86_64 shared cache slide v2, delta mask 0x00FFFF0000000000, target is vm offset | |
| 112 | 114 | }; |
| 113 | 115 | |
| 114 | 116 | |
| ... | ... | @@ -294,7 +296,33 @@ struct dyld_chained_ptr_arm64e_shared_cache_auth_rebase |
| 294 | 296 | auth : 1; // == 1 |
| 295 | 297 | }; |
| 296 | 298 | |
| 299 | // DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3 | |
| 300 | struct dyld_chained_ptr_arm64e_shared_cache_v3_rebase | |
| 301 | { | |
| 302 | uint64_t pointerValue : 51, | |
| 303 | next : 11, | |
| 304 | unused : 2; // = 0 | |
| 305 | }; | |
| 297 | 306 | |
| 307 | // DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3 | |
| 308 | struct 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 | |
| 320 | struct 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 | }; | |
| 298 | 326 | |
| 299 | 327 | // values for dyld_chained_fixups_header.imports_format |
| 300 | 328 | enum { |
lib/libc/include/any-darwin-any/mach-o/utils.h+99-139| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* |
| 2 | * Copyright (c) 2021 Apple Inc. All rights reserved. | |
| 2 | * Copyright (c) 2021-2026 Apple Inc. All rights reserved. | |
| 3 | 3 | * |
| 4 | 4 | * @APPLE_LICENSE_HEADER_START@ |
| 5 | 5 | * |
| ... | ... | @@ -38,64 +38,45 @@ extern "C" { |
| 38 | 38 | #endif |
| 39 | 39 | |
| 40 | 40 | /*! |
| 41 | * @function macho_cpu_type_for_arch_name | |
| 41 | * Converts an architecture name into a cpu type/subtype pairy. | |
| 42 | 42 | * |
| 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. | |
| 45 | 46 | * |
| 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. | |
| 48 | 49 | * |
| 49 | * @param type | |
| 50 | * A pointer to where to store the cpu type of the given name. | |
| 51 | * | |
| 52 | * @param subtype | |
| 53 | * A pointer to where to store the cpu subtype of the given name. | |
| 54 | * | |
| 55 | * @return | |
| 56 | *		If the archName is known, returns true and fills in the type/subtype. | |
| 57 | *		If the archName is unknown, returns false. | |
| 58 | 50 | */ |
| 59 | 51 | extern bool macho_cpu_type_for_arch_name(const char* _Nonnull archName, cpu_type_t* _Nonnull type, cpu_subtype_t* _Nonnull subtype) |
| 60 | 52 | __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| 61 | 53 | |
| 62 | 54 | |
| 63 | 55 | /*! |
| 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. | |
| 71 | 57 | * |
| 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) | |
| 74 | 60 | * |
| 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. | |
| 79 | 64 | */ |
| 80 | 65 | extern const char* _Nullable macho_arch_name_for_cpu_type(cpu_type_t type, cpu_subtype_t subtype) |
| 81 | 66 | __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| 82 | 67 | |
| 83 | 68 | |
| 84 | 69 | /*! |
| 85 | * @function macho_arch_name_for_mach_header | |
| 70 | * Returns the architecture name from the cpu type/subtype in a mach_header. | |
| 86 | 71 | * |
| 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(). | |
| 90 | 73 | * |
| 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. | |
| 94 | 76 | * |
| 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. | |
| 99 | 80 | */ |
| 100 | 81 | extern const char* _Nullable macho_arch_name_for_mach_header(const struct mach_header* _Nullable mh) |
| 101 | 82 | __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| ... | ... | @@ -108,121 +89,103 @@ __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| 108 | 89 | #endif |
| 109 | 90 | |
| 110 | 91 | /*! |
| 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 | |
| 135 | 113 | */ |
| 136 | 114 | extern int macho_for_each_slice(const char* _Nonnull path, void (^ _Nullable callback)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t size, bool* _Nonnull stop) __MACHO_NOESCAPE) |
| 137 | 115 | __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| 138 | 116 | |
| 139 | 117 | |
| 140 | 118 | /*! |
| 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 | |
| 163 | 138 | */ |
| 164 | 139 | extern int macho_for_each_slice_in_fd(int fd, void (^ _Nullable callback)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t size, bool* _Nonnull stop)__MACHO_NOESCAPE) |
| 165 | 140 | __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| 166 | 141 | |
| 167 | 142 | |
| 168 | 143 | /*! |
| 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 | |
| 196 | 165 | */ |
| 197 | 166 | extern int macho_best_slice(const char* _Nonnull path, void (^ _Nullable bestSlice)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t sliceSize)__MACHO_NOESCAPE) |
| 198 | 167 | __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| 199 | 168 | |
| 200 | 169 | |
| 201 | 170 | /*! |
| 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 | |
| 226 | 189 | */ |
| 227 | 190 | extern int macho_best_slice_in_fd(int fd, void (^ _Nullable bestSlice)(const struct mach_header* _Nonnull slice, uint64_t sliceFileOffset, size_t sliceSize)__MACHO_NOESCAPE) |
| 228 | 191 | __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| ... | ... | @@ -230,9 +193,6 @@ __API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(8.0)); |
| 230 | 193 | #endif // __BLOCKS__ |
| 231 | 194 | |
| 232 | 195 | |
| 233 | ||
| 234 | ||
| 235 | ||
| 236 | 196 | #if __cplusplus |
| 237 | 197 | } |
| 238 | 198 | #endif |
lib/libc/include/any-darwin-any/mach/arm/exception.h-1| ... | ... | @@ -37,7 +37,6 @@ |
| 37 | 37 | |
| 38 | 38 | #define EXCEPTION_CODE_MAX 2 /* code and subcode */ |
| 39 | 39 | |
| 40 | ||
| 41 | 40 | /* |
| 42 | 41 | *	Trap numbers as defined by the hardware exception vectors. |
| 43 | 42 | */ |
lib/libc/include/any-darwin-any/mach/arm/thread_status.h+1-1| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* |
| 2 | * Copyright (c) 2007 Apple Inc. All rights reserved. | |
| 2 | * Copyright (c) 2007-2026 Apple Inc. All rights reserved. | |
| 3 | 3 | * |
| 4 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
| 5 | 5 | * |
lib/libc/include/any-darwin-any/mach/arm/vm_param.h+32-21| ... | ... | @@ -66,42 +66,53 @@ |
| 66 | 66 | |
| 67 | 67 | #define VM_MAX_PAGE_ADDRESS MACH_VM_MAX_ADDRESS |
| 68 | 68 | |
| 69 | #ifndef __ASSEMBLER__ | |
| 70 | ||
| 71 | ||
| 69 | /* Assembler-friendly values */ | |
| 72 | 70 | #if defined (__arm__) |
| 73 | 71 | |
| 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) | |
| 76 | 74 | |
| 77 | 75 | /* 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) | |
| 80 | 79 | |
| 81 | 80 | #elif defined (__arm64__) |
| 82 | 81 | |
| 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) | |
| 85 | 84 | |
| 86 | 85 | /* 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) | |
| 89 | 87 | |
| 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 | |
| 94 | 98 | |
| 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__) | |
| 97 | 112 | |
| 98 | #define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW 0x0000001000000000ULL | |
| 99 | #define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW 0x0000007000000000ULL | |
| 100 | 113 | #define MACH_VM_MIN_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW) |
| 101 | 114 | #define MACH_VM_MAX_GPU_CARVEOUT_ADDRESS ((mach_vm_offset_t) MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW) |
| 102 | 115 | |
| 103 | #else /* defined(__arm64__) */ | |
| 104 | #error architecture not supported | |
| 105 | 116 | #endif |
| 106 | 117 | |
| 107 | 118 | #define VM_MAP_MIN_ADDRESS VM_MIN_ADDRESS |
lib/libc/include/any-darwin-any/mach/host_info.h+22-1| ... | ... | @@ -182,6 +182,7 @@ typedef struct host_priority_info *host_priority_info_t; |
| 182 | 182 | #define HOST_VM_INFO64 4 /* 64-bit virtual memory stats */ |
| 183 | 183 | #define HOST_EXTMOD_INFO64 5 /* External modification stats */ |
| 184 | 184 | #define HOST_EXPIRED_TASK_INFO 6 /* Statistics for expired tasks */ |
| 185 | #define HOST_CPU_COUNTERS_INFO 8 /* Per-host CPU counter totals: time, cycles, instructions, energy */ | |
| 185 | 186 | |
| 186 | 187 | |
| 187 | 188 | |
| ... | ... | @@ -207,7 +208,13 @@ typedef struct vm_purgeable_info *host_purgable_info_t; |
| 207 | 208 | |
| 208 | 209 | /* size of the latest version of the structure */ |
| 209 | 210 | #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))) | |
| 211 | 218 | #define HOST_VM_INFO64_REV2_COUNT ((mach_msg_type_number_t) \ |
| 212 | 219 | 	 (offsetof(vm_statistics64_data_t, total_tag_storage_pages) / sizeof(integer_t))) |
| 213 | 220 | #define HOST_VM_INFO64_REV1_COUNT ((mach_msg_type_number_t) \ |
| ... | ... | @@ -248,6 +255,20 @@ typedef struct host_cpu_load_info *host_cpu_load_info_t; |
| 248 | 255 | #define HOST_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \ |
| 249 | 256 | 	 (sizeof (host_cpu_load_info_data_t) / sizeof (integer_t))) |
| 250 | 257 | |
| 258 | struct 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 | ||
| 267 | typedef struct host_cpu_counters_info host_cpu_counters_info_data_t; | |
| 268 | typedef 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 | ||
| 251 | 272 | struct host_preferred_user_arch { |
| 252 | 273 | 	cpu_type_t cpu_type; /* Preferred user-space cpu type */ |
| 253 | 274 | 	cpu_subtype_t cpu_subtype; /* Preferred user-space cpu subtype */ |
lib/libc/include/any-darwin-any/mach/host_special_ports.h+7-1| ... | ... | @@ -112,8 +112,9 @@ |
| 112 | 112 | #define HOST_MEMORY_ERROR_PORT (26 + HOST_MAX_SPECIAL_KERNEL_PORT) |
| 113 | 113 | #define HOST_MANAGEDAPPDISTD_PORT (27 + HOST_MAX_SPECIAL_KERNEL_PORT) |
| 114 | 114 | #define HOST_DOUBLEAGENTD_PORT (28 + HOST_MAX_SPECIAL_KERNEL_PORT) |
| 115 | #define HOST_DISKIMAGESIOD_PORT (29 + HOST_MAX_SPECIAL_KERNEL_PORT) | |
| 115 | 116 | |
| 116 | #define HOST_MAX_SPECIAL_PORT HOST_DOUBLEAGENTD_PORT | |
| 117 | #define HOST_MAX_SPECIAL_PORT HOST_DISKIMAGESIOD_PORT | |
| 117 | 118 | /* MAX = last since rdar://59872249 */ |
| 118 | 119 | |
| 119 | 120 | /* obsolete name */ |
| ... | ... | @@ -302,6 +303,11 @@ |
| 302 | 303 | #define host_set_doubleagentd_port(host, port) \ |
| 303 | 304 | 	(host_set_special_port((host), HOST_DOUBLEAGENTD_PORT, (port))) |
| 304 | 305 | |
| 306 | #define host_get_diskimagesiod_port(host, port) \ | |
| 307 | 	(host_get_special_port((host), \ | |
| 308 | 	HOST_LOCAL_NODE, HOST_DISKIMAGESIOD_PORT, (port))) | |
| 309 | #define host_set_diskimagesiod_port(host, port) \ | |
| 310 | 	(host_set_special_port((host), HOST_DISKIMAGESIOD_PORT, (port))) | |
| 305 | 311 | /* HOST_RESOURCE_NOTIFY_PORT doesn't #defines these conveniences. |
| 306 | 312 | * All lookups go through send_resource_violation() |
| 307 | 313 | */ |
lib/libc/include/any-darwin-any/mach/mach_host.h+1-1| ... | ... | @@ -270,7 +270,7 @@ extern |
| 270 | 270 | #endif	/* mig_external */ |
| 271 | 271 | kern_return_t host_lockgroup_info |
| 272 | 272 | ( |
| 273 | 	host_t host, | |
| 273 | 	host_t host_priv_t, | |
| 274 | 274 | 	lockgroup_info_array_t *lockgroup_info, |
| 275 | 275 | 	mach_msg_type_number_t *lockgroup_infoCnt |
| 276 | 276 | ); |
lib/libc/include/any-darwin-any/mach/mach_types.h+1-1| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* |
| 2 | * Copyright (c) 2000-2018 Apple Inc. All rights reserved. | |
| 2 | * Copyright (c) 2000-2026 Apple Inc. All rights reserved. | |
| 3 | 3 | * |
| 4 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
| 5 | 5 | * |
lib/libc/include/any-darwin-any/mach/machine.h+27| ... | ... | @@ -342,6 +342,30 @@ typedef integer_t cpu_threadtype_t; |
| 342 | 342 | #define CPU_SUBTYPE_ARM64_ALL ((cpu_subtype_t) 0) |
| 343 | 343 | #define CPU_SUBTYPE_ARM64_V8 ((cpu_subtype_t) 1) |
| 344 | 344 | #define CPU_SUBTYPE_ARM64E ((cpu_subtype_t) 2) |
| 345 | /* The non-e x1 is defined in other tooling, but it's otherwise unused. */ | |
| 346 | #define CPU_SUBTYPE_ARM64_X1 ((cpu_subtype_t) 3) | |
| 347 | #define CPU_SUBTYPE_ARM64E_X1 ((cpu_subtype_t) 12) | |
| 348 | /* Unallocated values upto CPU_SUBTYPE_ARM64_MAX (inclusive) are reserved. */ | |
| 349 | #define CPU_SUBTYPE_ARM64_MAX ((cpu_subtype_t) 20) | |
| 350 | ||
| 351 | /* | |
| 352 | * Newer slices add additional complexity in determining the taxonomy of a | |
| 353 | * slice. The current PAC slices include ARM64E and ARM64E_X1. Future slices | |
| 354 | * _may_ continue the convention. At that time, this macro should be updated to | |
| 355 | * include the new slice(s). Since those fictitious slices don't yet exist, they | |
| 356 | * are omitted, but left reserved. | |
| 357 | */ | |
| 358 | #define CPU_SUBTYPE_HAS_ARM64E(subtype) \ | |
| 359 | 	( \ | |
| 360 | 	 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64E) || \ | |
| 361 | 	 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64E_X1) \ | |
| 362 | 	) | |
| 363 | ||
| 364 | #define CPU_SUBTYPE_HAS_ARM64X1(subtype) \ | |
| 365 | 	( \ | |
| 366 | 	 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64_X1) || \ | |
| 367 | 	 (((subtype) & ~CPU_SUBTYPE_MASK) == CPU_SUBTYPE_ARM64E_X1) \ | |
| 368 | 	) | |
| 345 | 369 | |
| 346 | 370 | /* CPU subtype feature flags for ptrauth on arm64e platforms */ |
| 347 | 371 | #define CPU_SUBTYPE_ARM64_PTR_AUTH_MASK 0x0f000000 |
| ... | ... | @@ -413,6 +437,9 @@ typedef integer_t cpu_threadtype_t; |
| 413 | 437 | #define CPUFAMILY_ARM_SOTRA 0xf76c5b1a |
| 414 | 438 | #define CPUFAMILY_ARM_THERA 0xab345f09 |
| 415 | 439 | #define CPUFAMILY_ARM_TILOS 0x01d7a72b |
| 440 | #define CPUFAMILY_ARM_KOMODO 0x6d0ccb0c | |
| 441 | #define CPUFAMILY_ARM_BORNEO 0x7db56df1 | |
| 442 | #define CPUFAMILY_ARM_NEVIS 0x37652b0c | |
| 416 | 443 | |
| 417 | 444 | /* Described in rdar://64125549 */ |
| 418 | 445 | #define CPUSUBFAMILY_UNKNOWN 0 |
lib/libc/include/any-darwin-any/mach/memory_object_types.h+1-1| ... | ... | @@ -183,7 +183,7 @@ typedef int memory_object_return_t; |
| 183 | 183 | |
| 184 | 184 | #define MEMORY_OBJECT_DATA_FLUSH 0x1 |
| 185 | 185 | #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 */ | |
| 187 | 187 | #define MEMORY_OBJECT_COPY_SYNC 0x8 |
| 188 | 188 | #define MEMORY_OBJECT_DATA_SYNC 0x10 |
| 189 | 189 | #define MEMORY_OBJECT_IO_SYNC 0x20 |
lib/libc/include/any-darwin-any/mach/port.h+40-9| ... | ... | @@ -96,6 +96,7 @@ |
| 96 | 96 | * Some structures must remain a constant size due to performance or ABI implications. |
| 97 | 97 | * It's not necessarily an issue if you need to bump a size passed to these macros: act judiciously. |
| 98 | 98 | */ |
| 99 | #if !defined(__cplusplus) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L | |
| 99 | 100 | #if __arm64__ |
| 100 | 101 | #define xnu_static_assert_struct_size(name, expected_size) _Static_assert(\ |
| 101 | 102 | 	sizeof(name) == expected_size, "struct changed size unexpectedly") |
| ... | ... | @@ -114,6 +115,13 @@ |
| 114 | 115 | 	xnu_static_assert_struct_size(name, expected_user32_size) |
| 115 | 116 | #endif /* __LP64__ */ |
| 116 | 117 | |
| 118 | #else /* !defined(__cplusplus) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L */ | |
| 119 | /* Define these macros to no-ops in environments where _Static_assert is unavailable */ | |
| 120 | #define xnu_static_assert_struct_size(name, expected_size) | |
| 121 | #define xnu_static_assert_struct_size_kernel_user(name, expected_kernel_size, expected_user_size) | |
| 122 | #define xnu_static_assert_struct_size_kernel_user64_user32(name, _kern_size, _u64_size, _u32_size) | |
| 123 | #endif /* !defined(__cplusplus) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L */ | |
| 124 | ||
| 117 | 125 | /* |
| 118 | 126 | *	mach_port_name_t - the local identity for a Mach port |
| 119 | 127 | * |
| ... | ... | @@ -271,6 +279,7 @@ typedef struct mach_port_status { |
| 271 | 279 | #define MACH_PORT_QLIMIT_BASIC (5) |
| 272 | 280 | #define MACH_PORT_QLIMIT_SMALL (16) |
| 273 | 281 | #define MACH_PORT_QLIMIT_LARGE (1024) |
| 282 | #define MACH_PORT_QLIMIT_KERNEL_SOFT (4 * MACH_PORT_QLIMIT_LARGE) | |
| 274 | 283 | #define MACH_PORT_QLIMIT_KERNEL (65534) |
| 275 | 284 | #define MACH_PORT_QLIMIT_MIN MACH_PORT_QLIMIT_ZERO |
| 276 | 285 | #define MACH_PORT_QLIMIT_DEFAULT MACH_PORT_QLIMIT_BASIC |
| ... | ... | @@ -367,6 +376,9 @@ typedef struct mach_service_port_info * mach_service_port_info_t; |
| 367 | 376 | /* Allows 1p process to create weak reply port */ |
| 368 | 377 | #define MACH_PORT_WEAK_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port" |
| 369 | 378 | |
| 379 | /* Allows process to create read port for kernel_task - only works on dev/debug kernels */ | |
| 380 | #define MACH_PORT_KERNEL_READ_ENTITLEMENT "com.apple.private.system-task-ports.kernel.read" | |
| 381 | ||
| 370 | 382 | /* |
| 371 | 383 | * Flags for mach_port_options (used for |
| 372 | 384 | * invocation of mach_port_construct). |
| ... | ... | @@ -405,6 +417,18 @@ typedef struct mach_service_port_info * mach_service_port_info_t; |
| 405 | 417 | /* MPO port type flags */ |
| 406 | 418 | #define MPO_MAKE_PORT_TYPE(a, b) (((a & 0x7) << 14) | ((b & 0x7) << 10)) |
| 407 | 419 | #define MPO_PORT_TYPE_MASK MPO_MAKE_PORT_TYPE(0x7, 0x7) /* 0x1dc00 */ |
| 420 | ||
| 421 | #if __BUILDING_XNU_LIB_UNITTEST__ | |
| 422 | /* | |
| 423 | * This is a test only MPO flag for bootstrap port | |
| 424 | * as copyin doesn't work in unit test yet. | |
| 425 | */ | |
| 426 | #define MPO_UNIT_TEST_BOOTSTRAP_ENTRY \ | |
| 427 | 	MPO_UNIT_TEST_BOOTSTRAP_PORT = MPO_MAKE_PORT_TYPE(4, 4), /* 0x11000 */ | |
| 428 | #else /* __BUILDING_XNU_LIB_UNITTEST__ */ | |
| 429 | #define MPO_UNIT_TEST_BOOTSTRAP_ENTRY | |
| 430 | #endif /* __BUILDING_XNU_LIB_UNITTEST__ */ | |
| 431 | ||
| 408 | 432 | /* These need to be defined for libxpc and other clients who `#ifdef` */ |
| 409 | 433 | 	#define MPO_PORT MPO_PORT |
| 410 | 434 | 	#define MPO_SERVICE_PORT MPO_SERVICE_PORT |
| ... | ... | @@ -431,6 +455,11 @@ __options_decl(mpo_flags_t, uint32_t, { |
| 431 | 455 | 	MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */ |
| 432 | 456 | 	/* Can receive OOL port array descriptors */ |
| 433 | 457 | 	MPO_CONNECTION_PORT_WITH_PORT_ARRAY = MPO_MAKE_PORT_TYPE(4, 0), /* 0x10000 */ |
| 458 | 	/* | |
| 459 | 	 * Temporary flag for IPC unit testing. Expand to nothing if | |
| 460 | 	 * __BUILDING_XNU_LIB_UNITTEST__ is not defined. | |
| 461 | 	 */ | |
| 462 | 	MPO_UNIT_TEST_BOOTSTRAP_ENTRY /* 0x11000 */ | |
| 434 | 463 | }); |
| 435 | 464 | |
| 436 | 465 | /* For bincompat: weak reply port used to be called provisional reply port */ |
| ... | ... | @@ -489,8 +518,15 @@ enum mach_port_guard_exception_codes { |
| 489 | 518 | 	kGUARD_EXC_UNGUARDED = 8, |
| 490 | 519 | 	kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9, |
| 491 | 520 | 	kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS = 10, |
| 521 | 	kGUARD_EXC_RESTRICT_VOUCHER_OPERATIONS = 11, | |
| 522 | 	kGUARD_EXC_MACH_EXC_THREAD_SET_STATE = 12, | |
| 523 | 	kGUARD_EXC_MOVE_WEAK_REPLY_PORT_FATAL = 13, | |
| 492 | 524 | 	kGUARD_EXC_INCORRECT_GUARD = 16, |
| 525 | 	kGUARD_EXC_BOOTSTRAP_PORT_NOTIFICATION = 17, | |
| 526 | 	kGUARD_EXC_CV_INVALID_EXCEPTION_PORT = 18, | |
| 493 | 527 | 	kGUARD_EXC_IMMOVABLE = 32, |
| 528 | 	kGUARD_EXC_RESTRICT_VOUCHER_RECIPE_SIZE = 33, | |
| 529 | 	kGUARD_EXC_RESTRICT_INLINE_PORT_DESCRIPTORS = 34, | |
| 494 | 530 | 	kGUARD_EXC_STRICT_REPLY = 64, |
| 495 | 531 | 	kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65, |
| 496 | 532 | 	kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66, |
| ... | ... | @@ -512,24 +548,19 @@ enum mach_port_guard_exception_codes { |
| 512 | 548 | 	/* start of always non-fatal guards */ |
| 513 | 549 | 	kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */ |
| 514 | 550 | 	kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused */ |
| 515 | 	kGUARD_EXC_INVALID_NOTIFICATION_PORT = 0x00100006, | |
| 516 | 	kGUARD_EXC_MACH_EXC_THREAD_SET_STATE = 0x00100007, | |
| 517 | 	kGUARD_EXC_CV_NOTIFICATION_PORT_REQ = 0x00100008, | |
| 518 | 551 | 	kGUARD_EXC_WEAK_REPLY_PORT = 0x00100002, /* unused */ |
| 519 | 552 | 	kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */ |
| 520 | 	kGUARD_EXC_MOVE_WEAK_REPLY_PORT = 0x00100004, | |
| 553 | 	kGUARD_EXC_MOVE_WEAK_REPLY_PORT = 0x00100004, /* unused */ | |
| 521 | 554 | 	kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005, |
| 555 | 	kGUARD_EXC_INVALID_NOTIFICATION_PORT = 0x00100006, | |
| 556 | 	kGUARD_EXC_CV_NOTIFICATION_PORT_REQ = 0x00100008, | |
| 522 | 557 | 	kGUARD_EXC_MOD_REFS_NON_FATAL = 1u << 21, |
| 523 | 	kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22, /* unused */ | |
| 558 | 	kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22, | |
| 524 | 559 | }; |
| 525 | 560 | |
| 526 | 561 | #define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED |
| 527 | 562 | #define MAX_OPTIONAL_kGUARD_EXC_CODE kGUARD_EXC_RCV_INVALID_NAME |
| 528 | 563 | |
| 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 | ||
| 533 | 564 | |
| 534 | 565 | /* |
| 535 | 566 | * Mach port guard flags. |
lib/libc/include/any-darwin-any/mach/processor_info.h+19-4| ... | ... | @@ -90,10 +90,11 @@ typedef integer_t processor_set_info_data_t[PROCESSOR_SET_INFO_MAX]; |
| 90 | 90 | *	Currently defined information. |
| 91 | 91 | */ |
| 92 | 92 | typedef 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 */ | |
| 97 | 98 | |
| 98 | 99 | struct processor_basic_info { |
| 99 | 100 | 	cpu_type_t cpu_type; /* type of cpu */ |
| ... | ... | @@ -120,6 +121,20 @@ typedef struct processor_cpu_load_info *processor_cpu_load_info_t; |
| 120 | 121 | #define PROCESSOR_CPU_LOAD_INFO_COUNT ((mach_msg_type_number_t) \ |
| 121 | 122 | 	 (sizeof(processor_cpu_load_info_data_t)/sizeof(natural_t))) |
| 122 | 123 | |
| 124 | struct 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 | ||
| 133 | typedef struct processor_cpu_counters_info processor_cpu_counters_info_data_t; | |
| 134 | typedef struct processor_cpu_counters_info *processor_cpu_counters_info_t; | |
| 135 | #define PROCESSOR_CPU_COUNTERS_INFO_COUNT ((mach_msg_type_number_t) \ | |
| 136 | 	 (sizeof(processor_cpu_counters_info_data_t)/sizeof(natural_t))) | |
| 137 | ||
| 123 | 138 | /* |
| 124 | 139 | *	Scaling factor for load_average, mach_factor. |
| 125 | 140 | */ |
lib/libc/include/any-darwin-any/mach/task.h+8-4| ... | ... | @@ -172,7 +172,8 @@ mig_external |
| 172 | 172 | #else |
| 173 | 173 | extern |
| 174 | 174 | #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) | |
| 176 | 177 | kern_return_t task_suspend |
| 177 | 178 | ( |
| 178 | 179 | 	task_read_t target_task |
| ... | ... | @@ -184,7 +185,8 @@ mig_external |
| 184 | 185 | #else |
| 185 | 186 | extern |
| 186 | 187 | #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) | |
| 188 | 190 | kern_return_t task_resume |
| 189 | 191 | ( |
| 190 | 192 | 	task_read_t target_task |
| ... | ... | @@ -588,7 +590,8 @@ mig_external |
| 588 | 590 | #else |
| 589 | 591 | extern |
| 590 | 592 | #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) | |
| 592 | 595 | kern_return_t task_suspend2 |
| 593 | 596 | ( |
| 594 | 597 | 	task_read_t target_task, |
| ... | ... | @@ -601,7 +604,8 @@ mig_external |
| 601 | 604 | #else |
| 602 | 605 | extern |
| 603 | 606 | #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) | |
| 605 | 609 | kern_return_t task_resume2 |
| 606 | 610 | ( |
| 607 | 611 | 	task_suspension_token_t suspend_token |
lib/libc/include/any-darwin-any/mach/task_info.h+32-1| ... | ... | @@ -69,9 +69,9 @@ |
| 69 | 69 | #include <mach/machine/vm_types.h> |
| 70 | 70 | #include <mach/time_value.h> |
| 71 | 71 | #include <mach/policy.h> |
| 72 | #include <mach/machine.h> | |
| 72 | 73 | #include <mach/vm_statistics.h> /* for vm_extmod_statistics_data_t */ |
| 73 | 74 | #include <Availability.h> |
| 74 | ||
| 75 | 75 | #include <sys/cdefs.h> |
| 76 | 76 | |
| 77 | 77 | /* |
| ... | ... | @@ -521,6 +521,37 @@ typedef struct task_ipc_space_policy_info * task_ipc_space_policy_info_t; |
| 521 | 521 | #define TASK_IPC_SPACE_POLICY_INFO_COUNT ((mach_msg_type_number_t) \ |
| 522 | 522 | 	 (sizeof(struct task_ipc_space_policy_info) / sizeof(natural_t))) |
| 523 | 523 | |
| 524 | #define TASK_VM_SHARED_CACHE_INFO 34 | |
| 525 | struct task_vm_shared_cache_info { | |
| 526 | 	uint32_t slide; | |
| 527 | }; | |
| 528 | typedef struct task_vm_shared_cache_info task_vm_shared_cache_info_data_t; | |
| 529 | typedef 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 | ||
| 533 | OS_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 | |
| 539 | struct 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 | }; | |
| 551 | typedef struct task_shared_region_info task_shared_region_info_data_t; | |
| 552 | typedef struct task_shared_region_info *task_shared_region_info_t; | |
| 553 | #define TASK_SHARED_REGION_INFO_COUNT (sizeof(struct task_shared_region_info) / sizeof(natural_t)) | |
| 554 | ||
| 524 | 555 | /* |
| 525 | 556 | * Type to control EXC_GUARD delivery options for a task |
| 526 | 557 | * via task_get/set_exc_guard_behavior interface(s). |
lib/libc/include/any-darwin-any/mach/thread_act.h+8-4| ... | ... | @@ -147,7 +147,8 @@ mig_external |
| 147 | 147 | #else |
| 148 | 148 | extern |
| 149 | 149 | #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) | |
| 151 | 152 | kern_return_t thread_suspend |
| 152 | 153 | ( |
| 153 | 154 | 	thread_read_t target_act |
| ... | ... | @@ -159,7 +160,8 @@ mig_external |
| 159 | 160 | #else |
| 160 | 161 | extern |
| 161 | 162 | #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) | |
| 163 | 165 | kern_return_t thread_resume |
| 164 | 166 | ( |
| 165 | 167 | 	thread_read_t target_act |
| ... | ... | @@ -515,7 +517,8 @@ mig_external |
| 515 | 517 | #else |
| 516 | 518 | extern |
| 517 | 519 | #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) | |
| 519 | 522 | kern_return_t thread_suspend2 |
| 520 | 523 | ( |
| 521 | 524 | 	thread_read_t target_act, |
| ... | ... | @@ -528,7 +531,8 @@ mig_external |
| 528 | 531 | #else |
| 529 | 532 | extern |
| 530 | 533 | #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) | |
| 532 | 536 | kern_return_t thread_resume2 |
| 533 | 537 | ( |
| 534 | 538 | 	mach_port_t suspend_token |
lib/libc/include/any-darwin-any/mach/vm_map.h+2-2| ... | ... | @@ -1337,7 +1337,7 @@ union __RequestUnion__vm_map_subsystem { |
| 1337 | 1337 | 		vm_size_t size; |
| 1338 | 1338 | 		natural_t nesting_depth; |
| 1339 | 1339 | 		mach_msg_type_number_t infoCnt; |
| 1340 | 		int info[19]; | |
| 1340 | 		int info[21]; | |
| 1341 | 1341 | 	} __Reply__vm_region_recurse_t __attribute__((unused)); |
| 1342 | 1342 | #ifdef __MigPackStructs |
| 1343 | 1343 | #pragma pack(pop) |
| ... | ... | @@ -1354,7 +1354,7 @@ union __RequestUnion__vm_map_subsystem { |
| 1354 | 1354 | 		vm_size_t size; |
| 1355 | 1355 | 		natural_t nesting_depth; |
| 1356 | 1356 | 		mach_msg_type_number_t infoCnt; |
| 1357 | 		int info[19]; | |
| 1357 | 		int info[21]; | |
| 1358 | 1358 | 	} __Reply__vm_region_recurse_64_t __attribute__((unused)); |
| 1359 | 1359 | #ifdef __MigPackStructs |
| 1360 | 1360 | #pragma pack(pop) |
lib/libc/include/any-darwin-any/mach/vm_param.h+1| ... | ... | @@ -67,6 +67,7 @@ |
| 67 | 67 | #ifndef _MACH_VM_PARAM_H_ |
| 68 | 68 | #define _MACH_VM_PARAM_H_ |
| 69 | 69 | |
| 70 | ||
| 70 | 71 | #include <mach/machine/vm_param.h> |
| 71 | 72 | |
| 72 | 73 |
lib/libc/include/any-darwin-any/mach/vm_region.h+37-6| ... | ... | @@ -42,7 +42,9 @@ |
| 42 | 42 | #include <mach/vm_prot.h> |
| 43 | 43 | #include <mach/vm_inherit.h> |
| 44 | 44 | #include <mach/vm_behavior.h> |
| 45 | #include <mach/vm_statistics.h> | |
| 45 | 46 | #include <mach/vm_types.h> |
| 47 | #include <mach/mach_types.h> | |
| 46 | 48 | #include <mach/message.h> |
| 47 | 49 | #include <mach/machine/vm_param.h> |
| 48 | 50 | #include <mach/machine/vm_types.h> |
| ... | ... | @@ -72,7 +74,6 @@ typedef int *vm_region_recurse_info_64_t; |
| 72 | 74 | typedef int vm_region_flavor_t; |
| 73 | 75 | typedef int vm_region_info_data_t[VM_REGION_INFO_MAX]; |
| 74 | 76 | |
| 75 | ||
| 76 | 77 | #define VM_REGION_BASIC_INFO_64 9 |
| 77 | 78 | struct vm_region_basic_info_64 { |
| 78 | 79 | 	vm_prot_t protection; |
| ... | ... | @@ -133,7 +134,7 @@ typedef struct vm_region_basic_info vm_region_basic_info_data_t; |
| 133 | 134 | #define SM_TRUESHARED 5 |
| 134 | 135 | #define SM_PRIVATE_ALIASED 6 |
| 135 | 136 | #define SM_SHARED_ALIASED 7 |
| 136 | #define SM_LARGE_PAGE 8 | |
| 137 | #define SM_LARGE_PAGE 8 /* Unused today, but provided for compatibility */ | |
| 137 | 138 | |
| 138 | 139 | /* |
| 139 | 140 | * For submap info, the SM flags above are overlayed when a submap |
| ... | ... | @@ -259,6 +260,10 @@ struct vm_region_submap_info_64 { |
| 259 | 260 | 	unsigned int pages_reusable; |
| 260 | 261 | 	/* v2 fields */ |
| 261 | 262 | 	vm_object_id_t object_id_full; |
| 263 | 	/* v3 fields */ | |
| 264 | 	uint32_t pages_wired; | |
| 265 | 	uint16_t wire_tag; | |
| 266 | 	uint16_t __padding0; | |
| 262 | 267 | }; |
| 263 | 268 | |
| 264 | 269 | typedef struct vm_region_submap_info_64 *vm_region_submap_info_64_t; |
| ... | ... | @@ -269,9 +274,13 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t |
| 269 | 274 | * so if we ever increase this you'll need to also bump the definition of |
| 270 | 275 | * vm_region_recurse_info_t. |
| 271 | 276 | */ |
| 272 | #define VM_REGION_SUBMAP_INFO_V2_SIZE \ | |
| 277 | #define VM_REGION_SUBMAP_INFO_V3_SIZE \ | |
| 273 | 278 | 	(sizeof (vm_region_submap_info_data_64_t)) |
| 274 | 279 | |
| 280 | /* v2 size is v3 size minus v3's new fields */ | |
| 281 | #define VM_REGION_SUBMAP_INFO_V2_SIZE \ | |
| 282 | 	(offsetof (vm_region_submap_info_data_64_t, pages_wired)) | |
| 283 | ||
| 275 | 284 | /* v1 size is v2 size minus v2's new fields */ |
| 276 | 285 | #define VM_REGION_SUBMAP_INFO_V1_SIZE \ |
| 277 | 286 | 	(VM_REGION_SUBMAP_INFO_V2_SIZE - \ |
| ... | ... | @@ -282,6 +291,9 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t |
| 282 | 291 | 	(VM_REGION_SUBMAP_INFO_V1_SIZE - \ |
| 283 | 292 | 	 sizeof (unsigned int) /* pages_reusable */ ) |
| 284 | 293 | |
| 294 | #define VM_REGION_SUBMAP_INFO_V3_COUNT_64 \ | |
| 295 | 	((mach_msg_type_number_t) \ | |
| 296 | 	 (VM_REGION_SUBMAP_INFO_V3_SIZE / sizeof (natural_t))) | |
| 285 | 297 | #define VM_REGION_SUBMAP_INFO_V2_COUNT_64 \ |
| 286 | 298 | 	((mach_msg_type_number_t) \ |
| 287 | 299 | 	 (VM_REGION_SUBMAP_INFO_V2_SIZE / sizeof (natural_t))) |
| ... | ... | @@ -293,11 +305,13 @@ typedef struct vm_region_submap_info_64 vm_region_submap_info_data_64_t |
| 293 | 305 | 	 (VM_REGION_SUBMAP_INFO_V0_SIZE / sizeof (natural_t))) |
| 294 | 306 | |
| 295 | 307 | /* 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 | |
| 297 | 309 | |
| 298 | 310 | #define VM_REGION_FLAG_JIT_ENABLED 0x1 |
| 299 | 311 | #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 | |
| 301 | 315 | |
| 302 | 316 | struct vm_region_submap_short_info_64 { |
| 303 | 317 | 	vm_prot_t protection; /* present access protection */ |
| ... | ... | @@ -355,9 +369,11 @@ typedef struct vm32_read_entry vm32_read_entry_t[VM_MAP_ENTRY_MAX]; |
| 355 | 369 | #define VM_PAGE_INFO_MAX |
| 356 | 370 | typedef int *vm_page_info_t; |
| 357 | 371 | typedef int vm_page_info_data_t[VM_PAGE_INFO_MAX]; |
| 372 | ||
| 358 | 373 | typedef int vm_page_info_flavor_t; |
| 374 | #define VM_PAGE_INFO_BASIC 1 | |
| 375 | #define VM_PAGE_INFO_EXTENDED 2 | |
| 359 | 376 | |
| 360 | #define VM_PAGE_INFO_BASIC 1 | |
| 361 | 377 | struct vm_page_info_basic { |
| 362 | 378 | 	int disposition; |
| 363 | 379 | 	int ref_count; |
| ... | ... | @@ -372,5 +388,20 @@ typedef struct vm_page_info_basic vm_page_info_basic_data_t; |
| 372 | 388 | #define VM_PAGE_INFO_BASIC_COUNT ((mach_msg_type_number_t) \ |
| 373 | 389 | 	(sizeof(vm_page_info_basic_data_t)/sizeof(int))) |
| 374 | 390 | |
| 391 | typedef 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 | ||
| 402 | typedef 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))) | |
| 375 | 406 | |
| 376 | 407 | #endif /*_MACH_VM_REGION_H_*/ |
lib/libc/include/any-darwin-any/mach/vm_statistics.h+103-21| ... | ... | @@ -207,6 +207,59 @@ struct vm_statistics64 { |
| 207 | 207 | 	uint64_t tagged_decompressions; |
| 208 | 208 | 	/* The current number of bytes consumed by compressed tag storage data */ |
| 209 | 209 | 	uint64_t compressed_tag_storage_bytes; |
| 210 | 	/* added for rev4 */ | |
| 211 | 	/* The number of pages created due to speculative prefetch since boot */ | |
| 212 | 	uint64_t speculative_pages_created; | |
| 213 | 	/* The number speculative pages that have been activated since boot */ | |
| 214 | 	uint64_t speculative_pages_activated; | |
| 215 | ||
| 216 | 	/* Added for rev4 */ | |
| 217 | 	/* The number of pages currently populated in the swapfile */ | |
| 218 | 	uint64_t swap_count; | |
| 219 | ||
| 220 | 	/* Added for rev5 */ | |
| 221 | 	/* | |
| 222 | 	 * The number of tag storage pages which are reserved for storing tags but | |
| 223 | 	 * don't currently hold any | |
| 224 | 	 */ | |
| 225 | 	uint64_t empty_tag_storing_tag_storage_pages; | |
| 226 | 	/* | |
| 227 | 	 * The number of resident, file-backed (i.e. excluding JIT) pages which are | |
| 228 | 	 * mapped as executable | |
| 229 | 	 */ | |
| 230 | 	uint64_t executable_count; | |
| 231 | 	/* The number of resident pages which are part of a shared region */ | |
| 232 | 	uint64_t shared_region_count; | |
| 233 | 	/* The number of pages stolen by the booter */ | |
| 234 | 	uint64_t boot_stolen_count; | |
| 235 | 	/* The number of file-backed pages which are secluded */ | |
| 236 | 	uint64_t secluded_count; | |
| 237 | 	/* The number of internal pageable pages which are active */ | |
| 238 | 	uint64_t active_internal_count; | |
| 239 | 	/* The number of internal pageable pages which are inactive */ | |
| 240 | 	uint64_t inactive_internal_count; | |
| 241 | 	/* The number of external pageable pages which are active */ | |
| 242 | 	uint64_t active_external_count; | |
| 243 | 	/* The number of external pageable pages which are inactive */ | |
| 244 | 	uint64_t inactive_external_count; | |
| 245 | 	/* The number of purgeable volatile pages which are pageable */ | |
| 246 | 	uint64_t purgeable_pageable_count; | |
| 247 | 	/* The number of purgeable-volatile pages which are wired */ | |
| 248 | 	uint64_t purgeable_wired_count; | |
| 249 | 	/* The number of anonymous pages which are backgrounded */ | |
| 250 | 	uint64_t background_internal_count; | |
| 251 | 	/* The number of file-backed pages which are backgrounded */ | |
| 252 | 	uint64_t background_external_count; | |
| 253 | 	/* The number of anonymous pages which are queued for self-donation (App Swap) */ | |
| 254 | 	uint64_t donated_count; | |
| 255 | 	/* The number of anonymous pages which are marked as real-time */ | |
| 256 | 	uint64_t realtime_count; | |
| 257 | 	/* The size of physical memory in pages */ | |
| 258 | 	uint64_t max_mem_count; | |
| 259 | 	/* The number of phantom file-cache ghosts which were re-paged-in */ | |
| 260 | 	uint64_t phantom_ghosts_found; | |
| 261 | 	/* The number of phantom file-cache ghosts created by pageout */ | |
| 262 | 	uint64_t phantom_ghosts_added; | |
| 210 | 263 | } __attribute__((aligned(8))); |
| 211 | 264 | |
| 212 | 265 | typedef struct vm_statistics64 *vm_statistics64_t; |
| ... | ... | @@ -259,18 +312,19 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; |
| 259 | 312 | |
| 260 | 313 | typedef int32_t vm_page_disposition_t; |
| 261 | 314 | |
| 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 | |
| 274 | 328 | |
| 275 | 329 | #pragma mark User Flags |
| 276 | 330 | |
| ... | ... | @@ -322,6 +376,10 @@ typedef int32_t vm_page_disposition_t; |
| 322 | 376 | * VM_FLAGS_GUARD_OBJECT_OPTOUT |
| 323 | 377 | *	Opt out this allocation from the guard object allocation policy. |
| 324 | 378 | *	And memory will be allocated in typical first-fit allocation order. |
| 379 | * | |
| 380 | * VM_FLAGS_SUPERPAGE_* | |
| 381 | * Deprecated; not supported on any current hardware. | |
| 382 | * These bits may be reused in the future and thus lead to unexpected results. | |
| 325 | 383 | */ |
| 326 | 384 | |
| 327 | 385 | #define VM_FLAGS_FIXED 0x00000000 |
| ... | ... | @@ -335,13 +393,8 @@ typedef int32_t vm_page_disposition_t; |
| 335 | 393 | #define VM_FLAGS_PERMANENT 0x00000080 |
| 336 | 394 | #define VM_FLAGS_TPRO 0x00001000 |
| 337 | 395 | #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. */ | |
| 345 | 398 | #define VM_FLAGS_RETURN_DATA_ADDR 0x00100000 /* Return address of target data, rather than base of page */ |
| 346 | 399 | #define VM_FLAGS_GUARD_OBJECT_OPTOUT 0x00400000 |
| 347 | 400 | #define VM_FLAGS_RETURN_4K_DATA_ADDR 0x00800000 /* Return 4K aligned address of target data */ |
| ... | ... | @@ -365,7 +418,6 @@ typedef int32_t vm_page_disposition_t; |
| 365 | 418 | 	 VM_FLAGS_PERMANENT | \ |
| 366 | 419 | 	 VM_FLAGS_OVERWRITE | \ |
| 367 | 420 | 	 VM_FLAGS_GUARD_OBJECT_OPTOUT | \ |
| 368 | 	 VM_FLAGS_SUPERPAGE_MASK | \ | |
| 369 | 421 | 	 VM_FLAGS_HW | \ |
| 370 | 422 | 	 VM_FLAGS_ALIAS_MASK) |
| 371 | 423 | |
| ... | ... | @@ -381,6 +433,11 @@ typedef int32_t vm_page_disposition_t; |
| 381 | 433 | 	 VM_FLAGS_RESILIENT_CODESIGN | \ |
| 382 | 434 | 	 VM_FLAGS_RESILIENT_MEDIA) |
| 383 | 435 | |
| 436 | /* | |
| 437 | * Superpage macros are deprecated as we don't currently support this feature | |
| 438 | * on any platforms. We may reuse those flag bits in the future and thus use | |
| 439 | * of these bits might lead to unexpected results in future OS versions. | |
| 440 | */ | |
| 384 | 441 | #define VM_FLAGS_SUPERPAGE_SHIFT 16 |
| 385 | 442 | #define SUPERPAGE_NONE 0 /* no superpages, if all bits are 0 */ |
| 386 | 443 | #define SUPERPAGE_SIZE_ANY 1 |
| ... | ... | @@ -404,7 +461,26 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, { |
| 404 | 461 | 	kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10, |
| 405 | 462 | 	kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11, |
| 406 | 463 | 	kGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION = 12, |
| 407 | 	kGUARD_EXC_LARGE_ALLOCATION_TELEMETRY = 13, | |
| 464 | ||
| 465 | 	/** | |
| 466 | 	 * Guard exception sent to a thread when a CoW defeatured map attempts to | |
| 467 | 	 * copy memory which is not permitted by system policy. | |
| 468 | 	 */ | |
| 469 | 	kGUARD_EXC_COW_DEFEATURED_COPY_DENIED = 13, | |
| 470 | 	/** | |
| 471 | 	 * Guard exception sent to a thread when it attempts to extract a given type | |
| 472 | 	 * of memory in a way which is not permitted for CoW defeatured maps. | |
| 473 | 	 */ | |
| 474 | 	kGUARD_EXC_COW_DEFEATURED_EXTRACT_DENIED = 14, | |
| 475 | 	/** | |
| 476 | 	 * Guard exception sent to a thread when it attempts to copy-map a memory | |
| 477 | 	 * entry which was created for sharing by a CoW defeatured map. | |
| 478 | 	 */ | |
| 479 | 	kGUARD_EXC_COW_DEFEATURED_SHARE_MAP_AS_COPY_DENIED = 15, | |
| 480 | 	kGUARD_EXC_COW_DEFEATURED_FIRST = kGUARD_EXC_COW_DEFEATURED_COPY_DENIED, | |
| 481 | 	kGUARD_EXC_COW_DEFEATURED_LAST = kGUARD_EXC_COW_DEFEATURED_SHARE_MAP_AS_COPY_DENIED, | |
| 482 | ||
| 483 | 	kGUARD_EXC_LARGE_ALLOCATION_TELEMETRY = 16, | |
| 408 | 484 | 	/* |
| 409 | 485 | 	 * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned) |
| 410 | 486 | 	 */ |
| ... | ... | @@ -662,6 +738,12 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, { |
| 662 | 738 | /* memory allocated for CompositorServices */ |
| 663 | 739 | #define VM_MEMORY_COMPOSITOR_SERVICES 107 |
| 664 | 740 | |
| 741 | /* memory allocate for in-process debug tools */ | |
| 742 | #define VM_MEMORY_DEBUG 108 | |
| 743 | ||
| 744 | /* Apple Neural Engine */ | |
| 745 | #define VM_MEMORY_NEURAL 109 | |
| 746 | ||
| 665 | 747 | /* Reserve 230-239 for Rosetta */ |
| 666 | 748 | #define VM_MEMORY_ROSETTA 230 |
| 667 | 749 | #define VM_MEMORY_ROSETTA_THREAD_CONTEXT 231 |
lib/libc/include/any-darwin-any/mach_debug/zone_info.h+8| ... | ... | @@ -61,6 +61,7 @@ |
| 61 | 61 | |
| 62 | 62 | #include <mach/boolean.h> |
| 63 | 63 | #include <mach/machine/vm_types.h> |
| 64 | #include <sys/cdefs.h> | |
| 64 | 65 | |
| 65 | 66 | /* |
| 66 | 67 | *	Legacy definitions for host_zone_info(). This interface, and |
| ... | ... | @@ -152,11 +153,17 @@ typedef task_zone_info_t *task_zone_info_array_t; |
| 152 | 153 | typedef struct mach_memory_info { |
| 153 | 154 | 	uint64_t flags; |
| 154 | 155 | 	uint64_t site; |
| 156 | 	/* The current size of the site in bytes */ | |
| 155 | 157 | 	uint64_t size; |
| 158 | 	/* The number of bytes which are not currently in use */ | |
| 156 | 159 | 	uint64_t free; |
| 160 | 	/* The size of the largest individual element in the site */ | |
| 157 | 161 | 	uint64_t largest; |
| 162 | 	/* The number of bytes which could be recovered by kernel GC */ | |
| 158 | 163 | 	uint64_t collectable_bytes; |
| 164 | 	/* The amount of kernel VA consumed by this site */ | |
| 159 | 165 | 	uint64_t mapped; |
| 166 | 	/* The peak (max) size of this site */ | |
| 160 | 167 | 	uint64_t peak; |
| 161 | 168 | 	uint16_t tag; |
| 162 | 169 | 	uint16_t zone; |
| ... | ... | @@ -167,6 +174,7 @@ typedef struct mach_memory_info { |
| 167 | 174 | |
| 168 | 175 | typedef mach_memory_info_t *mach_memory_info_array_t; |
| 169 | 176 | |
| 177 | ||
| 170 | 178 | /* |
| 171 | 179 | * MAX_ZTRACE_DEPTH configures how deep of a stack trace is taken on each zalloc in the zone of interest. 15 |
| 172 | 180 | * levels is usually enough to get past all the layers of code in kalloc and IOKit and see who the actual |
lib/libc/include/any-darwin-any/malloc/_malloc.h+2| ... | ... | @@ -30,7 +30,9 @@ |
| 30 | 30 | * Be cautious about what is included and declared here. |
| 31 | 31 | */ |
| 32 | 32 | |
| 33 | #ifndef __MALLOC_NO_AVAILABILITY_MACROS__ | |
| 33 | 34 | #include <Availability.h> |
| 35 | #endif | |
| 34 | 36 | #include <sys/cdefs.h> |
| 35 | 37 | #if __has_include(<sys/_types/_size_t.h>) |
| 36 | 38 | #include <sys/_types/_size_t.h> |
lib/libc/include/any-darwin-any/malloc/_malloc_type.h+2| ... | ... | @@ -32,7 +32,9 @@ typedef unsigned long long malloc_type_id_t; |
| 32 | 32 | #if defined(__LP64__) /* MALLOC_TARGET_64BIT */ |
| 33 | 33 | |
| 34 | 34 | // Included from <malloc/_malloc.h> so carefully manage what we include here. |
| 35 | #ifndef __MALLOC_NO_AVAILABILITY_MACROS__ | |
| 35 | 36 | #include <Availability.h> /* __SPI_AVAILABLE */ |
| 37 | #endif | |
| 36 | 38 | #if __has_include(<sys/_types/_size_t.h>) |
| 37 | 39 | #include <sys/_types/_size_t.h> |
| 38 | 40 | #else |
lib/libc/include/any-darwin-any/malloc/malloc.h+15-11| ... | ... | @@ -24,10 +24,14 @@ |
| 24 | 24 | #ifndef _MALLOC_MALLOC_H_ |
| 25 | 25 | #define _MALLOC_MALLOC_H_ |
| 26 | 26 | |
| 27 | #if __has_include(<TargetConditionals.h>) | |
| 27 | 28 | #include <TargetConditionals.h> |
| 29 | #endif | |
| 28 | 30 | #include <malloc/_platform.h> |
| 31 | #ifndef __MALLOC_NO_AVAILABILITY_MACROS__ | |
| 29 | 32 | #include <Availability.h> |
| 30 | 33 | #include <os/availability.h> |
| 34 | #endif | |
| 31 | 35 | |
| 32 | 36 | #include <malloc/_ptrcheck.h> |
| 33 | 37 | __ptrcheck_abi_assume_single() |
| ... | ... | @@ -390,7 +394,7 @@ typedef union { |
| 390 | 394 | extern malloc_zone_t *malloc_default_zone(void); |
| 391 | 395 | 	/* The initial zone */ |
| 392 | 396 | |
| 393 | #if !0 && !0 | |
| 397 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 394 | 398 | extern malloc_zone_t *malloc_create_zone(vm_size_t start_size, unsigned flags); |
| 395 | 399 | 	/* Creates a new zone with default behavior and registers it */ |
| 396 | 400 | |
| ... | ... | @@ -422,7 +426,7 @@ extern void * __sized_by_or_null(size) malloc_zone_malloc(malloc_zone_t *zone, s |
| 422 | 426 | * if align is MALLOC_ZONE_MALLOC_DEFAULT_ALIGN. OS version 26.0 does not |
| 423 | 427 | * implement this exception. |
| 424 | 428 | * |
| 425 | * @param options | |
| 429 | * @param opts | |
| 426 | 430 | * A bitmask of options defining how the memory should be allocated. See the |
| 427 | 431 | * available bit values in the malloc_zone_malloc_options_t enum definition. |
| 428 | 432 | * |
| ... | ... | @@ -469,7 +473,7 @@ extern void * __sized_by_or_null(size) malloc_zone_memalign(malloc_zone_t *zone, |
| 469 | 473 | |
| 470 | 474 | /*********	Batch methods	************/ |
| 471 | 475 | |
| 472 | #if !0 && !0 | |
| 476 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 473 | 477 | extern unsigned malloc_zone_batch_malloc(malloc_zone_t *zone, size_t size, void * __unsafe_indexable * __counted_by(num_requested) results, unsigned num_requested); |
| 474 | 478 | 	/* Allocates num blocks of the same size; Returns the number truly allocated (may be 0) */ |
| 475 | 479 | |
| ... | ... | @@ -479,7 +483,7 @@ extern void malloc_zone_batch_free(malloc_zone_t *zone, void * __unsafe_indexabl |
| 479 | 483 | |
| 480 | 484 | /*********	Functions for libcache	************/ |
| 481 | 485 | |
| 482 | #if !0 && !0 | |
| 486 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 483 | 487 | extern malloc_zone_t *malloc_default_purgeable_zone(void) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0); |
| 484 | 488 | 	/* Returns a pointer to the default purgeable_zone. */ |
| 485 | 489 | |
| ... | ... | @@ -494,7 +498,7 @@ extern int malloc_make_nonpurgeable(void * __unsafe_indexable ptr) __OSX_AVAILAB |
| 494 | 498 | |
| 495 | 499 | /*********	Functions for zone implementors	************/ |
| 496 | 500 | |
| 497 | #if !0 && !0 | |
| 501 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 498 | 502 | extern void malloc_zone_register(malloc_zone_t *zone); |
| 499 | 503 | 	/* Registers a custom malloc zone; Should typically be called after a |
| 500 | 504 | 	 * malloc_zone_t has been filled in with custom methods by a client. See |
| ... | ... | @@ -512,7 +516,7 @@ extern void malloc_set_zone_name(malloc_zone_t *zone, const char * __null_termin |
| 512 | 516 | extern const char *malloc_get_zone_name(malloc_zone_t *zone); |
| 513 | 517 | 	/* Returns the name of a zone */ |
| 514 | 518 | |
| 515 | #if !0 && !0 | |
| 519 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 516 | 520 | size_t malloc_zone_pressure_relief(malloc_zone_t *zone, size_t goal) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); |
| 517 | 521 | 	/* malloc_zone_pressure_relief() advises the malloc subsystem that the process is under memory pressure and |
| 518 | 522 | 	 * that the subsystem should make its best effort towards releasing (i.e. munmap()-ing) "goal" bytes from "zone". |
| ... | ... | @@ -579,7 +583,7 @@ typedef struct malloc_introspection_t { |
| 579 | 583 | // verbose passed to print() |
| 580 | 584 | #define MALLOC_VERBOSE_PRINT_LEVEL	2 |
| 581 | 585 | |
| 582 | #if !0 && !0 | |
| 586 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 583 | 587 | extern void malloc_printf(const char * __null_terminated format, ...) __printflike(1,2); |
| 584 | 588 | 	/* Convenience for logging errors and warnings; |
| 585 | 589 | 	No allocation is performed during execution of this function; |
| ... | ... | @@ -589,7 +593,7 @@ extern void malloc_printf(const char * __null_terminated format, ...) __printfli |
| 589 | 593 | |
| 590 | 594 | /*********	Functions for performance tools	************/ |
| 591 | 595 | |
| 592 | #if !0 && !0 | |
| 596 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 593 | 597 | extern kern_return_t malloc_get_all_zones(task_t task, memory_reader_t reader, vm_address_t * __single * __counted_by(*count) addresses, unsigned *count); |
| 594 | 598 | 	/* Fills addresses and count with the addresses of the zones in task; |
| 595 | 599 | 	Note that the validity of the addresses returned correspond to the validity reader */ |
| ... | ... | @@ -606,7 +610,7 @@ extern boolean_t malloc_zone_check(malloc_zone_t *zone); |
| 606 | 610 | extern void malloc_zone_print(malloc_zone_t *zone, boolean_t verbose); |
| 607 | 611 | 	/* Prints summary on zone; if !zone, prints all zones */ |
| 608 | 612 | |
| 609 | #if !0 && !0 | |
| 613 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 610 | 614 | extern void malloc_zone_statistics(malloc_zone_t *zone, malloc_statistics_t *stats); |
| 611 | 615 | 	/* Fills statistics for zone; if !zone, sums up all zones */ |
| 612 | 616 | |
| ... | ... | @@ -625,7 +629,7 @@ struct mstats { |
| 625 | 629 | 	size_t	bytes_free; |
| 626 | 630 | }; |
| 627 | 631 | |
| 628 | #if !0 && !0 | |
| 632 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 629 | 633 | extern struct mstats mstats(void); |
| 630 | 634 | |
| 631 | 635 | extern boolean_t malloc_zone_enable_discharge_checking(malloc_zone_t *zone) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); |
| ... | ... | @@ -640,7 +644,7 @@ extern void malloc_zone_discharge(malloc_zone_t *zone, void * __unsafe_indexable |
| 640 | 644 | 	If discharge checking is off for the zone this function is a no-op. */ |
| 641 | 645 | #endif |
| 642 | 646 | |
| 643 | #if !0 && !0 | |
| 647 | #if !0 && !0 && !TARGET_OS_RTKIT | |
| 644 | 648 | #ifdef __BLOCKS__ |
| 645 | 649 | extern void malloc_zone_enumerate_discharged_pointers(malloc_zone_t *zone, void (^report_discharged)(void *memory, void *info)) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); |
| 646 | 650 | 	/* Calls report_discharged for each block that was registered using malloc_zone_discharge() but has not yet been freed. |
lib/libc/include/any-darwin-any/math.h+11-1| ... | ... | @@ -63,7 +63,15 @@ __BEGIN_DECLS |
| 63 | 63 | # define HUGE_VAL __builtin_huge_val() |
| 64 | 64 | # define HUGE_VALF __builtin_huge_valf() |
| 65 | 65 | # define HUGE_VALL __builtin_huge_vall() |
| 66 | # define NAN __builtin_nanf("0x7fc00000") | |
| 66 | # if defined(__has_feature) && __has_feature(modules) && defined(__has_include) && __has_include(<float.h>) | |
| 67 | __END_DECLS | |
| 68 | # define __need_infinity_nan | |
| 69 | # include <float.h> | |
| 70 | # undef __need_infinity_nan | |
| 71 | __BEGIN_DECLS | |
| 72 | # else | |
| 73 | # define NAN __builtin_nanf("0x7fc00000") | |
| 74 | # endif | |
| 67 | 75 | #else |
| 68 | 76 | # define HUGE_VAL 1e500 |
| 69 | 77 | # define HUGE_VALF 1e50f |
| ... | ... | @@ -71,7 +79,9 @@ __BEGIN_DECLS |
| 71 | 79 | # define NAN __nan() |
| 72 | 80 | #endif |
| 73 | 81 | |
| 82 | #if !defined(__GNUC__) || !defined(__has_feature) || !__has_feature(modules) || !defined(__has_include) || !__has_include(<float.h>) | |
| 74 | 83 | #define INFINITY HUGE_VALF |
| 84 | #endif | |
| 75 | 85 | |
| 76 | 86 | /****************************************************************************** |
| 77 | 87 | * Taxonomy of floating point data types * |
lib/libc/include/any-darwin-any/net/if.h+4-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* |
| 2 | * Copyright (c) 2000-2021 Apple Inc. All rights reserved. | |
| 2 | * Copyright (c) 2000-2026 Apple Inc. All rights reserved. | |
| 3 | 3 | * |
| 4 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
| 5 | 5 | * |
| ... | ... | @@ -143,6 +143,7 @@ struct if_clonereq { |
| 143 | 143 | #define IFCAP_CSUM_PARTIAL 0x02000 /* can offload partial checksum */ |
| 144 | 144 | #define IFCAP_CSUM_ZERO_INVERT 0x04000 /* can invert 0 to -0 (0xffff) */ |
| 145 | 145 | #define IFCAP_LRO_NUM_SEG 0x08000 /* NIC & driver can set the num of segments a LRO-packet is built of */ |
| 146 | #define IFCAP_IPSEC 0x10000 /* can do ipsec offload */ | |
| 146 | 147 | |
| 147 | 148 | #define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM) |
| 148 | 149 | #define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6) |
| ... | ... | @@ -150,7 +151,8 @@ struct if_clonereq { |
| 150 | 151 | #define IFCAP_VALID (IFCAP_HWCSUM | IFCAP_TSO | IFCAP_LRO | IFCAP_VLAN_MTU | \ |
| 151 | 152 | 	IFCAP_VLAN_HWTAGGING | IFCAP_JUMBO_MTU | IFCAP_AV | IFCAP_TXSTATUS | \ |
| 152 | 153 | 	IFCAP_SKYWALK | IFCAP_SW_TIMESTAMP | IFCAP_HW_TIMESTAMP | \ |
| 153 | 	IFCAP_CSUM_PARTIAL | IFCAP_CSUM_ZERO_INVERT | IFCAP_LRO_NUM_SEG) | |
| 154 | 	IFCAP_CSUM_PARTIAL | IFCAP_CSUM_ZERO_INVERT | IFCAP_LRO_NUM_SEG | \ | |
| 155 | 	IFCAP_IPSEC) | |
| 154 | 156 | |
| 155 | 157 | #define IFQ_MAXLEN 128 |
| 156 | 158 | #define IFNET_SLOWHZ 1 /* granularity is 1 second */ |
lib/libc/include/any-darwin-any/net/if_var.h+1| ... | ... | @@ -139,6 +139,7 @@ struct net_event_data { |
| 139 | 139 | #include <sys/_types/_timeval32.h> |
| 140 | 140 | #define IF_DATA_TIMEVAL timeval32 |
| 141 | 141 | #else |
| 142 | #include <sys/_types/_timeval.h> | |
| 142 | 143 | #define IF_DATA_TIMEVAL timeval |
| 143 | 144 | #endif |
| 144 | 145 |
lib/libc/include/any-darwin-any/objc/message.h+1-1| ... | ... | @@ -186,8 +186,8 @@ OBJC_EXPORT void |
| 186 | 186 | objc_msgSend_fp2ret(void /* id self, SEL op, ... */ ) |
| 187 | 187 | OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0); |
| 188 | 188 | |
| 189 | #pragma clang diagnostic pop | |
| 190 | 189 | # endif |
| 190 | #pragma clang diagnostic pop | |
| 191 | 191 | |
| 192 | 192 | // !OBJC_OLD_DISPATCH_PROTOTYPES |
| 193 | 193 | #else |
lib/libc/include/any-darwin-any/objc/runtime.h+22-3| ... | ... | @@ -1057,7 +1057,10 @@ method_getArgumentType(Method _Nonnull m, unsigned int index, |
| 1057 | 1057 | |
| 1058 | 1058 | OBJC_EXPORT struct objc_method_description * _Nonnull |
| 1059 | 1059 | method_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 | ||
| 1061 | 1064 | |
| 1062 | 1065 | /** |
| 1063 | 1066 | * Sets the implementation of a method. |
| ... | ... | @@ -1444,13 +1447,29 @@ protocol_addProperty(Protocol * _Nonnull proto, const char * _Nonnull name, |
| 1444 | 1447 | * |
| 1445 | 1448 | * @param outCount The number of names returned. |
| 1446 | 1449 | * |
| 1447 | * @return An array of C strings of names. Must be free()'d by caller. | |
| 1450 | * @return An array of C strings of names. The array contains @c *outCount | |
| 1451 | * pointers followed by a @c NULL terminator. You must free the array with | |
| 1452 | * @c free(). | |
| 1448 | 1453 | */ |
| 1449 | 1454 | OBJC_EXPORT const char * _Nonnull * _Nonnull |
| 1450 | 1455 | objc_copyImageNames(unsigned int * _Nullable outCount) |
| 1451 | 1456 | OBJC_AVAILABLE(10.5, 2.0, 9.0, 1.0, 2.0); |
| 1452 | 1457 | |
| 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 | */ | |
| 1468 | OBJC_EXPORT struct mach_header const *_Nonnull *_Nonnull | |
| 1469 | objc_copyImageHeaders(unsigned int * _Nullable outCount) | |
| 1470 | OBJC_AVAILABLE(27.0, 27.0, 27.0, 27.0, 27.0); | |
| 1471 | ||
| 1472 | /** | |
| 1454 | 1473 | * Returns the dynamic library name a class originated from. |
| 1455 | 1474 | * |
| 1456 | 1475 | * @param cls The class you are inquiring about. |
lib/libc/include/any-darwin-any/os/lock.h+4-1| ... | ... | @@ -57,7 +57,10 @@ __BEGIN_DECLS |
| 57 | 57 | * |
| 58 | 58 | * The values stored in the lock should be considered opaque and implementation |
| 59 | 59 | * defined, they contain thread ownership information that the system may use |
| 60 | * to attempt to resolve priority inversions. | |
| 60 | * to attempt to resolve priority inversions. However, it is guaranteed that an | |
| 61 | * unlocked lock with no other contending threads will have the value | |
| 62 | * OS_UNFAIR_LOCK_INIT, and so bytewise copying the value to a new location is | |
| 63 | * equivalent to initializing a new lock in the new location. | |
| 61 | 64 | * |
| 62 | 65 | * This lock must be unlocked from the same thread that locked it, attempts to |
| 63 | 66 | * unlock from a different thread will cause an assertion aborting the process. |
lib/libc/include/any-darwin-any/sys/_symbol_aliasing.h+24| ... | ... | @@ -593,6 +593,18 @@ |
| 593 | 593 | #define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_5(x) |
| 594 | 594 | #endif |
| 595 | 595 | |
| 596 | #if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 260600 | |
| 597 | #define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_6(x) x | |
| 598 | #else | |
| 599 | #define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_6(x) | |
| 600 | #endif | |
| 601 | ||
| 602 | #if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 270000 | |
| 603 | #define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_27_0(x) x | |
| 604 | #else | |
| 605 | #define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_27_0(x) | |
| 606 | #endif | |
| 607 | ||
| 596 | 608 | #if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000 |
| 597 | 609 | #define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x |
| 598 | 610 | #else |
| ... | ... | @@ -1061,3 +1073,15 @@ |
| 1061 | 1073 | #define __DARWIN_ALIAS_STARTING_MAC___MAC_26_5(x) |
| 1062 | 1074 | #endif |
| 1063 | 1075 | |
| 1076 | #if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260600 | |
| 1077 | #define __DARWIN_ALIAS_STARTING_MAC___MAC_26_6(x) x | |
| 1078 | #else | |
| 1079 | #define __DARWIN_ALIAS_STARTING_MAC___MAC_26_6(x) | |
| 1080 | #endif | |
| 1081 | ||
| 1082 | #if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 270000 | |
| 1083 | #define __DARWIN_ALIAS_STARTING_MAC___MAC_27_0(x) x | |
| 1084 | #else | |
| 1085 | #define __DARWIN_ALIAS_STARTING_MAC___MAC_27_0(x) | |
| 1086 | #endif | |
| 1087 |
lib/libc/include/any-darwin-any/sys/_types/_graftdmg_un.h+1| ... | ... | @@ -42,6 +42,7 @@ |
| 42 | 42 | #define SBC_PANIC_ON_AUTHFAIL 0x0008 /* On failure to authenticate, panic */ |
| 43 | 43 | #define SBC_STRICT_AUTH 0x0010 /* Strict authentication mode */ |
| 44 | 44 | #define SBC_PRESERVE_GRAFT 0x0020 /* Preserve graft itself until unmount */ |
| 45 | #define SBC_SKIP_AUTH 0x0040 /* No authentication mode (check root hash only) */ | |
| 45 | 46 | |
| 46 | 47 | /* Flag values for ungraftdmg */ |
| 47 | 48 | #define UNGRAFTDMG_NOFORCE 0x0000000000000002ULL /* Disallow ungraft if a non-dir vnode inside the graft is in use */ |
lib/libc/include/any-darwin-any/sys/aio.h+45-5| ... | ... | @@ -65,8 +65,14 @@ |
| 65 | 65 | struct aiocb { |
| 66 | 66 | 	int aio_fildes; /* File descriptor */ |
| 67 | 67 | 	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 | 	}; | |
| 70 | 76 | 	int aio_reqprio; /* Request priority offset */ |
| 71 | 77 | 	struct sigevent aio_sigevent; /* Signal number and value */ |
| 72 | 78 | 	int aio_lio_opcode; /* Operation to be performed */ |
| ... | ... | @@ -81,7 +87,7 @@ struct aiocb { |
| 81 | 87 | * none of the requested operations could be canceled since they are |
| 82 | 88 | * already complete. |
| 83 | 89 | */ |
| 84 | #define AIO_ALLDONE 0x1 | |
| 90 | #define AIO_ALLDONE 0x1 | |
| 85 | 91 | |
| 86 | 92 | /* all requested operations have been canceled */ |
| 87 | 93 | #define AIO_CANCELED 0x2 |
| ... | ... | @@ -92,14 +98,23 @@ struct aiocb { |
| 92 | 98 | */ |
| 93 | 99 | #define AIO_NOTCANCELED 0x4 |
| 94 | 100 | |
| 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 | ||
| 95 | 108 | |
| 96 | 109 | /* |
| 97 | 110 | * lio_listio operation options |
| 98 | 111 | */ |
| 99 | 112 | |
| 100 | #define LIO_NOP 0x0 /* option indicating that no transfer is requested */ | |
| 113 | #define LIO_NOP 0x0 /* option indicating that no transfer is requested */ | |
| 101 | 114 | #define LIO_READ 0x1 /* option requesting a read */ |
| 102 | 115 | #define LIO_WRITE 0x2 /* option requesting a write */ |
| 116 | #define LIO_READV 0x3 /* option requesting a vectored read */ | |
| 117 | #define LIO_WRITEV 0x4 /* option requesting a vectored write */ | |
| 103 | 118 | |
| 104 | 119 | /* |
| 105 | 120 | * lio_listio() modes |
| ... | ... | @@ -123,7 +138,12 @@ struct aiocb { |
| 123 | 138 | /* |
| 124 | 139 | * Maximum number of operations in single lio_listio call |
| 125 | 140 | */ |
| 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 | |
| 127 | 147 | |
| 128 | 148 | |
| 129 | 149 | /* |
| ... | ... | @@ -227,6 +247,26 @@ int aio_suspend( const struct aiocb *const aiocblist[], |
| 227 | 247 | */ |
| 228 | 248 | int aio_write( struct aiocb * aiocbp ); |
| 229 | 249 | |
| 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 | */ | |
| 258 | int 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 | */ | |
| 268 | int aio_writev( struct aiocb * aiocbp ); | |
| 269 | ||
| 230 | 270 | /* |
| 231 | 271 | * Initiate a list of I/O requests with a single function call. The mode |
| 232 | 272 | * argument takes one of the values LIO_WAIT or LIO_NOWAIT and determines whether |
lib/libc/include/any-darwin-any/sys/event.h+2-1| ... | ... | @@ -77,8 +77,9 @@ |
| 77 | 77 | #define EVFILT_USER (-10) /* User events */ |
| 78 | 78 | #define EVFILT_VM (-12) /* Virtual memory events */ |
| 79 | 79 | #define EVFILT_EXCEPT (-15) /* Exception events */ |
| 80 | #define EVFILT_LIO (-19) /* attached to lio requests */ | |
| 80 | 81 | |
| 81 | #define EVFILT_SYSCOUNT 18 | |
| 82 | #define EVFILT_SYSCOUNT 19 | |
| 82 | 83 | #define EVFILT_THREADMARKER EVFILT_SYSCOUNT /* Internal use only */ |
| 83 | 84 | |
| 84 | 85 | #pragma pack(4) |
lib/libc/include/any-darwin-any/sys/fcntl.h+27-8| ... | ... | @@ -155,6 +155,7 @@ |
| 155 | 155 | |
| 156 | 156 | |
| 157 | 157 | #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL |
| 158 | #define O_CLOFORK 0x08000000 /* implicitly set FD_CLOFORK */ | |
| 158 | 159 | #define O_NOFOLLOW_ANY 0x20000000 /* no symlinks allowed in path */ |
| 159 | 160 | #endif |
| 160 | 161 | |
| ... | ... | @@ -328,18 +329,17 @@ |
| 328 | 329 | #define F_ADDFILESUPPL 104 /* Add supplemental signature from same file with fd reference to original */ |
| 329 | 330 | #define F_GETSIGSINFO 105 /* Look up code signature information attached to a file or slice */ |
| 330 | 331 | |
| 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 */ | |
| 333 | 334 | |
| 334 | 335 | #define F_SETLEASE_ARG(t, oc) ((t) | ((oc) << 2)) |
| 335 | 336 | |
| 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 */ | |
| 337 | 338 | |
| 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 */ | |
| 342 | 341 | |
| 342 | #define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */ | |
| 343 | 343 | |
| 344 | 344 | // FS-specific fcntl()'s numbers begin at 0x00010000 and go up |
| 345 | 345 | #define FCNTL_FS_SPECIFIC_BASE 0x00010000 |
| ... | ... | @@ -350,8 +350,15 @@ |
| 350 | 350 | #define F_DUPFD_CLOEXEC 67 /* mark the dup with FD_CLOEXEC */ |
| 351 | 351 | #endif |
| 352 | 352 | |
| 353 | #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL | |
| 354 | #define F_DUPFD_CLOFORK 115 /* mark the dup with FD_CLOFORK */ | |
| 355 | #endif | |
| 356 | ||
| 357 | #define F_RDADVISEV 116 /* Issue multiple advisory reads async with no copy to user */ | |
| 358 | ||
| 353 | 359 | /* file descriptor flags (F_GETFD, F_SETFD) */ |
| 354 | 360 | #define FD_CLOEXEC 1 /* close-on-exec flag */ |
| 361 | #define FD_CLOFORK 2 /* close-on-fork flag */ | |
| 355 | 362 | |
| 356 | 363 | /* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */ |
| 357 | 364 | #define F_RDLCK 1 /* shared or read lock */ |
| ... | ... | @@ -416,12 +423,24 @@ struct flocktimeout { |
| 416 | 423 | * information passed by user to system |
| 417 | 424 | */ |
| 418 | 425 | |
| 419 | ||
| 420 | 426 | struct radvisory { |
| 421 | 427 | 	off_t ra_offset; |
| 422 | 428 | 	int ra_count; |
| 423 | 429 | }; |
| 424 | 430 | |
| 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 | ||
| 438 | struct radvisoryv { | |
| 439 | 	unsigned int rav_flags; | |
| 440 | 	unsigned int rav_count; | |
| 441 | 	struct radvisory *rav_ranges; | |
| 442 | }; | |
| 443 | ||
| 425 | 444 | |
| 426 | 445 | /* |
| 427 | 446 | * detached code signatures data type - |
lib/libc/include/any-darwin-any/sys/paths.h+5-2| ... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 | #define _PATH_RSRCNAME "rsrc" |
| 41 | 41 | #define _PATH_RSRCFORKSPEC "/..namedfork/rsrc" |
| 42 | 42 | |
| 43 | /* Prefix Path Namespace */ | |
| 43 | /* Path resolution modifiers (added either as prefixes to a path or as arguments to system calls) */ | |
| 44 | 44 | #define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */ |
| 45 | 45 | #define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */ |
| 46 | 46 | #define RESOLVE_LOCAL 0x00000004 /* prevent a path lookup into a network filesystem */ |
| ... | ... | @@ -50,8 +50,11 @@ |
| 50 | 50 | #define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */ |
| 51 | 51 | #define RESOLVE_NOQUARANTINE 0x00000080 /* prevent operating on a quarantined file */ |
| 52 | 52 | #define RESOLVE_NOUNION 0x00000100 /* prevent a path lookup on filesystem with MNT_UNION from traversing to covered filesystem */ |
| 53 | #define RESOLVE_BENEATH 0x00000200 /* prevent relative path lookups from going above a specified directory */ | |
| 54 | #define RESOLVE_NOCROSSMOUNT 0x00000400 /* prevent a path lookup from traversing to different filesystems */ | |
| 53 | 55 | |
| 54 | #define RESOLVE_VALIDMASK 0x000001FF | |
| 56 | #define RESOLVE_VALIDMASK 0x000007FF | |
| 57 | #define RESOLVE_RELATIVE_MASK (RESOLVE_BENEATH | RESOLVE_NOCROSSMOUNT) | |
| 55 | 58 | |
| 56 | 59 | |
| 57 | 60 | #endif /* __APPLE_API_PRIVATE */ |
lib/libc/include/any-darwin-any/sys/resource.h+9-2| ... | ... | @@ -414,7 +414,10 @@ struct rusage_info_v6 { |
| 414 | 414 | 	uint64_t ri_neural_footprint; |
| 415 | 415 | 	uint64_t ri_lifetime_max_neural_footprint; |
| 416 | 416 | 	uint64_t ri_interval_max_neural_footprint; |
| 417 | 	uint64_t ri_reserved[9]; | |
| 417 | 	uint64_t ri_conclave_footprint; | |
| 418 | 	uint64_t ri_page_wait_time_mach; | |
| 419 | 	uint64_t ri_page_cache_hits; | |
| 420 | 	uint64_t ri_reserved[6]; | |
| 418 | 421 | }; |
| 419 | 422 | |
| 420 | 423 | typedef struct rusage_info_v6 rusage_info_current; |
| ... | ... | @@ -509,13 +512,16 @@ struct proc_rlimit_control_wakeupmon { |
| 509 | 512 | #define IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES 3 |
| 510 | 513 | #define IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME 4 |
| 511 | 514 | #define IOPOL_TYPE_VFS_TRIGGER_RESOLVE 5 |
| 512 | #define IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION 6 | |
| 515 | #define IOPOL_TYPE_VFS_CONTENT_PROTECTION 6 | |
| 513 | 516 | #define IOPOL_TYPE_VFS_IGNORE_PERMISSIONS 7 |
| 514 | 517 | #define IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE 8 |
| 515 | 518 | #define IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES 9 |
| 516 | 519 | #define IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY 10 |
| 517 | 520 | #define IOPOL_TYPE_VFS_ENTITLED_RESERVE_ACCESS 14 |
| 518 | 521 | |
| 522 | /* compatibility with older names */ | |
| 523 | #define IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION IOPOL_TYPE_VFS_CONTENT_PROTECTION | |
| 524 | ||
| 519 | 525 | /* scope */ |
| 520 | 526 | #define IOPOL_SCOPE_PROCESS 0 |
| 521 | 527 | #define IOPOL_SCOPE_THREAD 1 |
| ... | ... | @@ -551,6 +557,7 @@ struct proc_rlimit_control_wakeupmon { |
| 551 | 557 | |
| 552 | 558 | #define IOPOL_VFS_CONTENT_PROTECTION_DEFAULT 0 |
| 553 | 559 | #define IOPOL_VFS_CONTENT_PROTECTION_IGNORE 1 |
| 560 | #define IOPOL_VFS_CONTENT_PROTECTION_STRICT 2 | |
| 554 | 561 | |
| 555 | 562 | #define IOPOL_VFS_IGNORE_PERMISSIONS_OFF 0 |
| 556 | 563 | #define IOPOL_VFS_IGNORE_PERMISSIONS_ON 1 |
lib/libc/include/any-darwin-any/sys/signal.h+1| ... | ... | @@ -378,6 +378,7 @@ struct sigstack { |
| 378 | 378 | #define sigmask(m) (1 << ((m)-1)) |
| 379 | 379 | |
| 380 | 380 | |
| 381 | ||
| 381 | 382 | #define BADSIG SIG_ERR |
| 382 | 383 | |
| 383 | 384 | #endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */ |
lib/libc/include/any-darwin-any/sys/socket.h+2| ... | ... | @@ -189,6 +189,8 @@ |
| 189 | 189 | |
| 190 | 190 | #define SO_BINDTODEVICE 0x1134 /* bind socket to a network device (max valid option length IFNAMSIZ) */ |
| 191 | 191 | |
| 192 | #define SO_MAX_PACING_RATE 0x1136 /* Define per-socket maximum pacing rate in bytes/sec */ | |
| 193 | ||
| 192 | 194 | /* When adding new socket-options, you need to make sure MPTCP supports these as well! */ |
| 193 | 195 | |
| 194 | 196 | /* |
lib/libc/include/any-darwin-any/sys/spawn.h+4-4| ... | ... | @@ -74,10 +74,10 @@ |
| 74 | 74 | #define POSIX_SPAWN_PCONTROL_SUSPEND 0x0002 |
| 75 | 75 | #define POSIX_SPAWN_PCONTROL_KILL 0x0003 |
| 76 | 76 | |
| 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 | |
| 81 | 81 | |
| 82 | 82 | #endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */ |
| 83 | 83 |
lib/libc/include/any-darwin-any/sys/stat.h+6| ... | ... | @@ -402,6 +402,12 @@ int futimens(int __fd, const struct timespec __times[2]) __API_AVAILABLE(mac |
| 402 | 402 | int utimensat(int __fd, const char *__path, const struct timespec __times[2], |
| 403 | 403 | int __flag) __API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0), watchos(4.0)); |
| 404 | 404 | #endif |
| 405 | ||
| 406 | #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL | |
| 407 | int fchflagsat(int, const char *, __uint32_t, int) __API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0)); | |
| 408 | mode_t getumask(void) __API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0)); | |
| 409 | #endif | |
| 410 | ||
| 405 | 411 | __END_DECLS |
| 406 | 412 | |
| 407 | 413 | #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE) |
lib/libc/include/any-darwin-any/sys/sysctl.h+8| ... | ... | @@ -698,6 +698,14 @@ extern struct loadavg averunnable; |
| 698 | 698 | * hw.perflevelN.l2perflevels - These values provide a bitmap, where bit number of CPUs of the same type that share L2 and L3 caches. |
| 699 | 699 | * hw.perflevelN.l3perflevels - If a cache is not present then the selector will return and error. |
| 700 | 700 | * |
| 701 | */ | |
| 702 | /* | |
| 703 | * hw.perflevelN.sharesl2 - A bitmap of other perflevel indexes that share L2 cache with | |
| 704 | * - perflevel N. Bit K is set if perflevel K shares L2 cache with perflevel N. Only exists | |
| 705 | * - for perflevels that share L2 cache with at least one other perflevel. | |
| 706 | * | |
| 707 | */ | |
| 708 | /* | |
| 701 | 709 | * hw.packages - Gives the number of processor packages. |
| 702 | 710 | * |
| 703 | 711 | * These are the selectors for optional processor features for specific processors. Selectors that return errors are not support |
lib/libc/include/any-darwin-any/sys/unistd.h+5| ... | ... | @@ -213,6 +213,11 @@ ssize_t readlinkat(int, const char *, char *, size_t) __OSX_AVAILABLE_STARTING |
| 213 | 213 | int symlinkat(const char *, int, const char *) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0); |
| 214 | 214 | int unlinkat(int, const char *, int) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0); |
| 215 | 215 | |
| 216 | __API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0), visionos(27.0)) | |
| 217 | int dup3(int, int, int); | |
| 218 | __API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0), visionos(27.0)) | |
| 219 | int pipe2(int [2], int); | |
| 220 | ||
| 216 | 221 | __END_DECLS |
| 217 | 222 | |
| 218 | 223 | #endif /* __DARWIN_C_LEVEL >= 200809L */ |
lib/libc/include/any-darwin-any/sys/wait.h+1-1| ... | ... | @@ -133,7 +133,7 @@ typedef enum { |
| 133 | 133 | #endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */ |
| 134 | 134 | |
| 135 | 135 | /* These macros are permited, as they are in the implementation namespace */ |
| 136 | #define _WSTATUS(x) (_W_INT(x) & 0177) | |
| 136 | #define _WSTATUS(x) (_W_INT(x) & 127) | |
| 137 | 137 | #define _WSTOPPED 0177 /* _WSTATUS if process is stopped */ |
| 138 | 138 | |
| 139 | 139 | /* |
lib/libc/include/any-darwin-any/xpc/base.h+117-125| ... | ... | @@ -35,70 +35,131 @@ |
| 35 | 35 | |
| 36 | 36 | __BEGIN_DECLS |
| 37 | 37 | |
| 38 | #ifndef __XPC_TEST__ | |
| 39 | #define __XPC_TEST__ 0 | |
| 40 | #endif | |
| 41 | ||
| 42 | #ifndef XPC_CONCAT | |
| 43 | #define XPC_CONCAT(_A, _B) XPC_CONCAT_(_A, _B) | |
| 44 | #define XPC_CONCAT_(_A, _B) _A ## _B | |
| 45 | #endif | |
| 46 | ||
| 38 | 47 | #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 | |
| 69 | 117 | #else |
| 70 | #define XPC_NOESCAPE | |
| 118 | #define XPC_ABORTLIKE | |
| 71 | 119 | #endif |
| 72 | 120 | |
| 121 | // unavailable(message) | |
| 73 | 122 | #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 | |
| 76 | 125 | #define XPC_UNAVAILABLE(m) XPC_NOIMPL |
| 77 | #endif // __has_extension(attribute_unavailable_with_message) | |
| 126 | #endif | |
| 78 | 127 | |
| 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") | |
| 82 | 140 | #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 | |
| 89 | 144 | #ifndef XPC_TESTEXPORT |
| 90 | 145 | #define XPC_TESTEXPORT XPC_NOEXPORT |
| 91 | 146 | #endif // XPC_TESTEXPORT |
| 92 | 147 | |
| 93 | #if defined(__XPC_TEST__) && __XPC_TEST__ | |
| 148 | // XPC_TESTCONST | |
| 149 | #ifndef XPC_TESTCONST | |
| 150 | #define XPC_TESTCONST XPC_CONST | |
| 151 | #endif // XPC_TESTCONST | |
| 152 | ||
| 153 | #if __XPC_TEST__ | |
| 94 | 154 | #define XPC_TESTSTATIC |
| 95 | 155 | #define XPC_TESTEXTERN extern |
| 96 | 156 | #define XPC_TESTNORETURN |
| 97 | #else // defined(__XPC_TEST__) && __XPC_TEST__ | |
| 157 | #else // __XPC_TEST__ | |
| 98 | 158 | #define XPC_TESTSTATIC static |
| 99 | 159 | #define XPC_TESTNORETURN XPC_NORETURN |
| 100 | #endif // defined(__XPC_TEST__) && __XPC_TEST__ | |
| 160 | #endif // __XPC_TEST__ | |
| 101 | 161 | |
| 162 | #pragma mark ARC | |
| 102 | 163 | #if __has_feature(objc_arc) |
| 103 | 164 | #define XPC_GIVES_REFERENCE __strong |
| 104 | 165 | #define XPC_UNRETAINED __unsafe_unretained |
| ... | ... | @@ -117,72 +178,8 @@ __BEGIN_DECLS |
| 117 | 178 | #define XPC_BRIDGEREF_END(xo) (xo) |
| 118 | 179 | #endif // __has_feature(objc_arc) |
| 119 | 180 | |
| 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__ | |
| 185 | 181 | |
| 182 | #pragma mark Nullability | |
| 186 | 183 | #if __has_feature(assume_nonnull) |
| 187 | 184 | #define XPC_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin") |
| 188 | 185 | #define XPC_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end") |
| ... | ... | @@ -197,10 +194,13 @@ __BEGIN_DECLS |
| 197 | 194 | #define XPC_NONNULL_ARRAY |
| 198 | 195 | #endif |
| 199 | 196 | |
| 197 | #pragma mark Bounds safety attributes | |
| 200 | 198 | #if defined(__has_ptrcheck) && __has_ptrcheck |
| 201 | 199 | #define XPC_PTR_ASSUMES_SINGLE __ptrcheck_abi_assume_single() |
| 202 | 200 | #define XPC_SINGLE __single |
| 203 | 201 | #define XPC_UNSAFE_INDEXABLE __unsafe_indexable |
| 202 | // This should be __null_terminated but because it was originally defined this | |
| 203 | // way, it will cause build failures to fix | |
| 204 | 204 | #define XPC_CSTRING XPC_UNSAFE_INDEXABLE |
| 205 | 205 | #define XPC_SIZEDBY(N) __sized_by(N) |
| 206 | 206 | #define XPC_COUNTEDBY(N) __counted_by(N) |
| ... | ... | @@ -219,33 +219,25 @@ __BEGIN_DECLS |
| 219 | 219 | #define XPC_UNSAFE_FORGE_SINGLE(_type, _ptr) ((_type)(_ptr)) |
| 220 | 220 | #endif // defined(__has_ptrcheck) ** __has_ptrcheck |
| 221 | 221 | |
| 222 | #pragma mark Enums | |
| 223 | // XPC_FLAGS_ENUM | |
| 222 | 224 | #ifdef OS_CLOSED_OPTIONS |
| 223 | 225 | #define XPC_FLAGS_ENUM(_name, _type, ...) \ |
| 224 | 226 | 		OS_CLOSED_OPTIONS(_name, _type, __VA_ARGS__) |
| 225 | #else // OS_CLOSED_ENUM | |
| 227 | #else | |
| 226 | 228 | #define XPC_FLAGS_ENUM(_name, _type, ...) \ |
| 227 | 229 | 		OS_ENUM(_name, _type, __VA_ARGS__) |
| 228 | #endif // OS_CLOSED_ENUM | |
| 230 | #endif | |
| 229 | 231 | |
| 232 | // XPC_ENUM | |
| 230 | 233 | #ifdef OS_CLOSED_ENUM |
| 231 | 234 | #define XPC_ENUM(_name, _type, ...) \ |
| 232 | 235 | 		OS_CLOSED_ENUM(_name, _type, __VA_ARGS__) |
| 233 | #else // OS_CLOSED_ENUM | |
| 236 | #else | |
| 234 | 237 | #define XPC_ENUM(_name, _type, ...) \ |
| 235 | 238 | 		OS_ENUM(_name, _type, __VA_ARGS__) |
| 236 | #endif // OS_CLOSED_ENUM | |
| 237 | ||
| 238 | #if __has_attribute(swift_name) | |
| 239 | # define XPC_SWIFT_NAME(_name) __attribute__((swift_name(_name))) | |
| 240 | #else | |
| 241 | # define XPC_SWIFT_NAME(_name) // __has_attribute(swift_name) | |
| 242 | 239 | #endif |
| 243 | 240 | |
| 244 | #define XPC_SWIFT_UNAVAILABLE(msg) __swift_unavailable(msg) | |
| 245 | #define XPC_SWIFT_NOEXPORT XPC_SWIFT_UNAVAILABLE("Unavailable in Swift from the XPC C Module") | |
| 246 | ||
| 247 | #define XPC_SWIFT_SENDABLE __attribute__((__swift_attr__("@Sendable"))) | |
| 248 | ||
| 249 | 241 | __END_DECLS |
| 250 | 242 | |
| 251 | 243 | #endif // __XPC_BASE_H__ |
tools/fetch_them_macos_headers.zig+1| ... | ... | @@ -24,6 +24,7 @@ const OsVer = enum(u32) { |
| 24 | 24 | sonoma = 14, |
| 25 | 25 | sequoia = 15, |
| 26 | 26 | tahoe = 26, |
| 27 | golden_gate = 27, | |
| 27 | 28 | }; |
| 28 | 29 | |
| 29 | 30 | const Target = struct { |