authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2026-05-21 23:32:22+01:00
committergravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2026-05-21 23:32:22+01:00
log10bdb48a889f5b0b65a96909902eeeedc6cd923e
tree88652e7e473948f9cc78fab8719e62843266954d
parentc02d39a21c9e6bd73f6ccc388c4ae2f5db173930

libc: Update macOS headers to SDK 26.5


9 files changed, 160 insertions(+), 102 deletions(-)

lib/libc/darwin/SDKSettings.json+1-1
......@@ -1 +1 @@
1{"MinimalDisplayName":"26.4"}
1{"MinimalDisplayName":"26.5"}
lib/libc/darwin/libSystem.tbd+88-87
......@@ -387,7 +387,7 @@ exports:
387387tbd-version: 4
388388targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
389389install-name: '/usr/lib/system/libcorecrypto.dylib'
390current-version: 1922.101.2
390current-version: 1922.121.1
391391parent-umbrella:
392392 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
393393 umbrella: System
......@@ -1107,7 +1107,7 @@ exports:
11071107tbd-version: 4
11081108targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11091109install-name: '/usr/lib/system/libquarantine.dylib'
1110current-version: 196.100.8
1110current-version: 196.120.2
11111111parent-umbrella:
11121112 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
11131113 umbrella: System
......@@ -1260,7 +1260,7 @@ exports:
12601260tbd-version: 4
12611261targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
12621262install-name: '/usr/lib/system/libsystem_c.dylib'
1263current-version: 1752.100.10
1263current-version: 1752.120.2
12641264parent-umbrella:
12651265 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
12661266 umbrella: System
......@@ -1512,7 +1512,7 @@ exports:
15121512 _tre_ast_new_iter, _tre_ast_new_literal, _tre_ast_new_node,
15131513 _tre_ast_new_union, _tre_compile, _tre_fill_pmatch, _tre_free,
15141514 _tre_mem_alloc_impl, _tre_mem_destroy, _tre_mem_new_impl,
1515 _tre_parse, _tre_stack_destroy, _tre_stack_new, _tre_stack_num_objects,
1515 _tre_parse, _tre_stack_destroy, _tre_stack_new, _tre_stack_num_items,
15161516 _tre_tnfa_run_backtrack, _tre_tnfa_run_parallel, _tsearch,
15171517 _ttyname, _ttyname_r, _ttyslot, _twalk, _tzname, _tzset, _tzsetwall,
15181518 _ualarm, _ulimit, _umaskx_np, _uname, _ungetc, _ungetwc, _ungetwc_l,
......@@ -1557,7 +1557,7 @@ reexports:
15571557tbd-version: 4
15581558targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15591559install-name: '/usr/lib/system/libsystem_collections.dylib'
1560current-version: 1752.100.10
1560current-version: 1752.120.2
15611561parent-umbrella:
15621562 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15631563 umbrella: System
......@@ -1584,7 +1584,7 @@ exports:
15841584tbd-version: 4
15851585targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15861586install-name: '/usr/lib/system/libsystem_configuration.dylib'
1587current-version: 1405.100.8
1587current-version: 1405.120.5
15881588parent-umbrella:
15891589 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
15901590 umbrella: System
......@@ -1887,7 +1887,7 @@ exports:
18871887tbd-version: 4
18881888targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18891889install-name: '/usr/lib/system/libsystem_dnssd.dylib'
1890current-version: 2881.100.56
1890current-version: 2881.120.11
18911891parent-umbrella:
18921892 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
18931893 umbrella: System
......@@ -1922,7 +1922,7 @@ exports:
19221922tbd-version: 4
19231923targets: [ x86_64-macos, arm64e-macos ]
19241924install-name: '/usr/lib/system/libsystem_eligibility.dylib'
1925current-version: 319.101.1
1925current-version: 319.121.1
19261926parent-umbrella:
19271927 - targets: [ x86_64-macos, arm64e-macos ]
19281928 umbrella: System
......@@ -2073,7 +2073,7 @@ tbd-version: 4
20732073targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
20742074 arm64e-macos, arm64e-maccatalyst ]
20752075install-name: '/usr/lib/system/libsystem_kernel.dylib'
2076current-version: 12377.101.14
2076current-version: 12377.121.6
20772077parent-umbrella:
20782078 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
20792079 arm64e-macos, arm64e-maccatalyst ]
......@@ -2438,75 +2438,76 @@ exports:
24382438 _posix_spawnattr_getmacpolicyinfo_np, _posix_spawnattr_getpcontrol_np,
24392439 _posix_spawnattr_getpgroup, _posix_spawnattr_getprocesstype_np,
24402440 _posix_spawnattr_getsigdefault, _posix_spawnattr_getsigmask,
2441 _posix_spawnattr_init, _posix_spawnattr_set_alt_rosetta_np,
2442 _posix_spawnattr_set_conclave_id_np, _posix_spawnattr_set_conclavememlimit_ext,
2443 _posix_spawnattr_set_crash_behavior_deadline_np, _posix_spawnattr_set_crash_behavior_np,
2444 _posix_spawnattr_set_crash_count_np, _posix_spawnattr_set_csm_np,
2445 _posix_spawnattr_set_darwin_role_np, _posix_spawnattr_set_filedesclimit_ext,
2446 _posix_spawnattr_set_gid_np, _posix_spawnattr_set_groups_np,
2447 _posix_spawnattr_set_importancewatch_port_np, _posix_spawnattr_set_jetsam_ttr_np,
2448 _posix_spawnattr_set_kqworklooplimit_ext, _posix_spawnattr_set_launch_type_np,
2449 _posix_spawnattr_set_login_np, _posix_spawnattr_set_max_addr_np,
2450 _posix_spawnattr_set_persona_gid_np, _posix_spawnattr_set_persona_groups_np,
2451 _posix_spawnattr_set_persona_np, _posix_spawnattr_set_persona_uid_np,
2452 _posix_spawnattr_set_platform_np, _posix_spawnattr_set_portlimits_ext,
2453 _posix_spawnattr_set_ptrauth_task_port_np, _posix_spawnattr_set_qos_clamp_np,
2454 _posix_spawnattr_set_registered_ports_np, _posix_spawnattr_set_subsystem_root_path_np,
2455 _posix_spawnattr_set_telemetry_np, _posix_spawnattr_set_threadlimit_ext,
2456 _posix_spawnattr_set_uid_np, _posix_spawnattr_set_use_sec_transition_shims_np,
2457 _posix_spawnattr_setarchpref_np, _posix_spawnattr_setauditsessionport_np,
2458 _posix_spawnattr_setbinpref_np, _posix_spawnattr_setcoalition_np,
2459 _posix_spawnattr_setcpumonitor, _posix_spawnattr_setcpumonitor_default,
2460 _posix_spawnattr_setdataless_iopolicy_np, _posix_spawnattr_setexceptionports_np,
2461 _posix_spawnattr_setflags, _posix_spawnattr_setjetsam_ext,
2462 _posix_spawnattr_setmacpolicyinfo_np, _posix_spawnattr_setnosmt_np,
2463 _posix_spawnattr_setpcontrol_np, _posix_spawnattr_setpgroup,
2464 _posix_spawnattr_setprocesstype_np, _posix_spawnattr_setsigdefault,
2465 _posix_spawnattr_setsigmask, _posix_spawnattr_setspecialport_np,
2466 _pread, '_pread$NOCANCEL', _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits,
2467 _proc_clear_delayidlesleep, _proc_clear_dirty, _proc_clear_vmpressure,
2468 _proc_current_thread_schedinfo, _proc_denap_assertion_begin_with_msg,
2469 _proc_denap_assertion_complete, _proc_disable_apptype, _proc_disable_cpumon,
2470 _proc_disable_wakemon, _proc_donate_importance_boost, _proc_enable_apptype,
2471 _proc_get_cpumon_params, _proc_get_dirty, _proc_get_wakemon_params,
2472 _proc_importance_assertion_begin_with_msg, _proc_importance_assertion_complete,
2473 _proc_kmsgbuf, _proc_libversion, _proc_list_dynkqueueids,
2474 _proc_list_uptrs, _proc_listallpids, _proc_listchildpids,
2475 _proc_listcoalitions, _proc_listpgrppids, _proc_listpids,
2476 _proc_listpidspath, _proc_name, _proc_pid_rusage, _proc_piddynkqueueinfo,
2477 _proc_pidfdinfo, _proc_pidfileportinfo, _proc_pidinfo, _proc_pidoriginatorinfo,
2478 _proc_pidpath, _proc_pidpath_audittoken, _proc_regionfilename,
2479 _proc_reset_footprint_interval, _proc_resume_cpumon, _proc_rlimit_control,
2480 _proc_set_cpumon_defaults, _proc_set_cpumon_params, _proc_set_cpumon_params_fatal,
2481 _proc_set_csm, _proc_set_delayidlesleep, _proc_set_dirty,
2482 _proc_set_no_smt, _proc_set_owner_vmpressure, _proc_set_wakemon_defaults,
2483 _proc_set_wakemon_params, _proc_setcpu_percentage, _proc_setpcontrol,
2484 _proc_setthread_cpupercent, _proc_setthread_csm, _proc_setthread_no_smt,
2485 _proc_signal_delegate, _proc_signal_with_audittoken, _proc_suppress,
2486 _proc_terminate, _proc_terminate_all_rsr, _proc_terminate_delegate,
2487 _proc_terminate_with_audittoken, _proc_trace_log, _proc_track_dirty,
2488 _proc_udata_info, _proc_uuid_policy, _processor_assign, _processor_control,
2489 _processor_exit, _processor_get_assignment, _processor_info,
2490 _processor_set_create, _processor_set_default, _processor_set_destroy,
2491 _processor_set_info, _processor_set_max_priority, _processor_set_policy_control,
2492 _processor_set_policy_disable, _processor_set_policy_enable,
2493 _processor_set_stack_usage, _processor_set_statistics, _processor_set_tasks,
2494 _processor_set_tasks_with_flavor, _processor_set_threads,
2495 _processor_start, _pselect, '_pselect$DARWIN_EXTSN', '_pselect$DARWIN_EXTSN$NOCANCEL',
2496 '_pselect$NOCANCEL', _pthread_getugid_np, _pthread_setugid_np,
2497 _ptrace, _pwrite, '_pwrite$NOCANCEL', _pwritev, '_pwritev$NOCANCEL',
2498 _quota, _quotactl, _read, '_read$NOCANCEL', _readlink, _readlinkat,
2499 _readv, '_readv$NOCANCEL', _reboot, _reboot_np, _record_system_event_as_kernel,
2500 _recvfrom, '_recvfrom$NOCANCEL', _recvmsg, '_recvmsg$NOCANCEL',
2501 _recvmsg_x, _register_uexc_handler, _removexattr, _rename,
2502 _rename_ext, _renameat, _renameatx_np, _renamex_np, _revoke,
2503 _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN', '_select$DARWIN_EXTSN$NOCANCEL',
2504 '_select$NOCANCEL', _sem_close, _sem_destroy, _sem_getvalue,
2505 _sem_init, _sem_open, _sem_post, _sem_trywait, _sem_unlink,
2506 _sem_wait, '_sem_wait$NOCANCEL', _semaphore_create, _semaphore_destroy,
2507 _semaphore_signal, _semaphore_signal_all, _semaphore_signal_all_trap,
2508 _semaphore_signal_thread, _semaphore_signal_thread_trap, _semaphore_signal_trap,
2509 _semaphore_timedwait, _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap,
2441 _posix_spawnattr_init, _posix_spawnattr_set_4k_page_size_np,
2442 _posix_spawnattr_set_alt_rosetta_np, _posix_spawnattr_set_conclave_id_np,
2443 _posix_spawnattr_set_conclavememlimit_ext, _posix_spawnattr_set_crash_behavior_deadline_np,
2444 _posix_spawnattr_set_crash_behavior_np, _posix_spawnattr_set_crash_count_np,
2445 _posix_spawnattr_set_csm_np, _posix_spawnattr_set_darwin_role_np,
2446 _posix_spawnattr_set_filedesclimit_ext, _posix_spawnattr_set_gid_np,
2447 _posix_spawnattr_set_groups_np, _posix_spawnattr_set_importancewatch_port_np,
2448 _posix_spawnattr_set_jetsam_ttr_np, _posix_spawnattr_set_kqworklooplimit_ext,
2449 _posix_spawnattr_set_launch_type_np, _posix_spawnattr_set_login_np,
2450 _posix_spawnattr_set_max_addr_np, _posix_spawnattr_set_persona_gid_np,
2451 _posix_spawnattr_set_persona_groups_np, _posix_spawnattr_set_persona_np,
2452 _posix_spawnattr_set_persona_uid_np, _posix_spawnattr_set_platform_np,
2453 _posix_spawnattr_set_portlimits_ext, _posix_spawnattr_set_ptrauth_task_port_np,
2454 _posix_spawnattr_set_qos_clamp_np, _posix_spawnattr_set_registered_ports_np,
2455 _posix_spawnattr_set_subsystem_root_path_np, _posix_spawnattr_set_telemetry_np,
2456 _posix_spawnattr_set_threadlimit_ext, _posix_spawnattr_set_uid_np,
2457 _posix_spawnattr_set_use_sec_transition_shims_np, _posix_spawnattr_setarchpref_np,
2458 _posix_spawnattr_setauditsessionport_np, _posix_spawnattr_setbinpref_np,
2459 _posix_spawnattr_setcoalition_np, _posix_spawnattr_setcpumonitor,
2460 _posix_spawnattr_setcpumonitor_default, _posix_spawnattr_setdataless_iopolicy_np,
2461 _posix_spawnattr_setexceptionports_np, _posix_spawnattr_setflags,
2462 _posix_spawnattr_setjetsam_ext, _posix_spawnattr_setmacpolicyinfo_np,
2463 _posix_spawnattr_setnosmt_np, _posix_spawnattr_setpcontrol_np,
2464 _posix_spawnattr_setpgroup, _posix_spawnattr_setprocesstype_np,
2465 _posix_spawnattr_setsigdefault, _posix_spawnattr_setsigmask,
2466 _posix_spawnattr_setspecialport_np, _pread, '_pread$NOCANCEL',
2467 _preadv, '_preadv$NOCANCEL', _proc_clear_cpulimits, _proc_clear_delayidlesleep,
2468 _proc_clear_dirty, _proc_clear_vmpressure, _proc_current_thread_schedinfo,
2469 _proc_denap_assertion_begin_with_msg, _proc_denap_assertion_complete,
2470 _proc_disable_apptype, _proc_disable_cpumon, _proc_disable_wakemon,
2471 _proc_donate_importance_boost, _proc_enable_apptype, _proc_get_cpumon_params,
2472 _proc_get_dirty, _proc_get_wakemon_params, _proc_importance_assertion_begin_with_msg,
2473 _proc_importance_assertion_complete, _proc_kmsgbuf, _proc_libversion,
2474 _proc_list_dynkqueueids, _proc_list_uptrs, _proc_listallpids,
2475 _proc_listchildpids, _proc_listcoalitions, _proc_listpgrppids,
2476 _proc_listpids, _proc_listpidspath, _proc_name, _proc_pid_rusage,
2477 _proc_piddynkqueueinfo, _proc_pidfdinfo, _proc_pidfileportinfo,
2478 _proc_pidinfo, _proc_pidoriginatorinfo, _proc_pidpath, _proc_pidpath_audittoken,
2479 _proc_regionfilename, _proc_reset_footprint_interval, _proc_resume_cpumon,
2480 _proc_rlimit_control, _proc_set_cpumon_defaults, _proc_set_cpumon_params,
2481 _proc_set_cpumon_params_fatal, _proc_set_csm, _proc_set_delayidlesleep,
2482 _proc_set_dirty, _proc_set_no_smt, _proc_set_owner_vmpressure,
2483 _proc_set_wakemon_defaults, _proc_set_wakemon_params, _proc_setcpu_percentage,
2484 _proc_setpcontrol, _proc_setthread_cpupercent, _proc_setthread_csm,
2485 _proc_setthread_no_smt, _proc_signal_delegate, _proc_signal_with_audittoken,
2486 _proc_suppress, _proc_terminate, _proc_terminate_all_rsr,
2487 _proc_terminate_delegate, _proc_terminate_with_audittoken,
2488 _proc_trace_log, _proc_track_dirty, _proc_udata_info, _proc_uuid_policy,
2489 _processor_assign, _processor_control, _processor_exit, _processor_get_assignment,
2490 _processor_info, _processor_set_create, _processor_set_default,
2491 _processor_set_destroy, _processor_set_info, _processor_set_max_priority,
2492 _processor_set_policy_control, _processor_set_policy_disable,
2493 _processor_set_policy_enable, _processor_set_stack_usage,
2494 _processor_set_statistics, _processor_set_tasks, _processor_set_tasks_with_flavor,
2495 _processor_set_threads, _processor_start, _pselect, '_pselect$DARWIN_EXTSN',
2496 '_pselect$DARWIN_EXTSN$NOCANCEL', '_pselect$NOCANCEL', _pthread_getugid_np,
2497 _pthread_setugid_np, _ptrace, _pwrite, '_pwrite$NOCANCEL',
2498 _pwritev, '_pwritev$NOCANCEL', _quota, _quotactl, _read, '_read$NOCANCEL',
2499 _readlink, _readlinkat, _readv, '_readv$NOCANCEL', _reboot,
2500 _reboot_np, _record_system_event_as_kernel, _recvfrom, '_recvfrom$NOCANCEL',
2501 _recvmsg, '_recvmsg$NOCANCEL', _recvmsg_x, _register_uexc_handler,
2502 _removexattr, _rename, _rename_ext, _renameat, _renameatx_np,
2503 _renamex_np, _revoke, _rmdir, _searchfs, _select, '_select$DARWIN_EXTSN',
2504 '_select$DARWIN_EXTSN$NOCANCEL', '_select$NOCANCEL', _sem_close,
2505 _sem_destroy, _sem_getvalue, _sem_init, _sem_open, _sem_post,
2506 _sem_trywait, _sem_unlink, _sem_wait, '_sem_wait$NOCANCEL',
2507 _semaphore_create, _semaphore_destroy, _semaphore_signal,
2508 _semaphore_signal_all, _semaphore_signal_all_trap, _semaphore_signal_thread,
2509 _semaphore_signal_thread_trap, _semaphore_signal_trap, _semaphore_timedwait,
2510 _semaphore_timedwait_signal, _semaphore_timedwait_signal_trap,
25102511 _semaphore_timedwait_trap, _semaphore_wait, _semaphore_wait_signal,
25112512 _semaphore_wait_signal_trap, _semaphore_wait_trap, _semctl,
25122513 _semget, _semop, _semsys, _sendfile, _sendmsg, '_sendmsg$NOCANCEL',
......@@ -2591,8 +2592,8 @@ exports:
25912592 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
25922593 symbols: [ ___fstat, ___fstatat, ___fstatfs, ___getfsstat, ___lstat,
25932594 ___stat, ___statfs, __current_pid, _mach_absolute_time_kernel,
2594 _mach_continuous_time_kernel, _os_custom_x18_abi, _os_custom_x18_abi_get,
2595 _update_tpidr ]
2595 _mach_continuous_time_kernel, _os_custom_x18_abi_enabled,
2596 _os_set_custom_x18_abi_enabled, _update_tpidr ]
25962597--- !tapi-tbd
25972598tbd-version: 4
25982599targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
......@@ -2928,8 +2929,8 @@ exports:
29282929 _ne_session_policy_copy_flow_divert_token, _ne_session_policy_copy_flow_divert_token_with_key,
29292930 _ne_session_policy_match_get_service, _ne_session_policy_match_get_service_action,
29302931 _ne_session_policy_match_get_service_type, _ne_session_relay_configs_present,
2931 _ne_session_release, _ne_session_reset_cache, _ne_session_retain,
2932 _ne_session_send_barrier, _ne_session_service_copy_cached_match_domains,
2932 _ne_session_release, _ne_session_requires_flow_divert, _ne_session_reset_cache,
2933 _ne_session_retain, _ne_session_send_barrier, _ne_session_service_copy_cached_match_domains,
29332934 _ne_session_service_get_dns_service_id, _ne_session_service_get_dns_service_id_for_interface,
29342935 _ne_session_service_matches_address, _ne_session_service_matches_address_for_interface,
29352936 _ne_session_set_device_communication_exception, _ne_session_set_event_handler,
......@@ -2960,7 +2961,7 @@ exports:
29602961tbd-version: 4
29612962targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
29622963install-name: '/usr/lib/system/libsystem_notify.dylib'
2963current-version: 348.100.7
2964current-version: 348.120.4
29642965parent-umbrella:
29652966 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
29662967 umbrella: System
......@@ -2978,7 +2979,7 @@ tbd-version: 4
29782979targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
29792980 arm64e-macos, arm64e-maccatalyst ]
29802981install-name: '/usr/lib/system/libsystem_platform.dylib'
2981current-version: 375.100.10
2982current-version: 375.120.2
29822983parent-umbrella:
29832984 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
29842985 arm64e-macos, arm64e-maccatalyst ]
......@@ -3153,7 +3154,7 @@ exports:
31533154tbd-version: 4
31543155targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
31553156install-name: '/usr/lib/system/libsystem_sandbox.dylib'
3156current-version: 2680.100.174
3157current-version: 2680.120.12
31573158parent-umbrella:
31583159 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
31593160 umbrella: System
......@@ -3300,7 +3301,7 @@ exports:
33003301tbd-version: 4
33013302targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33023303install-name: '/usr/lib/system/libsystem_trace.dylib'
3303current-version: 1861.100.19
3304current-version: 1861.120.4
33043305parent-umbrella:
33053306 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
33063307 umbrella: System
......@@ -3422,7 +3423,7 @@ exports:
34223423tbd-version: 4
34233424targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34243425install-name: '/usr/lib/system/libxpc.dylib'
3425current-version: 3102.100.102
3426current-version: 3102.120.13
34263427parent-umbrella:
34273428 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
34283429 umbrella: System
lib/libc/include/any-darwin-any/AvailabilityInternal.h+10-10
......@@ -37,11 +37,11 @@
3737 #if __has_builtin(__is_target_os)
3838 #if __is_target_os(macos)
3939 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_5
4141 #endif
4242 #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
4343 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_4
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_5
4545 #endif /* __has_builtin(__is_target_os) */
4646 #endif /* defined(__has_builtin) */
4747#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */
......@@ -51,11 +51,11 @@
5151 #if __has_builtin(__is_target_os)
5252 #if __is_target_os(ios)
5353 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_5
5555 #endif
5656 #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
5757 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_4
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_5
5959 #endif /* __has_builtin(__is_target_os) */
6060 #endif /* defined(__has_builtin) */
6161#endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */
......@@ -65,13 +65,13 @@
6565 #if __has_builtin(__is_target_os)
6666 #if __is_target_os(watchos)
6767 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_5
6969 /* for compatibility with existing code. New code should use platform specific checks */
7070 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
7171 #endif
7272 #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
7373 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_4
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_5
7575 /* for compatibility with existing code. New code should use platform specific checks */
7676 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
7777 #endif /* __has_builtin(__is_target_os) */
......@@ -83,13 +83,13 @@
8383 #if __has_builtin(__is_target_os)
8484 #if __is_target_os(tvos)
8585 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_5
8787 /* for compatibility with existing code. New code should use platform specific checks */
8888 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
8989 #endif
9090 #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
9191 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_4
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_5
9393 /* for compatibility with existing code. New code should use platform specific checks */
9494 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
9595 #endif /* __has_builtin(__is_target_os) */
......@@ -103,7 +103,7 @@
103103 #if __has_builtin(__is_target_os)
104104 #if __is_target_os(driverkit)
105105 #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_4
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_5
107107 #endif
108108 #endif /* __has_builtin(__is_target_os) */
109109 #endif /* defined(__has_builtin) */
......@@ -114,7 +114,7 @@
114114 #if __has_builtin(__is_target_os)
115115 #if __is_target_os(visionos)
116116 #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_4
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_5
118118 /* for compatibility with existing code. New code should use platform specific checks */
119119 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1
120120 #endif
lib/libc/include/any-darwin-any/AvailabilityVersions.h+8
......@@ -101,6 +101,7 @@
101101#define __MAC_26_2 260200
102102#define __MAC_26_3 260300
103103#define __MAC_26_4 260400
104#define __MAC_26_5 260500
104105/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
105106
106107#define __IPHONE_2_0 20000
......@@ -196,6 +197,7 @@
196197#define __IPHONE_26_2 260200
197198#define __IPHONE_26_3 260300
198199#define __IPHONE_26_4 260400
200#define __IPHONE_26_5 260500
199201/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
200202
201203#define __WATCHOS_1_0 10000
......@@ -260,6 +262,7 @@
260262#define __WATCHOS_26_2 260200
261263#define __WATCHOS_26_3 260300
262264#define __WATCHOS_26_4 260400
265#define __WATCHOS_26_5 260500
263266/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
264267
265268#define __TVOS_9_0 90000
......@@ -324,6 +327,7 @@
324327#define __TVOS_26_2 260200
325328#define __TVOS_26_3 260300
326329#define __TVOS_26_4 260400
330#define __TVOS_26_5 260500
327331/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
328332
329333#define __BRIDGEOS_2_0 20000
......@@ -365,6 +369,7 @@
365369#define __BRIDGEOS_10_2 100200
366370#define __BRIDGEOS_10_3 100300
367371#define __BRIDGEOS_10_4 100400
372#define __BRIDGEOS_26_5 260500
368373
369374
370375#define __DRIVERKIT_19_0 190000
......@@ -393,6 +398,7 @@
393398#define __DRIVERKIT_25_2 250200
394399#define __DRIVERKIT_25_3 250300
395400#define __DRIVERKIT_25_4 250400
401#define __DRIVERKIT_25_5 250500
396402/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
397403
398404#define __VISIONOS_1_0 10000
......@@ -412,6 +418,7 @@
412418#define __VISIONOS_26_2 260200
413419#define __VISIONOS_26_3 260300
414420#define __VISIONOS_26_4 260400
421#define __VISIONOS_26_5 260500
415422/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
416423
417424
......@@ -506,6 +513,7 @@
506513#define MAC_OS_VERSION_26_2 __MAC_26_2
507514#define MAC_OS_VERSION_26_3 __MAC_26_3
508515#define MAC_OS_VERSION_26_4 __MAC_26_4
516#define MAC_OS_VERSION_26_5 __MAC_26_5
509517
510518#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */
511519
lib/libc/include/any-darwin-any/mach/host_info.h+3-1
......@@ -207,7 +207,9 @@ typedef struct vm_purgeable_info *host_purgable_info_t;
207207
208208/* size of the latest version of the structure */
209209#define HOST_VM_INFO64_LATEST_COUNT HOST_VM_INFO64_COUNT
210#define HOST_VM_INFO64_REV2_COUNT HOST_VM_INFO64_COUNT
210#define HOST_VM_INFO64_REV3_COUNT HOST_VM_INFO64_COUNT
211#define HOST_VM_INFO64_REV2_COUNT ((mach_msg_type_number_t) \
212 (offsetof(vm_statistics64_data_t, total_tag_storage_pages) / sizeof(integer_t)))
211213#define HOST_VM_INFO64_REV1_COUNT ((mach_msg_type_number_t) \
212214 (offsetof(vm_statistics64_data_t, swapped_count) / sizeof(integer_t)))
213215/* previous versions: adjust the size according to what was added each time */
lib/libc/include/any-darwin-any/mach/mach_voucher_types.h+2
......@@ -97,6 +97,8 @@ typedef mach_voucher_attr_key_t *mach_voucher_attr_key_array_t;
9797#define MACH_VOUCHER_ATTR_KEY_PTHPRIORITY ((mach_voucher_attr_key_t)4)
9898#define MACH_VOUCHER_ATTR_KEY_USER_DATA ((mach_voucher_attr_key_t)7)
9999#define MACH_VOUCHER_ATTR_KEY_BITS MACH_VOUCHER_ATTR_KEY_USER_DATA
100
101/* not used, for compatibility only */
100102#define MACH_VOUCHER_ATTR_KEY_TEST ((mach_voucher_attr_key_t)8)
101103
102104/* not used, for compatibility only */
lib/libc/include/any-darwin-any/mach/vm_statistics.h+33-2
......@@ -174,13 +174,44 @@ struct vm_statistics64 {
174174 uint64_t total_uncompressed_pages_in_compressor; /* # of pages (uncompressed) held within the compressor. */
175175 /* added for rev2 */
176176 uint64_t swapped_count; /* # of compressor-stored pages currently stored in swap */
177 /* Added in rev3 */
178 /* The total number of physical pages in the tag storage region */
179 uint64_t total_tag_storage_pages;
180 /*
181 * The number of tag storage pages which hold non-tag data and are pageable
182 */
183 uint64_t nontag_pageable_tag_storage_pages;
184 /* The number of tag storage pages which hold non-tag data and are wired */
185 uint64_t nontag_wired_tag_storage_pages;
186 /*
187 * The number of tag storage pages which are being used for neither tags nor
188 * regular memory
189 */
190 uint64_t free_tag_storage_pages;
191 /* The number of tag storage pages which currently hold tags */
192 uint64_t tag_storing_tag_storage_pages;
193
194 /* The total number of virtual pages which are tagged */
195 uint64_t total_tagged_pages;
196 /* The number of resident, physical pages which are tagged */
197 uint64_t resident_tagged_pages;
198 /*
199 * The outstanding number of virtual tagged pages whose contents reside in the
200 * compressor
201 */
202 uint64_t compressed_tagged_pages;
203
204 /* The number of tagged pages which have been compressed since boot */
205 uint64_t tagged_compressions;
206 /* The number of tagged pages which have been decompressed since boot */
207 uint64_t tagged_decompressions;
208 /* The current number of bytes consumed by compressed tag storage data */
209 uint64_t compressed_tag_storage_bytes;
177210} __attribute__((aligned(8)));
178211
179212typedef struct vm_statistics64 *vm_statistics64_t;
180213typedef struct vm_statistics64 vm_statistics64_data_t;
181214
182kern_return_t vm_stats(void *info, unsigned int *count);
183
184215/*
185216 * VM_STATISTICS_TRUNCATE_TO_32_BIT
186217 *
lib/libc/include/any-darwin-any/spawn.h+3-1
......@@ -160,7 +160,9 @@ int posix_spawnattr_setexceptionports_np(posix_spawnattr_t * __restrict,
160160int posix_spawnattr_setspecialport_np(posix_spawnattr_t * __restrict,
161161 mach_port_t, int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
162162
163int posix_spawnattr_setnosmt_np(const posix_spawnattr_t * __restrict attr) __API_AVAILABLE(macos(11.0));
163int posix_spawnattr_setnosmt_np(const posix_spawnattr_t * __restrict) __API_AVAILABLE(macos(11.0));
164
165int posix_spawnattr_set_4k_page_size_np(const posix_spawnattr_t * __restrict) __API_AVAILABLE(macos(26.0));
164166
165167/*
166168 * Set CPU Security Mitigation on the spawned process
lib/libc/include/any-darwin-any/sys/_symbol_aliasing.h+12
......@@ -587,6 +587,12 @@
587587#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_4(x)
588588#endif
589589
590#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 260500
591#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_5(x) x
592#else
593#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_5(x)
594#endif
595
590596#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000
591597#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x
592598#else
......@@ -1049,3 +1055,9 @@
10491055#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_4(x)
10501056#endif
10511057
1058#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260500
1059#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_5(x) x
1060#else
1061#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_5(x)
1062#endif
1063