#
✕ nick:marcan
#asahi · 2021-04-30 07:57
marcannvram bootargs should work I think? I think those are global though, not per-OS, though OSes in secure mode ignore them
#asahi · 2021-04-30 07:57
marcan(which is still a pretty good state of affairs all things considered; it does mean we need to figure out SEP credential management since that is how a user authenticates to 1TR)
#asahi · 2021-04-30 07:56
marcanso it stands to reason that any security toggling should happen from there too
#asahi · 2021-04-30 07:56
marcanas far as all the prior stages are concerned we are already in permissive mode; the only root of trust we have is m1n1 itself which is effectively hashed and locked down and can only be modified from 1TR
#asahi · 2021-04-30 07:55
marcanno point in expanding that attack surface
#asahi · 2021-04-30 07:55
marcanif the user wants to switch modes/keys they can go into 1TR and redo that
#asahi · 2021-04-30 07:55
marcanI think I'd just want that flag hardcoded in m1n1/u-boot (possibly patched at install time by a script)
#asahi · 2021-04-30 07:54
marcanmjg59_: firmware config?
#asahi · 2021-04-30 07:54
marcan(except the surface I messed with recently)
#asahi · 2021-04-30 07:53
marcanso in my defense I haven't had to deal with any proper secureboot x86 machines ;)
#asahi · 2021-04-30 07:53
marcan(and was a barebone anyway)
#asahi · 2021-04-30 07:53
marcanand my previous machine was purchased in *checks* 2012
#asahi · 2021-04-30 07:52
marcanbut I don't think UEFI on previous intel macs has any equivalent toggle
#asahi · 2021-04-30 07:52
marcanobviously the T2 stuff does secureboot
#asahi · 2021-04-30 07:52
marcanmjg59_: ironically, not macs I think?
#asahi · 2021-04-30 07:50
marcanright
#asahi · 2021-04-30 07:49
marcanmjg59_: that one's news to me, heh
#asahi · 2021-04-30 07:47
marcan(and realize I'm an infosec person; I'm being very pragmatic here)
#asahi · 2021-04-30 07:47
marcanI like being able to load modules
#asahi · 2021-04-30 07:47
marcanheck even I don't care for my desktops
#asahi · 2021-04-30 07:46
marcanbut on linux it's all optional, and the only people who really care are the people running cloud servers, and the 1% of infosec folks
#asahi · 2021-04-30 07:46
marcanapple gets to push all this security stuff because they control the platform
#asahi · 2021-04-30 07:46
marcansame with rootless etc
#asahi · 2021-04-30 07:45
marcanbecause if you don't this whole thing is ~useless
#asahi · 2021-04-30 07:45
marcanbut how many linux users turn on kernel lockdown?
#asahi · 2021-04-30 07:45
marcanand that makes ~every macos user protected
#asahi · 2021-04-30 07:45
marcandottedmag: Apple *enforces* kernel lockdown, because they can do that
#asahi · 2021-04-30 07:45
marcansven: that's what I'm saying
#asahi · 2021-04-30 07:45
marcanthis whole thing only makes any sense if you lock down the kernel
#asahi · 2021-04-30 07:45
marcandottedmag: it wouldn't cover 8% of all laptops/desktops because people wouldn't *use* it
#asahi · 2021-04-30 07:42
marcanprobably
#asahi · 2021-04-30 00:45
marcanuntil other systems start suopporting ~equivalent stuff, if that happens then we may be able to support apple-specific implementations as long as the core codepaths remain the same
#asahi · 2021-04-30 00:44
marcanLinux cares about working on the hardware, but single-system security features that touch core code are unlikely to fly
#asahi · 2021-04-30 00:44
marcanit's going to be hard selling most of these proprietary Apple security features on Linux
#asahi · 2021-04-29 14:52
marcan(I'm probably going to be moving to linux on M1 for all my live audio stuff)
#asahi · 2021-04-29 14:51
marcanit's on my longer-term todo list :-)
#asahi · 2021-04-29 14:51
marcannow if we're talking low-latency audio, yeah, that's when starting to think about these things *might* matter
#asahi · 2021-04-29 14:51
marcannobody cares about video players, those things have a whole 16-33ms or so to get their work done
#asahi · 2021-04-29 11:57
marcanbut for what it's worth, setting multiple bits in smp_affinity on my x86 iMac also ends up with everything on one CPU so... :-)
#asahi · 2021-04-29 11:57
marcanand yeah, if hardware IRQ balancing works as intended we should certainly supported; I actually had that at some point but decided to play it safe for now
#asahi · 2021-04-29 11:56
marcanso, even though it might be uglier, it seems safer to do it this way
#asahi · 2021-04-29 11:56
marcanit's kind of a wash which way to do it, but if we end up with better reasons to have them merged in the future, doing so post-facto would be a lot more painful
#asahi · 2021-04-29 11:54
marcanbut also, things started with a common irq/fiq vector and only got split later
#asahi · 2021-04-29 11:54
marcanpipcet[m]: precisely because of that: because once that's implemented, we have to pick one, and two drivers would have to coordinate that
#asahi · 2021-04-29 11:41
marcanthe driver currently only sets one bit
#asahi · 2021-04-29 11:41
marcanAIC lets you set multiple bits, but I think the hardware always goes to the first CPU? I need to try again and see exactly what happens
#asahi · 2021-04-29 11:41
marcanpipcet[m]: the config lets you specify an arbitrary CPU set, but I think Linux will then pick one from that or so
#asahi · 2021-04-29 06:55
marcanpipcet[m]: no, it supports SMP
#asahi · 2021-04-29 06:43
marcanthanks! I'll look at that again later
#asahi · 2021-04-28 13:57
marcanyeah, sounds good

plus ›