2021-06-20
01:37yuyichao has joined #asahi
01:49marcanamw: you have PAC enabled so you have to set pac_mask; sorry, I didn't realize that from your old backtrace
01:59amwmarcan: I guess you mean VinDuv's suggestion, hv.pac_mask = 0xffff000000000000, which works: https://paste.debian.net/1201804/
02:03amwI notice that your HV.PAC_MASK has 5 x fs - PAC_MASK = 0xfffff00000000000 - but that *doesn't* work - https://paste.debian.net/1201805/
02:06marcanI need to figure out how to determine what the PAC width is from the config registers so I can set it automatically
02:07marcanbut that's not the point, it should be able to read the CPU registers and update pac_mask
02:09amwok so HV and proxy just slap the whole blob into memory and jump to the start address mindlessly?
02:09marcanHV loads m1n1 which loads linux; HV has no idea m1n1 is going to load linux (and not, say, chainload xnu)
02:11marcanthe m1n1 mach-o ends with a big dummy segment that is truncated off of the end of the file
02:12amwI thought HV was m1n1? Do does the original HV stay around the the m1n1 in the payload run at EL1?
02:13marcanthough right now I think I protect m1n1 in memory so it never gets discarded, but that's a technicality (and might change in the future)
02:14amwCould m1n1 check it is at EL1 and do a hv call just before jumping to the target? or is that bad design?
02:14marcanit could, but that doesn't seem like the right solution for figuring out a pac_mask when the CPU registers contain all the necessary information
02:28amwWondering how useful you thought the help command - https://paste.debian.net/?show=1201723;lines=0 - I thought it very helpful to know what things you can do, but it needs some effort to add in the doc strings which I can do over time
02:40amwmarcan: FileVault is set (System Preferences -> Security & Privacy -> File is correct), I'm happy to leave it that way on the MacOS
02:54aquijoule_ has joined #asahi
02:56phiologe has joined #asahi
02:59PhilippvK has quit [Ping timeout: 480 seconds]
03:00richbridger has quit [Ping timeout: 480 seconds]
03:43marvin24 has joined #asahi
03:46marvin24_ has quit [Ping timeout: 480 seconds]
04:29thunfisch has quit [Ping timeout: 480 seconds]
04:37thunfisch has joined #asahi
05:18nico_32 has quit [Read error: Connection reset by peer]
05:20nico_32 has joined #asahi
05:35nico_32 has quit [Quit: leaving]
05:38nico_32 has joined #asahi
07:29GreatGodvin has joined #asahi
07:59GreatGodvin_ has joined #asahi
08:04GreatGodvin_ has quit []
08:24aleasto has joined #asahi
08:26j_eymarcan: did you see the code that ml00 mentioned, looks like a bug that maps all hooks as RW
08:40Andalu30 has joined #asahi
09:27marvin24_ has joined #asahi
09:31marvin24 has quit [Ping timeout: 480 seconds]
10:11aquijoule_ has quit [Read error: Connection reset by peer]
10:11aquijoule__ has joined #asahi
10:13GreatGodvin has quit [Quit: WeeChat 3.2]
11:16choozy has joined #asahi
11:33GreatGodvin has joined #asahi
11:46GreatGodvin[m] has joined #asahi
11:46GreatGodvin[m] has quit []
11:52GreatGodvin has quit [Ping timeout: 480 seconds]
12:22al3xtjames has quit [Quit: Ping timeout (120 seconds)]
12:22al3xtjames has joined #asahi
12:28Andalu30 has quit [Ping timeout: 480 seconds]
13:50Andalu30 has joined #asahi
14:45choozy has quit [Remote host closed the connection]
17:33zzzZZ has joined #asahi
17:50zzzZZ has quit [Quit: Leaving]
18:10aleasto has quit [Quit: Konversation terminated!]
18:11aleasto has joined #asahi
18:12aleasto has quit [Remote host closed the connection]
18:12aleasto has joined #asahi
18:50aleasto has quit [Remote host closed the connection]
20:45Andalu30 has quit []
21:23pitust[m]to gather data for machine learning in the cloud powered by big data to determine message ...
21:29bloompitust[m]: given how much mmiotrace spams to my kernel, I did have to use big data to figure it out
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi
22:12choozy has joined #asahi
22:26choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]