#
…

2021-01-18

02:08wookey has joined #asahi-re
02:12wookeyI've got one of these machines (ARM freebie) and have negligible interest in macos. I'm just wondering if it's useful to not agree to the 'no reverse engineering permitted' licence agreement you have to get past to use the machine on first boot?
02:12wookeyNot sure if it makes any real differnce in my jurisdiction (UK).
02:14opticronwookey, take a look at the RE policy in the channel topic
02:15opticronprobably relevant to your question
02:15wookeyI already read that
02:16wookeyOh no. I didn;t get to the bottom :-)
02:19Necrosporus has quit [Ping timeout: 264 seconds]
02:21bkeroCCCCCCKHTTFFURVVGKTRLFTVRHLCVTTjitvjkjnlfjfv
02:21bkeroSorry all
02:26wookeysaid doc doesn't say anything about whether Apple's attempt to prevent RE has any effect in the UK. I recall that we used to have quite extensive RE rights but they were much reduced by some EU legislation circa 2009. I guess I'd better swot up.
02:32Shizi think you're the only one who can make calls about your local jurisdiction
02:32Necrosporus has joined #asahi-re
02:33wookeyWell. I was hoping RE heavy projects had already looked into it :-) https://www.gerrishlegal.com/legal-blog/2020/4/7/reverse-engineering-when-can-users-lawfully-decompile-software seems helpful
02:33wookeyI've not done any seriously for years
02:33Shizafaik (but IANAL) reversing is permitted in europe for the sake of product compatibility
02:34Shizarguably running linux on apple hw is product compatibility :)
02:34Shiz(or rather, EU)
02:34modwizcodeI don't think it ends up mattering much overall either though. The overall policy seems to mostly boil down to "if it's not obvious, ask but also probably don't do it". Regardless of what EU/UK might say, the project has to consider the US, Japan, etc. which tend to have fewer rights.
02:35wookeyYes, that seems to be the case, but decompilation specifically not allowed, only observing. Not sure how that works in practice. Not much RE witout some decompilation to work out which bit to observe.
02:36wookeyAlso it looks like it's only kosher if you agree to the licence, which is a tad perverse.
02:36Shiznot sure where you get it from, but decompilation is also allowed
02:36Shizin fact, it's listed under the section called decompilation in the EC directive
02:36modwizcodeThe only policy that had decompilation not allowed was GPU
02:36wookeyI got that from the lnik above
02:36Shizoh right
02:36Shizi thought you meant the EC directive
02:37Shizwookey: you can still decompile
02:37Shizbut use it as a method for obtaining information
02:37Shiznot for copy-pasting decompiled code into an asahi project :)
02:37Shizthat's the substance of that paragraph
02:38Shiz(and as modwizcode noted, don't do it for the userspace gpu driver)
02:38alyssa has joined #asahi-re
02:38wookeyOK. I probably read the directive at the time, but have fogotten it all as that was a decade ago
02:38alyssa(and not just because I am unable to make sense of decompiled code and only want fair competition :p)
02:39wookeyAh hi alyssa. Of course you are here too :-)
02:39Shizit also does note that if you intend to do binary reversing & code contributing at the same time, you would probably want to contact marcan
02:39alyssawhoops wrong nick
02:39Shizbecause "we do not currently allow contributions of code developed concurrently with binary reverse engineering except from specific trusted contributors"
02:39wookeyRight, I noted that.
02:40modwizcodeSo far I don't think a lot of binary RE has even happened lol, at least not anything important to getting anything done
02:41Shizyeah, i've just been reversing some bootpolicy stuff to document the boot process
02:41modwizcodeArguably Apple should document that :p
02:41Shizwell, it's documented in the sense of how to run your kernel on it (somewhat)
02:42Shizi just want to know the nitty gritty :p
02:43modwizcodeI was saying arguably the boot process is the one place that Apple documenting the nitty gritty might be expected lol
02:43alyssawookey: but yes I'm eeeeverywhere :p
02:44Shizalso hello stranger
02:45wookeyShiz: you are quite right: "However, decompilation for interoperability testing is legal and necessary ". Good. So I probably don't need to fret about the tiresome 'no reverse enginering, except insofar as your local regs say we can't stop you' clause.
02:45alyssawookey: I have heard the 'interpretation' that one is not reversing the software, but rather the hardware, and the license only covers reversing the software.
02:46alyssaI am not a lawyer :)
02:46Shizdepends what part you are working on, no?
02:46wookeywell that's clearly true when writing programs to prod it and see what it does
02:47wookeyLess so if getting clues what prodding and where from existing code.
02:47NecrosporusDid you find out yet how to get OS X boot logs?
02:47alyssalike everything good in this world, r/e exists on a spectrum
02:47ShizNecrosporus: good segue
02:47ShizI found a cool nvram entry called `failboot-bread-crumbs`
02:48Shizand some codes in there seem to have valid fourcc values
02:48Shizleading to this chain: pmpf -> dtre -> ibdt -> isys -> csys -> bstc -> trst -> fuos
02:49Shizi wonder what some of those mean
02:49Shizdtre is device tree, trst is trust (presumably)
02:49Shizfuos is the custom kernel mechanism
02:49alyssaI can make silly backronyms if you'd like :P
02:50modwizcodeI like that it says pmpf is PMP which is... helpful
02:52Shizseems to be pmp -> device tree -> ??? (iboot device tree?) -> system volume root hash -> base system volume root hash -> ??? -> statictrustcache -> fuOS
02:52modwizcodeThey seem like they're almost in pairs though, I wonder if dtre and ibdt are a pair, then isys and csys, then bstc and drst
02:52Shizbstc maybe means base system trust cache
02:52Shizoh it does
02:53modwizcodeSounds reasonable
02:53Shizi just cmd-f'd wrong
02:54Shiz alyssa : ? <-- sorry, mistook you for someone i knew :)
02:54alyssaShiz: I'm bloom on the other computer, just got very distracted and wandered onto irc :p
03:07alyssa has left #asahi-re [#asahi-re]
03:28bastilian has joined #asahi-re
03:51Tokamak has joined #asahi-re
03:51modwizcode has quit [Quit: Later]
04:09Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:28Shizfor who needs to hear it, pmp means power management processor
04:33Tokamak has joined #asahi-re
04:48Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:07davidrysk[m]ahh hi again :)
05:11Tokamak has joined #asahi-re
05:44Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:36riatre has joined #asahi-re
06:44Tokamak has joined #asahi-re
07:07marcanwookey: just keep in mind that we currently ban writing code while doing binary RE, so if you intend to do the latter you need to document your findings and let someone else write the code
07:08marcan(we only have exceptions for a few people; this is for our protection because it is very easy to get this wrong and accidentally infringe copyright, and there is no good way to know that people approach this properly other than preexisting trust)
07:09marcan(since ultimately I have to sign off on anything we upstream, I have to have such a rule to be confident in what I'm signing off on)
08:15Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:30_whitelogger has joined #asahi-re
08:46linkmauve has left #asahi-re ["Disconnected: closed"]
09:02mogery has joined #asahi-re
09:48Necrosporus has quit [Read error: Connection reset by peer]
09:48Necrosporus has joined #asahi-re
10:33Tokamak has joined #asahi-re
11:07Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:47mogery has quit [Quit: Leaving]
11:47mogery has joined #asahi-re
11:48mogery has quit [Client Quit]
11:48mogery has joined #asahi-re
12:46jobbe has quit [Quit: Ping timeout (120 seconds)]
12:46jobbe has joined #asahi-re
12:56yrlf has quit [*.net *.split]
12:56dstzd has quit [*.net *.split]
12:56Ziemas has quit [*.net *.split]
12:56fried_dede[m] has quit [*.net *.split]
12:56imobilis has quit [*.net *.split]
12:56Raqbit has quit [*.net *.split]
12:56DragoonAethis has quit [*.net *.split]
12:56os[m] has quit [*.net *.split]
12:56Fanfwe has quit [*.net *.split]
12:58bkero has quit [Remote host closed the connection]
12:58bkero has joined #asahi-re
12:59Fanfwe has joined #asahi-re
12:59fried_dede[m] has joined #asahi-re
12:59Ziemas has joined #asahi-re
12:59DragoonAethis has joined #asahi-re
12:59Raqbit has joined #asahi-re
12:59imobilis has joined #asahi-re
12:59yrlf has joined #asahi-re
12:59os[m] has joined #asahi-re
12:59dstzd has joined #asahi-re
13:02os[m] has quit [Ping timeout: 246 seconds]
13:03emily has quit [Ping timeout: 240 seconds]
13:03tarik02[m] has quit [Ping timeout: 240 seconds]
13:03flokk[m] has quit [Ping timeout: 240 seconds]
13:03rockinrobstar[m] has quit [Ping timeout: 240 seconds]
13:03DrGit[m] has quit [Ping timeout: 240 seconds]
13:03Jasper[m] has quit [Ping timeout: 240 seconds]
13:03fried_dede[m] has quit [Ping timeout: 246 seconds]
13:03davidrysk[m] has quit [Ping timeout: 244 seconds]
13:03hipboi[m] has quit [Ping timeout: 244 seconds]
13:03khronokernel[m] has quit [Ping timeout: 244 seconds]
13:03hwatwasthat[m] has quit [Ping timeout: 244 seconds]
13:03asmon[m] has quit [Ping timeout: 258 seconds]
13:03nufflee[m] has quit [Ping timeout: 258 seconds]
13:03jinen[m] has quit [Ping timeout: 258 seconds]
13:03sumoon[m] has quit [Ping timeout: 258 seconds]
13:03blazra has quit [Ping timeout: 258 seconds]
13:03svenpeter has quit [Ping timeout: 258 seconds]
13:03_alice has quit [Ping timeout: 258 seconds]
13:03xerpi[m] has quit [Ping timeout: 240 seconds]
13:03ah-[m] has quit [Ping timeout: 264 seconds]
13:03konradybcio has quit [Ping timeout: 264 seconds]
13:03nutmanja[m] has quit [Ping timeout: 258 seconds]
13:03brentr123[m] has quit [Ping timeout: 258 seconds]
13:03mellotron1[m] has quit [Ping timeout: 268 seconds]
13:03wolf511[m] has quit [Ping timeout: 268 seconds]
13:05mofux[m] has quit [Ping timeout: 240 seconds]
13:05ts170[m] has quit [Ping timeout: 240 seconds]
13:05shawnj2[m] has quit [Ping timeout: 240 seconds]
13:05fl35[m] has quit [Ping timeout: 240 seconds]
13:05bjornjulander[m] has quit [Ping timeout: 240 seconds]
13:05josiahmendes[m] has quit [Ping timeout: 240 seconds]
13:05bylaws has quit [Ping timeout: 240 seconds]
13:05Bastian[m] has quit [Ping timeout: 240 seconds]
13:05nhlism[m] has quit [Ping timeout: 244 seconds]
13:05hypergenesis[m] has quit [Ping timeout: 244 seconds]
13:05Jamie[m] has quit [Ping timeout: 244 seconds]
13:05thecake21[m] has quit [Ping timeout: 244 seconds]
13:05reispflanze[m] has quit [Ping timeout: 244 seconds]
13:05TellowKrinkle[m] has quit [Ping timeout: 244 seconds]
13:05bastilian has quit [Ping timeout: 240 seconds]
13:05jevinskie[m] has quit [Ping timeout: 240 seconds]
13:05redbluescreen[m] has quit [Ping timeout: 240 seconds]
13:05skillfulman23[m] has quit [Ping timeout: 240 seconds]
13:05ConeOfAttack[m] has quit [Ping timeout: 240 seconds]
13:05winocm has quit [Ping timeout: 240 seconds]
13:05smist08[m] has quit [Ping timeout: 240 seconds]
13:05rootspring[m] has quit [Ping timeout: 240 seconds]
13:05ronyrus[m] has quit [Ping timeout: 240 seconds]
13:05mcnight[m] has quit [Ping timeout: 240 seconds]
13:05enverb[m] has quit [Ping timeout: 240 seconds]
13:05delroth[m] has quit [Ping timeout: 240 seconds]
13:05bakk[m] has quit [Ping timeout: 258 seconds]
13:05jrmuizel[m] has quit [Ping timeout: 268 seconds]
13:12snalty has joined #asahi-re
13:19konradybcio has joined #asahi-re
13:35konradybcio has quit [Ping timeout: 240 seconds]
13:53os[m] has joined #asahi-re
13:53fried_dede[m] has joined #asahi-re
13:54hypergenesis[m] has joined #asahi-re
13:54davidrysk[m] has joined #asahi-re
13:54nufflee[m] has joined #asahi-re
13:55sumoon[m] has joined #asahi-re
13:55svenpeter has joined #asahi-re
13:55asmon[m] has joined #asahi-re
13:55bakk[m] has joined #asahi-re
13:55jinen[m] has joined #asahi-re
13:55blazra has joined #asahi-re
13:55nutmanja[m] has joined #asahi-re
13:55brentr123[m] has joined #asahi-re
13:55hwatwasthat[m] has joined #asahi-re
13:55khronokernel[m] has joined #asahi-re
13:55TellowKrinkle[m] has joined #asahi-re
13:55reispflanze[m] has joined #asahi-re
13:55Jamie[m] has joined #asahi-re
13:55_alice has joined #asahi-re
13:55nhlism[m] has joined #asahi-re
13:55hipboi[m] has joined #asahi-re
13:55thecake21[m] has joined #asahi-re
13:56ts170[m] has joined #asahi-re
13:56rockinrobstar[m] has joined #asahi-re
13:56fl35[m] has joined #asahi-re
13:56bjornjulander[m] has joined #asahi-re
13:56flokk[m] has joined #asahi-re
13:56Bastian[m] has joined #asahi-re
13:56mofux[m] has joined #asahi-re
13:56tarik02[m] has joined #asahi-re
13:56xerpi[m] has joined #asahi-re
13:56shawnj2[m] has joined #asahi-re
13:56DrGit[m] has joined #asahi-re
13:56bylaws has joined #asahi-re
13:56jrmuizel[m] has joined #asahi-re
13:56wolf511[m] has joined #asahi-re
13:56Jasper[m] has joined #asahi-re
13:56mellotron1[m] has joined #asahi-re
13:56emily has joined #asahi-re
13:56rootspring[m] has joined #asahi-re
13:56redbluescreen[m] has joined #asahi-re
13:56ConeOfAttack[m] has joined #asahi-re
13:56skillfulman23[m] has joined #asahi-re
13:56mcnight[m] has joined #asahi-re
13:56ronyrus[m] has joined #asahi-re
13:56enverb[m] has joined #asahi-re
13:56delroth[m] has joined #asahi-re
13:56bastilian has joined #asahi-re
13:56winocm has joined #asahi-re
13:56smist08[m] has joined #asahi-re
13:57jevinskie[m] has joined #asahi-re
13:59ah-[m] has joined #asahi-re
14:01josiahmendes[m] has joined #asahi-re
14:03konradybcio has joined #asahi-re
15:33jamadazi has joined #asahi-re
16:18modwizcode has joined #asahi-re
16:24jix has quit [Ping timeout: 260 seconds]
16:42mogeryy has joined #asahi-re
16:45mogery has quit [Ping timeout: 256 seconds]
16:51Axenntio has joined #asahi-re
17:01wookeymarcan: Understood (and very sensible). In principle I could do either. Would one or the other be more helpful? My expertise is mostly build systems these days, but I do understand low-level stuff (although my knowledge is somewhat out of date so no doubt they've made everything more complicated whilst I wasn't watching :-)
17:02marcanit pretty much depends on what you want to do. maybe stick around and watch for a bit and see if anything strikes your fancy?
17:03wookeyFair enough.
17:04wookeyIt seems like the immediate answer to my question is that nothing much is gained by never using the machine (due to not agreeing to the licence) so I might as well have a play with it, which will make it a lot easier to get started.
17:23Axenntio has quit [Quit: Leaving]
17:27marcanyou cannot actually do anything without agreeing to the license
17:27marcancurrently, at least
17:27marcanyou need to use kmutil, which requires credentials for the existing macos partition
17:27marcanwhich requires going through intial setup to establish such credentials
17:31marcanshit like that is why they're going to have a horrible time upstreaming anything
17:31marcanguess there's no way in hell they get anything submitted this week
17:44modwizcodemarcan: what's the deal with that patch?
17:57marcanmodwizcode: it makes core changes to the irq subsystem
17:58marcanthey're based on some ancient kernel, because they've made no effort to keep up with upstream
17:58marcanrebasing after being out of date by so much takes forever
17:58marcanwe're starting fresh (and we will keep up with upstream) so we won't have to deal with that mess
18:00Tokamak has joined #asahi-re
18:00modwizcodeOh that's nasty
18:00modwizcodeI thought you were talking about the IRQ patch and I was like "idk it makes sense to me to treat IPIs similar to normal interrupts"
18:31snalty has quit [Read error: Connection reset by peer]
18:39linkmauve has joined #asahi-re
19:11suskun has joined #asahi-re
19:16suskun has quit [Ping timeout: 240 seconds]
19:19suskun has joined #asahi-re
19:20suskunOfftop question: i wonder does m1 hypervisor support x86 isa?
19:24bkero has joined #asahi-re
19:24bkero has quit [Changing host]
19:28suskun has quit [Ping timeout: 256 seconds]
19:42marcanno, how would that work?
19:42marcanit's not an x86 CPU
19:46klaus has joined #asahi-re
19:46klaus has quit [Client Quit]
20:05jix has joined #asahi-re
20:23jamadazi has quit [Ping timeout: 260 seconds]
20:27jamadazi has joined #asahi-re
20:37Namidairo has quit [Ping timeout: 260 seconds]
20:39Namidairo has joined #asahi-re
21:24mogeryy has quit [Quit: Leaving]
21:25Namidairo has quit [Ping timeout: 264 seconds]
21:56Namidairo has joined #asahi-re
22:51Tokamak has quit [Ping timeout: 256 seconds]
22:54Tokamak has joined #asahi-re
23:06Tokamak has quit [Ping timeout: 240 seconds]
23:08Tokamak has joined #asahi-re
23:48linkmauve has quit [Ping timeout: 256 seconds]
…