diff --git a/lib/libc/darwin/SDKSettings.json b/lib/libc/darwin/SDKSettings.json index 558b8e78c1..60260357d6 100644 --- a/lib/libc/darwin/SDKSettings.json +++ b/lib/libc/darwin/SDKSettings.json @@ -1 +1 @@ -{"MinimalDisplayName":"26.2"} +{"MinimalDisplayName":"26.4"} diff --git a/lib/libc/darwin/libSystem.tbd b/lib/libc/darwin/libSystem.tbd index 57efb29c6c..2954d76d58 100644 --- a/lib/libc/darwin/libSystem.tbd +++ b/lib/libc/darwin/libSystem.tbd @@ -1,12 +1,10 @@ --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/libSystem.B.dylib' current-version: 1356 reexported-libraries: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] libraries: [ '/usr/lib/system/libcache.dylib', '/usr/lib/system/libcommonCrypto.dylib', '/usr/lib/system/libcompiler_rt.dylib', '/usr/lib/system/libcopyfile.dylib', '/usr/lib/system/libcorecrypto.dylib', '/usr/lib/system/libdispatch.dylib', @@ -38,23 +36,19 @@ exports: 'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction', 'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink', 'R8289209$_write' ] - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ ___crashreporter_info__, _libSystem_init_after_boot_tasks_4launchd, _mach_init_routine ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libcache.dylib' current-version: 95 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _cache_create, _cache_destroy, _cache_get, _cache_get_and_retain, _cache_get_cost_hint, _cache_get_count_hint, _cache_get_info, _cache_get_info_for_key, _cache_get_info_for_keys, _cache_get_minimum_values_hint, @@ -69,17 +63,14 @@ exports: _cache_value_make_purgeable_cb ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libcommonCrypto.dylib' current-version: 65535 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _CCAESCmac, _CCAESCmacCreate, _CCAESCmacDestroy, _CCAESCmacFinal, _CCAESCmacOutputSizeFromContext, _CCAESCmacUpdate, _CCBigNumAdd, _CCBigNumAddI, _CCBigNumBitCount, _CCBigNumByteCount, _CCBigNumClear, @@ -382,28 +373,23 @@ exports: _atomic_signal_fence, _atomic_thread_fence ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libcopyfile.dylib' parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _copyfile, _copyfile_state_alloc, _copyfile_state_free, _copyfile_state_get, _copyfile_state_set, _fcopyfile, _xattr_flags_from_name, _xattr_intent_with_flags, _xattr_name_with_flags, _xattr_name_without_flags, _xattr_preserve_for_intent ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libcorecrypto.dylib' -current-version: 1922.60.11 +current-version: 1922.101.2 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - targets: [ x86_64-macos, x86_64-maccatalyst ] @@ -415,8 +401,7 @@ exports: _ccaes_intel_xts_encrypt_aesni_mode, _ccaes_intel_xts_encrypt_opt_mode, _ccsha1_vng_intel_SupplementalSSE3_di, _ccsha224_vng_intel_SupplementalSSE3_di, _ccsha256_vng_intel_SupplementalSSE3_di ] - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _CCEC_FAULT_CANARY, _CCMLDSA_FAULT_CANARY, _CCRSA_PKCS1_FAULT_CANARY, _CCRSA_PSS_FAULT_CANARY, _CCSS_PRIME_P192, _CCSS_PRIME_P224, _CCSS_PRIME_P256, _CCSS_PRIME_P384, _CCSS_PRIME_P521, _cc_abort, @@ -561,15 +546,16 @@ exports: _ccec_rfc6637_unwrap_sha512_kek_aes256, _ccec_rfc6637_wrap_key, _ccec_rfc6637_wrap_key_diversified, _ccec_rfc6637_wrap_key_size, _ccec_rfc6637_wrap_sha256_kek_aes128, _ccec_rfc6637_wrap_sha512_kek_aes256, - _ccec_sign, _ccec_sign_composite, _ccec_sign_composite_msg, - _ccec_sign_msg, _ccec_signature_r_s_size, _ccec_unblind, _ccec_validate_pub, - _ccec_verify, _ccec_verify_composite, _ccec_verify_composite_digest, - _ccec_verify_composite_msg, _ccec_verify_digest, _ccec_verify_msg, - _ccec_x963_export, _ccec_x963_import_priv, _ccec_x963_import_priv_size, - _ccec_x963_import_pub, _ccec_x963_import_pub_size, _ccecb_block_size, - _ccecb_context_size, _ccecb_init, _ccecb_one_shot, _ccecb_one_shot_explicit, - _ccecb_update, _ccecdh_compute_shared_secret, _ccecdh_generate_key, - _ccecies_decrypt_gcm, _ccecies_decrypt_gcm_composite, _ccecies_decrypt_gcm_from_shared_secret, + _ccec_sign, _ccec_sign_composite, _ccec_sign_composite_hedged, + _ccec_sign_composite_msg, _ccec_sign_msg, _ccec_signature_r_s_size, + _ccec_unblind, _ccec_validate_pub, _ccec_verify, _ccec_verify_composite, + _ccec_verify_composite_digest, _ccec_verify_composite_msg, + _ccec_verify_digest, _ccec_verify_msg, _ccec_x963_export, + _ccec_x963_import_priv, _ccec_x963_import_priv_size, _ccec_x963_import_pub, + _ccec_x963_import_pub_size, _ccecb_block_size, _ccecb_context_size, + _ccecb_init, _ccecb_one_shot, _ccecb_one_shot_explicit, _ccecb_update, + _ccecdh_compute_shared_secret, _ccecdh_generate_key, _ccecies_decrypt_gcm, + _ccecies_decrypt_gcm_composite, _ccecies_decrypt_gcm_from_shared_secret, _ccecies_decrypt_gcm_plaintext_size, _ccecies_decrypt_gcm_plaintext_size_cp, _ccecies_decrypt_gcm_setup, _ccecies_encrypt_gcm, _ccecies_encrypt_gcm_ciphertext_size, _ccecies_encrypt_gcm_composite, _ccecies_encrypt_gcm_from_shared_secret, @@ -715,23 +701,27 @@ exports: _ccsha1_ltc_di, _ccsha224_di, _ccsha224_ltc_di, _ccsha256_di, _ccsha256_ltc_di, _ccsha384_di, _ccsha384_ltc_di, _ccsha3_224_di, _ccsha3_256_di, _ccsha3_384_di, _ccsha3_512_di, _ccsha512_256_di, - _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccsigma_clear, + _ccsha512_256_ltc_di, _ccsha512_di, _ccsha512_ltc_di, _ccshake128, + _ccshake128_xi, _ccshake256, _ccshake256_xi, _ccsigma_clear, _ccsigma_clear_key, _ccsigma_compute_mac, _ccsigma_derive_session_keys, - _ccsigma_exclave_pairing_info, _ccsigma_export_key_share, - _ccsigma_import_peer_key_share, _ccsigma_import_peer_verification_key, - _ccsigma_import_signing_key, _ccsigma_init, _ccsigma_kex_init_ctx, - _ccsigma_kex_resp_ctx, _ccsigma_mfi_info, _ccsigma_mfi_nvm_info, - _ccsigma_open, _ccsigma_peer_role, _ccsigma_seal, _ccsigma_set_signing_function, - _ccsigma_sign, _ccsigma_verify, _ccsiv_aad, _ccsiv_block_size, - _ccsiv_ciphertext_size, _ccsiv_context_size, _ccsiv_crypt, - _ccsiv_hmac_aad, _ccsiv_hmac_block_size, _ccsiv_hmac_ciphertext_size, - _ccsiv_hmac_context_size, _ccsiv_hmac_crypt, _ccsiv_hmac_init, - _ccsiv_hmac_one_shot, _ccsiv_hmac_plaintext_size, _ccsiv_hmac_reset, - _ccsiv_hmac_set_nonce, _ccsiv_init, _ccsiv_one_shot, _ccsiv_plaintext_size, - _ccsiv_reset, _ccsiv_set_nonce, _ccspake_cp_256, _ccspake_cp_256_rfc, - _ccspake_cp_384, _ccspake_cp_384_rfc, _ccspake_cp_521, _ccspake_cp_521_rfc, - _ccspake_generate_L, _ccspake_get_session_key, _ccspake_kex_generate, - _ccspake_kex_process, _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256, + _ccsigma_exclave_pairing_info, _ccsigma_exclave_pairing_session_info, + _ccsigma_export_key_share, _ccsigma_import_peer_key_share, + _ccsigma_import_peer_verification_key, _ccsigma_import_signing_key, + _ccsigma_init, _ccsigma_kex_init_ctx, _ccsigma_kex_resp_ctx, + _ccsigma_mfi_info, _ccsigma_mfi_nvm_info, _ccsigma_open, _ccsigma_peer_role, + _ccsigma_seal, _ccsigma_session_clear, _ccsigma_session_export, + _ccsigma_session_import, _ccsigma_session_init, _ccsigma_session_open, + _ccsigma_session_seal, _ccsigma_set_signing_function, _ccsigma_sign, + _ccsigma_verify, _ccsiv_aad, _ccsiv_block_size, _ccsiv_ciphertext_size, + _ccsiv_context_size, _ccsiv_crypt, _ccsiv_hmac_aad, _ccsiv_hmac_block_size, + _ccsiv_hmac_ciphertext_size, _ccsiv_hmac_context_size, _ccsiv_hmac_crypt, + _ccsiv_hmac_init, _ccsiv_hmac_one_shot, _ccsiv_hmac_plaintext_size, + _ccsiv_hmac_reset, _ccsiv_hmac_set_nonce, _ccsiv_init, _ccsiv_one_shot, + _ccsiv_plaintext_size, _ccsiv_reset, _ccsiv_set_nonce, _ccspake_cp_256, + _ccspake_cp_256_rfc, _ccspake_cp_384, _ccspake_cp_384_rfc, + _ccspake_cp_521, _ccspake_cp_521_rfc, _ccspake_generate_L, + _ccspake_get_session_key, _ccspake_kex_generate, _ccspake_kex_process, + _ccspake_mac_compute, _ccspake_mac_hkdf_cmac_aes128_sha256, _ccspake_mac_hkdf_hmac_sha256, _ccspake_mac_hkdf_hmac_sha512, _ccspake_mac_verify_and_get_session_key, _ccspake_prover_init, _ccspake_prover_initialize, _ccspake_reduce_w, _ccspake_reduce_w_RFC9383, @@ -761,13 +751,14 @@ exports: _ccvrf_sizeof_public_key, _ccvrf_sizeof_secret_key, _ccvrf_verify, _ccwrap_auth_decrypt, _ccwrap_auth_decrypt_withiv, _ccwrap_auth_encrypt, _ccwrap_auth_encrypt_withiv, _ccwrap_unwrapped_size, _ccwrap_wrapped_size, - _ccxts_block_size, _ccxts_context_size, _ccxts_init, _ccxts_one_shot, - _ccxts_set_tweak, _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit, - _ccz_bitlen, _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod, - _ccz_expmod, _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one, - _ccz_is_prime, _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod, - _ccz_mul, _ccz_muli, _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits, - _ccz_read_radix, _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity, + _ccxof_absorb, _ccxof_init, _ccxof_squeeze, _ccxts_block_size, + _ccxts_context_size, _ccxts_init, _ccxts_one_shot, _ccxts_set_tweak, + _ccxts_update, _ccz_add, _ccz_addi, _ccz_bit, _ccz_bitlen, + _ccz_capacity, _ccz_cmp, _ccz_cmpi, _ccz_divmod, _ccz_expmod, + _ccz_free, _ccz_init, _ccz_is_negative, _ccz_is_one, _ccz_is_prime, + _ccz_is_zero, _ccz_lsl, _ccz_lsr, _ccz_mod, _ccz_mul, _ccz_muli, + _ccz_mulmod, _ccz_n, _ccz_neg, _ccz_random_bits, _ccz_read_radix, + _ccz_read_uint, _ccz_set, _ccz_set_bit, _ccz_set_capacity, _ccz_set_n, _ccz_set_sign, _ccz_seti, _ccz_sign, _ccz_size, _ccz_sub, _ccz_subi, _ccz_trailing_zeros, _ccz_write_int, _ccz_write_int_size, _ccz_write_radix, _ccz_write_radix_size, @@ -775,7 +766,7 @@ exports: _cczp_bitlen, _cczp_inv, _cczp_mod, _cczp_mul, _cczp_n, _cczp_prime, _cczp_sub, _csss_shamir_share_bag_can_recover_secret, _fipspost_post, _fipspost_trace_vtable, _map_to_curve_sswu ] - - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] + - targets: [ arm64e-macos, arm64e-maccatalyst ] symbols: [ _ccaes_arm_cbc_decrypt_mode, _ccaes_arm_cbc_encrypt_mode, _ccaes_arm_cfb_decrypt_mode, _ccaes_arm_cfb_encrypt_mode, _ccaes_arm_ecb_decrypt_mode, _ccaes_arm_ecb_encrypt_mode, @@ -786,17 +777,14 @@ exports: _ccsha512_vng_arm_hw_di ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libdispatch.dylib' -current-version: 1542.0.4 +current-version: 1542.100.32 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ '$ld$hide$os10.12$_dispatch_assert_queue', '$ld$hide$os10.12$_dispatch_assert_queue_not', '$ld$hide$os10.12$_dispatch_queue_create_with_target', __dispatch_begin_NSAutoReleasePool, __dispatch_bug, __dispatch_data_destructor_free, __dispatch_data_destructor_munmap, @@ -978,49 +966,55 @@ exports: __dyld_find_protocol_conformance, __dyld_find_protocol_conformance_on_disk, __dyld_find_unwind_sections, __dyld_for_each_objc_class, __dyld_for_each_objc_protocol, __dyld_for_each_prewarming_range, __dyld_for_objc_header_opt_ro, - __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_get_dlopen_image_header, - __dyld_get_image_header, __dyld_get_image_name, __dyld_get_image_slide, - __dyld_get_image_uuid, __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, - __dyld_get_prog_image_header, __dyld_get_shared_cache_range, - __dyld_get_shared_cache_uuid, __dyld_get_swift_prespecialized_data, - __dyld_has_fix_for_radar, __dyld_has_preoptimized_swift_protocol_conformances, - __dyld_image_count, __dyld_images_for_addresses, __dyld_initializer, - __dyld_is_memory_immutable, __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded, - __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lookup_section_info, - __dyld_objc_class_count, __dyld_objc_notify_register, __dyld_objc_register_callbacks, - __dyld_objc_uses_large_shared_cache, __dyld_process_info_create, - __dyld_process_info_for_each_image, __dyld_process_info_for_each_segment, - __dyld_process_info_get_aot_cache, __dyld_process_info_get_cache, - __dyld_process_info_get_platform, __dyld_process_info_get_state, - __dyld_process_info_notify, __dyld_process_info_notify_main, - __dyld_process_info_notify_release, __dyld_process_info_notify_retain, - __dyld_process_info_release, __dyld_process_info_retain, __dyld_pseudodylib_deregister, + __dyld_for_objc_header_opt_rw, __dyld_fork_child, __dyld_framework_HWTrace_spis_enabled, + __dyld_get_dlopen_image_header, __dyld_get_dyld_header, __dyld_get_image_header, + __dyld_get_image_name, __dyld_get_image_slide, __dyld_get_image_uuid, + __dyld_get_image_vmaddr_slide, __dyld_get_objc_selector, __dyld_get_prog_image_header, + __dyld_get_shared_cache_range, __dyld_get_shared_cache_uuid, + __dyld_get_swift_prespecialized_data, __dyld_has_fix_for_radar, + __dyld_has_preoptimized_swift_protocol_conformances, __dyld_image_count, + __dyld_images_for_addresses, __dyld_initializer, __dyld_is_memory_immutable, + __dyld_is_objc_constant, __dyld_is_preoptimized_objc_image_loaded, + __dyld_is_pseudodylib, __dyld_launch_mode, __dyld_lazy_load, + __dyld_lookup_section_info, __dyld_objc_class_count, __dyld_objc_notify_register, + __dyld_objc_register_callbacks, __dyld_objc_uses_large_shared_cache, + __dyld_process_info_create, __dyld_process_info_for_each_image, + __dyld_process_info_for_each_segment, __dyld_process_info_get_aot_cache, + __dyld_process_info_get_cache, __dyld_process_info_get_platform, + __dyld_process_info_get_state, __dyld_process_info_notify, + __dyld_process_info_notify_main, __dyld_process_info_notify_release, + __dyld_process_info_notify_retain, __dyld_process_info_release, + __dyld_process_info_retain, __dyld_pseudodylib_deregister, __dyld_pseudodylib_deregister_callbacks, __dyld_pseudodylib_register, __dyld_pseudodylib_register_callbacks, __dyld_register_dlsym_notifier, __dyld_register_driverkit_main, __dyld_register_for_bulk_image_loads, __dyld_register_for_image_loads, __dyld_register_func_for_add_image, __dyld_register_func_for_remove_image, __dyld_shared_cache_contains_path, - __dyld_shared_cache_is_locally_built, __dyld_shared_cache_optimized, - __dyld_shared_cache_real_path, __dyld_stack_bottom, __dyld_stack_range, - __dyld_stack_top, __dyld_swift_optimizations_version, __dyld_visit_objc_classes, + __dyld_shared_cache_file_path_containing_address, __dyld_shared_cache_is_locally_built, + __dyld_shared_cache_optimized, __dyld_shared_cache_real_path, + __dyld_stack_bottom, __dyld_stack_range, __dyld_stack_top, + __dyld_swift_optimizations_version, __dyld_visit_objc_classes, __tlv_atexit, __tlv_bootstrap, __tlv_exit, _dladdr, _dlclose, _dlerror, _dlopen, _dlopen_audited, _dlopen_from, _dlopen_preflight, _dlsym, _dyldVersionNumber, _dyldVersionString, _dyld_dynamic_interpose, - _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_with_system_path, - _dyld_get_active_platform, _dyld_get_base_platform, _dyld_get_image_versions, - _dyld_get_min_os_version, _dyld_get_program_min_os_version, - _dyld_get_program_minos_version_token, _dyld_get_program_sdk_version, - _dyld_get_program_sdk_version_token, _dyld_get_sdk_version, - _dyld_has_inserted_or_interposing_libraries, _dyld_image_content_for_section, - _dyld_image_content_for_segment, _dyld_image_copy_uuid, _dyld_image_for_each_section_info, + _dyld_for_each_installed_shared_cache, _dyld_for_each_installed_shared_cache_ex, + _dyld_for_each_installed_shared_cache_with_system_path, _dyld_get_active_platform, + _dyld_get_base_platform, _dyld_get_image_versions, _dyld_get_min_os_version, + _dyld_get_program_min_os_version, _dyld_get_program_minos_version_token, + _dyld_get_program_sdk_version, _dyld_get_program_sdk_version_token, + _dyld_get_sdk_version, _dyld_has_inserted_or_interposing_libraries, + _dyld_image_content_for_section, _dyld_image_content_for_segment, + _dyld_image_copy_uuid, _dyld_image_for_each_section_info, _dyld_image_for_each_segment_info, _dyld_image_get_file_path, _dyld_image_get_installname, _dyld_image_header_containing_address, _dyld_image_local_nlist_content_4Symbolication, _dyld_image_path_containing_address, - _dyld_is_simulator_platform, _dyld_minos_at_least, _dyld_need_closure, - _dyld_process_create_for_current_task, _dyld_process_create_for_task, - _dyld_process_dispose, _dyld_process_has_objc_patches, _dyld_process_is_restricted, - _dyld_process_register_for_event_notification, _dyld_process_register_for_image_notifications, - _dyld_process_snapshot_create_for_process, _dyld_process_snapshot_create_from_data, + _dyld_image_release_4HWTrace, _dyld_image_retain_4HWTrace, + _dyld_image_segment_data_4HWTrace, _dyld_is_simulator_platform, + _dyld_minos_at_least, _dyld_need_closure, _dyld_process_create_for_current_task, + _dyld_process_create_for_task, _dyld_process_dispose, _dyld_process_has_objc_patches, + _dyld_process_is_restricted, _dyld_process_register_for_event_notification, + _dyld_process_register_for_image_notifications, _dyld_process_snapshot_create_for_process, + _dyld_process_snapshot_create_from_data, _dyld_process_snapshot_create_metrics, _dyld_process_snapshot_dispose, _dyld_process_snapshot_for_each_image, _dyld_process_snapshot_get_shared_cache, _dyld_process_unregister_for_notification, _dyld_program_minos_at_least, _dyld_program_sdk_at_least, @@ -1057,17 +1051,14 @@ exports: _dyld_shared_cache_for_each_subcache4Rosetta, _dyld_shared_subcache_get_info4Rosetta ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libkeymgr.dylib' current-version: 31 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ ___keymgr_dwarf2_register_sections, ___keymgr_initializer, __keymgr_get_and_lock_processwide_ptr, __keymgr_get_and_lock_processwide_ptr_2, __keymgr_get_lock_count_processwide_ptr, __keymgr_get_lockmode_processwide_ptr, @@ -1077,7 +1068,7 @@ exports: tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] install-name: '/usr/lib/system/libmacho.dylib' -current-version: 1030.6.3 +current-version: 1040 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: System @@ -1114,17 +1105,14 @@ exports: _swap_x86_thread_state, _swap_x86_thread_state64 ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libquarantine.dylib' -current-version: 196.40.3 +current-version: 196.100.8 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ __qtn_error, __qtn_file_alloc, __qtn_file_apply_to_fd, __qtn_file_apply_to_mount_point, __qtn_file_apply_to_path, __qtn_file_clone, __qtn_file_free, __qtn_file_get_flags, __qtn_file_get_identifier, __qtn_file_get_metadata, @@ -1145,7 +1133,7 @@ exports: _responsibility_get_pid_responsible_for_pid, _responsibility_get_responsible_for_pid, _responsibility_get_uniqueid_responsible_for_pid, _responsibility_init, _responsibility_set_pid_responsible_for_pid ] - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] symbols: [ _qtn_spawnattrs_get_tracking_data, _qtn_spawnattrs_set_tracking_data, _responsibility_get_attribution_for_audittoken, _responsibility_get_responsible_audit_token_for_audit_token, _responsibility_identity_get_binary_entitlement_data, _responsibility_identity_get_binary_is_platform, @@ -1161,17 +1149,14 @@ exports: _responsibility_spawnattrs_getdisclaim, _responsibility_spawnattrs_setdisclaim ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libremovefile.dylib' -current-version: 84 +current-version: 85.100.6 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ ___removefile_init_random, ___removefile_random_char, ___removefile_randomize_buffer, ___removefile_rename_unlink, ___removefile_sunlink, ___removefile_tree_walker, ___removefile_tree_walker_slim, _removefile, _removefile_cancel, @@ -1179,17 +1164,14 @@ exports: _removefile_state_set, _removefileat ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_asl.dylib' current-version: 406 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _ASL_LEVEL_TO_STRING, __asl_evaluate_send, __asl_fork_child, __asl_lib_log, __asl_log_args_to_xpc, __asl_msg_dump, __asl_mt_shim_fork_child, __asl_mt_shim_send_message, __asl_server_cancel_direct_watch, @@ -1260,17 +1242,14 @@ exports: _setlogmask, _syslog, '_syslog$DARWIN_EXTSN', _vsyslog ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_blocks.dylib' current-version: 96 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _Block_size, __Block_copy, __Block_extended_layout, __Block_has_signature, __Block_isDeallocating, __Block_layout, __Block_object_assign, __Block_object_dispose, __Block_release, __Block_signature, @@ -1279,29 +1258,28 @@ exports: __NSConcreteStackBlock, __NSConcreteWeakBlockVariable ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_c.dylib' -current-version: 1725.40.4 +current-version: 1752.100.10 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - targets: [ x86_64-macos, x86_64-maccatalyst ] symbols: [ '___opendir2$INODE64', '__readdir_unlocked$INODE64', '__seekdir$INODE64', '_alphasort$INODE64', '_daemon$1050', '_fdopendir$INODE64', - _fstatx64_np, '_fstatx_np$INODE64', '_fts_children$INODE64', - '_fts_close$INODE64', '_fts_open$INODE64', '_fts_open_b$INODE64', - '_fts_read$INODE64', '_fts_set$INODE64', '_ftw$INODE64', '_getmntinfo$INODE64', + '_fdscandir$INODE64', '_fdscandir_b$INODE64', _fstatx64_np, + '_fstatx_np$INODE64', '_fts_children$INODE64', '_fts_close$INODE64', + '_fts_open$INODE64', '_fts_open_b$INODE64', '_fts_read$INODE64', + '_fts_set$INODE64', '_ftw$INODE64', '_getmntinfo$INODE64', _getmntinfo64, '_getmntinfo_r_np$INODE64', '_glob$INODE64', '_glob_b$INODE64', _lstatx64_np, '_lstatx_np$INODE64', '_nftw$INODE64', '_opendir$INODE64', '_readdir$INODE64', '_readdir_r$INODE64', '_rewinddir$INODE64', '_scandir$INODE64', '_scandir_b$INODE64', - '_seekdir$INODE64', _statx64_np, '_statx_np$INODE64', _strtoencf80_l, - '_telldir$INODE64', mcount ] - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + '_scandirat$INODE64', '_scandirat_b$INODE64', '_seekdir$INODE64', + _statx64_np, '_statx_np$INODE64', _strtoencf80_l, '_telldir$INODE64', + mcount ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ '$ld$weak$os10.11$_basename_r', '$ld$weak$os10.11$_clock_getres', '$ld$weak$os10.11$_clock_gettime', '$ld$weak$os10.11$_clock_settime', '$ld$weak$os10.11$_dirname_r', '$ld$weak$os10.11$_getentropy', @@ -1406,10 +1384,11 @@ exports: _environ_unlock_np, _erand48, _err, _err_set_exit, _err_set_exit_b, _err_set_file, _errc, _errx, _execl, _execle, _execlp, _execv, _execvP, _execvp, _exit, _f_prealloc, _fchmodx_np, _fclose, - _fcvt, _fdopen, '_fdopen$DARWIN_EXTSN', _fdopendir, _feof, - _feof_unlocked, _ferror, _ferror_unlocked, _fflagstostr, _fflush, - _fgetc, _fgetln, _fgetpos, _fgetrune, _fgets, _fgetwc, _fgetwc_l, - _fgetwln, _fgetwln_l, _fgetws, _fgetws_l, _fileno, _fileno_unlocked, + _fcvt, _fdclosedir, _fdopen, '_fdopen$DARWIN_EXTSN', _fdopendir, + _fdscandir, _fdscandir_b, _feof, _feof_unlocked, _ferror, + _ferror_unlocked, _fflagstostr, _fflush, _fgetc, _fgetln, + _fgetpos, _fgetrune, _fgets, _fgetwc, _fgetwc_l, _fgetwln, + _fgetwln_l, _fgetws, _fgetws_l, _fileno, _fileno_unlocked, _filesec_dup, _filesec_free, _filesec_get_property, _filesec_init, _filesec_query_property, _filesec_set_property, _filesec_unset_property, _flockfile, _fmemopen, _fmtcheck, _fmtmsg, _fnmatch, _fopen, @@ -1490,16 +1469,17 @@ exports: _regncomp, _regncomp_l, _regnexec, _regwcomp, _regwcomp_l, _regwexec, _regwncomp, _regwncomp_l, _regwnexec, _remove, _remque, _rewind, _rewinddir, _rindex, _rpmatch, _sbrk, _scandir, - _scandir_b, _scanf, _scanf_l, _seed48, _seekdir, _send, '_send$NOCANCEL', - _setbuf, _setbuffer, _setenv, _sethostid, _sethostname, _setinvalidrune, - _setipv4sourcefilter, _setkey, _setlinebuf, _setlocale, _setlogin, - _setmode, _setpgrp, _setprogname, _setrgid, _setruid, _setrunelocale, - _setsourcefilter, _setstate, _settimeofday, _setttyent, _setusershell, - _setutxent, _setutxent_wtmp, _setvbuf, _sigaction, _sigaddset, - _sigaltstack, _sigblock, _sigdelset, _sigemptyset, _sigfillset, - _sighold, _sigignore, _siginterrupt, _sigismember, _signal, - _sigpause, '_sigpause$NOCANCEL', _sigrelse, _sigset, _sigsetmask, - _sigvec, _sl_add, _sl_find, _sl_free, _sl_init, _sleep, '_sleep$NOCANCEL', + _scandir_b, _scandirat, _scandirat_b, _scanf, _scanf_l, _seed48, + _seekdir, _send, '_send$NOCANCEL', _setbuf, _setbuffer, _setenv, + _sethostid, _sethostname, _setinvalidrune, _setipv4sourcefilter, + _setkey, _setlinebuf, _setlocale, _setlogin, _setmode, _setpgrp, + _setprogname, _setrgid, _setruid, _setrunelocale, _setsourcefilter, + _setstate, _settimeofday, _setttyent, _setusershell, _setutxent, + _setutxent_wtmp, _setvbuf, _sigaction, _sigaddset, _sigaltstack, + _sigblock, _sigdelset, _sigemptyset, _sigfillset, _sighold, + _sigignore, _siginterrupt, _sigismember, _signal, _sigpause, + '_sigpause$NOCANCEL', _sigrelse, _sigset, _sigsetmask, _sigvec, + _sl_add, _sl_find, _sl_free, _sl_init, _sleep, '_sleep$NOCANCEL', _snprintf, _snprintf_l, _snvis, _sockatmark, _sprintf, _sprintf_l, _sradixsort, _srand, _srand48, _sranddev, _srandom, _srandomdev, _sscanf, _sscanf_l, _stat_with_subsystem, _statvfs, _statx_np, @@ -1568,25 +1548,21 @@ exports: _xprintf_exec ] weak-symbols: [ __os_debug_log_redirect_func ] reexports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _bcmp, _bzero, _index, _memccpy, _memchr, _memcmp, _memcpy, _memmove, _memset, _memset_pattern16, _memset_pattern4, _memset_pattern8, _strchr, _strcmp, _strcpy, _strlcat, _strlcpy, _strlen, _strncmp, _strncpy, _strnlen, _strstr ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_collections.dylib' -current-version: 1725.40.4 +current-version: 1752.100.10 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _os_map_128_clear, _os_map_128_count, _os_map_128_delete, _os_map_128_destroy, _os_map_128_find, _os_map_128_foreach, _os_map_128_init, _os_map_128_insert, _os_map_32_clear, _os_map_32_count, @@ -1606,17 +1582,14 @@ exports: _os_set_str_ptr_foreach, _os_set_str_ptr_init, _os_set_str_ptr_insert ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_configuration.dylib' -current-version: 1385.60.3 +current-version: 1405.100.8 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ __dns_configuration_ack, __libSC_info_fork_child, __libSC_info_fork_parent, __libSC_info_fork_prepare, __nwi_config_agent_copy_data, __nwi_state_ack, __nwi_state_force_refresh, _config_agent_copy_dns_information, @@ -1633,16 +1606,13 @@ exports: _nwi_state_get_reachability_flags, _nwi_state_release ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_containermanager.dylib' parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _CMCONTAINERSEAM_DEFAULT, _CMDISPATCHSEAM_DEFAULT, _CMFSSEAM_DEFAULT, _CMNOTIFYSEAM_DEFAULT, _CMPWDSEAM_DEFAULT, _CMQUARANTINESEAM_DEFAULT, _CMSANDBOXSEAM_DEFAULT, _CONTAINER_CLASS_NAMES, _CONTAINER_NOTIFY_GENERATION_INITIAL, @@ -1834,7 +1804,7 @@ exports: _container_xpc_shared_copy_connection, _gCMContainerSeam, _gCMDispatchSeam, _gCMFSSeam, _gCMNotifySeam, _gCMPWDSeam, _gCMQuarantineSeam, _gCMSandboxSeam ] - - targets: [ x86_64-maccatalyst, arm64-maccatalyst, arm64e-maccatalyst ] + - targets: [ x86_64-maccatalyst, arm64e-maccatalyst ] symbols: [ _CONTAINER_CURRENT_MOBILE_UID, _CONTAINER_INSTALLATION_UID, _CONTAINER_SYSTEM_UID, _container_create_or_lookup, _container_create_or_lookup_app_group_paths, _container_create_or_lookup_group_container_paths_for_current_user, @@ -1848,38 +1818,32 @@ exports: _container_references_set_uid ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_coreservices.dylib' current-version: 129 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _NSGetNextSearchPathEnumeration, _NSStartSearchPathEnumeration, _NSStartSearchPathEnumerationPrivate, ___user_local_dirname, ___user_relative_dirname, __dirhelper, __dirhelper_relative, __get_user_dir_suffix, __libcoreservices_fork_child, __set_user_dir_suffix, _sysdir_get_next_search_path_enumeration, _sysdir_start_search_path_enumeration, _sysdir_start_search_path_enumeration_private ] - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] symbols: [ ___user_relative_dirname_with_hints, __dirhelper_relative_with_hints, __dirhelper_remove_test, __dirhelper_test, __idle_exit ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_darwin.dylib' parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ ___libdarwin_init, ___os_temporary_resource_shortage, _claimfd_np, _close_drop_np, _close_drop_optional_np, _crfprintf_np, _dirstat_np, _dirstatat_np, _dup_np, _err_np, _errc_np, _fcheck_np, _memdup2_np, @@ -1906,35 +1870,29 @@ exports: _sysctlbyname_get_data_np, _sysexit_np, _vcrfprintf_np, _verr_np, _verrc_np, _vwarn_np, _vwfprintf_np, _warn_np, _wfprintf_np, _xferfd_np, _zsnprintf_np ] - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] symbols: [ _os_boot_mode_query, _os_variant_is_basesystem ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_darwindirectory.dylib' parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _DarwinDirectoryGetGeneration, _DarwinDirectoryRecordStoreApply, _DarwinDirectoryRecordStoreApplyWithFilter ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_dnssd.dylib' -current-version: 2881.60.4 +current-version: 2881.100.56 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _DNSServiceAddRecord, _DNSServiceAttrCreate, _DNSServiceAttrFree, _DNSServiceAttrSetFailoverPolicy, _DNSServiceAttrSetValidationData, _DNSServiceAttrSetValidationPolicy, _DNSServiceAttributeCreate, @@ -1962,14 +1920,14 @@ exports: _kDNSServiceAttributeAAAAFallback ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, arm64-macos, arm64e-macos ] +targets: [ x86_64-macos, arm64e-macos ] install-name: '/usr/lib/system/libsystem_eligibility.dylib' -current-version: 286.60.23 +current-version: 319.101.1 parent-umbrella: - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] umbrella: System exports: - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] symbols: [ _os_eligibility_domain_for_name, _os_eligibility_dump_sysdiagnose_data_to_dir, _os_eligibility_fetch_newest_policies, _os_eligibility_force_domain_answer, _os_eligibility_force_domain_set_answers, _os_eligibility_get_all_domain_answers, @@ -1980,30 +1938,24 @@ exports: _os_eligibility_set_input, _os_eligibility_set_test_mode ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_featureflags.dylib' -current-version: 101 +current-version: 103 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ __os_feature_enabled_impl, __os_feature_enabled_simple_impl ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_info.dylib' parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _LI_get_thread_item, _LI_get_thread_list, _LI_ils_create, _LI_set_thread_item, _LI_set_thread_list, ___dn_skipname, __authenticate, __ds_running, __gai_nat64_can_v4_address_be_synthesized, @@ -2121,7 +2073,7 @@ tbd-version: 4 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_kernel.dylib' -current-version: 12377.61.12 +current-version: 12377.101.14 parent-umbrella: - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] @@ -2239,13 +2191,14 @@ exports: __kernelrpc_mach_vm_map_trap, __kernelrpc_mach_vm_protect, __kernelrpc_mach_vm_protect_trap, __kernelrpc_mach_vm_purgable_control, __kernelrpc_mach_vm_purgable_control_trap, __kernelrpc_mach_vm_read, - __kernelrpc_mach_vm_remap, __kernelrpc_mach_vm_remap_new, - __kernelrpc_mach_vm_update_pointers_with_remote_tags, __kernelrpc_mach_voucher_extract_attr_recipe, - __kernelrpc_task_set_port_space, __kernelrpc_thread_policy, - __kernelrpc_thread_policy_set, __kernelrpc_thread_set_policy, - __kernelrpc_vm_map, __kernelrpc_vm_purgable_control, __kernelrpc_vm_read, - __kernelrpc_vm_remap, __kernelrpc_vm_remap_new, __mach_errors, - __mach_fork_child, __mach_snprintf, __mach_vsnprintf, __os_alloc_once_table, + __kernelrpc_mach_vm_reallocate, __kernelrpc_mach_vm_remap, + __kernelrpc_mach_vm_remap_new, __kernelrpc_mach_vm_update_pointers_with_remote_tags, + __kernelrpc_mach_voucher_extract_attr_recipe, __kernelrpc_task_set_port_space, + __kernelrpc_thread_policy, __kernelrpc_thread_policy_set, + __kernelrpc_thread_set_policy, __kernelrpc_vm_map, __kernelrpc_vm_purgable_control, + __kernelrpc_vm_read, __kernelrpc_vm_reallocate, __kernelrpc_vm_remap, + __kernelrpc_vm_remap_new, __mach_errors, __mach_fork_child, + __mach_snprintf, __mach_vsnprintf, __os_alloc_once_table, __os_xbs_chrooted, __register_gethostuuid_callback, __thread_set_tsd_base, _abort_with_payload, _abort_with_reason, _accept, '_accept$NOCANCEL', _access, _accessx_np, _acct, _act_get_state, _act_set_state, @@ -2266,27 +2219,31 @@ exports: _debug_syscall_reject, _debug_syscall_reject_config, _denap_boost_assertion_token, _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server, _exc_server_routine, _exception_raise, _exception_raise_state, - _exception_raise_state_identity, _exchangedata, _exclaves_aoe_message_loop, - _exclaves_aoe_setup, _exclaves_aoe_work_loop, _exclaves_audio_buffer_copyout, - _exclaves_audio_buffer_copyout_with_status, _exclaves_audio_buffer_create, - _exclaves_boot, _exclaves_endpoint_call, _exclaves_inbound_buffer_copyin, - _exclaves_inbound_buffer_create, _exclaves_indicator_min_on_time, - _exclaves_launch_conclave, _exclaves_lookup_service, _exclaves_named_buffer_copyin, - _exclaves_named_buffer_copyout, _exclaves_named_buffer_create, - _exclaves_notification_create, _exclaves_outbound_buffer_copyout, - _exclaves_outbound_buffer_create, _exclaves_sensor_create, - _exclaves_sensor_start, _exclaves_sensor_status, _exclaves_sensor_stop, - _execve, _faccessat, _fchdir, _fchflags, _fchmod, _fchmodat, - _fchown, _fchownat, _fclonefileat, _fcntl, '_fcntl$NOCANCEL', - _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, _fhopen, _fileport_makefd, - _fileport_makeport, _flistxattr, _flock, _fmount, _fpathconf, - _freadlink, _fremovexattr, _fs_snapshot_create, _fs_snapshot_delete, - _fs_snapshot_list, _fs_snapshot_mount, _fs_snapshot_rename, - _fs_snapshot_revert, _fs_snapshot_root, _fsctl, _fsetattrlist, - _fsetxattr, _fsgetpath, _fsgetpath_ext, _fstat, _fstat64, - _fstatat, _fstatat64, _fstatfs, _fstatfs64, _fstatfs_ext, - _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount, _futimens, - _futimes, _getattrlist, _getattrlistat, _getattrlistbulk, + _exception_raise_state_identity, _exchangedata, _exclaves_aoe_enumerate_and_setup_services, + _exclaves_aoe_get_all_service_infos, _exclaves_aoe_message_loop, + _exclaves_aoe_message_loop_with_service_id, _exclaves_aoe_setup, + _exclaves_aoe_work_loop, _exclaves_aoe_work_loop_with_service_id, + _exclaves_arbitrated_buffer_copyout, _exclaves_arbitrated_buffer_create, + _exclaves_audio_buffer_copyout, _exclaves_audio_buffer_copyout_with_status, + _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_daemon_notification_deregister, + _exclaves_daemon_notification_register, _exclaves_endpoint_call, + _exclaves_inbound_buffer_copyin, _exclaves_inbound_buffer_create, + _exclaves_indicator_min_on_time, _exclaves_launch_conclave, + _exclaves_lookup_service, _exclaves_named_buffer_copyin, _exclaves_named_buffer_copyout, + _exclaves_named_buffer_create, _exclaves_notification_create, + _exclaves_outbound_buffer_copyout, _exclaves_outbound_buffer_create, + _exclaves_sensor_create, _exclaves_sensor_start, _exclaves_sensor_status, + _exclaves_sensor_stop, _execve, _faccessat, _fchdir, _fchflags, + _fchmod, _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl, + '_fcntl$NOCANCEL', _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, + _fhopen, _fileport_makefd, _fileport_makeport, _flistxattr, + _flock, _fmount, _fpathconf, _freadlink, _fremovexattr, _fs_snapshot_create, + _fs_snapshot_delete, _fs_snapshot_list, _fs_snapshot_mount, + _fs_snapshot_rename, _fs_snapshot_revert, _fs_snapshot_root, + _fsctl, _fsetattrlist, _fsetxattr, _fsgetpath, _fsgetpath_ext, + _fstat, _fstat64, _fstatat, _fstatat64, _fstatfs, _fstatfs64, + _fstatfs_ext, _fsync, '_fsync$NOCANCEL', _ftruncate, _funmount, + _futimens, _futimes, _getattrlist, _getattrlistat, _getattrlistbulk, _getaudit, _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr, _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat, _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np, @@ -2332,12 +2289,12 @@ exports: _mach_init, _mach_make_memory_entry, _mach_make_memory_entry_64, _mach_memory_entry_access_tracking, _mach_memory_entry_get_page_counts, _mach_memory_entry_ownership, _mach_memory_entry_purgable_control, - _mach_memory_info, _mach_memory_object_memory_entry, _mach_memory_object_memory_entry_64, - _mach_msg, _mach_msg2_internal, _mach_msg2_trap, _mach_msg_destroy, - _mach_msg_overwrite, _mach_msg_overwrite_trap, _mach_msg_priority_encode, - _mach_msg_priority_is_pthread_priority, _mach_msg_priority_overide_qos, - _mach_msg_priority_qos, _mach_msg_priority_relpri, _mach_msg_receive, - _mach_msg_send, _mach_msg_server, _mach_msg_server_importance, + _mach_memory_info, _mach_memory_info_redacted, _mach_memory_object_memory_entry, + _mach_memory_object_memory_entry_64, _mach_msg, _mach_msg2_internal, + _mach_msg2_trap, _mach_msg_destroy, _mach_msg_overwrite, _mach_msg_overwrite_trap, + _mach_msg_priority_encode, _mach_msg_priority_is_pthread_priority, + _mach_msg_priority_overide_qos, _mach_msg_priority_qos, _mach_msg_priority_relpri, + _mach_msg_receive, _mach_msg_send, _mach_msg_server, _mach_msg_server_importance, _mach_msg_server_once, _mach_msg_trap, _mach_notify_dead_name, _mach_notify_no_senders, _mach_notify_port_deleted, _mach_notify_port_destroyed, _mach_notify_send_once, _mach_port_allocate, _mach_port_allocate_full, @@ -2369,7 +2326,7 @@ exports: _mach_vm_msync, _mach_vm_page_info, _mach_vm_page_query, _mach_vm_page_range_query, _mach_vm_protect, _mach_vm_purgable_control, _mach_vm_range_create, _mach_vm_read, _mach_vm_read_list, _mach_vm_read_overwrite, - _mach_vm_reclaim_copied_ring_free, _mach_vm_reclaim_copied_ring_query, + _mach_vm_reallocate, _mach_vm_reclaim_copied_ring_free, _mach_vm_reclaim_copied_ring_query, _mach_vm_reclaim_get_rings_for_task, _mach_vm_reclaim_is_reusable, _mach_vm_reclaim_query_state, _mach_vm_reclaim_ring_allocate, _mach_vm_reclaim_ring_capacity, _mach_vm_reclaim_ring_copy, @@ -2495,61 +2452,61 @@ exports: _posix_spawnattr_set_platform_np, _posix_spawnattr_set_portlimits_ext, _posix_spawnattr_set_ptrauth_task_port_np, _posix_spawnattr_set_qos_clamp_np, _posix_spawnattr_set_registered_ports_np, _posix_spawnattr_set_subsystem_root_path_np, - _posix_spawnattr_set_threadlimit_ext, _posix_spawnattr_set_uid_np, - _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_setarchpref_np, - _posix_spawnattr_setauditsessionport_np, _posix_spawnattr_setbinpref_np, - _posix_spawnattr_setcoalition_np, _posix_spawnattr_setcpumonitor, - _posix_spawnattr_setcpumonitor_default, _posix_spawnattr_setdataless_iopolicy_np, - _posix_spawnattr_setexceptionports_np, _posix_spawnattr_setflags, - _posix_spawnattr_setjetsam_ext, _posix_spawnattr_setmacpolicyinfo_np, - _posix_spawnattr_setnosmt_np, _posix_spawnattr_setpcontrol_np, - _posix_spawnattr_setpgroup, _posix_spawnattr_setprocesstype_np, - _posix_spawnattr_setsigdefault, _posix_spawnattr_setsigmask, - _posix_spawnattr_setspecialport_np, _pread, '_pread$NOCANCEL', - _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits, _proc_clear_delayidlesleep, - _proc_clear_dirty, _proc_clear_vmpressure, _proc_current_thread_schedinfo, - _proc_denap_assertion_begin_with_msg, _proc_denap_assertion_complete, - _proc_disable_apptype, _proc_disable_cpumon, _proc_disable_wakemon, - _proc_donate_importance_boost, _proc_enable_apptype, _proc_get_cpumon_params, - _proc_get_dirty, _proc_get_wakemon_params, _proc_importance_assertion_begin_with_msg, - _proc_importance_assertion_complete, _proc_kmsgbuf, _proc_libversion, - _proc_list_dynkqueueids, _proc_list_uptrs, _proc_listallpids, - _proc_listchildpids, _proc_listcoalitions, _proc_listpgrppids, - _proc_listpids, _proc_listpidspath, _proc_name, _proc_pid_rusage, - _proc_piddynkqueueinfo, _proc_pidfdinfo, _proc_pidfileportinfo, - _proc_pidinfo, _proc_pidoriginatorinfo, _proc_pidpath, _proc_pidpath_audittoken, - _proc_regionfilename, _proc_reset_footprint_interval, _proc_resume_cpumon, - _proc_rlimit_control, _proc_set_cpumon_defaults, _proc_set_cpumon_params, - _proc_set_cpumon_params_fatal, _proc_set_csm, _proc_set_delayidlesleep, - _proc_set_dirty, _proc_set_no_smt, _proc_set_owner_vmpressure, - _proc_set_wakemon_defaults, _proc_set_wakemon_params, _proc_setcpu_percentage, - _proc_setpcontrol, _proc_setthread_cpupercent, _proc_setthread_csm, - _proc_setthread_no_smt, _proc_signal_delegate, _proc_signal_with_audittoken, - _proc_suppress, _proc_terminate, _proc_terminate_all_rsr, - _proc_terminate_delegate, _proc_terminate_with_audittoken, - _proc_trace_log, _proc_track_dirty, _proc_udata_info, _proc_uuid_policy, - _processor_assign, _processor_control, _processor_exit, _processor_get_assignment, - _processor_info, _processor_set_create, _processor_set_default, - _processor_set_destroy, _processor_set_info, _processor_set_max_priority, - _processor_set_policy_control, _processor_set_policy_disable, - _processor_set_policy_enable, _processor_set_stack_usage, - _processor_set_statistics, _processor_set_tasks, _processor_set_tasks_with_flavor, - _processor_set_threads, _processor_start, _pselect, '_pselect$DARWIN_EXTSN', - '_pselect$DARWIN_EXTSN$NOCANCEL', '_pselect$NOCANCEL', _pthread_getugid_np, - _pthread_setugid_np, _ptrace, _pwrite, '_pwrite$NOCANCEL', - _pwritev, '_pwritev$NOCANCEL', _quota, _quotactl, _read, '_read$NOCANCEL', - _readlink, _readlinkat, _readv, '_readv$NOCANCEL', _reboot, - _reboot_np, _record_system_event_as_kernel, _recvfrom, '_recvfrom$NOCANCEL', - _recvmsg, '_recvmsg$NOCANCEL', _recvmsg_x, _register_uexc_handler, - _removexattr, _rename, _rename_ext, _renameat, _renameatx_np, - _renamex_np, _revoke, _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', - '_select$DARWIN_EXTSN$NOCANCEL', '_select$NOCANCEL', _sem_close, - _sem_destroy, _sem_getvalue, _sem_init, _sem_open, _sem_post, - _sem_trywait, _sem_unlink, _sem_wait, '_sem_wait$NOCANCEL', - _semaphore_create, _semaphore_destroy, _semaphore_signal, - _semaphore_signal_all, _semaphore_signal_all_trap, _semaphore_signal_thread, - _semaphore_signal_thread_trap, _semaphore_signal_trap, _semaphore_timedwait, - _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap, + _posix_spawnattr_set_telemetry_np, _posix_spawnattr_set_threadlimit_ext, + _posix_spawnattr_set_uid_np, _posix_spawnattr_set_use_sec_transition_shims_np, + _posix_spawnattr_setarchpref_np, _posix_spawnattr_setauditsessionport_np, + _posix_spawnattr_setbinpref_np, _posix_spawnattr_setcoalition_np, + _posix_spawnattr_setcpumonitor, _posix_spawnattr_setcpumonitor_default, + _posix_spawnattr_setdataless_iopolicy_np, _posix_spawnattr_setexceptionports_np, + _posix_spawnattr_setflags, _posix_spawnattr_setjetsam_ext, + _posix_spawnattr_setmacpolicyinfo_np, _posix_spawnattr_setnosmt_np, + _posix_spawnattr_setpcontrol_np, _posix_spawnattr_setpgroup, + _posix_spawnattr_setprocesstype_np, _posix_spawnattr_setsigdefault, + _posix_spawnattr_setsigmask, _posix_spawnattr_setspecialport_np, + _pread, '_pread$NOCANCEL', _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits, + _proc_clear_delayidlesleep, _proc_clear_dirty, _proc_clear_vmpressure, + _proc_current_thread_schedinfo, _proc_denap_assertion_begin_with_msg, + _proc_denap_assertion_complete, _proc_disable_apptype, _proc_disable_cpumon, + _proc_disable_wakemon, _proc_donate_importance_boost, _proc_enable_apptype, + _proc_get_cpumon_params, _proc_get_dirty, _proc_get_wakemon_params, + _proc_importance_assertion_begin_with_msg, _proc_importance_assertion_complete, + _proc_kmsgbuf, _proc_libversion, _proc_list_dynkqueueids, + _proc_list_uptrs, _proc_listallpids, _proc_listchildpids, + _proc_listcoalitions, _proc_listpgrppids, _proc_listpids, + _proc_listpidspath, _proc_name, _proc_pid_rusage, _proc_piddynkqueueinfo, + _proc_pidfdinfo, _proc_pidfileportinfo, _proc_pidinfo, _proc_pidoriginatorinfo, + _proc_pidpath, _proc_pidpath_audittoken, _proc_regionfilename, + _proc_reset_footprint_interval, _proc_resume_cpumon, _proc_rlimit_control, + _proc_set_cpumon_defaults, _proc_set_cpumon_params, _proc_set_cpumon_params_fatal, + _proc_set_csm, _proc_set_delayidlesleep, _proc_set_dirty, + _proc_set_no_smt, _proc_set_owner_vmpressure, _proc_set_wakemon_defaults, + _proc_set_wakemon_params, _proc_setcpu_percentage, _proc_setpcontrol, + _proc_setthread_cpupercent, _proc_setthread_csm, _proc_setthread_no_smt, + _proc_signal_delegate, _proc_signal_with_audittoken, _proc_suppress, + _proc_terminate, _proc_terminate_all_rsr, _proc_terminate_delegate, + _proc_terminate_with_audittoken, _proc_trace_log, _proc_track_dirty, + _proc_udata_info, _proc_uuid_policy, _processor_assign, _processor_control, + _processor_exit, _processor_get_assignment, _processor_info, + _processor_set_create, _processor_set_default, _processor_set_destroy, + _processor_set_info, _processor_set_max_priority, _processor_set_policy_control, + _processor_set_policy_disable, _processor_set_policy_enable, + _processor_set_stack_usage, _processor_set_statistics, _processor_set_tasks, + _processor_set_tasks_with_flavor, _processor_set_threads, + _processor_start, _pselect, '_pselect$DARWIN_EXTSN', '_pselect$DARWIN_EXTSN$NOCANCEL', + '_pselect$NOCANCEL', _pthread_getugid_np, _pthread_setugid_np, + _ptrace, _pwrite, '_pwrite$NOCANCEL', _pwritev, '_pwritev$NOCANCEL', + _quota, _quotactl, _read, '_read$NOCANCEL', _readlink, _readlinkat, + _readv, '_readv$NOCANCEL', _reboot, _reboot_np, _record_system_event_as_kernel, + _recvfrom, '_recvfrom$NOCANCEL', _recvmsg, '_recvmsg$NOCANCEL', + _recvmsg_x, _register_uexc_handler, _removexattr, _rename, + _rename_ext, _renameat, _renameatx_np, _renamex_np, _revoke, + _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', '_select$DARWIN_EXTSN$NOCANCEL', + '_select$NOCANCEL', _sem_close, _sem_destroy, _sem_getvalue, + _sem_init, _sem_open, _sem_post, _sem_trywait, _sem_unlink, + _sem_wait, '_sem_wait$NOCANCEL', _semaphore_create, _semaphore_destroy, + _semaphore_signal, _semaphore_signal_all, _semaphore_signal_all_trap, + _semaphore_signal_thread, _semaphore_signal_thread_trap, _semaphore_signal_trap, + _semaphore_timedwait, _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap, _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal, _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl, _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL', @@ -2602,10 +2559,11 @@ exports: _thread_get_mach_voucher, _thread_get_register_pointer_values, _thread_get_special_port, _thread_get_special_reply_port, _thread_get_state, _thread_info, _thread_policy, _thread_policy_get, - _thread_policy_set, _thread_resume, _thread_sample, _thread_self_trap, - _thread_selfcounts, _thread_set_exception_ports, _thread_set_mach_voucher, - _thread_set_policy, _thread_set_special_port, _thread_set_state, - _thread_suspend, _thread_swap_exception_ports, _thread_swap_mach_voucher, + _thread_policy_set, _thread_resume, _thread_resume2, _thread_sample, + _thread_self_trap, _thread_selfcounts, _thread_set_exception_ports, + _thread_set_mach_voucher, _thread_set_policy, _thread_set_special_port, + _thread_set_state, _thread_set_x86_64_compat, _thread_suspend, + _thread_suspend2, _thread_swap_exception_ports, _thread_swap_mach_voucher, _thread_switch, _thread_terminate, _thread_wire, _tracker_action, _truncate, _umask, _undelete, _ungraftdmg, _unlink, _unlinkat, _unmount, _usrctl, _utimensat, _utimes, _vfs_purge, _vm_allocate, @@ -2614,7 +2572,7 @@ exports: _vm_kernel_page_size, _vm_machine_attribute, _vm_map, _vm_map_page_query, _vm_msync, _vm_page_mask, _vm_page_shift, _vm_page_size, _vm_pressure_monitor, _vm_protect, _vm_purgable_control, _vm_read, _vm_read_list, - _vm_read_overwrite, _vm_region_64, _vm_region_recurse_64, + _vm_read_overwrite, _vm_reallocate, _vm_region_64, _vm_region_recurse_64, _vm_remap, _vm_remap_new, _vm_wire, _vm_write, _voucher_mach_msg_adopt, _voucher_mach_msg_clear, _voucher_mach_msg_revert, _voucher_mach_msg_set, _vprintf_stderr_func, _wait4, _waitid, '_waitid$NOCANCEL', @@ -2633,16 +2591,17 @@ exports: - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat, ___stat, ___statfs, __current_pid, _mach_absolute_time_kernel, - _mach_continuous_time_kernel ] + _mach_continuous_time_kernel, _os_custom_x18_abi, _os_custom_x18_abi_get, + _update_tpidr ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, - arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] + arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_m.dylib' -current-version: 3309 +current-version: 3312.100.1 parent-umbrella: - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, - arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] + arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst ] @@ -2684,7 +2643,7 @@ exports: __simd_tanpi_f8, __simd_tgamma_d4, __simd_tgamma_d8, __simd_tgamma_f16, __simd_tgamma_f8 ] - targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, - arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] + arm64e-macos, arm64e-maccatalyst ] symbols: [ __FE_DFL_ENV, ___Libm_version, ___ceilf16, ___copysignf16, ___cos_d2, ___cos_f4, ___cospi, ___cospif, ___exp10, ___exp10f, ___fabsf16, ___fegetfltrounds, ___floorf16, ___fmaf16, ___fmaxf16, @@ -2854,21 +2813,18 @@ exports: '_tanhl$fenv_access_off', '_tanl$fenv_access_off', '_tgamma$fenv_access_off', '_tgammaf$fenv_access_off', '_tgammal$fenv_access_off', '_trunc$fenv_access_off', '_truncf$fenv_access_off', '_truncl$fenv_access_off' ] - - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] + - targets: [ arm64e-macos, arm64e-maccatalyst ] symbols: [ __FE_DFL_DISABLE_DENORMS_ENV ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_malloc.dylib' -current-version: 792.60.6 +current-version: 812.100.31 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ ___mach_stack_logging_shared_memory_address, ___malloc_init, ___malloc_late_init, __malloc_fork_child, __malloc_fork_parent, __malloc_fork_prepare, __malloc_no_asl_log, __os_cpu_number_override, @@ -2913,16 +2869,13 @@ exports: _zeroify_scalable_zone ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_networkextension.dylib' parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _NEHelperCacheAddRedirectedAddress, _NEHelperCacheClearRedirectedAddresses, _NEHelperCacheClearUUIDs, _NEHelperCacheClearUUIDsForBundleID, _NEHelperCacheCopyAppUUIDMapping, _NEHelperCacheCopyAppUUIDMappingExtended, @@ -3005,17 +2958,14 @@ exports: _nelog_is_info_logging_enabled ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_notify.dylib' -current-version: 344.0.1 +current-version: 348.100.7 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ __notify_fork_child, _notify_cancel, _notify_check, _notify_dump_status, _notify_get_event, _notify_get_state, _notify_is_valid_token, _notify_monitor_file, _notify_peek, _notify_post, _notify_register_check, @@ -3028,7 +2978,7 @@ tbd-version: 4 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_platform.dylib' -current-version: 359.60.3 +current-version: 375.100.10 parent-umbrella: - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] @@ -3085,15 +3035,15 @@ exports: _ffs, _ffsl, _ffsll, _fls, _flsl, _flsll, _getcontext, _longjmp, _makecontext, _os_apt_msg_async_task_running_4swift, _os_apt_msg_async_task_waiting_on_4swift, _os_lock_lock, _os_lock_trylock, _os_lock_unlock, _os_log_simple_now, - _os_log_simple_type_from_asl, _os_security_config_get, _os_security_config_get_for_proc, - _os_security_config_get_for_task, _os_sync_wait_on_address, - _os_sync_wait_on_address_with_deadline, _os_sync_wait_on_address_with_timeout, - _os_sync_wake_by_address_all, _os_sync_wake_by_address_any, - _os_unfair_lock_assert_not_owner, _os_unfair_lock_assert_owner, - _os_unfair_lock_lock, _os_unfair_lock_lock_no_tsd, _os_unfair_lock_lock_with_flags, - _os_unfair_lock_lock_with_options, _os_unfair_lock_trylock, - _os_unfair_lock_trylock_with_options, _os_unfair_lock_unlock, - _os_unfair_lock_unlock_no_tsd, _os_unfair_recursive_lock_lock_with_options, + _os_log_simple_type_from_asl, _os_script_config_storage, _os_security_config_get, + _os_security_config_get_for_proc, _os_security_config_get_for_task, + _os_sync_wait_on_address, _os_sync_wait_on_address_with_deadline, + _os_sync_wait_on_address_with_timeout, _os_sync_wake_by_address_all, + _os_sync_wake_by_address_any, _os_unfair_lock_assert_not_owner, + _os_unfair_lock_assert_owner, _os_unfair_lock_lock, _os_unfair_lock_lock_no_tsd, + _os_unfair_lock_lock_with_flags, _os_unfair_lock_lock_with_options, + _os_unfair_lock_trylock, _os_unfair_lock_trylock_with_options, + _os_unfair_lock_unlock, _os_unfair_lock_unlock_no_tsd, _os_unfair_recursive_lock_lock_with_options, _os_unfair_recursive_lock_owned, _os_unfair_recursive_lock_trylock, _os_unfair_recursive_lock_tryunlock4objc, _os_unfair_recursive_lock_unlock, _os_unfair_recursive_lock_unlock_forked_child, _setcontext, @@ -3102,13 +3052,13 @@ exports: _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ] - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset, - __ctx_done ] + __ctx_done, _os_apt_msg_async_task_stopped_4swift ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_pthread.dylib' -current-version: 539 +current-version: 539.100.4 parent-umbrella: - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] @@ -3201,17 +3151,14 @@ exports: symbols: [ __pthread_mutex_enable_legacy_mode, _pthread_jit_write_protect_np ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_sandbox.dylib' -current-version: 2680.60.11 +current-version: 2680.100.174 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _APP_SANDBOX_IOKIT_CLIENT, _APP_SANDBOX_MACH, _APP_SANDBOX_READ, _APP_SANDBOX_READ_WRITE, _IOS_SANDBOX_APPLICATION_GROUP, _IOS_SANDBOX_CONTAINER, _SANDBOX_CHECK_ALLOW_APPROVAL, _SANDBOX_CHECK_CANONICAL, _SANDBOX_CHECK_NOFOLLOW, @@ -3244,13 +3191,15 @@ exports: _sandbox_check_by_audit_token, _sandbox_check_by_reference, _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path, _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string, - _sandbox_check_process_signal_target, _sandbox_check_protected_app_container, - _sandbox_check_self_signal_target, _sandbox_check_storage_class, - _sandbox_check_with_attribution, _sandbox_consume_extension, - _sandbox_consume_fs_extension, _sandbox_consume_mach_extension, - _sandbox_container_path_for_audit_token, _sandbox_container_path_for_pid, - _sandbox_enable_local_state_flag, _sandbox_enable_root_translation, - _sandbox_enable_state_flag, _sandbox_extension_consume, _sandbox_extension_issue_file, + _sandbox_check_network, _sandbox_check_process_signal_target, + _sandbox_check_protected_app_container, _sandbox_check_self_signal_target, + _sandbox_check_storage_class, _sandbox_check_with_attribution, + _sandbox_checkattr_alloc, _sandbox_checkattr_disable_reporting, + _sandbox_checkattr_free, _sandbox_consume_extension, _sandbox_consume_fs_extension, + _sandbox_consume_mach_extension, _sandbox_container_path_for_audit_token, + _sandbox_container_path_for_pid, _sandbox_enable_local_state_flag, + _sandbox_enable_root_translation, _sandbox_enable_state_flag, + _sandbox_extension_consume, _sandbox_extension_issue_file, _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid, _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic, _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid, @@ -3282,20 +3231,20 @@ exports: _sandbox_suspend, _sandbox_unregister_app_bundle, _sandbox_unregister_app_container, _sandbox_unregister_bastion_profile, _sandbox_unregister_disk_image_backing_store, _sandbox_unsuspend ] - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] symbols: [ _SANDBOX_EXTENSION_MACL_LEARNING, _SANDBOX_EXTENSION_USER_INTENT, _gpu_bundle_find_trusted, _gpu_bundle_is_path_trusted, _rootless_apply, _rootless_apply_internal, _rootless_apply_relative, _rootless_manifest_free, _rootless_manifest_parse, _rootless_preflight ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, arm64-macos, arm64e-macos ] +targets: [ x86_64-macos, arm64e-macos ] install-name: '/usr/lib/system/libsystem_sanitizers.dylib' parent-umbrella: - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] umbrella: System exports: - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] symbols: [ ___asan_abi_addr_is_in_fake_stack, ___asan_abi_address_is_poisoned, ___asan_abi_after_dynamic_init, ___asan_abi_alloca_poison, ___asan_abi_allocas_unpoison, ___asan_abi_before_dynamic_init, @@ -3322,32 +3271,26 @@ exports: _sanitizers_testonly_get_shadow_address ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_secinit.dylib' -current-version: 168.40.2 +current-version: 168.100.7 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ __libsecinit_initializer, _libsecinit_delete_all_data_container_content_for_current_user, _libsecinit_fileoperation_save, _libsecinit_fileoperation_set_attributes, _libsecinit_fileoperation_symlink ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_symptoms.dylib' parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ __symptoms_daemon_fallback_initial_disposition, __symptoms_daemon_fallback_subseq_disposition, __symptoms_is_daemon_fallback_blacklisted, _symptom_framework_init, _symptom_framework_set_version, _symptom_new, _symptom_send, @@ -3355,17 +3298,14 @@ exports: _symptom_set_qualifier ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libsystem_trace.dylib' -current-version: 1815.61.1 +current-version: 1861.100.19 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _RTBinIndexForType, _RTLogBufferAddResource, _RTLogBufferAllocateResource, _RTLogBufferCheckStatus, _RTLogBufferGetHeader, _RTLogBufferGetResource, _RTLogBufferGetResourceSize, _RTLogBufferInitialize, _RTLogBufferIterate, @@ -3443,29 +3383,26 @@ exports: objc-classes: [ OS_os_log ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, arm64-macos, arm64e-macos ] +targets: [ x86_64-macos, arm64e-macos ] install-name: '/usr/lib/system/libsystem_trial.dylib' -current-version: 474.2 +current-version: 474.2.18 parent-umbrella: - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] umbrella: System exports: - - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] + - targets: [ x86_64-macos, arm64e-macos ] symbols: [ __os_trial_factor_get_bool_impl, __os_trial_factor_get_long_impl, __os_trial_factor_has_impl ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libunwind.dylib' -current-version: 1900.125 +current-version: 2100.2 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ __Unwind_Backtrace, __Unwind_DeleteException, __Unwind_FindEnclosingFunction, __Unwind_Find_FDE, __Unwind_ForcedUnwind, __Unwind_GetCFA, __Unwind_GetDataRelBase, __Unwind_GetGR, __Unwind_GetIP, __Unwind_GetIPInfo, @@ -3481,21 +3418,16 @@ exports: _unw_init_local, _unw_is_fpreg, _unw_is_signal_frame, _unw_iterate_dwarf_unwind_cache, _unw_local_addr_space, _unw_regname, _unw_resume, _unw_resume_with_frames_walked, _unw_set_fpreg, _unw_set_reg, _unw_step ] - - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] - symbols: [ ___unw_is_pointer_auth_enabled ] --- !tapi-tbd tbd-version: 4 -targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] +targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] install-name: '/usr/lib/system/libxpc.dylib' -current-version: 3089.60.7 +current-version: 3102.100.102 parent-umbrella: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] umbrella: System exports: - - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, - arm64e-macos, arm64e-maccatalyst ] + - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] symbols: [ _XPC_ACTIVITY_ALLOW_BATTERY, _XPC_ACTIVITY_APP_REFRESH, _XPC_ACTIVITY_CHECK_IN, _XPC_ACTIVITY_COMMUNICATES_WITH_PAIRED_DEVICE, _XPC_ACTIVITY_CPU_INTENSIVE, _XPC_ACTIVITY_DELAY, _XPC_ACTIVITY_DESIRED_MOTION_STATE, _XPC_ACTIVITY_DISK_INTENSIVE, @@ -3537,10 +3469,7 @@ exports: __launch_job_query_routine, __launch_job_routine, __launch_job_routine_async, __launch_msg2, __launch_server_test_routine, __launch_service_stats_copy_4ppse_impl, __launch_service_stats_copy_impl, __launch_trial_factors_routine, - __libxpc_initializer, __spawn_via_launchd, __system_ios_support_version_copy_string_sysctl, - __system_version_copy_string_plist, __system_version_copy_string_sysctl, - __system_version_fallback, __system_version_parse_string, - __system_version_plist_path, __vproc_get_last_exit_status, + __libxpc_initializer, __spawn_via_launchd, __vproc_get_last_exit_status, __vproc_grab_subset, __vproc_kickstart_by_label, __vproc_log, __vproc_log_error, __vproc_logv, __vproc_pid_is_managed, __vproc_post_fork_ping, __vproc_send_signal_by_label, __vproc_set_global_on_demand, @@ -3623,7 +3552,8 @@ exports: _launch_extension_property_path, _launch_extension_property_pid, _launch_extension_property_version, _launch_extension_property_xpc_bundle, _launch_get_fd, _launch_get_service_enabled, _launch_get_system_service_enabled, - _launch_job_query_get_additional_job_properties, _launch_load_mounted_jetsam_properties, + _launch_get_user_context, _launch_job_query_get_additional_job_properties, + _launch_load_jetsam_properties_path, _launch_load_mounted_jetsam_properties, _launch_msg, _launch_path_for_user_service_4coresim, _launch_perfcheck_property_endpoint_active, _launch_perfcheck_property_endpoint_event, _launch_perfcheck_property_endpoint_name, _launch_perfcheck_property_endpoint_needs_activation, _launch_perfcheck_property_endpoints, diff --git a/lib/libc/include/any-darwin-any/AssertMacros.h b/lib/libc/include/any-darwin-any/AssertMacros.h index 6408a53c24..a9ee1390db 100644 --- a/lib/libc/include/any-darwin-any/AssertMacros.h +++ b/lib/libc/include/any-darwin-any/AssertMacros.h @@ -134,7 +134,7 @@ * If you do not define DEBUG_ASSERT_PRODUCTION_CODE, the default value 1 will be used * (production code = no assertion code and no messages). * - * If you are building with modules modules this must be defined via a commandline + * If you are building with modules this must be defined via a commandline * flag (i.e. -DDEBUG_ASSERT_PRODUCTION_CODE=1) in order to work correctly. */ #ifndef DEBUG_ASSERT_PRODUCTION_CODE diff --git a/lib/libc/include/any-darwin-any/AvailabilityInternal.h b/lib/libc/include/any-darwin-any/AvailabilityInternal.h index cc4bc48b4f..16d3a6c212 100644 --- a/lib/libc/include/any-darwin-any/AvailabilityInternal.h +++ b/lib/libc/include/any-darwin-any/AvailabilityInternal.h @@ -37,11 +37,11 @@ #if __has_builtin(__is_target_os) #if __is_target_os(macos) #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ - #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_2 + #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4 #endif #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ - #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_2 + #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4 #endif /* __has_builtin(__is_target_os) */ #endif /* defined(__has_builtin) */ #endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */ @@ -51,11 +51,11 @@ #if __has_builtin(__is_target_os) #if __is_target_os(ios) #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ - #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_2 + #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4 #endif #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ - #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_2 + #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4 #endif /* __has_builtin(__is_target_os) */ #endif /* defined(__has_builtin) */ #endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */ @@ -65,13 +65,13 @@ #if __has_builtin(__is_target_os) #if __is_target_os(watchos) #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ - #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_2 + #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4 /* for compatibility with existing code. New code should use platform specific checks */ #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 #endif #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ - #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_2 + #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4 /* for compatibility with existing code. New code should use platform specific checks */ #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 #endif /* __has_builtin(__is_target_os) */ @@ -83,13 +83,13 @@ #if __has_builtin(__is_target_os) #if __is_target_os(tvos) #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ - #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_2 + #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4 /* for compatibility with existing code. New code should use platform specific checks */ #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 #endif #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ - #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_2 + #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4 /* for compatibility with existing code. New code should use platform specific checks */ #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0 #endif /* __has_builtin(__is_target_os) */ @@ -103,7 +103,7 @@ #if __has_builtin(__is_target_os) #if __is_target_os(driverkit) #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ - #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_2 + #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_4 #endif #endif /* __has_builtin(__is_target_os) */ #endif /* defined(__has_builtin) */ @@ -114,7 +114,7 @@ #if __has_builtin(__is_target_os) #if __is_target_os(visionos) #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ - #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_2 + #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_4 /* for compatibility with existing code. New code should use platform specific checks */ #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1 #endif diff --git a/lib/libc/include/any-darwin-any/AvailabilityInternalLegacy.h b/lib/libc/include/any-darwin-any/AvailabilityInternalLegacy.h index 9226c57629..9e91f2ddc9 100644 --- a/lib/libc/include/any-darwin-any/AvailabilityInternalLegacy.h +++ b/lib/libc/include/any-darwin-any/AvailabilityInternalLegacy.h @@ -2801,7 +2801,7 @@ #if __has_builtin(__is_target_environment) #if __has_builtin(__is_target_variant_os) #if __has_builtin(__is_target_variant_environment) - #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)) + #if __is_target_vendor(apple) && __is_target_os(ios) && __is_target_environment(macabi) #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION __attribute__((availability(ios,introduced=4.0))) #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION_DEP__IPHONE_COMPAT_VERSION __attribute__((availability(ios,unavailable))) #define __AVAILABILITY_INTERNAL__IPHONE_COMPAT_VERSION_DEP__IPHONE_COMPAT_VERSION_MSG(_msg) __attribute__((availability(ios,unavailable))) diff --git a/lib/libc/include/any-darwin-any/AvailabilityVersions.h b/lib/libc/include/any-darwin-any/AvailabilityVersions.h index 11b59c4f33..561f21e797 100644 --- a/lib/libc/include/any-darwin-any/AvailabilityVersions.h +++ b/lib/libc/include/any-darwin-any/AvailabilityVersions.h @@ -99,6 +99,8 @@ #define __MAC_26_0 260000 #define __MAC_26_1 260100 #define __MAC_26_2 260200 +#define __MAC_26_3 260300 +#define __MAC_26_4 260400 /* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ #define __IPHONE_2_0 20000 @@ -192,6 +194,8 @@ #define __IPHONE_26_0 260000 #define __IPHONE_26_1 260100 #define __IPHONE_26_2 260200 +#define __IPHONE_26_3 260300 +#define __IPHONE_26_4 260400 /* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ #define __WATCHOS_1_0 10000 @@ -254,6 +258,8 @@ #define __WATCHOS_26_0 260000 #define __WATCHOS_26_1 260100 #define __WATCHOS_26_2 260200 +#define __WATCHOS_26_3 260300 +#define __WATCHOS_26_4 260400 /* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ #define __TVOS_9_0 90000 @@ -316,6 +322,8 @@ #define __TVOS_26_0 260000 #define __TVOS_26_1 260100 #define __TVOS_26_2 260200 +#define __TVOS_26_3 260300 +#define __TVOS_26_4 260400 /* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ #define __BRIDGEOS_2_0 20000 @@ -355,6 +363,8 @@ #define __BRIDGEOS_10_0 100000 #define __BRIDGEOS_10_1 100100 #define __BRIDGEOS_10_2 100200 +#define __BRIDGEOS_10_3 100300 +#define __BRIDGEOS_10_4 100400 #define __DRIVERKIT_19_0 190000 @@ -381,6 +391,8 @@ #define __DRIVERKIT_25_0 250000 #define __DRIVERKIT_25_1 250100 #define __DRIVERKIT_25_2 250200 +#define __DRIVERKIT_25_3 250300 +#define __DRIVERKIT_25_4 250400 /* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ #define __VISIONOS_1_0 10000 @@ -398,6 +410,8 @@ #define __VISIONOS_26_0 260000 #define __VISIONOS_26_1 260100 #define __VISIONOS_26_2 260200 +#define __VISIONOS_26_3 260300 +#define __VISIONOS_26_4 260400 /* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */ @@ -490,6 +504,8 @@ #define MAC_OS_VERSION_26_0 __MAC_26_0 #define MAC_OS_VERSION_26_1 __MAC_26_1 #define MAC_OS_VERSION_26_2 __MAC_26_2 +#define MAC_OS_VERSION_26_3 __MAC_26_3 +#define MAC_OS_VERSION_26_4 __MAC_26_4 #endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */ diff --git a/lib/libc/include/any-darwin-any/TargetConditionals.h b/lib/libc/include/any-darwin-any/TargetConditionals.h index 8df6436371..bbab252083 100644 --- a/lib/libc/include/any-darwin-any/TargetConditionals.h +++ b/lib/libc/include/any-darwin-any/TargetConditionals.h @@ -337,27 +337,9 @@ #endif /* - * __is_target_arch based defines + * GCC and clang */ -#if defined(__has_builtin) && __has_builtin(__is_target_arch) - #if __is_target_arch(arm64) || __is_target_arch(arm64e) || __is_target_arch(arm64_32) - #define TARGET_CPU_ARM64 1 - #elif __is_target_arch(arm) - #define TARGET_CPU_ARM 1 - #elif __is_target_arch(x86_64) - #define TARGET_CPU_X86_64 1 - #elif __is_target_arch(i386) - #define TARGET_CPU_X86 1 - #else - - #error unrecognized arch using compiler with __is_target_arch support - - #endif - -/* - * GCC and older clang fallback - */ -#elif defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__) ) +#if defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__) ) #if defined(__ppc__) #define TARGET_CPU_PPC 1 #elif defined(__ppc64__) @@ -371,7 +353,9 @@ #elif defined(__arm64__) #define TARGET_CPU_ARM64 1 #else - #error unrecognized GNU C compiler + + #error unrecognized GNU C compiler + #endif /* diff --git a/lib/libc/include/any-darwin-any/_regex.h b/lib/libc/include/any-darwin-any/_regex.h index 76bd384873..9d5fdc6e61 100644 --- a/lib/libc/include/any-darwin-any/_regex.h +++ b/lib/libc/include/any-darwin-any/_regex.h @@ -151,9 +151,12 @@ typedef struct { #define REG_MINIMAL 0100 /* Compile using minimal repetition */ #define REG_UNGREEDY REG_MINIMAL #endif - #define REG_DUMP 0200 /* Unused */ - +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_26_4 \ + || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_26_4 \ + || defined(__DRIVERKIT_VERSION_MIN_REQUIRED) +#define REG_USEBYTES REG_DUMP /* Used internally by TRE */ +#endif #if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \ || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \ || defined(__DRIVERKIT_VERSION_MIN_REQUIRED) @@ -184,6 +187,7 @@ typedef struct { #define REG_ASSERT 15 /* Unused */ #define REG_INVARG 16 /* invalid argument to regex routine */ #define REG_ILLSEQ 17 /* illegal byte sequence */ +#define REG_BADMAX 18 /* maximum repetition exceeds RE_DUP_MAX */ #define REG_ATOI 255 /* convert name to number (!) */ #define REG_ITOA 0400 /* convert number to name (!) */ @@ -199,8 +203,12 @@ typedef struct { #define REG_STARTEND 00004 /* String start/end in pmatch[0] */ #define REG_TRACE 00400 /* Unused */ #define REG_LARGE 01000 /* Unused */ +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_26_4 \ + || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_26_4 \ + || defined(__DRIVERKIT_VERSION_MIN_REQUIRED) +#define REG_APPROX_MATCHER REG_LARGE /* Used internally by TRE */ +#endif #define REG_BACKR 02000 /* force use of backref code */ - #if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 \ || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 \ || defined(__DRIVERKIT_VERSION_MIN_REQUIRED) diff --git a/lib/libc/include/any-darwin-any/copyfile.h b/lib/libc/include/any-darwin-any/copyfile.h index 2128a1699d..a131abc54b 100644 --- a/lib/libc/include/any-darwin-any/copyfile.h +++ b/lib/libc/include/any-darwin-any/copyfile.h @@ -98,6 +98,7 @@ typedef int (*copyfile_callback_t)(int, int, copyfile_state_t, const char *__uns #define COPYFILE_METADATA (COPYFILE_SECURITY | COPYFILE_XATTR) #define COPYFILE_ALL (COPYFILE_METADATA | COPYFILE_DATA) +#define COPYFILE_NOCACHE (1<<14) /* when using fcopyfile() force the fd to turn caching off */ #define COPYFILE_RECURSIVE (1<<15) /* Descend into hierarchies */ #define COPYFILE_CHECK (1<<16) /* return flags for xattr or acls if set */ #define COPYFILE_EXCL (1<<17) /* fail if destination exists */ diff --git a/lib/libc/include/any-darwin-any/dirent.h b/lib/libc/include/any-darwin-any/dirent.h index 040be482fc..1318be0f03 100644 --- a/lib/libc/include/any-darwin-any/dirent.h +++ b/lib/libc/include/any-darwin-any/dirent.h @@ -67,6 +67,7 @@ #include #include #include /* __darwin_pthread_mutex_t */ +#include _LIBC_SINGLE_BY_DEFAULT() @@ -75,8 +76,8 @@ struct _telldir; /* forward reference */ /* structure describing an open directory. */ typedef struct { int __dd_fd; /* file descriptor associated with directory */ - long __dd_loc; /* offset in current buffer */ - long __dd_size; /* amount of data returned */ + size_t __dd_loc; /* offset in current buffer */ + size_t __dd_size; /* amount of data returned */ char *_LIBC_COUNT(__dd_len) __dd_buf; /* data buffer */ int __dd_len; /* size of data buffer */ long __dd_seek; /* magic cookie returned */ @@ -110,6 +111,7 @@ int closedir(DIR *) __DARWIN_ALIAS(closedir); DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir); struct dirent *readdir(DIR *) __DARWIN_INODE64(readdir); +__deprecated_msg("This function cannot be used safely as it does not take into account the variability of {NAME_MAX}. It is highly recommended that you use readdir(3) instead.") int readdir_r(DIR *, struct dirent *, struct dirent **) __DARWIN_INODE64(readdir_r); void rewinddir(DIR *) __DARWIN_ALIAS_I(rewinddir); @@ -171,6 +173,34 @@ __END_DECLS #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL __BEGIN_DECLS +int fdclosedir(DIR *) + __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4)); + +int fdscandir(int, struct dirent ***, + int (*)(const struct dirent *), int (*)(const struct dirent **, + const struct dirent **)) + __DARWIN_INODE64(fdscandir) + __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4)); +#ifdef __BLOCKS__ +int fdscandir_b(int, struct dirent ***, + int (^)(const struct dirent *) __scandir_noescape, + int (^)(const struct dirent **, const struct dirent **) __scandir_noescape) + __DARWIN_INODE64(fdscandir_b) + __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4)); +#endif +int scandirat(int, const char *, struct dirent ***, + int (*)(const struct dirent *), int (*)(const struct dirent **, + const struct dirent **)) + __DARWIN_INODE64(scandirat) + __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4)); +#ifdef __BLOCKS__ +int scandirat_b(int, const char *, struct dirent ***, + int (^)(const struct dirent *) __scandir_noescape, + int (^)(const struct dirent **, const struct dirent **) __scandir_noescape) + __DARWIN_INODE64(scandirat_b) + __API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4), tvos(26.4), visionos(26.4)); +#endif + int getdirentries(int, char *_LIBC_COUNT(__nbytes), int __nbytes, long *) #if __DARWIN_64_BIT_INO_T diff --git a/lib/libc/include/any-darwin-any/dispatch/base.h b/lib/libc/include/any-darwin-any/dispatch/base.h index 048c0ca885..e9efea4518 100644 --- a/lib/libc/include/any-darwin-any/dispatch/base.h +++ b/lib/libc/include/any-darwin-any/dispatch/base.h @@ -222,6 +222,12 @@ #define DISPATCH_COLD #endif +#if __has_attribute(no_sanitize) +#define DISPATCH_NO_UBSAN __attribute__((no_sanitize("undefined"))) +#else +#define DISPATCH_NO_UBSAN +#endif + #if __has_feature(assume_nonnull) #define DISPATCH_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin") #define DISPATCH_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end") @@ -305,11 +311,13 @@ #if __has_feature(enumerator_attributes) #define DISPATCH_ENUM_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__) +#define DISPATCH_ENUM_SPI_AVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__) #define DISPATCH_ENUM_API_DEPRECATED(...) API_DEPRECATED(__VA_ARGS__) #define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...) \ API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__) #else #define DISPATCH_ENUM_API_AVAILABLE(...) +#define DISPATCH_ENUM_SPI_AVAILABLE(...) #define DISPATCH_ENUM_API_DEPRECATED(...) #define DISPATCH_ENUM_API_DEPRECATED_WITH_REPLACEMENT(...) #endif diff --git a/lib/libc/include/any-darwin-any/dispatch/dispatch_swift_shims.h b/lib/libc/include/any-darwin-any/dispatch/dispatch_swift_shims.h index cbbe3d8b73..71ca94e86f 100644 --- a/lib/libc/include/any-darwin-any/dispatch/dispatch_swift_shims.h +++ b/lib/libc/include/any-darwin-any/dispatch/dispatch_swift_shims.h @@ -38,7 +38,8 @@ DISPATCH_REFINED_FOR_SWIFT DISPATCH_SWIFT_NAME(DispatchSerialQueue.init(__label: static inline dispatch_queue_serial_t dispatch_serial_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label, dispatch_queue_attr_t _Nullable attr, dispatch_queue_t _Nullable target) { - return dispatch_queue_create_with_target(label, attr, target); + return (dispatch_queue_serial_t) + dispatch_queue_create_with_target(label, attr, target); } DISPATCH_MALLOC DISPATCH_RETURNS_RETAINED DISPATCH_WARN_RESULT @@ -47,7 +48,8 @@ DISPATCH_REFINED_FOR_SWIFT DISPATCH_SWIFT_NAME(DispatchConcurrentQueue.init(__la static inline dispatch_queue_concurrent_t dispatch_concurrent_queue_create_with_target_4swift(const char *_Nullable DISPATCH_UNSAFE_INDEXABLE label, dispatch_queue_attr_t _Nullable attr, dispatch_queue_t _Nullable target) { - return dispatch_queue_create_with_target(label, attr, target); + return (dispatch_queue_concurrent_t) + dispatch_queue_create_with_target(label, attr, target); } #endif diff --git a/lib/libc/include/any-darwin-any/dispatch/once.h b/lib/libc/include/any-darwin-any/dispatch/once.h index bad03f125a..18c9cf32c5 100644 --- a/lib/libc/include/any-darwin-any/dispatch/once.h +++ b/lib/libc/include/any-darwin-any/dispatch/once.h @@ -76,6 +76,7 @@ dispatch_once(dispatch_once_t *predicate, #if DISPATCH_ONCE_INLINE_FASTPATH DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL_ALL DISPATCH_NOTHROW +DISPATCH_NO_UBSAN DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead") void _dispatch_once(dispatch_once_t *predicate, @@ -102,7 +103,7 @@ dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context, #if DISPATCH_ONCE_INLINE_FASTPATH DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL1 DISPATCH_NONNULL3 -DISPATCH_NOTHROW +DISPATCH_NOTHROW DISPATCH_NO_UBSAN DISPATCH_SWIFT3_UNAVAILABLE("Use lazily initialized globals instead") void _dispatch_once_f(dispatch_once_t *predicate, void *_Nullable context, diff --git a/lib/libc/include/any-darwin-any/dispatch/workloop.h b/lib/libc/include/any-darwin-any/dispatch/workloop.h index ae89dedcd1..f1e806a063 100644 --- a/lib/libc/include/any-darwin-any/dispatch/workloop.h +++ b/lib/libc/include/any-darwin-any/dispatch/workloop.h @@ -136,6 +136,7 @@ void dispatch_workloop_set_autorelease_frequency(dispatch_workloop_t workloop, dispatch_autorelease_frequency_t frequency); +#ifdef __APPLE__ /*! * @function dispatch_workloop_set_os_workgroup * @@ -167,6 +168,7 @@ DISPATCH_REFINED_FOR_SWIFT void dispatch_workloop_set_os_workgroup(dispatch_workloop_t workloop, os_workgroup_t workgroup); +#endif __END_DECLS diff --git a/lib/libc/include/any-darwin-any/glob.h b/lib/libc/include/any-darwin-any/glob.h index 93a912df20..0de1ab0cf5 100644 --- a/lib/libc/include/any-darwin-any/glob.h +++ b/lib/libc/include/any-darwin-any/glob.h @@ -55,14 +55,14 @@ typedef struct { int gl_flags; /* Copy of flags parameter to glob. */ char *_LIBC_CSTR *_LIBC_COUNT(gl_matchc) gl_pathv; /* List of paths matching pattern. */ /* Copy of errfunc parameter to glob. */ -#ifdef __BLOCKS__ union { -#endif /* __BLOCKS__ */ int (*gl_errfunc)(const char *, int); #ifdef __BLOCKS__ int (^gl_errblk)(const char *, int); +#else + void *gl_errblk; +#endif }; -#endif /* __BLOCKS__ */ /* * Alternate filesystem access methods for glob; replacement @@ -107,9 +107,11 @@ typedef struct { #define GLOB_QUOTE 0x0400 /* Quote special chars with \. */ #define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */ #define GLOB_LIMIT 0x1000 /* limit number of returned paths */ -#ifdef __BLOCKS__ +#ifdef __APPLE__ #define _GLOB_ERR_BLOCK 0x80000000 /* (internal) error callback is a block */ -#endif /* __BLOCKS__ */ +#else +#define _GLOB_ERR_BLOCK 0x08000000 /* (internal) error callback is a block */ +#endif /* source compatibility, these are the old names */ #define GLOB_MAXPATH GLOB_LIMIT diff --git a/lib/libc/include/any-darwin-any/mach-o/loader.h b/lib/libc/include/any-darwin-any/mach-o/loader.h index 0f1ad45923..c568d0ecca 100644 --- a/lib/libc/include/any-darwin-any/mach-o/loader.h +++ b/lib/libc/include/any-darwin-any/mach-o/loader.h @@ -346,7 +346,7 @@ struct load_command { #define LC_FUNCTION_VARIANTS 0x37 /* used with linkedit_data_command */ #define LC_FUNCTION_VARIANT_FIXUPS 0x38 /* used with linkedit_data_command */ #define LC_TARGET_TRIPLE 0x39 /* target triple used to compile */ - +#define LC_LAZY_LOAD_DYLIB_INFO 0x3A /* used with linkedit_data_command */ /* @@ -1250,8 +1250,8 @@ struct linkedit_data_command { LC_DYLIB_CODE_SIGN_DRS, LC_ATOM_INFO, LC_LINKER_OPTIMIZATION_HINT, LC_DYLD_EXPORTS_TRIE, - LC_FUNCTION_VARIANTS, LC_FUNCTION_VARIANT_FIXUPS, or - LC_DYLD_CHAINED_FIXUPS. */ + LC_FUNCTION_VARIANTS, LC_FUNCTION_VARIANT_FIXUPS, + LC_DYLD_CHAINED_FIXUPS, or LC_LAZY_LOAD_DYLIB_INFO */ uint32_t cmdsize; /* sizeof(struct linkedit_data_command) */ uint32_t dataoff; /* file offset of data in __LINKEDIT segment */ uint32_t datasize; /* file size of data in __LINKEDIT segment */ diff --git a/lib/libc/include/any-darwin-any/mach/arm/_structs.h b/lib/libc/include/any-darwin-any/mach/arm/_structs.h index eb30f0ab46..1e38f2dd84 100644 --- a/lib/libc/include/any-darwin-any/mach/arm/_structs.h +++ b/lib/libc/include/any-darwin-any/mach/arm/_structs.h @@ -198,6 +198,7 @@ _STRUCT_ARM_THREAD_STATE64 #define __DARWIN_ARM_THREAD_STATE64_FLAGS_IB_SIGNED_LR 0x2 #define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_PC 0x4 #define __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_LR 0x8 +#define __DARWIN_ARM_THREAD_STATE64_FLAGS_CUSTOM_X18_ABI 0x10 #define __DARWIN_ARM_THREAD_STATE64_USER_DIVERSIFIER_MASK 0xff000000 diff --git a/lib/libc/include/any-darwin-any/mach/arm/exception.h b/lib/libc/include/any-darwin-any/mach/arm/exception.h index abbfb2f532..112f44b5fa 100644 --- a/lib/libc/include/any-darwin-any/mach/arm/exception.h +++ b/lib/libc/include/any-darwin-any/mach/arm/exception.h @@ -75,6 +75,7 @@ #define EXC_ARM_MTE_TAGCHECK_FAIL 0x106 /* MTE Tag Check failure */ #define EXC_ARM_MTE_CANONICAL_FAIL 0x107 /* MTE Canonical Tag access fail */ + /* * EXC_BREAKPOINT */ diff --git a/lib/libc/include/any-darwin-any/mach/arm/thread_status.h b/lib/libc/include/any-darwin-any/mach/arm/thread_status.h index 9a6a06384d..3476048ba4 100644 --- a/lib/libc/include/any-darwin-any/mach/arm/thread_status.h +++ b/lib/libc/include/any-darwin-any/mach/arm/thread_status.h @@ -89,7 +89,7 @@ #define ARM_SME_ZA_STATE9 40 #define ARM_SME_ZA_STATE10 41 #define ARM_SME_ZA_STATE11 42 -#define ARM_SME_ZA_STATE12 42 +#define ARM_SME_ZA_STATE12 43 #define ARM_SME_ZA_STATE13 44 #define ARM_SME_ZA_STATE14 45 #define ARM_SME_ZA_STATE15 46 diff --git a/lib/libc/include/any-darwin-any/mach/kern_return.h b/lib/libc/include/any-darwin-any/mach/kern_return.h index d60a113e67..3c38f0e54f 100644 --- a/lib/libc/include/any-darwin-any/mach/kern_return.h +++ b/lib/libc/include/any-darwin-any/mach/kern_return.h @@ -339,6 +339,10 @@ /* A search or query operation did not return a result */ +#define KERN_INVALID_GUARD_OBJECT_SLOT 57 +/* Access to an guarded object slot attempted + */ + #define KERN_RETURN_MAX 0x100 /* Maximum return value allowable */ diff --git a/lib/libc/include/any-darwin-any/mach/mach_host.h b/lib/libc/include/any-darwin-any/mach/mach_host.h index 64b9dc669f..b6e09f4a0c 100644 --- a/lib/libc/include/any-darwin-any/mach/mach_host.h +++ b/lib/libc/include/any-darwin-any/mach/mach_host.h @@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t; #endif /* AUTOTEST */ #ifndef mach_host_MSG_COUNT -#define mach_host_MSG_COUNT 35 +#define mach_host_MSG_COUNT 36 #endif /* mach_host_MSG_COUNT */ #include @@ -443,6 +443,23 @@ kern_return_t mach_zone_info_for_zone mach_zone_info_t *info ); +/* Routine mach_memory_info_redacted */ +#ifdef mig_external +mig_external +#else +extern +#endif /* mig_external */ +kern_return_t mach_memory_info_redacted +( + mach_port_t host, + mach_zone_name_array_t *names, + mach_msg_type_number_t *namesCnt, + mach_zone_info_array_t *info, + mach_msg_type_number_t *infoCnt, + mach_memory_info_array_t *memory_info, + mach_msg_type_number_t *memory_infoCnt +); + __END_DECLS /********************** Caution **************************/ @@ -787,6 +804,16 @@ __END_DECLS #ifdef __MigPackStructs #pragma pack(pop) #endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + } __Request__mach_memory_info_redacted_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif #endif /* !__Request__mach_host_subsystem__defined */ /* union of all requests */ @@ -821,6 +848,7 @@ union __RequestUnion__mach_host_subsystem { __Request__host_get_multiuser_config_flags_t Request_host_get_multiuser_config_flags; __Request__host_check_multiuser_mode_t Request_host_check_multiuser_mode; __Request__mach_zone_info_for_zone_t Request_mach_zone_info_for_zone; + __Request__mach_memory_info_redacted_t Request_mach_memory_info_redacted; }; #endif /* !__RequestUnion__mach_host_subsystem__defined */ /* typedefs for all replies */ @@ -1217,6 +1245,26 @@ union __RequestUnion__mach_host_subsystem { #ifdef __MigPackStructs #pragma pack(pop) #endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + /* start of the kernel processed data */ + mach_msg_body_t msgh_body; + mach_msg_ool_descriptor_t names; + mach_msg_ool_descriptor_t info; + mach_msg_ool_descriptor_t memory_info; + /* end of the kernel processed data */ + NDR_record_t NDR; + mach_msg_type_number_t namesCnt; + mach_msg_type_number_t infoCnt; + mach_msg_type_number_t memory_infoCnt; + } __Reply__mach_memory_info_redacted_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif #endif /* !__Reply__mach_host_subsystem__defined */ /* union of all replies */ @@ -1251,6 +1299,7 @@ union __ReplyUnion__mach_host_subsystem { __Reply__host_get_multiuser_config_flags_t Reply_host_get_multiuser_config_flags; __Reply__host_check_multiuser_mode_t Reply_host_check_multiuser_mode; __Reply__mach_zone_info_for_zone_t Reply_mach_zone_info_for_zone; + __Reply__mach_memory_info_redacted_t Reply_mach_memory_info_redacted; }; #endif /* !__RequestUnion__mach_host_subsystem__defined */ @@ -1282,7 +1331,8 @@ union __ReplyUnion__mach_host_subsystem { { "host_set_multiuser_config_flags", 228 },\ { "host_get_multiuser_config_flags", 229 },\ { "host_check_multiuser_mode", 230 },\ - { "mach_zone_info_for_zone", 231 } + { "mach_zone_info_for_zone", 231 },\ + { "mach_memory_info_redacted", 235 } #endif #ifdef __AfterMigUserHeader diff --git a/lib/libc/include/any-darwin-any/mach/mach_traps.h b/lib/libc/include/any-darwin-any/mach/mach_traps.h index 6bd4a8ec7a..546dfb7cf0 100644 --- a/lib/libc/include/any-darwin-any/mach/mach_traps.h +++ b/lib/libc/include/any-darwin-any/mach/mach_traps.h @@ -299,7 +299,11 @@ extern kern_return_t debug_control_port_for_pid( extern mach_error_t mach_vm_reclaim_update_kernel_accounting_trap( mach_port_name_t target_tport, - uint64_t *bytes_reclaimed); + uint64_t *bytes_reclaimed, + uint64_t *next_deadline); + +extern kern_return_t thread_set_x86_64_compat( + uint32_t enable); __END_DECLS diff --git a/lib/libc/include/any-darwin-any/mach/mach_types.h b/lib/libc/include/any-darwin-any/mach/mach_types.h index 85e4223dc9..a3d9df59dd 100644 --- a/lib/libc/include/any-darwin-any/mach/mach_types.h +++ b/lib/libc/include/any-darwin-any/mach/mach_types.h @@ -126,6 +126,7 @@ typedef mach_port_t thread_t; typedef mach_port_t thread_act_t; typedef mach_port_t thread_inspect_t; typedef mach_port_t thread_read_t; +typedef mach_port_t thread_suspension_token_t; typedef mach_port_t ipc_space_t; typedef mach_port_t ipc_space_read_t; typedef mach_port_t ipc_space_inspect_t; @@ -278,6 +279,9 @@ typedef unsigned int mach_thread_flavor_t; typedef natural_t ledger_item_t; #define LEDGER_ITEM_INFINITY ((ledger_item_t) (~0)) +typedef uint32_t ledger_entry_id_t; +#define LEDGER_ENTRY_ID_INVALID ((ledger_entry_id_t)0) + typedef int64_t ledger_amount_t; #define LEDGER_LIMIT_INFINITY ((ledger_amount_t)((1ULL << 63) - 1)) diff --git a/lib/libc/include/any-darwin-any/mach/mach_voucher_types.h b/lib/libc/include/any-darwin-any/mach/mach_voucher_types.h index d54abdd41d..76836fc90e 100644 --- a/lib/libc/include/any-darwin-any/mach/mach_voucher_types.h +++ b/lib/libc/include/any-darwin-any/mach/mach_voucher_types.h @@ -136,6 +136,15 @@ typedef mach_voucher_attr_recipe_command_t *mach_voucher_attr_recipe_command_arr #define MACH_VOUCHER_ATTR_AUTO_REDEEM ((mach_voucher_attr_recipe_command_t)4) #define MACH_VOUCHER_ATTR_SEND_PREPROCESS ((mach_voucher_attr_recipe_command_t)5) +#if __BUILDING_XNU_LIB_UNITTEST__ +/* + * These are test-only voucher commands exposed so we have a means to + * unit test 'allowed voucher command' and 'disallowed voucher command' logic. + */ +#define MACH_VOUCHER_ATTR_UNIT_TEST_VECTOR_ALLOWED ((mach_voucher_attr_recipe_command_t)6) +#define MACH_VOUCHER_ATTR_UNIT_TEST_VECTOR_DISALLOWED ((mach_voucher_attr_recipe_command_t)7) +#endif /* __BUILDING_XNU_LIB_UNITTEST__ */ + /* redeem is on its way out? */ #define MACH_VOUCHER_ATTR_REDEEM ((mach_voucher_attr_recipe_command_t)10) diff --git a/lib/libc/include/any-darwin-any/mach/machine.h b/lib/libc/include/any-darwin-any/mach/machine.h index d9df04607b..97cfe9f76d 100644 --- a/lib/libc/include/any-darwin-any/mach/machine.h +++ b/lib/libc/include/any-darwin-any/mach/machine.h @@ -410,6 +410,7 @@ typedef integer_t cpu_threadtype_t; #define CPUFAMILY_ARM_TAHITI 0x75d4acb9 #define CPUFAMILY_ARM_TUPAI 0x204526d0 #define CPUFAMILY_ARM_HIDRA 0x1d5a87e8 +#define CPUFAMILY_ARM_SOTRA 0xf76c5b1a #define CPUFAMILY_ARM_THERA 0xab345f09 #define CPUFAMILY_ARM_TILOS 0x01d7a72b diff --git a/lib/libc/include/any-darwin-any/mach/message.h b/lib/libc/include/any-darwin-any/mach/message.h index dcf6eba833..7ba9295350 100644 --- a/lib/libc/include/any-darwin-any/mach/message.h +++ b/lib/libc/include/any-darwin-any/mach/message.h @@ -296,6 +296,7 @@ typedef struct { unsigned int pad3 : 24; mach_msg_descriptor_type_t type : 8; } mach_msg_type_descriptor_t; +xnu_static_assert_struct_size(mach_msg_type_descriptor_t, 12); typedef struct { mach_port_t name; @@ -304,6 +305,7 @@ typedef struct { mach_msg_type_name_t disposition : 8; mach_msg_descriptor_type_t type : 8; } mach_msg_port_descriptor_t; +xnu_static_assert_struct_size_kernel_user(mach_msg_port_descriptor_t, 16, 12); typedef struct { @@ -314,6 +316,7 @@ typedef struct { unsigned int pad1: 8; mach_msg_descriptor_type_t type: 8; } mach_msg_ool_descriptor32_t; +xnu_static_assert_struct_size(mach_msg_ool_descriptor32_t, 12); typedef struct { uint64_t address; @@ -323,6 +326,7 @@ typedef struct { mach_msg_descriptor_type_t type: 8; mach_msg_size_t size; } mach_msg_ool_descriptor64_t; +xnu_static_assert_struct_size(mach_msg_ool_descriptor64_t, 16); typedef struct { void *address; @@ -337,6 +341,7 @@ typedef struct { mach_msg_size_t size; #endif } mach_msg_ool_descriptor_t; +xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_ool_descriptor_t, 16, 16, 12); typedef struct { uint32_t address; @@ -346,6 +351,7 @@ typedef struct { mach_msg_type_name_t disposition : 8; mach_msg_descriptor_type_t type : 8; } mach_msg_ool_ports_descriptor32_t; +xnu_static_assert_struct_size(mach_msg_ool_descriptor32_t, 12); typedef struct { uint64_t address; @@ -355,6 +361,7 @@ typedef struct { mach_msg_descriptor_type_t type : 8; mach_msg_size_t count; } mach_msg_ool_ports_descriptor64_t; +xnu_static_assert_struct_size(mach_msg_ool_ports_descriptor64_t, 16); typedef struct { void *address; @@ -369,6 +376,7 @@ typedef struct { mach_msg_size_t count; #endif } mach_msg_ool_ports_descriptor_t; +xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_ool_ports_descriptor_t, 16, 16, 12); typedef struct { uint32_t context; @@ -377,6 +385,7 @@ typedef struct { mach_msg_type_name_t disposition : 8; mach_msg_descriptor_type_t type : 8; } mach_msg_guarded_port_descriptor32_t; +xnu_static_assert_struct_size(mach_msg_guarded_port_descriptor32_t, 12); typedef struct { uint64_t context; @@ -385,6 +394,7 @@ typedef struct { mach_msg_descriptor_type_t type : 8; mach_port_name_t name; } mach_msg_guarded_port_descriptor64_t; +xnu_static_assert_struct_size(mach_msg_guarded_port_descriptor64_t, 16); typedef struct { mach_port_context_t context; @@ -398,6 +408,7 @@ typedef struct { mach_port_name_t name; #endif /* defined(__LP64__) */ } mach_msg_guarded_port_descriptor_t; +xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_guarded_port_descriptor_t, 16, 16, 12); /* * LP64support - This union definition is not really @@ -411,10 +422,12 @@ typedef union { mach_msg_type_descriptor_t type; mach_msg_guarded_port_descriptor_t guarded_port; } mach_msg_descriptor_t; +xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_descriptor_t, 16, 16, 12); typedef struct { mach_msg_size_t msgh_descriptor_count; } mach_msg_body_t; +xnu_static_assert_struct_size(mach_msg_body_t, 4); #define MACH_MSG_BODY_NULL ((mach_msg_body_t *) 0) #define MACH_MSG_DESCRIPTOR_NULL ((mach_msg_descriptor_t *) 0) @@ -427,6 +440,7 @@ typedef struct { mach_port_name_t msgh_voucher_port; mach_msg_id_t msgh_id; } mach_msg_header_t; +xnu_static_assert_struct_size_kernel_user(mach_msg_header_t, 32, 24); #define msgh_reserved msgh_voucher_port @@ -436,6 +450,7 @@ typedef struct { mach_msg_header_t header; mach_msg_body_t body; } mach_msg_base_t; +xnu_static_assert_struct_size_kernel_user(mach_msg_base_t, 36, 28); typedef unsigned int mach_msg_trailer_type_t; @@ -449,6 +464,7 @@ typedef struct { mach_msg_trailer_type_t msgh_trailer_type; mach_msg_trailer_size_t msgh_trailer_size; } mach_msg_trailer_t; +xnu_static_assert_struct_size(mach_msg_trailer_t, 8); /* * The msgh_seqno field carries a sequence number @@ -464,6 +480,7 @@ typedef struct { mach_msg_trailer_size_t msgh_trailer_size; mach_port_seqno_t msgh_seqno; } mach_msg_seqno_trailer_t; +xnu_static_assert_struct_size(mach_msg_seqno_trailer_t, 12); typedef struct { unsigned int val[2]; @@ -475,6 +492,7 @@ typedef struct { mach_port_seqno_t msgh_seqno; security_token_t msgh_sender; } mach_msg_security_trailer_t; +xnu_static_assert_struct_size(mach_msg_security_trailer_t, 20); /* * The audit token is an opaque token which identifies @@ -512,6 +530,7 @@ typedef struct { security_token_t msgh_sender; audit_token_t msgh_audit; } mach_msg_audit_trailer_t; +xnu_static_assert_struct_size(mach_msg_audit_trailer_t, 52); typedef struct { mach_msg_trailer_type_t msgh_trailer_type; @@ -521,6 +540,7 @@ typedef struct { audit_token_t msgh_audit; mach_port_context_t msgh_context; } mach_msg_context_trailer_t; +xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_context_trailer_t, 60, 60, 56); @@ -546,6 +566,7 @@ typedef struct { mach_msg_filter_id msgh_ad; msg_labels_t msgh_labels; } mach_msg_mac_trailer_t; +xnu_static_assert_struct_size_kernel_user64_user32(mach_msg_mac_trailer_t, 68, 68, 64); #define MACH_MSG_TRAILER_MINIMUM_SIZE sizeof(mach_msg_trailer_t) diff --git a/lib/libc/include/any-darwin-any/mach/port.h b/lib/libc/include/any-darwin-any/mach/port.h index 4d0fdcb1ca..e6afe82bcf 100644 --- a/lib/libc/include/any-darwin-any/mach/port.h +++ b/lib/libc/include/any-darwin-any/mach/port.h @@ -91,6 +91,29 @@ #include #include +/* + * Helpers to declare and lock down the expected size for structures. + * Some structures must remain a constant size due to performance or ABI implications. + * It's not necessarily an issue if you need to bump a size passed to these macros: act judiciously. + */ +#if __arm64__ +#define xnu_static_assert_struct_size(name, expected_size) _Static_assert(\ + sizeof(name) == expected_size, "struct changed size unexpectedly") +#else /* __arm64__ */ +/* Don't bother trying to lock down structure sizes on !__arm64__ */ +#define xnu_static_assert_struct_size(name, expected_size) _Static_assert(0 == 0, "no-op assert") +#endif /* __arm64__ */ + +#define xnu_static_assert_struct_size_kernel_user(name, expected_kernel_size, expected_user_size) \ + xnu_static_assert_struct_size(name, expected_user_size) +#ifdef __LP64__ +#define xnu_static_assert_struct_size_kernel_user64_user32(name, _kern_size, expected_user64_size, _u32_size) \ + xnu_static_assert_struct_size(name, expected_user64_size) +#else /* __LP64__ */ +#define xnu_static_assert_struct_size_kernel_user64_user32(name, _kern_size, _u64_size, expected_user32_size) \ + xnu_static_assert_struct_size(name, expected_user32_size) +#endif /* __LP64__ */ + /* * mach_port_name_t - the local identity for a Mach port * @@ -341,8 +364,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t; */ #define MACH_PORT_CONNECTION_PORT_WITH_PORT_ARRAY "com.apple.developer.allow-connection-port-with-port-array" -/* Allows 1p process to create provisional reply port (to be rename to weak reply port) */ -#define MACH_PORT_PROVISIONAL_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port" +/* Allows 1p process to create weak reply port */ +#define MACH_PORT_WEAK_REPLY_ENTITLEMENT "com.apple.private.allow-weak-reply-port" /* * Flags for mach_port_options (used for @@ -387,7 +410,8 @@ typedef struct mach_service_port_info * mach_service_port_info_t; #define MPO_SERVICE_PORT MPO_SERVICE_PORT #define MPO_CONNECTION_PORT MPO_CONNECTION_PORT #define MPO_REPLY_PORT MPO_REPLY_PORT - #define MPO_PROVISIONAL_REPLY_PORT MPO_PROVISIONAL_REPLY_PORT + #define MPO_WEAK_REPLY_PORT MPO_WEAK_REPLY_PORT + #define MPO_NOTIFICATION_PORT MPO_NOTIFICATION_PORT #define MPO_EXCEPTION_PORT MPO_EXCEPTION_PORT #define MPO_CONNECTION_PORT_WITH_PORT_ARRAY MPO_CONNECTION_PORT_WITH_PORT_ARRAY __options_decl(mpo_flags_t, uint32_t, { @@ -399,13 +423,19 @@ __options_decl(mpo_flags_t, uint32_t, { MPO_CONNECTION_PORT = MPO_MAKE_PORT_TYPE(0, 2), /* 0x800 */ /* Designate port as a reply port */ MPO_REPLY_PORT = MPO_MAKE_PORT_TYPE(0, 4), /* 0x1000 */ - /* Designate port as a provisional (fake) reply port */ - MPO_PROVISIONAL_REPLY_PORT = MPO_MAKE_PORT_TYPE(1, 0), /* 0x4000 */ + /* Designate port as a weak (fake) reply port */ + MPO_WEAK_REPLY_PORT = MPO_MAKE_PORT_TYPE(1, 0), /* 0x4000 */ + /* Designate port as a notification port */ + MPO_NOTIFICATION_PORT = MPO_MAKE_PORT_TYPE(1, 1), /* 0x4400 */ /* Used for hardened exceptions - immovable */ MPO_EXCEPTION_PORT = MPO_MAKE_PORT_TYPE(2, 0), /* 0x8000 */ /* Can receive OOL port array descriptors */ MPO_CONNECTION_PORT_WITH_PORT_ARRAY = MPO_MAKE_PORT_TYPE(4, 0), /* 0x10000 */ }); + +/* For bincompat: weak reply port used to be called provisional reply port */ +#define MPO_PROVISIONAL_REPLY_PORT MPO_WEAK_REPLY_PORT + #define MPO_UNUSED_BITS ~(MPO_OPTIONS_MASK | MPO_PORT_TYPE_MASK) /* Denotes an anonymous service */ @@ -455,7 +485,7 @@ enum mach_port_guard_exception_codes { kGUARD_EXC_SET_CONTEXT = 4, kGUARD_EXC_THREAD_SET_STATE = 5, kGUARD_EXC_EXCEPTION_BEHAVIOR_ENFORCE = 6, - kGUARD_EXC_SERVICE_PORT_VIOLATION_FATAL = 7, /* unused, for future sp defense enablement */ + kGUARD_EXC_SERVICE_PORT_VIOLATION_FATAL = 7, kGUARD_EXC_UNGUARDED = 8, kGUARD_EXC_KOBJECT_REPLY_PORT_SEMANTICS = 9, kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS = 10, @@ -465,7 +495,7 @@ enum mach_port_guard_exception_codes { kGUARD_EXC_INVALID_NOTIFICATION_REQ = 65, kGUARD_EXC_INVALID_MPO_ENTITLEMENT = 66, kGUARD_EXC_DESCRIPTOR_VIOLATION = 67, - kGUARD_EXC_MSG_FILTERED = 128, + kGUARD_EXC_MSG_FILTERED = 128, /* start of [optionally] non-fatal guards */ kGUARD_EXC_INVALID_RIGHT = 256, kGUARD_EXC_INVALID_NAME = 512, @@ -481,18 +511,25 @@ enum mach_port_guard_exception_codes { kGUARD_EXC_RCV_INVALID_NAME = 1u << 19, /* start of always non-fatal guards */ kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */ - kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused, for future sp defense enablement */ - kGUARD_EXC_PROVISIONAL_REPLY_PORT = 0x00100002, /* unused */ + kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused */ + kGUARD_EXC_INVALID_NOTIFICATION_PORT = 0x00100006, + kGUARD_EXC_MACH_EXC_THREAD_SET_STATE = 0x00100007, + kGUARD_EXC_CV_NOTIFICATION_PORT_REQ = 0x00100008, + kGUARD_EXC_WEAK_REPLY_PORT = 0x00100002, /* unused */ kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */ - kGUARD_EXC_MOVE_PROVISIONAL_REPLY_PORT = 0x00100004, + kGUARD_EXC_MOVE_WEAK_REPLY_PORT = 0x00100004, kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005, kGUARD_EXC_MOD_REFS_NON_FATAL = 1u << 21, - kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22, /* unused*/ + kGUARD_EXC_IMMOVABLE_NON_FATAL = 1u << 22, /* unused */ }; #define MAX_FATAL_kGUARD_EXC_CODE kGUARD_EXC_MSG_FILTERED #define MAX_OPTIONAL_kGUARD_EXC_CODE kGUARD_EXC_RCV_INVALID_NAME +/* Temporary! Should be removed after rdar://166892063 */ +#define kGUARD_EXC_PROVISIONAL_REPLY_PORT kGUARD_EXC_WEAK_REPLY_PORT +#define kGUARD_EXC_MOVE_PROVISIONAL_REPLY_PORT kGUARD_EXC_MOVE_WEAK_REPLY_PORT + /* * Mach port guard flags. diff --git a/lib/libc/include/any-darwin-any/mach/thread_act.h b/lib/libc/include/any-darwin-any/mach/thread_act.h index a82e568143..501398b4b0 100644 --- a/lib/libc/include/any-darwin-any/mach/thread_act.h +++ b/lib/libc/include/any-darwin-any/mach/thread_act.h @@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t; #endif /* AUTOTEST */ #ifndef thread_act_MSG_COUNT -#define thread_act_MSG_COUNT 32 +#define thread_act_MSG_COUNT 34 #endif /* thread_act_MSG_COUNT */ #include @@ -509,6 +509,31 @@ kern_return_t thread_adopt_exception_handler thread_state_flavor_t flavor_mask ); +/* Routine thread_suspend2 */ +#ifdef mig_external +mig_external +#else +extern +#endif /* mig_external */ +__WATCHOS_PROHIBITED +kern_return_t thread_suspend2 +( + thread_read_t target_act, + mach_port_t *suspend_token +); + +/* Routine thread_resume2 */ +#ifdef mig_external +mig_external +#else +extern +#endif /* mig_external */ +__WATCHOS_PROHIBITED +kern_return_t thread_resume2 +( + mach_port_t suspend_token +); + __END_DECLS /********************** Caution **************************/ @@ -939,6 +964,26 @@ __END_DECLS #ifdef __MigPackStructs #pragma pack(pop) #endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + } __Request__thread_suspend2_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + } __Request__thread_resume2_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif #endif /* !__Request__thread_act_subsystem__defined */ /* union of all requests */ @@ -977,6 +1022,8 @@ union __RequestUnion__thread_act_subsystem { __Request__thread_convert_thread_state_t Request_thread_convert_thread_state; __Request__thread_get_exception_ports_info_t Request_thread_get_exception_ports_info; __Request__thread_adopt_exception_handler_t Request_thread_adopt_exception_handler; + __Request__thread_suspend2_t Request_thread_suspend2; + __Request__thread_resume2_t Request_thread_resume2; }; #endif /* !__RequestUnion__thread_act_subsystem__defined */ /* typedefs for all replies */ @@ -1393,6 +1440,32 @@ union __RequestUnion__thread_act_subsystem { #ifdef __MigPackStructs #pragma pack(pop) #endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + /* start of the kernel processed data */ + mach_msg_body_t msgh_body; + mach_msg_port_descriptor_t suspend_token; + /* end of the kernel processed data */ + } __Reply__thread_suspend2_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + NDR_record_t NDR; + kern_return_t RetCode; + } __Reply__thread_resume2_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif #endif /* !__Reply__thread_act_subsystem__defined */ /* union of all replies */ @@ -1431,6 +1504,8 @@ union __ReplyUnion__thread_act_subsystem { __Reply__thread_convert_thread_state_t Reply_thread_convert_thread_state; __Reply__thread_get_exception_ports_info_t Reply_thread_get_exception_ports_info; __Reply__thread_adopt_exception_handler_t Reply_thread_adopt_exception_handler; + __Reply__thread_suspend2_t Reply_thread_suspend2; + __Reply__thread_resume2_t Reply_thread_resume2; }; #endif /* !__RequestUnion__thread_act_subsystem__defined */ @@ -1466,7 +1541,9 @@ union __ReplyUnion__thread_act_subsystem { { "thread_swap_mach_voucher", 3627 },\ { "thread_convert_thread_state", 3628 },\ { "thread_get_exception_ports_info", 3630 },\ - { "thread_adopt_exception_handler", 3631 } + { "thread_adopt_exception_handler", 3631 },\ + { "thread_suspend2", 3632 },\ + { "thread_resume2", 3633 } #endif #ifdef __AfterMigUserHeader diff --git a/lib/libc/include/any-darwin-any/mach/vm_map.h b/lib/libc/include/any-darwin-any/mach/vm_map.h index b3ca3ac88a..732bab4b0c 100644 --- a/lib/libc/include/any-darwin-any/mach/vm_map.h +++ b/lib/libc/include/any-darwin-any/mach/vm_map.h @@ -52,7 +52,7 @@ typedef function_table_entry *function_table_t; #endif /* AUTOTEST */ #ifndef vm_map_MSG_COUNT -#define vm_map_MSG_COUNT 33 +#define vm_map_MSG_COUNT 34 #endif /* vm_map_MSG_COUNT */ #include @@ -517,6 +517,24 @@ kern_return_t vm_remap_new vm_inherit_t inheritance ); +/* Routine vm_reallocate */ +#ifdef mig_external +mig_external +#else +extern +#endif /* mig_external */ +kern_return_t vm_reallocate +( + vm_map_t target_task, + vm_address_t src, + vm_size_t src_size, + vm_address_t *dst, + vm_size_t dst_size, + vm_offset_t align_mask, + int options, + int flags +); + __END_DECLS /********************** Caution **************************/ @@ -972,6 +990,24 @@ __END_DECLS #ifdef __MigPackStructs #pragma pack(pop) #endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + NDR_record_t NDR; + vm_address_t src; + vm_size_t src_size; + vm_address_t dst; + vm_size_t dst_size; + vm_offset_t align_mask; + int options; + int flags; + } __Request__vm_reallocate_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif #endif /* !__Request__vm_map_subsystem__defined */ /* union of all requests */ @@ -1008,6 +1044,7 @@ union __RequestUnion__vm_map_subsystem { __Request__vm_purgable_control_t Request_vm_purgable_control; __Request__vm_map_exec_lockdown_t Request_vm_map_exec_lockdown; __Request__vm_remap_new_t Request_vm_remap_new; + __Request__vm_reallocate_t Request_vm_reallocate; }; #endif /* !__RequestUnion__vm_map_subsystem__defined */ /* typedefs for all replies */ @@ -1427,6 +1464,19 @@ union __RequestUnion__vm_map_subsystem { #ifdef __MigPackStructs #pragma pack(pop) #endif + +#ifdef __MigPackStructs +#pragma pack(push, 4) +#endif + typedef struct { + mach_msg_header_t Head; + NDR_record_t NDR; + kern_return_t RetCode; + vm_address_t dst; + } __Reply__vm_reallocate_t __attribute__((unused)); +#ifdef __MigPackStructs +#pragma pack(pop) +#endif #endif /* !__Reply__vm_map_subsystem__defined */ /* union of all replies */ @@ -1463,6 +1513,7 @@ union __ReplyUnion__vm_map_subsystem { __Reply__vm_purgable_control_t Reply_vm_purgable_control; __Reply__vm_map_exec_lockdown_t Reply_vm_map_exec_lockdown; __Reply__vm_remap_new_t Reply_vm_remap_new; + __Reply__vm_reallocate_t Reply_vm_reallocate; }; #endif /* !__RequestUnion__vm_map_subsystem__defined */ @@ -1496,7 +1547,8 @@ union __ReplyUnion__vm_map_subsystem { { "vm_map_64", 3826 },\ { "vm_purgable_control", 3830 },\ { "vm_map_exec_lockdown", 3831 },\ - { "vm_remap_new", 3832 } + { "vm_remap_new", 3832 },\ + { "vm_reallocate", 3833 } #endif #ifdef __AfterMigUserHeader diff --git a/lib/libc/include/any-darwin-any/mach/vm_prot.h b/lib/libc/include/any-darwin-any/mach/vm_prot.h index 7b424d56fa..d61cde74cd 100644 --- a/lib/libc/include/any-darwin-any/mach/vm_prot.h +++ b/lib/libc/include/any-darwin-any/mach/vm_prot.h @@ -154,7 +154,6 @@ typedef int vm_prot_t; #define VM_PROT_STRIP_READ ((vm_prot_t) 0x80) #define VM_PROT_EXECUTE_ONLY (VM_PROT_EXECUTE|VM_PROT_STRIP_READ) - /* * Another invalid protection value to support pager TPRO protection. * VM_PROT_TPRO is a special marker that tells the a pager to diff --git a/lib/libc/include/any-darwin-any/mach/vm_region.h b/lib/libc/include/any-darwin-any/mach/vm_region.h index 61f49cd82c..8cfc15242b 100644 --- a/lib/libc/include/any-darwin-any/mach/vm_region.h +++ b/lib/libc/include/any-darwin-any/mach/vm_region.h @@ -50,6 +50,7 @@ #include + #pragma pack(push, 4) // LP64todo: all the current tools are 32bit, obviously never worked for 64b @@ -118,6 +119,13 @@ typedef struct vm_region_basic_info vm_region_basic_info_data_t; #define VM_REGION_BASIC_INFO_COUNT ((mach_msg_type_number_t) \ (sizeof(vm_region_basic_info_data_t)/sizeof(int))) +/* + * Clients should move away from using these codes for anything other than debugging + * or best-effort accounting. + * Each value is only loosely defined, and even within those definitions it is not + * always possible for the VM to return the correct value. This behavior is also + * subject to change as VM internals evolve. + */ #define SM_COW 1 #define SM_PRIVATE 2 #define SM_EMPTY 3 diff --git a/lib/libc/include/any-darwin-any/mach/vm_statistics.h b/lib/libc/include/any-darwin-any/mach/vm_statistics.h index 5f1902df1b..29658b8cc4 100644 --- a/lib/libc/include/any-darwin-any/mach/vm_statistics.h +++ b/lib/libc/include/any-darwin-any/mach/vm_statistics.h @@ -226,14 +226,16 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; /* included for the vm_map_page_query call */ -#define VM_PAGE_QUERY_PAGE_PRESENT 0x1 -#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x2 -#define VM_PAGE_QUERY_PAGE_REF 0x4 -#define VM_PAGE_QUERY_PAGE_DIRTY 0x8 -#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x10 -#define VM_PAGE_QUERY_PAGE_COPIED 0x20 -#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x40 -#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x80 +typedef int32_t vm_page_disposition_t; + +#define VM_PAGE_QUERY_PAGE_PRESENT 0x001 +#define VM_PAGE_QUERY_PAGE_FICTITIOUS 0x002 +#define VM_PAGE_QUERY_PAGE_REF 0x004 +#define VM_PAGE_QUERY_PAGE_DIRTY 0x008 +#define VM_PAGE_QUERY_PAGE_PAGED_OUT 0x010 +#define VM_PAGE_QUERY_PAGE_COPIED 0x020 +#define VM_PAGE_QUERY_PAGE_SPECULATIVE 0x040 +#define VM_PAGE_QUERY_PAGE_EXTERNAL 0x080 #define VM_PAGE_QUERY_PAGE_CS_VALIDATED 0x100 #define VM_PAGE_QUERY_PAGE_CS_TAINTED 0x200 #define VM_PAGE_QUERY_PAGE_CS_NX 0x400 @@ -241,6 +243,20 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; #pragma mark User Flags +/* + * Options for vm_reallocate: + * + * VM_REALLOCATE_DEALLOCATE_SOURCE + * When the source is relocated, the VA it previously occupied will be unmapped. + * + * VM_REALLOCATE_ZERO_FILL_SOURCE + * When the source is relocated, the VA it previously occupied will be mapped + * by new entries with equivalent protections and inheritance, equivalent to a + * fresh zero-filled allocation from vm_allocate(). + */ +#define VM_REALLOCATE_DEALLOCATE_SOURCE 0x0 +#define VM_REALLOCATE_ZERO_FILL_SOURCE 0x1 + /* * VM allocation flags: * @@ -271,6 +287,10 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; * Pages brought in to this VM region are placed on the speculative * queue instead of the active queue. In other words, they are not * cached so that they will be stolen first if memory runs low. + * + * VM_FLAGS_GUARD_OBJECT_OPTOUT + * Opt out this allocation from the guard object allocation policy. + * And memory will be allocated in typical first-fit allocation order. */ #define VM_FLAGS_FIXED 0x00000000 @@ -284,7 +304,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; #define VM_FLAGS_PERMANENT 0x00000080 #define VM_FLAGS_TPRO 0x00001000 #define VM_FLAGS_MTE 0x00002000 -#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */ +#define VM_FLAGS_OVERWRITE 0x00004000 /* delete any existing mappings first */ /* * VM_FLAGS_SUPERPAGE_MASK * 3 bits that specify whether large pages should be used instead of @@ -292,6 +312,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; */ #define VM_FLAGS_SUPERPAGE_MASK 0x00070000 /* bits 0x10000, 0x20000, 0x40000 */ #define VM_FLAGS_RETURN_DATA_ADDR 0x00100000 /* Return address of target data, rather than base of page */ +#define VM_FLAGS_GUARD_OBJECT_OPTOUT 0x00400000 #define VM_FLAGS_RETURN_4K_DATA_ADDR 0x00800000 /* Return 4K aligned address of target data */ #define VM_FLAGS_ALIAS_MASK 0xFF000000 #define VM_GET_FLAGS_ALIAS(flags, alias) \ @@ -300,7 +321,8 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; (flags) = (((flags) & ~VM_FLAGS_ALIAS_MASK) | \ (((alias) & ~VM_FLAGS_ALIAS_MASK) << 24)) -#define VM_FLAGS_HW (VM_FLAGS_TPRO | VM_FLAGS_MTE) +#define VM_FLAGS_HW (VM_FLAGS_TPRO | \ + VM_FLAGS_MTE) /* These are the flags that we accept from user-space */ #define VM_FLAGS_USER_ALLOCATE (VM_FLAGS_FIXED | \ @@ -311,6 +333,7 @@ typedef struct vm_purgeable_info *vm_purgeable_info_t; VM_FLAGS_NO_CACHE | \ VM_FLAGS_PERMANENT | \ VM_FLAGS_OVERWRITE | \ + VM_FLAGS_GUARD_OBJECT_OPTOUT | \ VM_FLAGS_SUPERPAGE_MASK | \ VM_FLAGS_HW | \ VM_FLAGS_ALIAS_MASK) @@ -350,6 +373,7 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, { kGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE = 10, kGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE = 11, kGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION = 12, + kGUARD_EXC_LARGE_ALLOCATION_TELEMETRY = 13, /* * rdar://151450801 (Remove spurious kGUARD_EXC_SEC_ACCESS_FAULT and kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT once CrashReporter is aligned) */ @@ -362,7 +386,9 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, { /* Fault-related exceptions. */ kGUARD_EXC_MTE_SYNC_FAULT = 200, kGUARD_EXC_MTE_ASYNC_USER_FAULT = 201, - kGUARD_EXC_MTE_ASYNC_KERN_FAULT = 202 + kGUARD_EXC_MTE_ASYNC_KERN_FAULT = 202, + kGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT = 203, + kGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT = 204, }); #define kGUARD_EXC_MTE_SOFT_MODE 0x100000 @@ -423,6 +449,8 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, { #define VM_MEMORY_MACH_MSG 20 #define VM_MEMORY_IOKIT 21 +#define VM_MEMORY_VM_RECLAIM 22 + #define VM_MEMORY_STACK 30 #define VM_MEMORY_GUARD 31 #define VM_MEMORY_SHARED_PMAP 32 @@ -636,7 +664,6 @@ __enum_decl(virtual_memory_guard_exception_code_t, uint32_t, { #define VM_MAKE_TAG(tag) ((tag) << 24) - __END_DECLS #endif /* _MACH_VM_STATISTICS_H_ */ diff --git a/lib/libc/include/any-darwin-any/mach/vm_types.h b/lib/libc/include/any-darwin-any/mach/vm_types.h index 0b52ba62d8..21d1d55884 100644 --- a/lib/libc/include/any-darwin-any/mach/vm_types.h +++ b/lib/libc/include/any-darwin-any/mach/vm_types.h @@ -34,12 +34,18 @@ #include #include +#include #include #include __BEGIN_DECLS +/* (err_vm | err_sub(0)) reserved: vm_sanitize */ +#define err_vm_reclaim(e) (err_vm | err_sub(1) | e) +/* (err_vm | err_sub(2)) reserved: vm_map_lock */ + + typedef vm_offset_t pointer_t __kernel_ptr_semantics; typedef vm_offset_t vm_address_t __kernel_ptr_semantics; diff --git a/lib/libc/include/any-darwin-any/mach_debug/ipc_info.h b/lib/libc/include/any-darwin-any/mach_debug/ipc_info.h index 69219b5cd8..d58f5a6133 100644 --- a/lib/libc/include/any-darwin-any/mach_debug/ipc_info.h +++ b/lib/libc/include/any-darwin-any/mach_debug/ipc_info.h @@ -140,6 +140,7 @@ __enum_decl(ipc_info_object_type_t, natural_t, { IPC_OTYPE_TASK_FATAL = 51, IPC_OTYPE_KCDATA = 52, IPC_OTYPE_EXCLAVES_RESOURCE = 53, + IPC_OTYPE_THREAD_RESUME = 54, /* catchall */ IPC_OTYPE_UNKNOWN = ~0u, diff --git a/lib/libc/include/any-darwin-any/malloc/malloc.h b/lib/libc/include/any-darwin-any/malloc/malloc.h index 97e7f6a301..45f503b3b9 100644 --- a/lib/libc/include/any-darwin-any/malloc/malloc.h +++ b/lib/libc/include/any-darwin-any/malloc/malloc.h @@ -86,8 +86,6 @@ __BEGIN_DECLS * @constant MALLOC_ZONE_MALLOC_OPTION_CLEAR * Zero out the allocated memory, similar to calloc(). * - */ -/*! * @constant MALLOC_ZONE_MALLOC_OPTION_CANONICAL_TAG * Under MTE, use a tag of zero (canonical) instead of a random value. */ diff --git a/lib/libc/include/any-darwin-any/net/if_var.h b/lib/libc/include/any-darwin-any/net/if_var.h index 3572aa6e56..26274fe366 100644 --- a/lib/libc/include/any-darwin-any/net/if_var.h +++ b/lib/libc/include/any-darwin-any/net/if_var.h @@ -219,11 +219,11 @@ struct if_data64 { #pragma pack() -#if defined(DRIVERKIT) || defined(PRIVATE) || defined(DRIVERKIT_PRIVATE) +#if defined(DRIVERKIT) || (defined(PRIVATE) && !defined(MODULES_SUPPORTED)) || defined(DRIVERKIT_PRIVATE) #include #else struct ifnet_interface_advisory; -#endif /* defined(DRIVERKIT) || defined(PRIVATE) || defined(DRIVERKIT_PRIVATE) */ +#endif /* defined(DRIVERKIT) || (defined(PRIVATE) && !defined(MODULES_SUPPORTED)) || defined(DRIVERKIT_PRIVATE) */ /* diff --git a/lib/libc/include/any-darwin-any/signal.h b/lib/libc/include/any-darwin-any/signal.h index 055af4e481..bcc5e774df 100644 --- a/lib/libc/include/any-darwin-any/signal.h +++ b/lib/libc/include/any-darwin-any/signal.h @@ -113,10 +113,13 @@ int sigvec(int, struct sigvec *, struct sigvec *); __END_DECLS /* List definitions after function declarations, or Reiser cpp gets upset. */ -__header_always_inline int +__header_always_inline unsigned int __sigbits(int __signo) { - return __signo > __DARWIN_NSIG ? 0 : (1 << (__signo - 1)); + + if (__signo == 0 || __signo > __DARWIN_NSIG) + return (0); + return (1U << (__signo - 1)); } #define sigaddset(set, signo) (*(set) |= __sigbits(signo), 0) diff --git a/lib/libc/include/any-darwin-any/simd/math.h b/lib/libc/include/any-darwin-any/simd/math.h index 193a1c2d88..1265d365b5 100644 --- a/lib/libc/include/any-darwin-any/simd/math.h +++ b/lib/libc/include/any-darwin-any/simd/math.h @@ -6439,7 +6439,7 @@ static inline SIMD_CFUNC simd_double4 __tg_fdim(simd_double4 x, simd_double4 y) static inline SIMD_CFUNC simd_double8 __tg_fdim(simd_double8 x, simd_double8 y) { return simd_bitselect(x-y, 0, x= 260300 +#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_3(x) x +#else +#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_3(x) +#endif + +#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 260400 +#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_4(x) x +#else +#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_4(x) +#endif + #if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000 #define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x #else @@ -1025,3 +1037,15 @@ #define __DARWIN_ALIAS_STARTING_MAC___MAC_26_2(x) #endif +#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260300 +#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_3(x) x +#else +#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_3(x) +#endif + +#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260400 +#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_4(x) x +#else +#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_4(x) +#endif + diff --git a/lib/libc/include/any-darwin-any/sys/attr.h b/lib/libc/include/any-darwin-any/sys/attr.h index ebd4c9e274..ea3c0a2313 100644 --- a/lib/libc/include/any-darwin-any/sys/attr.h +++ b/lib/libc/include/any-darwin-any/sys/attr.h @@ -54,6 +54,8 @@ #define FSOPT_RETURN_REALDEV 0x00000200 #define FSOPT_NOFOLLOW_ANY 0x00000800 #define FSOPT_RESOLVE_BENEATH 0x00001000 +#define FSOPT_UNIQUE 0x00002000 + /* we currently aren't anywhere near this amount for a valid * fssearchblock.sizeofsearchparams1 or fssearchblock.sizeofsearchparams2 @@ -599,9 +601,11 @@ typedef struct vol_attributes_attr { #define SRCHFS_SKIPINVISIBLE 0x00000020 #define SRCHFS_SKIPPACKAGES 0x00000040 #define SRCHFS_SKIPINAPPROPRIATE 0x00000080 +#define SRCHFS_NOFOLLOW 0x00000100 +#define SRCHFS_NOFOLLOW_ANY 0x00000200 #define SRCHFS_NEGATEPARAMS 0x80000000 -#define SRCHFS_VALIDOPTIONSMASK 0x800000FF +#define SRCHFS_VALIDOPTIONSMASK 0x800003FF struct fssearchblock { struct attrlist *returnattrs; diff --git a/lib/libc/include/any-darwin-any/sys/fcntl.h b/lib/libc/include/any-darwin-any/sys/fcntl.h index b8de5dfd7d..62d2891ca4 100644 --- a/lib/libc/include/any-darwin-any/sys/fcntl.h +++ b/lib/libc/include/any-darwin-any/sys/fcntl.h @@ -340,6 +340,7 @@ #define F_ADDSIGS_MAIN_BINARY 113 /* add detached signatures for main binary -- development only */ + // FS-specific fcntl()'s numbers begin at 0x00010000 and go up #define FCNTL_FS_SPECIFIC_BASE 0x00010000 @@ -532,6 +533,7 @@ typedef struct fattributiontag { #define F_DELETE_TAG 0x00000002 #define F_QUERY_TAG 0x00000004 + /* * For F_LOG2PHYS this information is passed back to user * Currently only devoffset is returned - that is the VOP_BMAP diff --git a/lib/libc/include/any-darwin-any/sys/mman.h b/lib/libc/include/any-darwin-any/sys/mman.h index d6de5a4401..56ebbdc715 100644 --- a/lib/libc/include/any-darwin-any/sys/mman.h +++ b/lib/libc/include/any-darwin-any/sys/mman.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2020 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2025 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -153,7 +153,6 @@ #define MAP_32BIT 0x8000 /* Return virtual addresses <4G only */ #endif /* defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 */ - /* * Flags used to support translated processes. */ @@ -236,7 +235,6 @@ - __BEGIN_DECLS /* [ML] */ int mlockall(int); @@ -268,7 +266,8 @@ int mincore(const void *, size_t, char *); int minherit(void *, size_t, int); #endif - __END_DECLS + + #endif /* !_SYS_MMAN_H_ */ diff --git a/lib/libc/include/any-darwin-any/sys/paths.h b/lib/libc/include/any-darwin-any/sys/paths.h index 538330184f..9abf9893c6 100644 --- a/lib/libc/include/any-darwin-any/sys/paths.h +++ b/lib/libc/include/any-darwin-any/sys/paths.h @@ -41,15 +41,18 @@ #define _PATH_RSRCFORKSPEC "/..namedfork/rsrc" /* Prefix Path Namespace */ -#define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */ -#define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */ -#define RESOLVE_LOCAL 0x00000004 /* prevent a path lookup into a network filesystem */ -#define RESOLVE_NODEVFS 0x00000008 /* prevent a path lookup into `devfs` filesystem */ -#define RESOLVE_IMMOVABLE 0x00000010 /* prevent a path lookup into a removable filesystem */ -#define RESOLVE_UNIQUE 0x00000020 /* prevent a path lookup on a vnode with multiple links */ -#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */ +#define RESOLVE_NOFOLLOW_ANY 0x00000001 /* no symlinks allowed in path */ +#define RESOLVE_NODOTDOT 0x00000002 /* prevent '..' path traversal */ +#define RESOLVE_LOCAL 0x00000004 /* prevent a path lookup into a network filesystem */ +#define RESOLVE_NODEVFS 0x00000008 /* prevent a path lookup into `devfs` filesystem */ +#define RESOLVE_IMMOVABLE 0x00000010 /* prevent a path lookup into a removable filesystem */ +#define RESOLVE_UNIQUE 0x00000020 /* prevent a path lookup on a vnode with multiple links */ +#define RESOLVE_NOXATTRS 0x00000040 /* prevent a path lookup on named streams */ +#define RESOLVE_NOQUARANTINE 0x00000080 /* prevent operating on a quarantined file */ +#define RESOLVE_NOUNION 0x00000100 /* prevent a path lookup on filesystem with MNT_UNION from traversing to covered filesystem */ + +#define RESOLVE_VALIDMASK 0x000001FF -#define RESOLVE_VALIDMASK 0x0000007F #endif /* __APPLE_API_PRIVATE */ #endif /* !_SYS_PATHS_H_ */ diff --git a/lib/libc/include/any-darwin-any/sys/proc.h b/lib/libc/include/any-darwin-any/sys/proc.h index 97b710fd76..0c5eee605c 100644 --- a/lib/libc/include/any-darwin-any/sys/proc.h +++ b/lib/libc/include/any-darwin-any/sys/proc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2018 Apple Inc. All rights reserved. + * Copyright (c) 2000-2025 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -79,7 +79,6 @@ #include #include - #include @@ -217,6 +216,7 @@ struct extern_proc { #define P_DIRTY_DEFER_ALWAYS 0x00000400 /* defer going to idle-exit after every dirty->clean transition. * For legacy jetsam policy only. This is the default with the other policies.*/ #define P_DIRTY_SHUTDOWN_ON_CLEAN 0x00000800 /* process should shutdown on going clean */ +#define P_DIRTY_IM_NEW_HERE 0x00001000 /* process just enrolled in dirty tracking and has not yet marked itself dirty for the first time */ #define P_DIRTY_IS_DIRTY (P_DIRTY | P_DIRTY_SHUTDOWN) #define P_DIRTY_IDLE_EXIT_ENABLED (P_DIRTY_TRACK|P_DIRTY_ALLOW_IDLE_EXIT) diff --git a/lib/libc/include/any-darwin-any/sys/sysctl.h b/lib/libc/include/any-darwin-any/sys/sysctl.h index 066a21a663..bcf46d7d5f 100644 --- a/lib/libc/include/any-darwin-any/sys/sysctl.h +++ b/lib/libc/include/any-darwin-any/sys/sysctl.h @@ -135,27 +135,31 @@ struct ctlname { int ctl_type; /* type of name */ }; -#define CTLTYPE 0xf /* Mask for the type */ -#define CTLTYPE_NODE 1 /* name is a node */ -#define CTLTYPE_INT 2 /* name describes an integer */ -#define CTLTYPE_STRING 3 /* name describes a string */ -#define CTLTYPE_QUAD 4 /* name describes a 64-bit number */ -#define CTLTYPE_OPAQUE 5 /* name describes a structure */ -#define CTLTYPE_STRUCT CTLTYPE_OPAQUE /* name describes a structure */ +#define CTLTYPE 0xf /* Mask for the type */ +#define CTLTYPE_NODE 1 /* name is a node */ +#define CTLTYPE_INT 2 /* name describes an integer */ +#define CTLTYPE_STRING 3 /* name describes a string */ +#define CTLTYPE_QUAD 4 /* name describes a 64-bit number */ +#define CTLTYPE_OPAQUE 5 /* name describes a structure */ +#define CTLTYPE_STRUCT CTLTYPE_OPAQUE /* name describes a structure */ -#define CTLFLAG_RD 0x80000000 /* Allow reads of variable */ -#define CTLFLAG_WR 0x40000000 /* Allow writes to the variable */ -#define CTLFLAG_RW (CTLFLAG_RD|CTLFLAG_WR) -#define CTLFLAG_NOLOCK 0x20000000 /* XXX Don't Lock */ -#define CTLFLAG_ANYBODY 0x10000000 /* All users can set this var */ -#define CTLFLAG_SECURE 0x08000000 /* Permit set only if securelevel<=0 */ -#define CTLFLAG_MASKED 0x04000000 /* deprecated variable, do not display */ -#define CTLFLAG_NOAUTO 0x02000000 /* do not auto-register */ -#define CTLFLAG_KERN 0x01000000 /* valid inside the kernel */ -#define CTLFLAG_LOCKED 0x00800000 /* node will handle locking itself */ -#define CTLFLAG_OID2 0x00400000 /* struct sysctl_oid has version info */ -#define CTLFLAG_EXPERIMENT 0x00100000 /* Allows read/write w/ the trial experiment entitlement. */ +#define CTLFLAG_RD 0x80000000 /* Allow reads of variable */ +#define CTLFLAG_WR 0x40000000 /* Allow writes to the variable */ +#define CTLFLAG_RW (CTLFLAG_RD|CTLFLAG_WR) +#define CTLFLAG_NOLOCK 0x20000000 /* XXX Don't Lock */ +#define CTLFLAG_ANYBODY 0x10000000 /* All users can set this var */ +#define CTLFLAG_SECURE 0x08000000 /* Permit set only if securelevel<=0 */ +#define CTLFLAG_MASKED 0x04000000 /* deprecated variable, do not display */ +#define CTLFLAG_NOAUTO 0x02000000 /* do not auto-register */ +#define CTLFLAG_KERN 0x01000000 /* valid inside the kernel */ +#define CTLFLAG_LOCKED 0x00800000 /* node will handle locking itself */ +#define CTLFLAG_OID2 0x00400000 /* struct sysctl_oid has version info */ +#define CTLFLAG_EXPERIMENT 0x00100000 /* Allows read/write w/ the trial experiment entitlement. */ #define CTLFLAG_LEGACY_EXPERIMENT 0x00080000 /* Allows writing w/ the legacy trial experiment entitlement. */ +#define CTLFLAG_OID_AUTO 0x00040000 /* Remembers OID_AUTO to restore oid_number on unregister */ + +/* mask of flags which are kernel private and will be masked for user space */ +#define CTLFLAG_KERNEL_PRIVATE_MASK (CTLFLAG_OID_AUTO) /* * USE THIS instead of a hardwired number from the categories below diff --git a/lib/libc/include/any-darwin-any/unistd.h b/lib/libc/include/any-darwin-any/unistd.h index 1aadc42c0e..d4281fd11d 100644 --- a/lib/libc/include/any-darwin-any/unistd.h +++ b/lib/libc/include/any-darwin-any/unistd.h @@ -538,14 +538,14 @@ __END_DECLS #define F_TLOCK 2 /* test and lock a section for exclusive use */ #define F_TEST 3 /* test a section for locks by other procs */ - __BEGIN_DECLS - /* Begin XSI */ /* Removed in Issue 7 */ #if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200809L #include <_ctermid.h> #endif +__BEGIN_DECLS + /* Removed in Issue 6 */ #if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200112L #if !defined(_POSIX_C_SOURCE) diff --git a/lib/libc/include/any-darwin-any/xpc/activity.h b/lib/libc/include/any-darwin-any/xpc/activity.h index b1684861eb..a9e6f775a9 100644 --- a/lib/libc/include/any-darwin-any/xpc/activity.h +++ b/lib/libc/include/any-darwin-any/xpc/activity.h @@ -302,7 +302,7 @@ const xpc_object_t XPC_ACTIVITY_CHECK_IN; * dispatch queue with an appropriate priority to perform the activity. */ API_AVAILABLE(macos(10.9)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 XPC_NONNULL3 void xpc_activity_register(const char *identifier, xpc_object_t criteria, @@ -317,7 +317,7 @@ xpc_activity_register(const char *identifier, xpc_object_t criteria, * when checking in to an event that finished and was not rescheduled. */ API_AVAILABLE(macos(10.9)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_WARN_RESULT XPC_RETURNS_RETAINED XPC_NONNULL1 xpc_object_t _Nullable xpc_activity_copy_criteria(xpc_activity_t activity); @@ -329,7 +329,7 @@ xpc_activity_copy_criteria(xpc_activity_t activity); * Modifies the execution criteria of an activity. */ API_AVAILABLE(macos(10.9)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 void xpc_activity_set_criteria(xpc_activity_t activity, xpc_object_t criteria); @@ -411,7 +411,7 @@ typedef long xpc_activity_state_t; * Returns the current state of an activity. */ API_AVAILABLE(macos(10.9)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 xpc_activity_state_t xpc_activity_get_state(xpc_activity_t activity); @@ -427,7 +427,7 @@ xpc_activity_get_state(xpc_activity_t activity); * false if the requested state transition is not valid. */ API_AVAILABLE(macos(10.9)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 bool xpc_activity_set_state(xpc_activity_t activity, xpc_activity_state_t state); @@ -451,7 +451,7 @@ xpc_activity_set_state(xpc_activity_t activity, xpc_activity_state_t state); * Returns true if the activity should be deferred. */ API_AVAILABLE(macos(10.9)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 bool xpc_activity_should_defer(xpc_activity_t activity); @@ -475,7 +475,7 @@ xpc_activity_should_defer(xpc_activity_t activity); * The identifier of the activity to unregister. */ API_AVAILABLE(macos(10.9)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_NONNULL1 void xpc_activity_unregister(const char *identifier); diff --git a/lib/libc/include/any-darwin-any/xpc/connection.h b/lib/libc/include/any-darwin-any/xpc/connection.h index e848116b30..8f7d7c509f 100644 --- a/lib/libc/include/any-darwin-any/xpc/connection.h +++ b/lib/libc/include/any-darwin-any/xpc/connection.h @@ -199,7 +199,7 @@ xpc_connection_create(const char * _Nullable name, * connection has been activated. See {@link xpc_connection_activate()}. */ API_AVAILABLE(macos(10.7), macCatalyst(5.0)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_MALLOC XPC_RETURNS_RETAINED XPC_WARN_RESULT XPC_NONNULL1 xpc_connection_t xpc_connection_create_mach_service(const char *name, @@ -679,7 +679,7 @@ xpc_connection_get_egid(xpc_connection_t connection); * delivery either at the kernel layer or at the XPC layer. */ API_AVAILABLE(macos(10.7)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT pid_t xpc_connection_get_pid(xpc_connection_t connection); @@ -695,7 +695,7 @@ xpc_connection_get_pid(xpc_connection_t connection); * The audit session ID of the remote peer at the time the connection was made. */ API_AVAILABLE(macos(10.7)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT au_asid_t xpc_connection_get_asid(xpc_connection_t connection); @@ -828,8 +828,8 @@ xpc_connection_set_peer_code_signing_requirement(xpc_connection_t connection, co * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT` * will be delivered instead of the reply. */ -API_AVAILABLE(macos(14.4), ios(17.4)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4)) + XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT int xpc_connection_set_peer_entitlement_exists_requirement(xpc_connection_t connection, const char *entitlement); @@ -866,8 +866,8 @@ xpc_connection_set_peer_entitlement_exists_requirement(xpc_connection_t connecti * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT` * will be delivered instead of the reply. */ -API_AVAILABLE(macos(14.4), ios(17.4)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4)) + XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT int xpc_connection_set_peer_entitlement_matches_value_requirement(xpc_connection_t connection, const char *entitlement, xpc_object_t value); @@ -903,8 +903,8 @@ xpc_connection_set_peer_entitlement_matches_value_requirement(xpc_connection_t c * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT` * will be delivered instead of the reply. */ -API_AVAILABLE(macos(14.4), ios(17.4)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4)) + XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT int xpc_connection_set_peer_team_identity_requirement(xpc_connection_t connection, const char * _Nullable signing_identifier); @@ -938,8 +938,8 @@ xpc_connection_set_peer_team_identity_requirement(xpc_connection_t connection, c * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT` * will be delivered instead of the reply. */ -API_AVAILABLE(macos(14.4), ios(17.4)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4)) + XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT int xpc_connection_set_peer_platform_identity_requirement(xpc_connection_t connection, const char * _Nullable signing_identifier); @@ -986,8 +986,8 @@ xpc_connection_set_peer_platform_identity_requirement(xpc_connection_t connectio * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT` * will be delivered instead of the reply. */ -API_AVAILABLE(macos(14.4), ios(17.4)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), watchos(10.4)) + XPC_EXPORT XPC_NONNULL_ALL XPC_WARN_RESULT int xpc_connection_set_peer_lightweight_code_requirement(xpc_connection_t connection, xpc_object_t lwcr); @@ -1012,8 +1012,8 @@ xpc_connection_set_peer_lightweight_code_requirement(xpc_connection_t connection * is expected on the connection and the peer does not satisfy the requirement `XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT` * will be delivered instead of the reply. */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL void xpc_connection_set_peer_requirement(xpc_connection_t connection, diff --git a/lib/libc/include/any-darwin-any/xpc/listener.h b/lib/libc/include/any-darwin-any/xpc/listener.h index 2f3129f9fc..02eea47e5b 100644 --- a/lib/libc/include/any-darwin-any/xpc/listener.h +++ b/lib/libc/include/any-darwin-any/xpc/listener.h @@ -129,7 +129,7 @@ xpc_listener_create(const char * service, dispatch_queue_t _Nullable target_queue, xpc_listener_create_flags_t flags, xpc_listener_incoming_session_handler_t incoming_session_handler, - xpc_rich_error_t _Nullable * _Nullable error_out); + xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out); #pragma mark Lifecycle /*! @@ -156,7 +156,7 @@ API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_SWIFT_NOEXPORT bool xpc_listener_activate(xpc_listener_t listener, - xpc_rich_error_t _Nullable * _Nullable error_out); + xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out); /*! * @function xpc_listener_cancel diff --git a/lib/libc/include/any-darwin-any/xpc/peer_requirement.h b/lib/libc/include/any-darwin-any/xpc/peer_requirement.h index 36d4bb1519..b51ee76ec1 100644 --- a/lib/libc/include/any-darwin-any/xpc/peer_requirement.h +++ b/lib/libc/include/any-darwin-any/xpc/peer_requirement.h @@ -28,7 +28,7 @@ XPC_SWIFT_NOEXPORT * xpc_peer_requirement_t can be shared among multiple connections, sessions * or listeners. */ -OS_OBJECT_DECL_CLASS(xpc_peer_requirement); +OS_OBJECT_DECL_SENDABLE_CLASS(xpc_peer_requirement); #pragma mark Constructors @@ -53,8 +53,8 @@ OS_OBJECT_DECL_CLASS(xpc_peer_requirement); * This function will return NULL promptly if the entitlement requirement is * invalid. */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED xpc_peer_requirement_t _Nullable xpc_peer_requirement_create_entitlement_exists(const char *entitlement, @@ -86,8 +86,8 @@ xpc_peer_requirement_create_entitlement_exists(const char *entitlement, * This function will return NULL promptly if the entitlement requirement is * invalid. */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED xpc_peer_requirement_t _Nullable xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement, @@ -121,8 +121,8 @@ xpc_peer_requirement_create_entitlement_matches_value(const char *entitlement, * distributed certificate (embedded only), or a Developer ID certificate (macOS * only) */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED xpc_peer_requirement_t _Nullable xpc_peer_requirement_create_team_identity( @@ -153,8 +153,8 @@ xpc_peer_requirement_create_team_identity( * This function will return NULL promptly if the identity requirement is * invalid. */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED xpc_peer_requirement_t _Nullable xpc_peer_requirement_create_platform_identity( @@ -201,8 +201,8 @@ xpc_peer_requirement_create_platform_identity( * xpc_peer_requirement_t req = xpc_peer_requirement_create_lwcr(lwcr, NULL); * ``` */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED xpc_peer_requirement_t _Nullable xpc_peer_requirement_create_lwcr(xpc_object_t lwcr, @@ -228,8 +228,8 @@ xpc_peer_requirement_create_lwcr(xpc_object_t lwcr, * On match this returns true. On mismatch or failure this will return false and * if set, error_out will be set to an error describing the failure. */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT bool xpc_peer_requirement_match_received_message(xpc_peer_requirement_t peer_requirement, diff --git a/lib/libc/include/any-darwin-any/xpc/session.h b/lib/libc/include/any-darwin-any/xpc/session.h index fe5293db7f..6606f76005 100644 --- a/lib/libc/include/any-darwin-any/xpc/session.h +++ b/lib/libc/include/any-darwin-any/xpc/session.h @@ -118,7 +118,7 @@ xpc_session_t _Nullable xpc_session_create_xpc_service(const char *name, dispatch_queue_t _Nullable target_queue, xpc_session_create_flags_t flags, - xpc_rich_error_t _Nullable * _Nullable error_out); + xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out); /*! * @function xpc_session_create_mach_service @@ -161,7 +161,7 @@ xpc_session_t _Nullable xpc_session_create_mach_service(const char *mach_service, dispatch_queue_t _Nullable target_queue, xpc_session_create_flags_t flags, - xpc_rich_error_t _Nullable * _Nullable error_out); + xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out); #pragma mark Session Configuration /*! @@ -256,7 +256,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)) XPC_EXPORT XPC_SWIFT_NOEXPORT bool xpc_session_activate(xpc_session_t session, - xpc_rich_error_t _Nullable * _Nullable error_out); + xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out); /*! * @function xpc_session_cancel @@ -350,7 +350,7 @@ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)) XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_RETURNS_RETAINED XPC_WARN_RESULT xpc_object_t _Nullable xpc_session_send_message_with_reply_sync(xpc_session_t session, - xpc_object_t message, xpc_rich_error_t _Nullable * _Nullable error_out); + xpc_object_t message, xpc_rich_error_t _Nullable XPC_GIVES_REFERENCE * _Nullable error_out); /*! * @function xpc_session_send_message_with_reply_async @@ -443,8 +443,8 @@ xpc_session_set_peer_code_signing_requirement(xpc_session_t session, const char * will be returned instead of reply, with `error_out` (if set) pointing to the * rich error describing the peer code signing error. */ -API_AVAILABLE(macos(26.0), ios(26.0)) -API_UNAVAILABLE(tvos, watchos) +API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0)) + XPC_EXPORT XPC_SWIFT_NOEXPORT XPC_NONNULL_ALL void xpc_session_set_peer_requirement(xpc_session_t session, xpc_peer_requirement_t requirement); diff --git a/lib/libc/include/any-darwin-any/xpc/xpc.h b/lib/libc/include/any-darwin-any/xpc/xpc.h index 232640c502..72f4792bf4 100644 --- a/lib/libc/include/any-darwin-any/xpc/xpc.h +++ b/lib/libc/include/any-darwin-any/xpc/xpc.h @@ -1473,18 +1473,18 @@ xpc_array_set_date(xpc_object_t xarray, size_t index, int64_t value); * undefined. * * @param bytes - * The raw data to insert. After calling this method, the XPC object - * corresponding to the primitive value inserted may be safely retrieved with - * {@link xpc_array_get_value()}. + * The raw data to insert. May be NULL if length is zero. After calling this + * method, the XPC object corresponding to the primitive value inserted may be + * safely retrieved with {@link xpc_array_get_value()}. * * @param length * The length of the data. */ __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0) -XPC_EXPORT XPC_NONNULL1 XPC_NONNULL3 +XPC_EXPORT XPC_NONNULL1 void xpc_array_set_data(xpc_object_t xarray, size_t index, - const void *XPC_SIZEDBY(length) bytes, size_t length); + const void *XPC_SIZEDBY(length) _Nullable bytes, size_t length); /*! * @function xpc_array_set_string @@ -2231,18 +2231,18 @@ xpc_dictionary_set_date(xpc_object_t xdict, const char *key, int64_t value); * The key for which the primitive value shall be set. * * @param bytes - * The bytes to insert. After calling this method, the XPC object corresponding - * to the primitive value inserted may be safely retrieved with - * {@link xpc_dictionary_get_value()}. + * The bytes to insert. May be NULL if length is zero. After calling this method, + * the XPC object corresponding to the primitive value inserted may be safely + * retrieved with {@link xpc_dictionary_get_value()}. * * @param length * The length of the data. */ __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0) -XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 XPC_NONNULL3 +XPC_EXPORT XPC_NONNULL1 XPC_NONNULL2 void xpc_dictionary_set_data(xpc_object_t xdict, const char *key, - const void *XPC_SIZEDBY(length) bytes, size_t length); + const void *XPC_SIZEDBY(length) _Nullable bytes, size_t length); /*! * @function xpc_dictionary_set_string @@ -2692,7 +2692,7 @@ xpc_dictionary_copy_mach_send(xpc_object_t xdict, const char *key); * state, potentially causing resource leaks or transaction issues. */ API_AVAILABLE(macos(10.7), macCatalyst(5.0)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_NORETURN XPC_NONNULL1 void xpc_main(xpc_connection_handler_t handler); @@ -2729,7 +2729,7 @@ xpc_main(xpc_connection_handler_t handler); * connection. */ API_AVAILABLE(macos(10.7)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_TRANSACTION_DEPRECATED XPC_EXPORT void @@ -2747,7 +2747,7 @@ xpc_transaction_begin(void); * the XPC runtime's idle-exit policy. */ API_AVAILABLE(macos(10.7)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_TRANSACTION_DEPRECATED XPC_EXPORT void @@ -2783,7 +2783,7 @@ xpc_transaction_end(void); */ #if __BLOCKS__ API_AVAILABLE(macos(10.7)) -API_UNAVAILABLE(ios) +API_UNAVAILABLE(ios, tvos, watchos) XPC_EXPORT XPC_NONNULL1 XPC_NONNULL3 void xpc_set_event_stream_handler(const char *stream,