#asahi · 2023-01-14 02:36
marcanTheDcoder: macOS is not the bootloader, their bootloader just does not support picking an OS#asahi · 2023-01-14 02:36
marcanthat's about it#asahi · 2023-01-14 02:36
marcannicolas17: and the "entering startup options..." message, and the "oh no please restore me" screen, and the battery charging indicator#asahi · 2023-01-14 02:36
marcanthat was a very explicit decision#asahi · 2023-01-14 02:35
marcanTheDcoder: they ditched UEFI because it's impossible to secure#asahi · 2023-01-14 02:35
marcanpresumably because they want to let you nuke OS partitions from recoveryOS#asahi · 2023-01-14 02:35
marcanthat one mounts the image directly#asahi · 2023-01-14 02:35
marcanunless you're booting System RecoveryOS#asahi · 2023-01-14 02:35
marcanit's all one big ramdisk#asahi · 2023-01-14 02:34
marcanthe boot picker is also macOS#asahi · 2023-01-14 02:34
marcanit's macOS#asahi · 2023-01-14 02:34
marcanyes#asahi · 2023-01-14 02:34
marcanSEP knows what the boot state is#asahi · 2023-01-14 02:34
marcannever noticed that but sure that wouldn't be hard to do#asahi · 2023-01-14 02:33
marcanoh you mean locking it out of recoveryOS#asahi · 2023-01-14 02:33
marcannow I'm lost#asahi · 2023-01-14 02:32
marcanI believe Boot Policy stuff is stored there too#asahi · 2023-01-14 02:32
marcanbut also iBoot potentially loads xARTs too#asahi · 2023-01-14 02:32
marcanTheDcoder: no, I mean real macos#asahi · 2023-01-14 02:32
marcanso we have to share the APFS volume to make it work properly#asahi · 2023-01-14 02:32
marcanbut then macos would break#asahi · 2023-01-14 02:32
marcanwe could just copy the file to Linux for experiments#asahi · 2023-01-14 02:31
marcannicolas17: yes exactly#asahi · 2023-01-14 02:31
marcanother than that key provisioning thing#asahi · 2023-01-14 02:31
marcanSEP doesn't know about APFS and it doesn't have any back channels to ANS#asahi · 2023-01-14 02:31
marcanAP has to broker xARTs access#asahi · 2023-01-14 02:31
marcanamarioguy: AP does it#asahi · 2023-01-14 02:31
marcanI think apple even uses bypasses for xARTs and doesn't actually hit the FS layer, but does direct writes from the kernel or something#asahi · 2023-01-14 02:30
marcanso much more likely that we can guarantee stability *just* for that#asahi · 2023-01-14 02:30
marcanthankfully xARTs is a super restricted use case#asahi · 2023-01-14 02:30
marcanmight end up shipping it but with some big gate so people don't use it on normal volumes if it's not stable enough#asahi · 2023-01-14 02:29
marcanonce SEP comes into the picture we'll have to decide what to do#asahi · 2023-01-14 02:29
marcanwe don't ship it yet#asahi · 2023-01-14 02:29
marcannot sure what state it's in#asahi · 2023-01-14 02:29
marcanthere is a downstream one#asahi · 2023-01-14 02:29
marcannope#asahi · 2023-01-14 02:29
marcannot upstream#asahi · 2023-01-14 02:28
marcanother than what the installer does#asahi · 2023-01-14 02:28
marcannicolas17: correct#asahi · 2023-01-14 02:28
marcan(that's how updates work, mount it live as RW, make changes, take snapshot, re-seal)#asahi · 2023-01-14 02:28
marcanyou can mount the FS as rw, you just can't mount it as root#asahi · 2023-01-14 02:28
marcanyes, with stuff in permissive security mode you can in principle make your own snapshots#asahi · 2023-01-14 02:27
marcanit's just that if you mutate it it stops working#asahi · 2023-01-14 02:27
marcanit's not "immutable"#asahi · 2023-01-14 02:27
marcaniBoot just verifies the root hash#asahi · 2023-01-14 02:27
marcanthe kernel verifies it actually#asahi · 2023-01-14 02:26
marcanTheDcoder: separate volume#asahi · 2023-01-14 02:26
marcanthankfully it's a very limited subset of APFS#asahi · 2023-01-14 02:25
marcanxARTs is why we're going to have to implement APFS at some point to make SEP work :p#asahi · 2023-01-14 02:25
marcanTheDcoder: xARTs