authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2025-12-14 20:35:07+00:00
committergravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2025-12-14 20:35:07+00:00
log648c1c5d28f3c3b1da1acf326b733c47436007d1
tree67c2a419f36d8eac011d7003e2a651d719c9388e
parent2f2b09757682d4c3624d8e6d470852b1d1d6264d

libc: Update macOS headers to SDK 26.2


6 files changed, 48 insertions(+), 27 deletions(-)

lib/libc/darwin/SDKSettings.json+1-1
......@@ -1 +1 @@
1{"MinimalDisplayName":"26.1"}
1{"MinimalDisplayName":"26.2"}
lib/libc/darwin/libSystem.tbd+16-15
......@@ -400,7 +400,7 @@ tbd-version: 4
400400targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
401401 arm64e-macos, arm64e-maccatalyst ]
402402install-name: '/usr/lib/system/libcorecrypto.dylib'
403current-version: 1922.40.14
403current-version: 1922.60.11
404404parent-umbrella:
405405 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
406406 arm64e-macos, arm64e-maccatalyst ]
......@@ -1182,7 +1182,7 @@ tbd-version: 4
11821182targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
11831183 arm64e-macos, arm64e-maccatalyst ]
11841184install-name: '/usr/lib/system/libsystem_asl.dylib'
1185current-version: 404
1185current-version: 406
11861186parent-umbrella:
11871187 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
11881188 arm64e-macos, arm64e-maccatalyst ]
......@@ -1609,7 +1609,7 @@ tbd-version: 4
16091609targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
16101610 arm64e-macos, arm64e-maccatalyst ]
16111611install-name: '/usr/lib/system/libsystem_configuration.dylib'
1612current-version: 1385.40.9
1612current-version: 1385.60.3
16131613parent-umbrella:
16141614 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
16151615 arm64e-macos, arm64e-maccatalyst ]
......@@ -1927,7 +1927,7 @@ tbd-version: 4
19271927targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
19281928 arm64e-macos, arm64e-maccatalyst ]
19291929install-name: '/usr/lib/system/libsystem_dnssd.dylib'
1930current-version: 2881.40.18
1930current-version: 2881.60.4
19311931parent-umbrella:
19321932 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
19331933 arm64e-macos, arm64e-maccatalyst ]
......@@ -1964,16 +1964,17 @@ exports:
19641964tbd-version: 4
19651965targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
19661966install-name: '/usr/lib/system/libsystem_eligibility.dylib'
1967current-version: 286.40.9
1967current-version: 286.60.23
19681968parent-umbrella:
19691969 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
19701970 umbrella: System
19711971exports:
19721972 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
19731973 symbols: [ _os_eligibility_domain_for_name, _os_eligibility_dump_sysdiagnose_data_to_dir,
1974 _os_eligibility_force_domain_answer, _os_eligibility_force_domain_set_answers,
1975 _os_eligibility_get_all_domain_answers, _os_eligibility_get_domain_answer,
1976 _os_eligibility_get_domain_notification_name, _os_eligibility_get_internal_state,
1974 _os_eligibility_fetch_newest_policies, _os_eligibility_force_domain_answer,
1975 _os_eligibility_force_domain_set_answers, _os_eligibility_get_all_domain_answers,
1976 _os_eligibility_get_domain_answer, _os_eligibility_get_domain_notification_name,
1977 _os_eligibility_get_error_description, _os_eligibility_get_internal_state,
19771978 _os_eligibility_get_state_dump, _os_eligibility_precise_locations,
19781979 _os_eligibility_reset_all_domains, _os_eligibility_reset_domain,
19791980 _os_eligibility_set_input, _os_eligibility_set_test_mode ]
......@@ -2120,7 +2121,7 @@ tbd-version: 4
21202121targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
21212122 arm64e-macos, arm64e-maccatalyst ]
21222123install-name: '/usr/lib/system/libsystem_kernel.dylib'
2123current-version: 12377.41.6
2124current-version: 12377.61.12
21242125parent-umbrella:
21252126 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
21262127 arm64e-macos, arm64e-maccatalyst ]
......@@ -2860,7 +2861,7 @@ tbd-version: 4
28602861targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
28612862 arm64e-macos, arm64e-maccatalyst ]
28622863install-name: '/usr/lib/system/libsystem_malloc.dylib'
2863current-version: 792.41.1
2864current-version: 792.60.6
28642865parent-umbrella:
28652866 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
28662867 arm64e-macos, arm64e-maccatalyst ]
......@@ -3027,7 +3028,7 @@ tbd-version: 4
30273028targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
30283029 arm64e-macos, arm64e-maccatalyst ]
30293030install-name: '/usr/lib/system/libsystem_platform.dylib'
3030current-version: 359.40.3
3031current-version: 359.60.3
30313032parent-umbrella:
30323033 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
30333034 arm64e-macos, arm64e-maccatalyst ]
......@@ -3203,7 +3204,7 @@ tbd-version: 4
32033204targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
32043205 arm64e-macos, arm64e-maccatalyst ]
32053206install-name: '/usr/lib/system/libsystem_sandbox.dylib'
3206current-version: 2680.41.1
3207current-version: 2680.60.11
32073208parent-umbrella:
32083209 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
32093210 arm64e-macos, arm64e-maccatalyst ]
......@@ -3357,7 +3358,7 @@ tbd-version: 4
33573358targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
33583359 arm64e-macos, arm64e-maccatalyst ]
33593360install-name: '/usr/lib/system/libsystem_trace.dylib'
3360current-version: 1815.40.20
3361current-version: 1815.61.1
33613362parent-umbrella:
33623363 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
33633364 arm64e-macos, arm64e-maccatalyst ]
......@@ -3444,7 +3445,7 @@ exports:
34443445tbd-version: 4
34453446targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
34463447install-name: '/usr/lib/system/libsystem_trial.dylib'
3447current-version: 474.3
3448current-version: 474.2
34483449parent-umbrella:
34493450 - targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
34503451 umbrella: System
......@@ -3487,7 +3488,7 @@ tbd-version: 4
34873488targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
34883489 arm64e-macos, arm64e-maccatalyst ]
34893490install-name: '/usr/lib/system/libxpc.dylib'
3490current-version: 3089.41.2
3491current-version: 3089.60.7
34913492parent-umbrella:
34923493 - targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
34933494 arm64e-macos, arm64e-maccatalyst ]
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_1
40 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_2
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_1
44 #define __MAC_OS_X_VERSION_MAX_ALLOWED __MAC_26_2
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_1
54 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_2
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_1
58 #define __IPHONE_OS_VERSION_MAX_ALLOWED __IPHONE_26_2
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_1
68 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_2
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_1
74 #define __WATCH_OS_VERSION_MAX_ALLOWED __WATCHOS_26_2
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_1
86 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_2
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_1
92 #define __TV_OS_VERSION_MAX_ALLOWED __TVOS_26_2
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_1
106 #define __DRIVERKIT_VERSION_MAX_ALLOWED __DRIVERKIT_25_2
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_1
117 #define __VISION_OS_VERSION_MAX_ALLOWED __VISIONOS_26_2
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
......@@ -98,6 +98,7 @@
9898#define __MAC_16_0 160000
9999#define __MAC_26_0 260000
100100#define __MAC_26_1 260100
101#define __MAC_26_2 260200
101102/* __MAC__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
102103
103104#define __IPHONE_2_0 20000
......@@ -190,6 +191,7 @@
190191#define __IPHONE_19_0 190000
191192#define __IPHONE_26_0 260000
192193#define __IPHONE_26_1 260100
194#define __IPHONE_26_2 260200
193195/* __IPHONE__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
194196
195197#define __WATCHOS_1_0 10000
......@@ -251,6 +253,7 @@
251253#define __WATCHOS_12_0 120000
252254#define __WATCHOS_26_0 260000
253255#define __WATCHOS_26_1 260100
256#define __WATCHOS_26_2 260200
254257/* __WATCHOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
255258
256259#define __TVOS_9_0 90000
......@@ -312,6 +315,7 @@
312315#define __TVOS_19_0 190000
313316#define __TVOS_26_0 260000
314317#define __TVOS_26_1 260100
318#define __TVOS_26_2 260200
315319/* __TVOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
316320
317321#define __BRIDGEOS_2_0 20000
......@@ -350,6 +354,7 @@
350354#define __BRIDGEOS_9_6 90600
351355#define __BRIDGEOS_10_0 100000
352356#define __BRIDGEOS_10_1 100100
357#define __BRIDGEOS_10_2 100200
353358
354359
355360#define __DRIVERKIT_19_0 190000
......@@ -375,6 +380,7 @@
375380#define __DRIVERKIT_24_6 240600
376381#define __DRIVERKIT_25_0 250000
377382#define __DRIVERKIT_25_1 250100
383#define __DRIVERKIT_25_2 250200
378384/* __DRIVERKIT__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
379385
380386#define __VISIONOS_1_0 10000
......@@ -391,6 +397,7 @@
391397#define __VISIONOS_3_0 30000
392398#define __VISIONOS_26_0 260000
393399#define __VISIONOS_26_1 260100
400#define __VISIONOS_26_2 260200
394401/* __VISIONOS__NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable */
395402
396403
......@@ -482,6 +489,7 @@
482489#define MAC_OS_VERSION_16_0 __MAC_16_0
483490#define MAC_OS_VERSION_26_0 __MAC_26_0
484491#define MAC_OS_VERSION_26_1 __MAC_26_1
492#define MAC_OS_VERSION_26_2 __MAC_26_2
485493
486494#endif /* #if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(_DARWIN_C_SOURCE) */
487495
lib/libc/include/any-darwin-any/mach/port.h+1-1
......@@ -482,7 +482,7 @@ enum mach_port_guard_exception_codes {
482482 /* start of always non-fatal guards */
483483 kGUARD_EXC_RCV_GUARDED_DESC = 0x00100000, /* for development only */
484484 kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL = 0x00100001, /* unused, for future sp defense enablement */
485 kGUARD_EXC_PROVISIONAL_REPLY_PORT = 0x00100002,
485 kGUARD_EXC_PROVISIONAL_REPLY_PORT = 0x00100002, /* unused */
486486 kGUARD_EXC_OOL_PORT_ARRAY_CREATION = 0x00100003, /* unused */
487487 kGUARD_EXC_MOVE_PROVISIONAL_REPLY_PORT = 0x00100004,
488488 kGUARD_EXC_REPLY_PORT_SINGLE_SO_RIGHT = 0x00100005,
lib/libc/include/any-darwin-any/sys/_symbol_aliasing.h+12
......@@ -569,6 +569,12 @@
569569#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_1(x)
570570#endif
571571
572#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 260200
573#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_2(x) x
574#else
575#define __DARWIN_ALIAS_STARTING_IPHONE___IPHONE_26_2(x)
576#endif
577
572578#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1000
573579#define __DARWIN_ALIAS_STARTING_MAC___MAC_10_0(x) x
574580#else
......@@ -1013,3 +1019,9 @@
10131019#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_1(x)
10141020#endif
10151021
1022#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 260200
1023#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_2(x) x
1024#else
1025#define __DARWIN_ALIAS_STARTING_MAC___MAC_26_2(x)
1026#endif
1027