#qi-hardware IRC log for Tuesday, 2017-10-03

--- Tue Oct 3 201700:00
kyakdoes anybody have an idea, what's the purpose of this: https://github.com/apple/darwin-xnu ?06:37
kyakis it about creating a better image of themselves? or are they legally obliged to publish parts of their kernel source?06:43
whitequarkkyak: neither12:24
whitequarkapple routinely releases the core components of their systems under OSS licenses, and has been doing that for a very long time12:24
whitequarkthat's how we have e.g. a cross-toolchain from linux to macos12:26
whitequarkthey don't really benefit from it, not directly at least, so sometimes they're being really slow; parts of their systems require approval from legal12:26
whitequarkbtw that's not parts of the kernel source, that's pretty much the entire thing12:26
kyakwhitequark: i see16:27
kyakhow do we benefit from their kernel source though?16:28
kyakcan user compile it and install instead of shipping kernel for OSX or iOS? I doubt that16:31
kyakeven if they could, it still misses essential things: "You dont get the apps, frameworks, user interface, etc."16:33
kyakapple doesn't really benefit from it, as you said. User don't really benefit from it. But it's right there on Github - and it makes we wonder what is the reason16:34
whitequarkkyak: I benefitted from it when writing systems-level software for macOS18:19
whitequarkalso, security researchers can use it to improve security of iOS18:19
whitequarkbut there's no real reason other than "OSS software developed at Apple stays OSS"18:19
whitequarky'know sometimes companies have actual policies and not just greed?18:20
DocScrutinizer05isn't iOS mach based and mach would be FOSS?20:51
DocScrutinizer05err s/iOS/OS X/20:52
DocScrutinizer05err yes, the README at https://github.com/apple/darwin-xnu gives it away20:53
whitequarkDocScrutinizer05: they both use xnu21:48
whitequarkbut in practice the published sources only let you build a macos kernel21:48
whitequarkbecause the arm parts were non-public21:48
whitequarkwell, before a few days ago, that is21:48
whitequarkthe mach bits are actually relatively small and unused21:48
whitequarkmost of darwin is the xnu/bsd subsystem and you can no longer even create pure mach tasks in darwin21:49
whitequarkit has *got* to have a xnu subsystem task21:49
whitequarkbsd subsystem*21:49
whitequarkthis has really weird ramifications because, for example, inheriting a mach port requires an extremely bizarre dance that happens to work because of something that I think is an accident21:50
whitequarkand this is a basic operation in a microkernel...21:50
--- Wed Oct 4 201700:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!