#
#asahi-re · 2021-01-09 19:39
davidrysk[m]they're heavily leveraging IOMMUs to reduce the exposure that Thunderbolt and PCIe would otherwise cause
#asahi-re · 2021-01-09 19:38
modwizcodeI guess thunderbolt might expose stuff too
#asahi-re · 2021-01-09 19:38
modwizcodeYeah I doubt they can get rid of them entirely with something like a Mac Pro line around that supports more than just USB addons
#asahi-re · 2021-01-09 19:37
davidrysk[m]that said, there still are uses for kernel/kext programming
#asahi-re · 2021-01-09 19:37
davidrysk[m]I kinda want to see them move their own drivers into userspace as much as possible too, in order to reduce kernel attack surface
#asahi-re · 2021-01-09 19:36
davidrysk[m]and since Apple controls the hardware down to the architecture level now, they can modify the hardware design as needed to avoid the typical problems with microkernels
#asahi-re · 2021-01-09 19:35
davidrysk[m]it makes lots of sense to move as much of the driver stuff as possible to userspace
#asahi-re · 2021-01-09 19:32
modwizcodeI wouldn't be surprised if they added a FUSE like layer, they've definitely tried to move most of the driver stuff into userspace
#asahi-re · 2021-01-09 19:31
Shizwhich seems to match with sven's earlier recall that fuos means fully untrusted OS
#asahi-re · 2021-01-09 19:31
davidrysk[m]though I do hope they implement a proper FUSE layer in macOS 12
#asahi-re · 2021-01-09 19:31
Shizso that function seems to add a linked manifest called "fuos"
#asahi-re · 2021-01-09 19:31
modwizcodeFor recent stuff?
#asahi-re · 2021-01-09 19:31
davidrysk[m]I expect to see it for a few specific use cases: primarily filesystems and stuff that requires maximum performance
#asahi-re · 2021-01-09 19:30
davidrysk[m]modwizcode: they wrote a fair amount of documentation for it
#asahi-re · 2021-01-09 19:30
modwizcodeDoes apple actually intend kext dev to continue?
#asahi-re · 2021-01-09 19:30
Shiz:)
#asahi-re · 2021-01-09 19:30
davidrysk[m](which isn't what we're doing here)
#asahi-re · 2021-01-09 19:30
Shizbootpolicy_update_local_policy_for_custom_os
#asahi-re · 2021-01-09 19:29
Shizso my fave symbol in libbootpolicy.dylib right now is
#asahi-re · 2021-01-09 19:29
davidrysk[m]they'll be incredibly useful for kext dev
#asahi-re · 2021-01-09 19:29
davidrysk[m]I believe the t8101 debug kernels are waiting for configure-boot to be finished
#asahi-re · 2021-01-09 19:29
davidrysk[m](including for the t8020 kernels for the DTK)
#asahi-re · 2021-01-09 19:29
davidrysk[m]the dwarf files for some kernels can be found in the KDKs
#asahi-re · 2021-01-09 19:29
davidrysk[m]dSYMs contain a dwarf file
#asahi-re · 2021-01-09 19:28
davidrysk[m]yep
#asahi-re · 2021-01-09 19:28
ShizdSYMs right
#asahi-re · 2021-01-09 19:28
Shizsplitdebug*
#asahi-re · 2021-01-09 19:28
Shizah, like ELF stripdebug?
#asahi-re · 2021-01-09 19:28
davidrysk[m]with mach-o, full debug information is stored separately from the binaries
#asahi-re · 2021-01-09 19:28
davidrysk[m]hm, probably just un-stripped
#asahi-re · 2021-01-09 19:27
Shiznot a single unnamed function
#asahi-re · 2021-01-09 19:26
Shizlike i said, almost as if it was compiled in debug mode
#asahi-re · 2021-01-09 19:26
Shizyeah it's very verbose and seems to have all symbols just... lying in there
#asahi-re · 2021-01-09 19:26
davidrysk[m]that's my point
#asahi-re · 2021-01-09 19:26
davidrysk[m]well, yep
#asahi-re · 2021-01-09 19:26
Shizthat's not from bputil, it's from libbootpolicy :)
#asahi-re · 2021-01-09 19:26
davidrysk[m](-l)
#asahi-re · 2021-01-09 19:26
Shizyep
#asahi-re · 2021-01-09 19:26
davidrysk[m]Shiz: did you see how much crap bputil prints out if you enable debugging?
#asahi-re · 2021-01-09 19:25
davidrysk[m]due to dynamic runtime crap, objc/swift compiled binaries necessarily have lots of strings in them
#asahi-re · 2021-01-09 19:25
Shiz:p
#asahi-re · 2021-01-09 19:24
ShizC
#asahi-re · 2021-01-09 19:24
davidrysk[m]are they using objc or swift?
#asahi-re · 2021-01-09 19:24
davidrysk[m]Shiz: > re:string, libbootpolicy.dylib is *extremely* verbose
#asahi-re · 2021-01-09 19:19
davidrysk[m](well, linux with btrfs or xfs)
#asahi-re · 2021-01-09 19:19
davidrysk[m](copy on write, like cp --reflink=always on linux)
#asahi-re · 2021-01-09 19:18
davidrysk[m]oh yeah tip if you're limited for disk space: cp -c will make a reflink copy
#asahi-re · 2021-01-09 19:14
modwizcodeYeah Apple's method seems kinda nice as opposed to the insane thing Intel came up with
#asahi-re · 2021-01-09 19:14
Shizhttps://txt.shiz.me/ZWY0MGQ0OD not near my m1 box rn, but hopefully this fixes it
#asahi-re · 2021-01-09 19:11
davidrysk[m]there used to be darwinbuild but it's dead

plus ›