#
…

2026-01-12

00:05hdbngr has quit [Ping timeout: 480 seconds]
00:06nela8 has joined #asahi-re
00:11nela has quit [Ping timeout: 480 seconds]
00:11nela8 is now known as nela
01:00DarkShadow44 has quit [Read error: Connection reset by peer]
01:01DarkShadow44 has joined #asahi-re
01:27troseman has joined #asahi-re
01:57troseman has quit [Max SendQ exceeded]
01:59troseman has joined #asahi-re
02:04foltz has joined #asahi-re
02:21dsp_ has joined #asahi-re
02:26dsp_ has quit [Quit: leaving]
02:38john-cabaj has joined #asahi-re
03:26integralpilot has joined #asahi-re
03:51jmax_ has joined #asahi-re
03:51jmax has quit [Read error: Connection reset by peer]
04:05pb17 has quit [Ping timeout: 480 seconds]
04:13pb17 has joined #asahi-re
04:23midou has quit [Read error: No route to host]
04:31midou has joined #asahi-re
04:41john-cabaj has quit [Ping timeout: 480 seconds]
04:48hdbngr has joined #asahi-re
04:57hdbngr has quit [Ping timeout: 480 seconds]
05:14integralpilot has quit [Ping timeout: 480 seconds]
05:15integralpilot has joined #asahi-re
05:28hdbngr has joined #asahi-re
05:36hdbngr has quit [Ping timeout: 480 seconds]
05:39Guest35340 has quit [Quit: Bridge terminating on SIGTERM]
05:39rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
05:43Jamie has joined #asahi-re
05:43Jamie has quit [Remote host closed the connection]
05:46Jamie has joined #asahi-re
05:46rhysmdnz has joined #asahi-re
05:46Jamie is now known as Guest35664
05:53hdbngr has joined #asahi-re
06:01hdbngr has quit [Ping timeout: 480 seconds]
06:09pb17 has quit [Ping timeout: 480 seconds]
06:17pb17 has joined #asahi-re
06:18hdbngr has joined #asahi-re
06:31hdbngr has quit [Ping timeout: 480 seconds]
06:34hdbngr has joined #asahi-re
06:43hdbngr has quit [Ping timeout: 480 seconds]
06:44knorkle has quit [Remote host closed the connection]
06:47rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
06:47Guest35664 has quit [Quit: Bridge terminating on SIGTERM]
06:49Jamie has joined #asahi-re
06:50Jamie is now known as Guest35667
06:50hdbngr has joined #asahi-re
06:50rhysmdnz has joined #asahi-re
07:59Guest35667 has quit [Quit: Bridge terminating on SIGTERM]
07:59rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
08:07hdbngr has quit [Ping timeout: 480 seconds]
08:09Jamie has joined #asahi-re
08:10Jamie is now known as Guest35674
08:10rhysmdnz has joined #asahi-re
08:15hdbngr has joined #asahi-re
08:21rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
08:21Guest35674 has quit [Quit: Bridge terminating on SIGTERM]
08:23rhysmdnz has joined #asahi-re
08:24Jamie1 has joined #asahi-re
08:46hdbngr has quit [Ping timeout: 480 seconds]
08:56hdbngr has joined #asahi-re
09:05hdbngr has quit [Ping timeout: 480 seconds]
09:13hdbngr has joined #asahi-re
09:20pitustdo we know which bit does the disabling? or is it just "one of the bits somewhere, we don't know where"?
09:22chaos_princessthe second. as to where - most likely custom kernelcache
09:22hdbngr has quit [Ping timeout: 480 seconds]
09:29pitustthen i guess it could be a bit to enable it, not disable it as well?
09:31hdbngr has joined #asahi-re
09:33svenpeter[m]I expect it to be write-once but it’s a good idea to double check
09:34nickchanit might lose state after s2ram but reconfig probably programs the bit again
09:35svenpeter[m]or do you mean the bit that determine what iboot does? I expect that to be somewhere in the local policy img4 file
09:39pitustI meant the bit that enables all of the extra hw stuff, could be an enable, not a disable, bit
09:40hdbngr has quit [Ping timeout: 480 seconds]
09:41svenpeter[m]Sure, it’s possible and double checking makes sense apple usually knows what they are doing and I very much expect this to be something that’s effectively write once to disable it
09:41svenpeter[m]or an “enable msr” with the some bit that enables the msr itself which they then just disable
09:42pitustYeah if their goal is to disable it then sure, but their primary goal is to keep macOS secure and not to keep linux out.
09:42svenpeter[m]we can continue speculating but I don’t think we’ll get anywhere. it makes sense to check either way
09:45hdbngr has joined #asahi-re
10:51hdbngr has quit [Ping timeout: 480 seconds]
10:55hdbngr has joined #asahi-re
11:03hdbngr has quit [Ping timeout: 480 seconds]
11:05hdbngr has joined #asahi-re
11:07integralpilot has quit [Quit: integralpilot]
11:14hdbngr has quit [Ping timeout: 480 seconds]
11:21hdbngr has joined #asahi-re
11:29hdbngr has quit [Ping timeout: 480 seconds]
11:38hdbngr has joined #asahi-re
11:47hdbngr has quit [Ping timeout: 480 seconds]
11:56hdbngr has joined #asahi-re
12:10hdbngr has quit [Ping timeout: 480 seconds]
12:11hdbngr has joined #asahi-re
12:22T4ForFun has joined #asahi-re
12:25hdbngr has quit [Ping timeout: 480 seconds]
12:33hdbngr has joined #asahi-re
12:41hdbngr has quit [Ping timeout: 480 seconds]
12:45hdbngr has joined #asahi-re
13:05hdbngr has quit [Ping timeout: 480 seconds]
13:15hdbngr has joined #asahi-re
13:23hdbngr has quit [Ping timeout: 480 seconds]
13:31hdbngr has joined #asahi-re
13:39hdbngr has quit [Ping timeout: 480 seconds]
13:46hdbngr has joined #asahi-re
13:54hdbngr has quit [Ping timeout: 480 seconds]
13:55hdbngr has joined #asahi-re
14:10hdbngr has quit [Ping timeout: 480 seconds]
14:13hdbngr has joined #asahi-re
14:23hdbngr has quit [Ping timeout: 480 seconds]
14:30hdbngr has joined #asahi-re
14:38hdbngr has quit [Ping timeout: 480 seconds]
14:42T4ForFun has quit [Remote host closed the connection]
14:47hdbngr has joined #asahi-re
14:54nnym has left #asahi-re [the time has come for us to part | tjmnkrajyej@gmail.com]
14:54nnym has joined #asahi-re
15:07hdbngr has quit [Ping timeout: 480 seconds]
15:07DarkShadow44 has quit [Ping timeout: 480 seconds]
15:08DarkShadow44 has joined #asahi-re
15:16hdbngr has joined #asahi-re
15:22john-cabaj has joined #asahi-re
15:26midou has quit [Read error: No route to host]
15:27john-cabaj has quit [Quit: john-cabaj]
15:29john-cabaj has joined #asahi-re
15:33hdbngr has quit [Ping timeout: 480 seconds]
15:37midou has joined #asahi-re
15:41hdbngr has joined #asahi-re
15:54pb17 has quit [Ping timeout: 480 seconds]
16:06pb17 has joined #asahi-re
16:09hdbngr has quit [Quit: Lost terminal]
16:10hdbngr has joined #asahi-re
16:23hdbngr has quit [Ping timeout: 480 seconds]
16:32hdbngr has joined #asahi-re
16:42hdbngr has quit [Ping timeout: 480 seconds]
16:49hdbngr has joined #asahi-re
17:38pb17 has quit [Ping timeout: 480 seconds]
18:03hdbngr has quit [Ping timeout: 480 seconds]
18:06hdbngr has joined #asahi-re
18:13pb17 has joined #asahi-re
18:15hdbngr has quit [Ping timeout: 480 seconds]
18:24hdbngr has joined #asahi-re
18:32hdbngr has quit [Ping timeout: 480 seconds]
18:36hdbngr has joined #asahi-re
18:55hdbngr has quit [Ping timeout: 480 seconds]
19:03hdbngr has joined #asahi-re
19:16hdbngr has quit [Ping timeout: 480 seconds]
19:16hdbngr has joined #asahi-re
19:35hdbngr has quit [Ping timeout: 480 seconds]
19:40pb17 has quit [Ping timeout: 480 seconds]
19:43hdbngr has joined #asahi-re
19:44nnym has quit [Quit: quitting out | tjmnkrajyej@gmail.com]
19:45nnym has joined #asahi-re
19:52hdbngr has quit [Ping timeout: 480 seconds]
19:53pb17 has joined #asahi-re
19:53amarioguystarted checking a bit ago, right now still trudging through the hell that is release iboot string obfuscation
19:53amarioguyi swear it feels like they turn on *more* compiler optimizations for release partly for obfuscation reasons (partly /s ofc)
19:54amarioguydoesn't help i don't exactly have all the apple intrinsic functions (memcpy, etc) committed to memory fully so need to check those against XNU implementations
19:59hdbngr has joined #asahi-re
20:00nickchan has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
20:00nickchan has joined #asahi-re
20:08hdbngr has quit [Ping timeout: 480 seconds]
20:10amarioguyok i found a reference to some 0x508340120 register (this is m4 max/t6041 btw for reference) that's checked in the code that prepares to jump to next stage
20:11amarioguyspecifically a check against dt properties
20:12amarioguybit 27 of this register is set if /chosen/non-apple-or-untrusted-code = 1
20:12amarioguybit 26 set if security-downgradable = 1
20:13amarioguybit 30 is only set if protected-data-access = 1
20:14amarioguythe other properties checked are sep related idk if they matter too much in our case tbf
20:15amarioguyah er, this is done *right before* the jump to next stage stuff
20:17hdbngr has joined #asahi-re
20:20amarioguychaos_princess: btw, quick question, when booting m4 with raw boot object mode, do the GXF registers become read-only
20:20amarioguyor do they become undefined altogether?
20:21chaos_princessidk, i do have the hw to check
20:24amarioguyknowing that answer is gonna help me know what to be looking for
20:25amarioguysince if it's undefined altogether, i don't think we're gonna be looking for a lock msr here is my thing
20:26chaos_princessi think non-apple-or-untrusted-code is irrelevant, it is set in all dts in osenvironments, and allows/denies custom boot objects
20:26chaos_princessso, self-built xnu is also non-apple-or-untrusted-code, but has access to sptm and friends
20:27chaos_princesswhich stage are you looking at?
20:27amarioguystage 2 mostly, my thought is that stage 2 would have the actual disablement
20:27amarioguysince stage 1 doesn't know whether it's custom xnu or raw boot object and shouldn't care about such
20:28chaos_princessanyway, i _think_ it is a msr
20:31okb has joined #asahi-re
20:53cyberhead has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
20:54cyberhead has joined #asahi-re
20:54cyberhead has quit []
20:54cyberhead has joined #asahi-re
21:09svenpeter[m]I’d expect a msr as well somewhere in stage 2
21:10svenpeter[m]when the sprr enable but in m1 e.g. isn’t set most sprr msrs also disappear
21:10svenpeter[m]I’d expect something similar here
21:24amarioguyi'm seeing some check here where if a kernelcache with tag `fuos` (the tag for kmutil configure-boot objects from looking at the one on my m2 pro mbp) succeeds load, if some bool on the stack is 0 then it sets bit 40 of some bitmask
21:24amarioguythis bitmask is later then checked in the function that prepares xnu load, disables GID keys, etc
21:25amarioguythe function that actually consumes this bit's value is full of function callbacks and other lovely things
21:33chaos_princesssomeone with a m4 needs to check if this tag is set for mach-o boot objects
21:33amarioguyi'd actually imagine we want the manifest/object properties more than just the tag
21:33amarioguyprobably something *in there* is going to spill the difference
21:45hdbngr has quit [Ping timeout: 480 seconds]
22:41nela9 has joined #asahi-re
22:47nela has quit [Ping timeout: 480 seconds]
22:47nela9 is now known as nela
22:59hdbngr has joined #asahi-re
23:07okb has quit [Read error: Connection reset by peer]
23:07hdbngr has quit [Ping timeout: 480 seconds]
23:09john-cabaj has quit [Ping timeout: 480 seconds]
23:38hdbngr has joined #asahi-re
23:47hdbngr has quit [Ping timeout: 480 seconds]
23:56hdbngr has joined #asahi-re
…