#asahi-dev · 2021-01-29 18:08
marcanwhat size arg?#asahi-dev · 2021-01-29 18:07
marcanyou do realize that's a NULL pointer, right?#asahi-dev · 2021-01-29 18:07
marcanuh#asahi-dev · 2021-01-29 18:07
marcanhopefully not literally 0#asahi-dev · 2021-01-29 18:06
marcanso don't put bootargs like right after it#asahi-dev · 2021-01-29 18:06
marcanalso keep in mind bss needs space after the .macho#asahi-dev · 2021-01-29 18:06
marcanah#asahi-dev · 2021-01-29 18:06
marcanmaybe it was not clearing bss? I just pushed a commit for that#asahi-dev · 2021-01-29 18:05
marcanhowever, you do need to pass a proper boot_args in x0#asahi-dev · 2021-01-29 18:05
marcanthis is basically a supported way of loading m1n1 right now#asahi-dev · 2021-01-29 18:05
marcanliterally just dump the .macho anywhere in memory and jump to load_addr + 0x4800#asahi-dev · 2021-01-29 18:05
marcanentry = new_base + 0x4800#asahi-dev · 2021-01-29 18:05
marcaniface.writemem(new_base + 0x4000, payload[0x4000:], True)#asahi-dev · 2021-01-29 18:05
marcanfwiw you can just do what chainload does#asahi-dev · 2021-01-29 18:04
marcanwhat's the device tree bug?#asahi-dev · 2021-01-29 17:57
marcanit's done that way on purpose#asahi-dev · 2021-01-29 17:57
marcanmodwizcode: the segment layout is flat#asahi-dev · 2021-01-29 06:02
marcanok, m1n1 is finally getting malloc :p#asahi-dev · 2021-01-27 17:16
marcandavidrysk[m]: ID_AA64MMFR2_EL1[NV] == 0#asahi-dev · 2021-01-27 12:34
marcanso while you can certainly overlap things, that's definitely not how they intend this to be done#asahi-dev · 2021-01-27 12:34
marcanone OS, one bootpolicy, one context, one data encryption setup, one user auth db, etc#asahi-dev · 2021-01-27 12:34
marcan*that* part of Apple's grand plan is obvious#asahi-dev · 2021-01-27 12:34
marcanand make it impossible for Linux to use the SEP properly#asahi-dev · 2021-01-27 12:33
marcannot in the least that it's going to break macos updates in some ways#asahi-dev · 2021-01-27 12:33
marcanbut there are many pitfalls with that approach#asahi-dev · 2021-01-27 12:33
marcanif people want to do that that's up to them#asahi-dev · 2021-01-27 12:33
marcanso I will not be pushing the shared-context use case#asahi-dev · 2021-01-27 12:33
marcanbut I'm sure our users will appreaciate being able to run iOS apps in macos while they have a separate linux install#asahi-dev · 2021-01-27 12:32
marcanto avoid having to have full macos installs#asahi-dev · 2021-01-27 12:32
marcanI have several possible plans depending on what they do#asahi-dev · 2021-01-27 12:32
marcanwe will be using APIs and features Apple builds#asahi-dev · 2021-01-27 12:32
marcanwe will not be using any bugs#asahi-dev · 2021-01-27 12:31
marcan:)#asahi-dev · 2021-01-27 12:31
marcanonly time will tell#asahi-dev · 2021-01-27 12:31
marcanand I'm betting it resolves another way#asahi-dev · 2021-01-27 12:31
marcanand you're assuming it resolves one way#asahi-dev · 2021-01-27 12:31
marcanlike in 1TR itself#asahi-dev · 2021-01-27 12:31
marcan1TR has *perl*#asahi-dev · 2021-01-27 12:31
marcanwe'll see what apple does#asahi-dev · 2021-01-27 12:31
marcananyway, you can have your opinion and I can have mine :)#asahi-dev · 2021-01-27 12:30
marcanbut you have a root shell#asahi-dev · 2021-01-27 12:30
marcanto guarantee data security#asahi-dev · 2021-01-27 12:30
marcanapple doesn't care what you do in 1TR as long as you assert physical presence and, for OS-impacting operations, provide credentials#asahi-dev · 2021-01-27 12:30
marcan*after* you authenticate#asahi-dev · 2021-01-27 12:30
marcan1TR lets you run unsigned code on the machine#asahi-dev · 2021-01-27 12:30
marcannever_released: you're making assumptions about apple's security model that don't make sense#asahi-dev · 2021-01-27 12:29
marcanbecause installing macos from macos is supported#asahi-dev · 2021-01-27 12:29
marcanfor starters, we could do the install and all this stuff from macos itself, not doing anything from 1TR except calling bputil/kmutil#asahi-dev · 2021-01-27 12:29
marcan:)#asahi-dev · 2021-01-27 12:29
marcanand I will