Skip to content

Commit 55b7145

Browse files
asdfugilSiguza
authored andcommitted
kpf: Expect livefs string on tvOS 18.2 and above
tvOS 18.2 and HomePod Software 18.2 now comes with SSV and thus the livefs string. Signed-off-by: Nick Chan <[email protected]>
1 parent e978478 commit 55b7145

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

checkra1n/kpf/main.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,10 @@ static void kpf_cmd(const char *cmd, char *args)
16171617
#ifdef DEV_BUILD
16181618
#if 0
16191619
// 15.0 beta 1 onwards, but only iOS/iPadOS
1620-
if((livefs_string_match != NULL) != (gKernelVersion.darwinMajor >= 21 && xnu_platform() == PLATFORM_IOS)) panic("livefs panic doesn't match expected Darwin version");
1620+
if((livefs_string_match != NULL) != (
1621+
(gKernelVersion.darwinMajor >= 21 && xnu_platform() == PLATFORM_IOS) ||
1622+
(gKernelVersion.darwinMajor >= 24 && gKernelVersion.darwinMinor >= 2 && xnu_platform() == PLATFORM_TVOS)))
1623+
panic("livefs panic doesn't match expected Darwin version");
16211624
#endif
16221625
#endif
16231626

0 commit comments

Comments
 (0)