authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2025-05-09 19:53:40+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-12 16:50:17+02:00
logabbead1fb8d9fefd093ec61de72e708d00acb01e
treed14f30fbc90a808311ec40d02428dc45096f0a26
parent833d4c9ce4fb2588607a7c94d7919ad4e2edb641

libc: update macOS headers to SDK 15.2


19 files changed, 171 insertions(+), 97 deletions(-)

lib/libc/darwin/SDKSettings.json+1-1
...@@ -1 +1 @@...@@ -1 +1 @@
1{"MinimalDisplayName":"15.1"}1{"MinimalDisplayName":"15.2"}
lib/libc/darwin/libSystem.tbd+75-79
...@@ -71,7 +71,7 @@ tbd-version: 4...@@ -71,7 +71,7 @@ tbd-version: 4
71targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 71targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
72 arm64e-macos, arm64e-maccatalyst ]72 arm64e-macos, arm64e-maccatalyst ]
73install-name: '/usr/lib/system/libcommonCrypto.dylib'73install-name: '/usr/lib/system/libcommonCrypto.dylib'
74current-version: 6553574current-version: 65535.60.1
75parent-umbrella:75parent-umbrella:
76 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 76 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
77 arm64e-macos, arm64e-maccatalyst ]77 arm64e-macos, arm64e-maccatalyst ]
...@@ -399,7 +399,7 @@ tbd-version: 4...@@ -399,7 +399,7 @@ tbd-version: 4
399targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 399targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
400 arm64e-macos, arm64e-maccatalyst ]400 arm64e-macos, arm64e-maccatalyst ]
401install-name: '/usr/lib/system/libcorecrypto.dylib'401install-name: '/usr/lib/system/libcorecrypto.dylib'
402current-version: 1736.40.7402current-version: 1736.60.68
403parent-umbrella:403parent-umbrella:
404 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 404 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
405 arm64e-macos, arm64e-maccatalyst ]405 arm64e-macos, arm64e-maccatalyst ]
...@@ -769,7 +769,7 @@ tbd-version: 4...@@ -769,7 +769,7 @@ tbd-version: 4
769targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 769targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
770 arm64e-macos, arm64e-maccatalyst ]770 arm64e-macos, arm64e-maccatalyst ]
771install-name: '/usr/lib/system/libdispatch.dylib'771install-name: '/usr/lib/system/libdispatch.dylib'
772current-version: 1502.0.1772current-version: 1504.60.7
773parent-umbrella:773parent-umbrella:
774 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 774 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
775 arm64e-macos, arm64e-maccatalyst ]775 arm64e-macos, arm64e-maccatalyst ]
...@@ -1051,7 +1051,7 @@ exports:...@@ -1051,7 +1051,7 @@ exports:
1051tbd-version: 41051tbd-version: 4
1052targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1052targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1053install-name: '/usr/lib/system/libmacho.dylib'1053install-name: '/usr/lib/system/libmacho.dylib'
1054current-version: 1021.41054current-version: 1022.1
1055parent-umbrella:1055parent-umbrella:
1056 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1056 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1057 umbrella: System1057 umbrella: System
...@@ -1070,35 +1070,28 @@ exports:...@@ -1070,35 +1070,28 @@ exports:
1070 _swap_dylinker_command, _swap_dysymtab_command, _swap_encryption_command, 1070 _swap_dylinker_command, _swap_dysymtab_command, _swap_encryption_command,
1071 _swap_encryption_command_64, _swap_entry_point_command, _swap_fat_arch, 1071 _swap_encryption_command_64, _swap_entry_point_command, _swap_fat_arch,
1072 _swap_fat_arch_64, _swap_fat_header, _swap_fileset_entry_command, 1072 _swap_fat_arch_64, _swap_fat_header, _swap_fileset_entry_command,
1073 _swap_fvmfile_command, _swap_fvmlib_command, _swap_hppa_fp_thread_state, 1073 _swap_fvmfile_command, _swap_fvmlib_command, _swap_i386_exception_state,
1074 _swap_hppa_frame_thread_state, _swap_hppa_integer_thread_state, 1074 _swap_i386_float_state, _swap_i386_thread_state, _swap_ident_command,
1075 _swap_i386_exception_state, _swap_i386_float_state, _swap_i386_thread_state, 1075 _swap_indirect_symbols, _swap_linkedit_data_command, _swap_linker_option_command,
1076 _swap_i860_thread_state_regs, _swap_ident_command, _swap_indirect_symbols, 1076 _swap_load_command, _swap_mach_header, _swap_mach_header_64,
1077 _swap_linkedit_data_command, _swap_linker_option_command, 1077 _swap_nlist, _swap_nlist_64, _swap_note_command, _swap_prebind_cksum_command,
1078 _swap_load_command, _swap_m68k_thread_state_68882, _swap_m68k_thread_state_regs,
1079 _swap_m68k_thread_state_user_reg, _swap_m88110_thread_state_impl_t,
1080 _swap_m88k_thread_state_grf_t, _swap_m88k_thread_state_user_t,
1081 _swap_m88k_thread_state_xrf_t, _swap_mach_header, _swap_mach_header_64,
1082 _swap_nlist, _swap_nlist_64, _swap_note_command, _swap_ppc_exception_state_t,
1083 _swap_ppc_float_state_t, _swap_ppc_thread_state_t, _swap_prebind_cksum_command,
1084 _swap_prebound_dylib_command, _swap_ranlib, _swap_ranlib_64, 1078 _swap_prebound_dylib_command, _swap_ranlib, _swap_ranlib_64,
1085 _swap_relocation_info, _swap_routines_command, _swap_routines_command_64, 1079 _swap_relocation_info, _swap_routines_command, _swap_routines_command_64,
1086 _swap_rpath_command, _swap_section, _swap_section_64, _swap_segment_command, 1080 _swap_rpath_command, _swap_section, _swap_section_64, _swap_segment_command,
1087 _swap_segment_command_64, _swap_source_version_command, _swap_sparc_thread_state_fpu, 1081 _swap_segment_command_64, _swap_source_version_command, _swap_sub_client_command,
1088 _swap_sparc_thread_state_regs, _swap_sub_client_command, _swap_sub_framework_command, 1082 _swap_sub_framework_command, _swap_sub_library_command, _swap_sub_umbrella_command,
1089 _swap_sub_library_command, _swap_sub_umbrella_command, _swap_symseg_command, 1083 _swap_symseg_command, _swap_symtab_command, _swap_thread_command,
1090 _swap_symtab_command, _swap_thread_command, _swap_twolevel_hint, 1084 _swap_twolevel_hint, _swap_twolevel_hints_command, _swap_uuid_command,
1091 _swap_twolevel_hints_command, _swap_uuid_command, _swap_version_min_command, 1085 _swap_version_min_command, _swap_x86_debug_state, _swap_x86_debug_state32,
1092 _swap_x86_debug_state, _swap_x86_debug_state32, _swap_x86_debug_state64, 1086 _swap_x86_debug_state64, _swap_x86_exception_state, _swap_x86_exception_state64,
1093 _swap_x86_exception_state, _swap_x86_exception_state64, _swap_x86_float_state, 1087 _swap_x86_float_state, _swap_x86_float_state64, _swap_x86_state_hdr,
1094 _swap_x86_float_state64, _swap_x86_state_hdr, _swap_x86_thread_state, 1088 _swap_x86_thread_state, _swap_x86_thread_state64 ]
1095 _swap_x86_thread_state64 ]
1096--- !tapi-tbd1089--- !tapi-tbd
1097tbd-version: 41090tbd-version: 4
1098targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1091targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1099 arm64e-macos, arm64e-maccatalyst ]1092 arm64e-macos, arm64e-maccatalyst ]
1100install-name: '/usr/lib/system/libquarantine.dylib'1093install-name: '/usr/lib/system/libquarantine.dylib'
1101current-version: 181.0.71094current-version: 181.60.2
1102parent-umbrella:1095parent-umbrella:
1103 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1096 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1104 arm64e-macos, arm64e-maccatalyst ]1097 arm64e-macos, arm64e-maccatalyst ]
...@@ -1243,7 +1236,7 @@ tbd-version: 4...@@ -1243,7 +1236,7 @@ tbd-version: 4
1243targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1236targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1244 arm64e-macos, arm64e-maccatalyst ]1237 arm64e-macos, arm64e-maccatalyst ]
1245install-name: '/usr/lib/system/libsystem_blocks.dylib'1238install-name: '/usr/lib/system/libsystem_blocks.dylib'
1246current-version: 941239current-version: 95
1247parent-umbrella:1240parent-umbrella:
1248 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1241 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1249 arm64e-macos, arm64e-maccatalyst ]1242 arm64e-macos, arm64e-maccatalyst ]
...@@ -1262,7 +1255,7 @@ tbd-version: 4...@@ -1262,7 +1255,7 @@ tbd-version: 4
1262targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1255targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1263 arm64e-macos, arm64e-maccatalyst ]1256 arm64e-macos, arm64e-maccatalyst ]
1264install-name: '/usr/lib/system/libsystem_c.dylib'1257install-name: '/usr/lib/system/libsystem_c.dylib'
1265current-version: 1669.40.21258current-version: 1669.60.4
1266parent-umbrella:1259parent-umbrella:
1267 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1260 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1268 arm64e-macos, arm64e-maccatalyst ]1261 arm64e-macos, arm64e-maccatalyst ]
...@@ -1557,7 +1550,7 @@ tbd-version: 4...@@ -1557,7 +1550,7 @@ tbd-version: 4
1557targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1550targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1558 arm64e-macos, arm64e-maccatalyst ]1551 arm64e-macos, arm64e-maccatalyst ]
1559install-name: '/usr/lib/system/libsystem_collections.dylib'1552install-name: '/usr/lib/system/libsystem_collections.dylib'
1560current-version: 1669.40.21553current-version: 1669.60.4
1561parent-umbrella:1554parent-umbrella:
1562 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1555 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1563 arm64e-macos, arm64e-maccatalyst ]1556 arm64e-macos, arm64e-maccatalyst ]
...@@ -1587,7 +1580,7 @@ tbd-version: 4...@@ -1587,7 +1580,7 @@ tbd-version: 4
1587targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1580targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1588 arm64e-macos, arm64e-maccatalyst ]1581 arm64e-macos, arm64e-maccatalyst ]
1589install-name: '/usr/lib/system/libsystem_configuration.dylib'1582install-name: '/usr/lib/system/libsystem_configuration.dylib'
1590current-version: 1347.40.11583current-version: 1351
1591parent-umbrella:1584parent-umbrella:
1592 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1585 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1593 arm64e-macos, arm64e-maccatalyst ]1586 arm64e-macos, arm64e-maccatalyst ]
...@@ -1878,7 +1871,7 @@ tbd-version: 4...@@ -1878,7 +1871,7 @@ tbd-version: 4
1878targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1871targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1879 arm64e-macos, arm64e-maccatalyst ]1872 arm64e-macos, arm64e-maccatalyst ]
1880install-name: '/usr/lib/system/libsystem_dnssd.dylib'1873install-name: '/usr/lib/system/libsystem_dnssd.dylib'
1881current-version: 2559.40.321874current-version: 2559.60.39
1882parent-umbrella:1875parent-umbrella:
1883 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 1876 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
1884 arm64e-macos, arm64e-maccatalyst ]1877 arm64e-macos, arm64e-maccatalyst ]
...@@ -1915,7 +1908,7 @@ exports:...@@ -1915,7 +1908,7 @@ exports:
1915tbd-version: 41908tbd-version: 4
1916targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1909targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1917install-name: '/usr/lib/system/libsystem_eligibility.dylib'1910install-name: '/usr/lib/system/libsystem_eligibility.dylib'
1918current-version: 129.40.71911current-version: 160.60.1
1919parent-umbrella:1912parent-umbrella:
1920 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]1913 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
1921 umbrella: System1914 umbrella: System
...@@ -2071,7 +2064,7 @@ tbd-version: 4...@@ -2071,7 +2064,7 @@ tbd-version: 4
2071targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2064targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2072 arm64e-macos, arm64e-maccatalyst ]2065 arm64e-macos, arm64e-maccatalyst ]
2073install-name: '/usr/lib/system/libsystem_kernel.dylib'2066install-name: '/usr/lib/system/libsystem_kernel.dylib'
2074current-version: 11215.41.22067current-version: 11215.61.3
2075parent-umbrella:2068parent-umbrella:
2076 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2069 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2077 arm64e-macos, arm64e-maccatalyst ]2070 arm64e-macos, arm64e-maccatalyst ]
...@@ -2216,33 +2209,34 @@ exports:...@@ -2216,33 +2209,34 @@ exports:
2216 _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server, 2209 _disconnectx, _dup, _dup2, _errno, _etap_trace_thread, _exc_server,
2217 _exc_server_routine, _exception_raise, _exception_raise_state, 2210 _exc_server_routine, _exception_raise, _exception_raise_state,
2218 _exception_raise_state_identity, _exchangedata, _exclaves_audio_buffer_copyout, 2211 _exception_raise_state_identity, _exchangedata, _exclaves_audio_buffer_copyout,
2219 _exclaves_audio_buffer_create, _exclaves_boot, _exclaves_endpoint_call, 2212 _exclaves_audio_buffer_copyout_with_status, _exclaves_audio_buffer_create,
2220 _exclaves_inbound_buffer_copyin, _exclaves_inbound_buffer_create, 2213 _exclaves_boot, _exclaves_endpoint_call, _exclaves_inbound_buffer_copyin,
2221 _exclaves_launch_conclave, _exclaves_lookup_service, _exclaves_named_buffer_copyin, 2214 _exclaves_inbound_buffer_create, _exclaves_launch_conclave,
2222 _exclaves_named_buffer_copyout, _exclaves_named_buffer_create, 2215 _exclaves_lookup_service, _exclaves_named_buffer_copyin, _exclaves_named_buffer_copyout,
2223 _exclaves_notification_create, _exclaves_outbound_buffer_copyout, 2216 _exclaves_named_buffer_create, _exclaves_notification_create,
2224 _exclaves_outbound_buffer_create, _exclaves_sensor_create, 2217 _exclaves_outbound_buffer_copyout, _exclaves_outbound_buffer_create,
2225 _exclaves_sensor_start, _exclaves_sensor_status, _exclaves_sensor_stop, 2218 _exclaves_sensor_create, _exclaves_sensor_start, _exclaves_sensor_status,
2226 _execve, _faccessat, _fchdir, _fchflags, _fchmod, _fchmodat, 2219 _exclaves_sensor_stop, _execve, _faccessat, _fchdir, _fchflags,
2227 _fchown, _fchownat, _fclonefileat, _fcntl, '_fcntl$NOCANCEL', 2220 _fchmod, _fchmodat, _fchown, _fchownat, _fclonefileat, _fcntl,
2228 _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr, _fhopen, _fileport_makefd, 2221 '_fcntl$NOCANCEL', _fdatasync, _ffsctl, _fgetattrlist, _fgetxattr,
2229 _fileport_makeport, _flistxattr, _flock, _fmount, _fpathconf, 2222 _fhopen, _fileport_makefd, _fileport_makeport, _flistxattr,
2230 _freadlink, _fremovexattr, _fs_snapshot_create, _fs_snapshot_delete, 2223 _flock, _fmount, _fpathconf, _freadlink, _fremovexattr, _fs_snapshot_create,
2231 _fs_snapshot_list, _fs_snapshot_mount, _fs_snapshot_rename, 2224 _fs_snapshot_delete, _fs_snapshot_list, _fs_snapshot_mount,
2232 _fs_snapshot_revert, _fs_snapshot_root, _fsctl, _fsetattrlist, 2225 _fs_snapshot_rename, _fs_snapshot_revert, _fs_snapshot_root,
2233 _fsetxattr, _fsgetpath, _fsgetpath_ext, _fstat, _fstat64, 2226 _fsctl, _fsetattrlist, _fsetxattr, _fsgetpath, _fsgetpath_ext,
2234 _fstatat, _fstatat64, _fstatfs, _fstatfs64, _fsync, '_fsync$NOCANCEL', 2227 _fstat, _fstat64, _fstatat, _fstatat64, _fstatfs, _fstatfs64,
2235 _ftruncate, _futimens, _futimes, _getattrlist, _getattrlistat, 2228 _fsync, '_fsync$NOCANCEL', _ftruncate, _futimens, _futimes,
2236 _getattrlistbulk, _getaudit, _getaudit_addr, _getauid, _getdirentries, 2229 _getattrlist, _getattrlistat, _getattrlistbulk, _getaudit,
2237 _getdirentriesattr, _getdtablesize, _getegid, _getentropy, 2230 _getaudit_addr, _getauid, _getdirentries, _getdirentriesattr,
2238 _geteuid, _getfh, _getfsstat, _getfsstat64, _getgid, _getgroups, 2231 _getdtablesize, _getegid, _getentropy, _geteuid, _getfh, _getfsstat,
2239 _gethostuuid, _getiopolicy_np, _getitimer, _getpeername, _getpgid, 2232 _getfsstat64, _getgid, _getgroups, _gethostuuid, _getiopolicy_np,
2240 _getpgrp, _getpid, _getppid, _getpriority, _getrlimit, _getrusage, 2233 _getitimer, _getpeername, _getpgid, _getpgrp, _getpid, _getppid,
2241 _getsgroups_np, _getsid, _getsockname, _getsockopt, _getuid, 2234 _getpriority, _getrlimit, _getrusage, _getsgroups_np, _getsid,
2242 _getwgroups_np, _getxattr, _grab_pgo_data, _graftdmg, _guarded_close_np, 2235 _getsockname, _getsockopt, _getuid, _getwgroups_np, _getxattr,
2243 _guarded_kqueue_np, _guarded_open_dprotected_np, _guarded_open_np, 2236 _grab_pgo_data, _graftdmg, _guarded_close_np, _guarded_kqueue_np,
2244 _guarded_pwrite_np, _guarded_write_np, _guarded_writev_np, 2237 _guarded_open_dprotected_np, _guarded_open_np, _guarded_pwrite_np,
2245 _host_check_multiuser_mode, _host_create_mach_voucher, _host_create_mach_voucher_trap, 2238 _guarded_write_np, _guarded_writev_np, _host_check_multiuser_mode,
2239 _host_create_mach_voucher, _host_create_mach_voucher_trap,
2246 _host_default_memory_manager, _host_get_UNDServer, _host_get_atm_diagnostic_flag, 2240 _host_default_memory_manager, _host_get_UNDServer, _host_get_atm_diagnostic_flag,
2247 _host_get_boot_info, _host_get_clock_control, _host_get_clock_service, 2241 _host_get_boot_info, _host_get_clock_control, _host_get_clock_service,
2248 _host_get_exception_ports, _host_get_io_main, _host_get_io_master, 2242 _host_get_exception_ports, _host_get_io_main, _host_get_io_master,
...@@ -2797,7 +2791,7 @@ tbd-version: 4...@@ -2797,7 +2791,7 @@ tbd-version: 4
2797targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2791targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2798 arm64e-macos, arm64e-maccatalyst ]2792 arm64e-macos, arm64e-maccatalyst ]
2799install-name: '/usr/lib/system/libsystem_malloc.dylib'2793install-name: '/usr/lib/system/libsystem_malloc.dylib'
2800current-version: 646.40.32794current-version: 657.60.21
2801parent-umbrella:2795parent-umbrella:
2802 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2796 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2803 arm64e-macos, arm64e-maccatalyst ]2797 arm64e-macos, arm64e-maccatalyst ]
...@@ -2868,9 +2862,10 @@ exports:...@@ -2868,9 +2862,10 @@ exports:
2868 _NEHelperCopyAppInfo, _NEHelperCopyCurrentNetworkAsync, _NEHelperCopyCurrentNetworkInfo, 2862 _NEHelperCopyAppInfo, _NEHelperCopyCurrentNetworkAsync, _NEHelperCopyCurrentNetworkInfo,
2869 _NEHelperCopyDataForCertificate, _NEHelperCopyPerAppDomains, 2863 _NEHelperCopyDataForCertificate, _NEHelperCopyPerAppDomains,
2870 _NEHelperCopyResponse, _NEHelperCopyXPCEndpointForIdentityProxy, 2864 _NEHelperCopyResponse, _NEHelperCopyXPCEndpointForIdentityProxy,
2871 _NEHelperGetAppTrackerDomains, _NEHelperGetIKESocket, _NEHelperGetIKESocketWithResult, 2865 _NEHelperCopyXPCEndpointForIdentityProxyExtended, _NEHelperGetAppTrackerDomains,
2872 _NEHelperGetKernelControlSocket, _NEHelperGetKernelControlSocketExtended, 2866 _NEHelperGetIKESocket, _NEHelperGetIKESocketWithResult, _NEHelperGetKernelControlSocket,
2873 _NEHelperGetNECPSessionFD, _NEHelperGetPFKeySocket, _NEHelperHandleConfigurationsChangedBySC, 2867 _NEHelperGetKernelControlSocketExtended, _NEHelperGetNECPSessionFD,
2868 _NEHelperGetPFKeySocket, _NEHelperHandleConfigurationsChangedBySC,
2874 _NEHelperInit, _NEHelperInterfaceCreate, _NEHelperInterfaceDestroy, 2869 _NEHelperInit, _NEHelperInterfaceCreate, _NEHelperInterfaceDestroy,
2875 _NEHelperInterfaceRemoveAddress, _NEHelperInterfaceSetAddress, 2870 _NEHelperInterfaceRemoveAddress, _NEHelperInterfaceSetAddress,
2876 _NEHelperInterfaceSetAddressWithLifetime, _NEHelperInterfaceSetDelegate, 2871 _NEHelperInterfaceSetAddressWithLifetime, _NEHelperInterfaceSetDelegate,
...@@ -2941,7 +2936,7 @@ tbd-version: 4...@@ -2941,7 +2936,7 @@ tbd-version: 4
2941targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2936targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2942 arm64e-macos, arm64e-maccatalyst ]2937 arm64e-macos, arm64e-maccatalyst ]
2943install-name: '/usr/lib/system/libsystem_notify.dylib'2938install-name: '/usr/lib/system/libsystem_notify.dylib'
2944current-version: 327.0.52939current-version: 327.60.1
2945parent-umbrella:2940parent-umbrella:
2946 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2941 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2947 arm64e-macos, arm64e-maccatalyst ]2942 arm64e-macos, arm64e-maccatalyst ]
...@@ -2961,7 +2956,7 @@ tbd-version: 4...@@ -2961,7 +2956,7 @@ tbd-version: 4
2961targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2956targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2962 arm64e-macos, arm64e-maccatalyst ]2957 arm64e-macos, arm64e-maccatalyst ]
2963install-name: '/usr/lib/system/libsystem_platform.dylib'2958install-name: '/usr/lib/system/libsystem_platform.dylib'
2964current-version: 3402959current-version: 340.60.2
2965parent-umbrella:2960parent-umbrella:
2966 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 2961 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
2967 arm64e-macos, arm64e-maccatalyst ]2962 arm64e-macos, arm64e-maccatalyst ]
...@@ -3029,9 +3024,10 @@ exports:...@@ -3029,9 +3024,10 @@ exports:
3029 _os_unfair_recursive_lock_unlock_forked_child, _setcontext, 3024 _os_unfair_recursive_lock_unlock_forked_child, _setcontext,
3030 _setjmp, _siglongjmp, _sigsetjmp, _spin_lock, _spin_lock_try, 3025 _setjmp, _siglongjmp, _sigsetjmp, _spin_lock, _spin_lock_try,
3031 _spin_unlock, _swapcontext, _sys_cache_control, _sys_dcache_flush, 3026 _spin_unlock, _swapcontext, _sys_cache_control, _sys_dcache_flush,
3032 _sys_icache_invalidate ]3027 _sys_icache_invalidate, _timingsafe_enable_if_supported, _timingsafe_restore_if_supported ]
3033 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]3028 - targets: [ arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
3034 symbols: [ __ctx_done ]3029 symbols: [ ___sme_memchr, ___sme_memcpy, ___sme_memmove, ___sme_memset,
3030 __ctx_done ]
3035--- !tapi-tbd3031--- !tapi-tbd
3036tbd-version: 43032tbd-version: 4
3037targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3033targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
...@@ -3133,7 +3129,7 @@ tbd-version: 4...@@ -3133,7 +3129,7 @@ tbd-version: 4
3133targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3129targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3134 arm64e-macos, arm64e-maccatalyst ]3130 arm64e-macos, arm64e-maccatalyst ]
3135install-name: '/usr/lib/system/libsystem_sandbox.dylib'3131install-name: '/usr/lib/system/libsystem_sandbox.dylib'
3136current-version: 2401.40.253132current-version: 2401.61.2
3137parent-umbrella:3133parent-umbrella:
3138 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3134 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3139 arm64e-macos, arm64e-maccatalyst ]3135 arm64e-macos, arm64e-maccatalyst ]
...@@ -3167,14 +3163,14 @@ exports:...@@ -3167,14 +3163,14 @@ exports:
3167 _rootless_verify_trusted_by_self_token, _sandbox_apply_bytecode, 3163 _rootless_verify_trusted_by_self_token, _sandbox_apply_bytecode,
3168 _sandbox_builtin_query, _sandbox_check, _sandbox_check_bulk, 3164 _sandbox_builtin_query, _sandbox_check, _sandbox_check_bulk,
3169 _sandbox_check_by_audit_token, _sandbox_check_by_reference, 3165 _sandbox_check_by_audit_token, _sandbox_check_by_reference,
3170 _sandbox_check_by_uniqueid, _sandbox_check_message_filter_integer, 3166 _sandbox_check_by_uniqueid, _sandbox_check_finder_automation_for_path,
3171 _sandbox_check_message_filter_string, _sandbox_check_process_signal_target, 3167 _sandbox_check_message_filter_integer, _sandbox_check_message_filter_string,
3172 _sandbox_check_protected_app_container, _sandbox_check_self_signal_target, 3168 _sandbox_check_process_signal_target, _sandbox_check_protected_app_container,
3173 _sandbox_consume_extension, _sandbox_consume_fs_extension, 3169 _sandbox_check_self_signal_target, _sandbox_consume_extension,
3174 _sandbox_consume_mach_extension, _sandbox_container_path_for_audit_token, 3170 _sandbox_consume_fs_extension, _sandbox_consume_mach_extension,
3175 _sandbox_container_path_for_pid, _sandbox_enable_local_state_flag, 3171 _sandbox_container_path_for_audit_token, _sandbox_container_path_for_pid,
3176 _sandbox_enable_root_translation, _sandbox_enable_state_flag, 3172 _sandbox_enable_local_state_flag, _sandbox_enable_root_translation,
3177 _sandbox_extension_consume, _sandbox_extension_issue_file, 3173 _sandbox_enable_state_flag, _sandbox_extension_consume, _sandbox_extension_issue_file,
3178 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid, 3174 _sandbox_extension_issue_file_to_process, _sandbox_extension_issue_file_to_process_by_pid,
3179 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic, 3175 _sandbox_extension_issue_file_to_self, _sandbox_extension_issue_generic,
3180 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid, 3176 _sandbox_extension_issue_generic_to_process, _sandbox_extension_issue_generic_to_process_by_pid,
...@@ -3249,7 +3245,7 @@ tbd-version: 4...@@ -3249,7 +3245,7 @@ tbd-version: 4
3249targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3245targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3250 arm64e-macos, arm64e-maccatalyst ]3246 arm64e-macos, arm64e-maccatalyst ]
3251install-name: '/usr/lib/system/libsystem_secinit.dylib'3247install-name: '/usr/lib/system/libsystem_secinit.dylib'
3252current-version: 153.0.63248current-version: 153.60.1
3253parent-umbrella:3249parent-umbrella:
3254 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3250 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3255 arm64e-macos, arm64e-maccatalyst ]3251 arm64e-macos, arm64e-maccatalyst ]
...@@ -3282,7 +3278,7 @@ tbd-version: 4...@@ -3282,7 +3278,7 @@ tbd-version: 4
3282targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3278targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3283 arm64e-macos, arm64e-maccatalyst ]3279 arm64e-macos, arm64e-maccatalyst ]
3284install-name: '/usr/lib/system/libsystem_trace.dylib'3280install-name: '/usr/lib/system/libsystem_trace.dylib'
3285current-version: 1612.40.43281current-version: 1612.60.27
3286parent-umbrella:3282parent-umbrella:
3287 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3283 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3288 arm64e-macos, arm64e-maccatalyst ]3284 arm64e-macos, arm64e-maccatalyst ]
...@@ -3382,7 +3378,7 @@ tbd-version: 4...@@ -3382,7 +3378,7 @@ tbd-version: 4
3382targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3378targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3383 arm64e-macos, arm64e-maccatalyst ]3379 arm64e-macos, arm64e-maccatalyst ]
3384install-name: '/usr/lib/system/libxpc.dylib'3380install-name: '/usr/lib/system/libxpc.dylib'
3385current-version: 2866.40.113381current-version: 2866.60.21
3386parent-umbrella:3382parent-umbrella:
3387 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 3383 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
3388 arm64e-macos, arm64e-maccatalyst ]3384 arm64e-macos, arm64e-maccatalyst ]
lib/libc/include/any-macos-any/AvailabilityInternal.h+11-11
...@@ -36,11 +36,11 @@...@@ -36,11 +36,11 @@
36 #if defined(__has_builtin) && __has_builtin(__is_target_os)36 #if defined(__has_builtin) && __has_builtin(__is_target_os)
37 #if __is_target_os(macos)37 #if __is_target_os(macos)
38 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__38 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
39 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_15_139 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_15_2
40 #endif40 #endif
41 #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 41 #elif __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
42 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__42 #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
43 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_15_143 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_15_2
44 #endif /* __has_builtin(__is_target_os) && __is_target_os(macos) */44 #endif /* __has_builtin(__is_target_os) && __is_target_os(macos) */
45#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */45#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED */
4646
...@@ -48,11 +48,11 @@...@@ -48,11 +48,11 @@
48 #if defined(__has_builtin) && __has_builtin(__is_target_os)48 #if defined(__has_builtin) && __has_builtin(__is_target_os)
49 #if __is_target_os(ios)49 #if __is_target_os(ios)
50 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__50 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
51 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_18_151 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_18_2
52 #endif52 #endif
53 #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ 53 #elif __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
54 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__54 #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
55 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_18_155 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_18_2
56 #endif /* __has_builtin(__is_target_os) && __is_target_os(ios) */56 #endif /* __has_builtin(__is_target_os) && __is_target_os(ios) */
57#endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */57#endif /* __IPHONE_OS_VERSION_MIN_REQUIRED */
5858
...@@ -60,13 +60,13 @@...@@ -60,13 +60,13 @@
60 #if defined(__has_builtin) && __has_builtin(__is_target_os)60 #if defined(__has_builtin) && __has_builtin(__is_target_os)
61 #if __is_target_os(watchos)61 #if __is_target_os(watchos)
62 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__62 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
63 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_11_163 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_11_2
64 /* for compatibility with existing code. New code should use platform specific checks */64 /* for compatibility with existing code. New code should use platform specific checks */
65 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_065 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
66 #endif66 #endif
67 #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ 67 #elif __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
68 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__68 #define __WATCH_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__
69 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_11_169 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_11_2
70 /* for compatibility with existing code. New code should use platform specific checks */70 /* for compatibility with existing code. New code should use platform specific checks */
71 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_071 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
72 #endif /* __has_builtin(__is_target_os) && __is_target_os(watchos) */72 #endif /* __has_builtin(__is_target_os) && __is_target_os(watchos) */
...@@ -76,13 +76,13 @@...@@ -76,13 +76,13 @@
76 #if defined(__has_builtin) && __has_builtin(__is_target_os)76 #if defined(__has_builtin) && __has_builtin(__is_target_os)
77 #if __is_target_os(tvos)77 #if __is_target_os(tvos)
78 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__78 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
79 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_18_179 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_18_2
80 /* for compatibility with existing code. New code should use platform specific checks */80 /* for compatibility with existing code. New code should use platform specific checks */
81 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_081 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
82 #endif82 #endif
83 #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ 83 #elif __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
84 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__84 #define __TV_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__
85 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_18_185 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_18_2
86 /* for compatibility with existing code. New code should use platform specific checks */86 /* for compatibility with existing code. New code should use platform specific checks */
87 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_087 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_9_0
88 #endif /* __has_builtin(__is_target_os) && __is_target_os(tvos) */88 #endif /* __has_builtin(__is_target_os) && __is_target_os(tvos) */
...@@ -92,7 +92,7 @@...@@ -92,7 +92,7 @@
92 #if defined(__has_builtin) && __has_builtin(__is_target_os)92 #if defined(__has_builtin) && __has_builtin(__is_target_os)
93 #if __is_target_os(bridgeos)93 #if __is_target_os(bridgeos)
94 #define __BRIDGE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__94 #define __BRIDGE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
95 #define __BRIDGE_OS_VERSION_MAX_ALLOWED __BRIDGEOS_9_195 #define __BRIDGE_OS_VERSION_MAX_ALLOWED __BRIDGEOS_9_2
96 /* for compatibility with existing code. New code should use platform specific checks */96 /* for compatibility with existing code. New code should use platform specific checks */
97 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_11_097 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_11_0
98 #endif98 #endif
...@@ -103,7 +103,7 @@...@@ -103,7 +103,7 @@
103 #if defined(__has_builtin) && __has_builtin(__is_target_os)103 #if defined(__has_builtin) && __has_builtin(__is_target_os)
104 #if __is_target_os(driverkit)104 #if __is_target_os(driverkit)
105 #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__105 #define __DRIVERKIT_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_24_1106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_24_2
107 #endif107 #endif
108 #endif /* __has_builtin(__is_target_os) && __is_target_os(driverkit) */108 #endif /* __has_builtin(__is_target_os) && __is_target_os(driverkit) */
109#endif /* __DRIVERKIT_VERSION_MIN_REQUIRED */109#endif /* __DRIVERKIT_VERSION_MIN_REQUIRED */
...@@ -112,7 +112,7 @@...@@ -112,7 +112,7 @@
112 #if defined(__has_builtin) && __has_builtin(__is_target_os)112 #if defined(__has_builtin) && __has_builtin(__is_target_os)
113 #if __is_target_os(visionos)113 #if __is_target_os(visionos)
114 #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__114 #define __VISION_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
115 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_2_1115 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_2_2
116 /* for compatibility with existing code. New code should use platform specific checks */116 /* for compatibility with existing code. New code should use platform specific checks */
117 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1117 #define __IPHONE_OS_VERSION_MIN_REQUIRED __IPHONE_17_1
118 #endif118 #endif
lib/libc/include/any-macos-any/AvailabilityMacros.h+3-2
...@@ -83,11 +83,12 @@...@@ -83,11 +83,12 @@
83 83
84*/84*/
8585
86#include <AvailabilityVersions.h>
87
88#ifndef __AVAILABILITYMACROS__86#ifndef __AVAILABILITYMACROS__
89#define __AVAILABILITYMACROS__87#define __AVAILABILITYMACROS__
9088
89#include <AvailabilityVersions.h>
90#include <TargetConditionals.h>
91
91/* 92/*
92 * If min OS not specified, assume 10.4 for intel93 * If min OS not specified, assume 10.4 for intel
93 * Note: compiler driver may set _ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED_ based on MACOSX_DEPLOYMENT_TARGET environment variable94 * Note: compiler driver may set _ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED_ based on MACOSX_DEPLOYMENT_TARGET environment variable
lib/libc/include/any-macos-any/AvailabilityVersions.h+8
...@@ -88,6 +88,7 @@...@@ -88,6 +88,7 @@
88#define __MAC_14_5 14050088#define __MAC_14_5 140500
89#define __MAC_15_0 15000089#define __MAC_15_0 150000
90#define __MAC_15_1 15010090#define __MAC_15_1 150100
91#define __MAC_15_2 150200
91/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */92/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
9293
93#define __IPHONE_2_0 2000094#define __IPHONE_2_0 20000
...@@ -172,6 +173,7 @@...@@ -172,6 +173,7 @@
172#define __IPHONE_17_5 170500173#define __IPHONE_17_5 170500
173#define __IPHONE_18_0 180000174#define __IPHONE_18_0 180000
174#define __IPHONE_18_1 180100175#define __IPHONE_18_1 180100
176#define __IPHONE_18_2 180200
175/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */177/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
176178
177#define __WATCHOS_1_0 10000179#define __WATCHOS_1_0 10000
...@@ -223,6 +225,7 @@...@@ -223,6 +225,7 @@
223#define __WATCHOS_10_5 100500225#define __WATCHOS_10_5 100500
224#define __WATCHOS_11_0 110000226#define __WATCHOS_11_0 110000
225#define __WATCHOS_11_1 110100227#define __WATCHOS_11_1 110100
228#define __WATCHOS_11_2 110200
226/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */229/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
227230
228#define __TVOS_9_0 90000231#define __TVOS_9_0 90000
...@@ -275,6 +278,7 @@...@@ -275,6 +278,7 @@
275#define __TVOS_17_5 170500278#define __TVOS_17_5 170500
276#define __TVOS_18_0 180000279#define __TVOS_18_0 180000
277#define __TVOS_18_1 180100280#define __TVOS_18_1 180100
281#define __TVOS_18_2 180200
278/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */282/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
279283
280#define __BRIDGEOS_2_0 20000284#define __BRIDGEOS_2_0 20000
...@@ -306,6 +310,7 @@...@@ -306,6 +310,7 @@
306#define __BRIDGEOS_8_5 80500310#define __BRIDGEOS_8_5 80500
307#define __BRIDGEOS_9_0 90000311#define __BRIDGEOS_9_0 90000
308#define __BRIDGEOS_9_1 90100312#define __BRIDGEOS_9_1 90100
313#define __BRIDGEOS_9_2 90200
309314
310315
311#define __DRIVERKIT_19_0 190000316#define __DRIVERKIT_19_0 190000
...@@ -323,6 +328,7 @@...@@ -323,6 +328,7 @@
323#define __DRIVERKIT_23_5 230500328#define __DRIVERKIT_23_5 230500
324#define __DRIVERKIT_24_0 240000329#define __DRIVERKIT_24_0 240000
325#define __DRIVERKIT_24_1 240100330#define __DRIVERKIT_24_1 240100
331#define __DRIVERKIT_24_2 240200
326/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */332/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
327333
328#define __VISIONOS_1_0 10000334#define __VISIONOS_1_0 10000
...@@ -330,6 +336,7 @@...@@ -330,6 +336,7 @@
330#define __VISIONOS_1_2 10200336#define __VISIONOS_1_2 10200
331#define __VISIONOS_2_0 20000337#define __VISIONOS_2_0 20000
332#define __VISIONOS_2_1 20100338#define __VISIONOS_2_1 20100
339#define __VISIONOS_2_2 20200
333/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */340/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
334341
335342
...@@ -409,6 +416,7 @@...@@ -409,6 +416,7 @@
409#define MAC_OS_VERSION_14_5 __MAC_14_5416#define MAC_OS_VERSION_14_5 __MAC_14_5
410#define MAC_OS_VERSION_15_0 __MAC_15_0417#define MAC_OS_VERSION_15_0 __MAC_15_0
411#define MAC_OS_VERSION_15_1 __MAC_15_1418#define MAC_OS_VERSION_15_1 __MAC_15_1
419#define MAC_OS_VERSION_15_2 __MAC_15_2
412420
413#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */421#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */
414422
lib/libc/include/any-macos-any/iconv.h+2
...@@ -120,10 +120,12 @@ struct iconv_hooks {...@@ -120,10 +120,12 @@ struct iconv_hooks {
120 void *data;120 void *data;
121};121};
122122
123#ifndef __APPLE__
123/*124/*
124 * Fallbacks aren't supported but type definitions are provided for125 * Fallbacks aren't supported but type definitions are provided for
125 * source compatibility.126 * source compatibility.
126 */127 */
128#endif
127typedef void (*iconv_unicode_mb_to_uc_fallback) (const char*,129typedef void (*iconv_unicode_mb_to_uc_fallback) (const char*,
128 size_t, void (*write_replacement) (const unsigned int *,130 size_t, void (*write_replacement) (const unsigned int *,
129 size_t, void*), void*, void*);131 size_t, void*), void*, void*);
lib/libc/include/any-macos-any/mach-o/x86_64/reloc.h+6
...@@ -20,6 +20,10 @@...@@ -20,6 +20,10 @@
20 * 20 *
21 * @APPLE_LICENSE_HEADER_END@21 * @APPLE_LICENSE_HEADER_END@
22 */22 */
23
24#ifndef _MACHO_X86_64_RELOC_H_
25#define _MACHO_X86_64_RELOC_H_
26
23/*27/*
24 * Relocations for x86_64 are a bit different than for other architectures in28 * Relocations for x86_64 are a bit different than for other architectures in
25 * Mach-O: Scattered relocations are not used. Almost all relocations produced29 * Mach-O: Scattered relocations are not used. Almost all relocations produced
...@@ -183,3 +187,5 @@ enum reloc_type_x86_64...@@ -183,3 +187,5 @@ enum reloc_type_x86_64
183 X86_64_RELOC_SIGNED_4, // for signed 32-bit displacement with a -4 addend187 X86_64_RELOC_SIGNED_4, // for signed 32-bit displacement with a -4 addend
184 X86_64_RELOC_TLV, // for thread local variables188 X86_64_RELOC_TLV, // for thread local variables
185};189};
190
191#endif /* #ifndef _MACHO_X86_64_RELOC_H_ */
lib/libc/include/any-macos-any/mach/i386/vm_types.h+11
...@@ -133,6 +133,17 @@ typedef uint64_t vm_map_size_t;...@@ -133,6 +133,17 @@ typedef uint64_t vm_map_size_t;
133133
134typedef mach_vm_address_t mach_port_context_t;134typedef mach_vm_address_t mach_port_context_t;
135135
136#if defined(MACH_KERNEL_PRIVATE) || KERNEL_VM_TEST
137
138/*
139 * These are types used internal to Mach to implement the
140 * legacy 32-bit VM APIs published by the kernel.
141 */
142typedef uint32_t vm32_address_t;
143typedef uint32_t vm32_offset_t;
144typedef uint32_t vm32_size_t;
145
146#endif /* MACH_KERNEL_PRIVATE */
136147
137#endif /* ASSEMBLER */148#endif /* ASSEMBLER */
138149
lib/libc/include/any-macos-any/mach/machine.h+1
...@@ -403,6 +403,7 @@ typedef integer_t cpu_threadtype_t;...@@ -403,6 +403,7 @@ typedef integer_t cpu_threadtype_t;
403#define CPUFAMILY_ARM_COLL 0x2876f5b5403#define CPUFAMILY_ARM_COLL 0x2876f5b5
404#define CPUFAMILY_ARM_LOBOS 0x5f4dea93404#define CPUFAMILY_ARM_LOBOS 0x5f4dea93
405#define CPUFAMILY_ARM_DONAN 0x6f5129ac405#define CPUFAMILY_ARM_DONAN 0x6f5129ac
406#define CPUFAMILY_ARM_BRAVA 0x17d5b93a
406#define CPUFAMILY_ARM_TAHITI 0x75d4acb9407#define CPUFAMILY_ARM_TAHITI 0x75d4acb9
407#define CPUFAMILY_ARM_TUPAI 0x204526d0408#define CPUFAMILY_ARM_TUPAI 0x204526d0
408409
lib/libc/include/any-macos-any/mach/vm_behavior.h+7-1
...@@ -51,6 +51,10 @@ typedef int vm_behavior_t;...@@ -51,6 +51,10 @@ typedef int vm_behavior_t;
51 * These describe expected page reference behavior for51 * These describe expected page reference behavior for
52 * for a given range of virtual memory. For implementation52 * for a given range of virtual memory. For implementation
53 * details see vm/vm_fault.c53 * details see vm/vm_fault.c
54 *
55 * When making a new VM_BEHAVIOR_*, update tests vm_parameter_validation_[user|kern]
56 * and their expected results; they deliberately call VM functions with invalid
57 * behavior values and you may be turning one of those invalid behaviors valid.
54 */58 */
5559
5660
...@@ -74,7 +78,9 @@ typedef int vm_behavior_t;...@@ -74,7 +78,9 @@ typedef int vm_behavior_t;
74#define VM_BEHAVIOR_REUSABLE ((vm_behavior_t) 8)78#define VM_BEHAVIOR_REUSABLE ((vm_behavior_t) 8)
75#define VM_BEHAVIOR_REUSE ((vm_behavior_t) 9)79#define VM_BEHAVIOR_REUSE ((vm_behavior_t) 9)
76#define VM_BEHAVIOR_CAN_REUSE ((vm_behavior_t) 10)80#define VM_BEHAVIOR_CAN_REUSE ((vm_behavior_t) 10)
77#define VM_BEHAVIOR_PAGEOUT ((vm_behavior_t) 11)81#define VM_BEHAVIOR_PAGEOUT ((vm_behavior_t) 11) /* force page-out of the pages in range (development only) */
78#define VM_BEHAVIOR_ZERO ((vm_behavior_t) 12) /* zero pages without faulting in additional pages */82#define VM_BEHAVIOR_ZERO ((vm_behavior_t) 12) /* zero pages without faulting in additional pages */
7983
84#define VM_BEHAVIOR_LAST_VALID (VM_BEHAVIOR_ZERO)
85
80#endif /*_MACH_VM_BEHAVIOR_H_*/86#endif /*_MACH_VM_BEHAVIOR_H_*/
lib/libc/include/any-macos-any/mach/vm_inherit.h+4
...@@ -76,6 +76,10 @@ typedef unsigned int vm_inherit_t; /* might want to change this */...@@ -76,6 +76,10 @@ typedef unsigned int vm_inherit_t; /* might want to change this */
7676
77/*77/*
78 * Enumeration of valid values for vm_inherit_t.78 * Enumeration of valid values for vm_inherit_t.
79 *
80 * When making a new VM_INHERIT_*, update tests vm_parameter_validation_[user|kern]
81 * and their expected results; they deliberately call VM functions with invalid
82 * inherit values and you may be turning one of those invalid inherits valid.
79 */83 */
8084
81#define VM_INHERIT_SHARE ((vm_inherit_t) 0) /* share with child */85#define VM_INHERIT_SHARE ((vm_inherit_t) 0) /* share with child */
lib/libc/include/any-macos-any/mach/vm_prot.h+4
...@@ -76,6 +76,10 @@ typedef int vm_prot_t;...@@ -76,6 +76,10 @@ typedef int vm_prot_t;
7676
77/*77/*
78 * Protection values, defined as bits within the vm_prot_t type78 * Protection values, defined as bits within the vm_prot_t type
79 *
80 * When making a new VM_PROT_*, update tests vm_parameter_validation_[user|kern]
81 * and their expected results; they deliberately call VM functions with invalid
82 * vm_prot values and you may be turning one of those invalid protections valid.
79 */83 */
8084
81#define VM_PROT_NONE ((vm_prot_t) 0x00)85#define VM_PROT_NONE ((vm_prot_t) 0x00)
lib/libc/include/any-macos-any/mach/vm_purgable.h+4
...@@ -54,6 +54,10 @@ typedef int vm_purgable_t;...@@ -54,6 +54,10 @@ typedef int vm_purgable_t;
5454
55/*55/*
56 * Enumeration of valid values for vm_purgable_t.56 * Enumeration of valid values for vm_purgable_t.
57 *
58 * When making a new VM_PURGABLE_*, update tests vm_parameter_validation_[user|kern]
59 * and their expected results; they deliberately call VM functions with invalid
60 * values and you may be turning one of those invalid bits valid.
57 */61 */
58#define VM_PURGABLE_SET_STATE ((vm_purgable_t) 0) /* set state of purgeable object */62#define VM_PURGABLE_SET_STATE ((vm_purgable_t) 0) /* set state of purgeable object */
59#define VM_PURGABLE_GET_STATE ((vm_purgable_t) 1) /* get state of purgeable object */63#define VM_PURGABLE_GET_STATE ((vm_purgable_t) 1) /* get state of purgeable object */
lib/libc/include/any-macos-any/mach/vm_statistics.h+6
...@@ -341,6 +341,12 @@ enum virtual_memory_guard_exception_codes {...@@ -341,6 +341,12 @@ enum virtual_memory_guard_exception_codes {
341/* current accounting postmark */341/* current accounting postmark */
342#define __VM_LEDGER_ACCOUNTING_POSTMARK 2019032600342#define __VM_LEDGER_ACCOUNTING_POSTMARK 2019032600
343343
344/*
345 * When making a new VM_LEDGER_TAG_* or VM_LEDGER_FLAG_*, update tests
346 * vm_parameter_validation_[user|kern] and their expected results; they
347 * deliberately call VM functions with invalid ledger values and you may
348 * be turning one of those invalid tags/flags valid.
349 */
344/* discrete values: */350/* discrete values: */
345#define VM_LEDGER_TAG_NONE 0x00000000351#define VM_LEDGER_TAG_NONE 0x00000000
346#define VM_LEDGER_TAG_DEFAULT 0x00000001352#define VM_LEDGER_TAG_DEFAULT 0x00000001
lib/libc/include/any-macos-any/mach/vm_sync.h+4
...@@ -67,6 +67,10 @@ typedef unsigned vm_sync_t;...@@ -67,6 +67,10 @@ typedef unsigned vm_sync_t;
6767
68/*68/*
69 * Synchronization flags, defined as bits within the vm_sync_t type69 * Synchronization flags, defined as bits within the vm_sync_t type
70 *
71 * When making a new VM_SYNC_*, update tests vm_parameter_validation_[user|kern]
72 * and their expected results; they deliberately call VM functions with invalid
73 * sync values and you may be turning one of those invalid syncs valid.
70 */74 */
7175
72#define VM_SYNC_ASYNCHRONOUS ((vm_sync_t) 0x01)76#define VM_SYNC_ASYNCHRONOUS ((vm_sync_t) 0x01)
lib/libc/include/any-macos-any/netinet/tcp.h+2-2
...@@ -151,8 +151,8 @@ struct tcphdr {...@@ -151,8 +151,8 @@ struct tcphdr {
151#define TCPOPT_FASTOPEN 34151#define TCPOPT_FASTOPEN 34
152#define TCPOLEN_FASTOPEN_REQ 2152#define TCPOLEN_FASTOPEN_REQ 2
153153
154#define TCPOPT_ACCECN0 0xAC /* AccECN Order 0 */154#define TCPOPT_ACCECN0 172 /* AccECN Order 0 */
155#define TCPOPT_ACCECN1 0XAE /* AccECN Order 1 */155#define TCPOPT_ACCECN1 174 /* AccECN Order 1 */
156#define TCPOLEN_ACCECN_EMPTY 2 /* Empty option contains kind and length */156#define TCPOLEN_ACCECN_EMPTY 2 /* Empty option contains kind and length */
157#define TCPOLEN_ACCECN_COUNTER 3 /* Length of each AccECN counter */157#define TCPOLEN_ACCECN_COUNTER 3 /* Length of each AccECN counter */
158158
lib/libc/include/any-macos-any/sys/_symbol_aliasing.h+12
...@@ -521,6 +521,12 @@...@@ -521,6 +521,12 @@
521#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_18_1(x)521#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_18_1(x)
522#endif522#endif
523523
524#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 180200
525#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_18_2(x) x
526#else
527#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_18_2(x)
528#endif
529
524#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000530#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000
525#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x531#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x
526#else532#else
...@@ -905,3 +911,9 @@...@@ -905,3 +911,9 @@
905#define __DARWIN_ALIAS_STARTING_MAC___MAC_15_1(x)911#define __DARWIN_ALIAS_STARTING_MAC___MAC_15_1(x)
906#endif912#endif
907913
914#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 150200
915#define __DARWIN_ALIAS_STARTING_MAC___MAC_15_2(x) x
916#else
917#define __DARWIN_ALIAS_STARTING_MAC___MAC_15_2(x)
918#endif
919
lib/libc/include/any-macos-any/sys/attr.h+2-1
...@@ -488,6 +488,7 @@ typedef struct vol_attributes_attr {...@@ -488,6 +488,7 @@ typedef struct vol_attributes_attr {
488#define ATTR_VOL_ENCODINGSUSED 0x00010000488#define ATTR_VOL_ENCODINGSUSED 0x00010000
489#define ATTR_VOL_CAPABILITIES 0x00020000489#define ATTR_VOL_CAPABILITIES 0x00020000
490#define ATTR_VOL_UUID 0x00040000490#define ATTR_VOL_UUID 0x00040000
491#define ATTR_VOL_MOUNTEXTFLAGS 0x00080000
491#define ATTR_VOL_FSTYPENAME 0x00100000492#define ATTR_VOL_FSTYPENAME 0x00100000
492#define ATTR_VOL_FSSUBTYPE 0x00200000493#define ATTR_VOL_FSSUBTYPE 0x00200000
493#define ATTR_VOL_SPACEUSED 0x00800000494#define ATTR_VOL_SPACEUSED 0x00800000
...@@ -496,7 +497,7 @@ typedef struct vol_attributes_attr {...@@ -496,7 +497,7 @@ typedef struct vol_attributes_attr {
496#define ATTR_VOL_ATTRIBUTES 0x40000000497#define ATTR_VOL_ATTRIBUTES 0x40000000
497#define ATTR_VOL_INFO 0x80000000498#define ATTR_VOL_INFO 0x80000000
498499
499#define ATTR_VOL_VALIDMASK 0xF0B7FFFF500#define ATTR_VOL_VALIDMASK 0xF0BFFFFF
500501
501/*502/*
502 * The list of settable ATTR_VOL_* attributes include the following:503 * The list of settable ATTR_VOL_* attributes include the following:
lib/libc/include/any-macos-any/sys/mman.h+8
...@@ -178,6 +178,10 @@...@@ -178,6 +178,10 @@
178178
179/*179/*
180 * msync() flags180 * msync() flags
181 *
182 * When making a new MS_*, update tests vm_parameter_validation_[user|kern]
183 * and their expected results; they deliberately call VM functions with invalid
184 * msync values and you may be turning one of those invalid msyncs valid.
181 */185 */
182#define MS_ASYNC 0x0001 /* [MF|SIO] return immediately */186#define MS_ASYNC 0x0001 /* [MF|SIO] return immediately */
183#define MS_INVALIDATE 0x0002 /* [MF|SIO] invalidate all cached data */187#define MS_INVALIDATE 0x0002 /* [MF|SIO] invalidate all cached data */
...@@ -192,6 +196,10 @@...@@ -192,6 +196,10 @@
192196
193/*197/*
194 * Advice to madvise198 * Advice to madvise
199 *
200 * When making a new MADV_*, update tests vm_parameter_validation_[user|kern]
201 * and their expected results; they deliberately call VM functions with invalid
202 * madvise values and you may be turning one of those invalid madvises valid.
195 */203 */
196#define POSIX_MADV_NORMAL 0 /* [MC1] no further special treatment */204#define POSIX_MADV_NORMAL 0 /* [MC1] no further special treatment */
197#define POSIX_MADV_RANDOM 1 /* [MC1] expect random page refs */205#define POSIX_MADV_RANDOM 1 /* [MC1] expect random page refs */