#asahi-dev · 2022-10-06 11:31
nicolas17I have an M2 MBP now#asahi-dev · 2022-10-06 11:31
nicolas17also#asahi-dev · 2022-10-06 11:31
nicolas17huh, interesting#asahi-dev · 2022-10-06 11:30
nicolas17but maybe you got past that since then#asahi-dev · 2022-10-06 11:30
nicolas17last I heard, there were some tight timeouts and trying to intercept SEP mailbox traffic with m1n1 easily led to errors#asahi-dev · 2022-10-06 11:29
nicolas17(er, that's plural 'you')#asahi-dev · 2022-10-06 11:29
nicolas17did you manage to log SEP requests yet?#asahi-dev · 2022-10-02 12:11
nicolas17damn obscure chip names :D#asahi-dev · 2022-10-02 12:11
nicolas17is that supposed to be a commit hash?#asahi-dev · 2022-08-29 19:02
nicolas17I guess the other problem is that putting "an attacker gets arbitrary write in kernel mode" into your threat model, that opens a big can of worms even if you protect code with KTRR :P#asahi-dev · 2022-08-29 18:59
nicolas17you mean not building them as modules to begin with, but inside the kernel? that may be possible yeah#asahi-dev · 2022-08-29 18:58
nicolas17so you don't really win much security by protecting the kernel alone without modules#asahi-dev · 2022-08-29 18:58
nicolas17and if you overwrite a module's code then you get that executed in kernel mode anyway#asahi-dev · 2022-08-29 18:57
nicolas17if you protect the kernel's core executable pages with KTRR, now you used up your single region, and modules are still writable#asahi-dev · 2022-08-29 18:24
nicolas17yeah, I hadn't realized modules were such a problem for this#asahi-dev · 2022-08-29 18:23
nicolas17but Apple has been progressively making it more of a pain in the ass to load kexts for many years now#asahi-dev · 2022-08-29 18:22
nicolas17DmitrySharshakov[m]: in Apple's ideal world, all other devices are DriverKit (userspace), but kexts are "unfortunately" still a thing so there's the "AuxKC" as marcan said#asahi-dev · 2022-08-29 18:21
nicolas17DmitrySharshakov[m]: afaik there's a monolithic "kernel cache" that is basically the kernel and the modules pre-linked, and it gets loaded as a single unit#asahi-dev · 2022-08-29 18:20
nicolas17the arguments were "lockdown without secure boot will instill a false sense of security, since the lockdown can be circumvented by attacking the boot chain" and "a kernel that supports secure boot without lockdown can be compromised after boot to run untrusted code in kernel mode"; that argument lost and they were made independent :)#asahi-dev · 2022-08-29 18:16
nicolas17it's questionable if it's useful to have one and not the other, but you can#asahi-dev · 2022-08-29 18:15
nicolas17DmitrySharshakov[m]: there was significant opposition from Torvalds and others against tying lockdown and secureboot, so the patch that was ultimately merged makes them independent#asahi-dev · 2022-08-29 18:10
nicolas17lockdown mode disables kexec too#asahi-dev · 2022-08-29 18:08
nicolas17if you don't use lockdown mode and intend to allow root to load arbitrary modules, then you surely can't use KTRR anyway :)#asahi-dev · 2022-08-29 18:08
nicolas17DmitrySharshakov[m]: I know, I just meant it would be a prerequisite#asahi-dev · 2022-08-29 18:06
nicolas17and no it doesn't prevent loading modules from userland, it requires them to be signed#asahi-dev · 2022-08-29 18:06
nicolas17https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aefcf2f4b58155d27340ba5f9ddbe9513da8286d ah this is what I was thinking ("lockdown mode")#asahi-dev · 2022-08-29 17:59
nicolas17well there's security models where the Linux kernel and its modules are signed and root can't load new modules at runtime, which is quite Apple-like and could allow for KTRR, but if it breaks other things... eh#asahi-dev · 2022-08-29 17:54
nicolas17yeah I think they're MSRs#asahi-dev · 2022-08-29 17:53
nicolas17in theory could we tell the AMCC to make the kernel code pages permanently read-only like XNU does? and does that have a chance of getting upstreamed?#asahi-dev · 2022-08-29 17:48
nicolas17(iPad Pro 5 obviously does, since it's M1)#asahi-dev · 2022-08-29 17:48
nicolas17I wonder if the iPad Pro 3/4 uses the same#asahi-dev · 2022-08-29 17:45
nicolas17damn acronyms#asahi-dev · 2022-08-29 17:45
nicolas17"PHY Interface for PCI Express"?#asahi-dev · 2022-08-29 17:39
nicolas17oh, Apple Type-C?#asahi-dev · 2022-08-29 17:38
nicolas17what's atcphy?#asahi-dev · 2022-08-11 01:21
nicolas17:/#asahi-dev · 2022-08-10 02:56
nicolas17"My fading interest in the Beats brand has now been turned into a strong dislike as a result of this Kardashian collab. I now associate the brand with overpaid, overhyped, under-talented celebrity grifters. Can't wait for the Paris Hilton-Ivanka Trump Limited Editions." -- macrumors forum#asahi-dev · 2022-08-10 02:55
nicolas17did you see the new ones with Kim Kardashian branding? :/#asahi-dev · 2022-08-01 19:59
nicolas17kettenis Willmish[m]: you can enable notifications on youtube too#asahi-dev · 2022-07-15 19:26
nicolas17complete? so we have GPU now? ;) *hides*#asahi-dev · 2022-07-15 17:57
nicolas17jannau: Apple's electric car https://pbs.twimg.com/media/FM-KaukXoAUwT4R.jpg#asahi-dev · 2022-07-15 07:11
nicolas17chadmed: got a screenshot btw?#asahi-dev · 2022-07-12 22:38
nicolas17oh, in case you missed it macOS 12.5 release candidate is out (public release in 1 week probably)#asahi-dev · 2022-07-12 17:39
nicolas17well there's more sub-types on every version and they won't be documented there yet, but they're still all vaguely related#asahi-dev · 2022-07-12 17:36
nicolas17sven: if company ID is Apple (004C) yep#asahi-dev · 2022-07-12 15:35
nicolas17also remember BuildManifest.plist can be downloaded from the same directory as the .ipsw, which is handy to quickly know contents and supported macs :)#asahi-dev · 2022-07-12 15:31
nicolas17sven: it's weird, there were 3 builds of 12.4, the original was M1-only, then they released one with M1 and M2, two days later they released another that is M2-only#asahi-dev · 2022-07-12 05:06
nicolas17do ARM MacBook Pro/Air still have the 'fake' trackpad click that they simulate with haptic feedback?#asahi-dev · 2022-07-12 05:02
nicolas17soon apple will release the larger chip and make all this confusing again (M2 Pro chip or M2 MacBook Pro?)#asahi-dev · 2022-07-12 04:37
nicolas17we do need to add a proper ARM build then...