Skip to content

Commit 372a0b3

Browse files
committed
ignore zone require or something
1 parent cc2d2c3 commit 372a0b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

checkra1n/kpf/mach_port.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ static bool kpf_convert_port_to_map_callback(struct xnu_pf_patch *patch, uint32_
6767
(patchpoint[2] & 0xfc000000) == 0x94000000; // bl zone_require
6868

6969
struct mach_header_64* t7000_pmgr_header = xnu_pf_get_kext_header(xnu_header(), "com.apple.driver.AppleT7000PMGR");
70-
#ifdef DEV_BUILD
70+
#if 0
71+
//#ifdef DEV_BUILD
7172
// This is a whole mess: 15.0 beta 2 through 15.3 final, and then again 16.4 beta 1 through 16.x latest.
7273
// And then of course it gets messier, it comes back on 18.4, but only on 4K devices
7374
if(have_zone_require != ((gKernelVersion.xnuMajor > 7938 && gKernelVersion.xnuMajor < 8020)

0 commit comments

Comments
 (0)