7 ms·
Is this legal? It obviously is, but how? I thought the GPL would require Microsoft to ship the Windows source code? I suppose it counts as a separate component.
by petters 7y ago
Is this legal? It obviously is, but how? I thought the GPL would require Microsoft to ship the Windows source code? I suppose it counts as a separate component.
- wongmjane 7y ago> The kernel provided for WSL2 will be fully open source! When WSL2 is released in Windows Insider builds, instructions for creating your own WSL kernel will be made available on Github. The kernel part will be fully open source, which should be sufficient enough to comply with GPL (IANAL)
- jcelerier 7y ago> which should be sufficient enough to comply with GPL this is an age-old debate. Some people say that it is e.g. legal to make (redistribute to precise) a GPL device driver for windows, and some argue that it is not, because the whole kernel should then be GPL. > https://linux.slashdot.org/story/02/11/05/0051225/gpl-issues-surrounding-commercial-device-drivers https://linux.slashdot.org/story/02/11/05/0051225/gpl-issues...
- 781 7y agoBut in Windows drivers are binary files which talk to the kernel through an API. Not much different than a binary user mode application. If binary user mode applications written in GPL are ok, then so should this.
- jcelerier 7y ago> Not much different than a binary user mode application. well, user-mode applications do syscalls to the kernel, not direct function calls.
- 781 7y agoBut the actual syscall is made by a Windows user mode library - kernel32.dll/... So your GPL user mode app calls directly into proprietary Windows library.
- temac 7y agoThe Linux kernel will be isolated by an hypervisor.
- leeter 7y agoMy guess? Because they aren't linking to it. Longer guess: I suspect they are doing some fancy virtualization tricks here to service calls directly like they would a VM but in a VERY lightweight manner similar to containers. This fits with other announcements concerning containers that were also made today. Again this is all supposition without any actual knowledge.
- nickpsecurity 7y agoThat's a trick the separation kernels and micro-hypervisors (esp OKL4) were advertising years ago: http://linuxdevices.org/using-a-hypervisor-to-reconcile-gpl-and-proprietary-embedded-code/ http://linuxdevices.org/using-a-hypervisor-to-reconcile-gpl-... Such tricks are one of the reasons I support stronger copyleft like License Zero's Parity. Otherwise, they just loophole their way out of stuff.
- arghwhat 7y agoYes, it is perfectly okay to dynamically link with a GPL component from a proprietary component, as long as that component is remains handled as per GPL. (You kind of need to be able to use GPL code dynamically to be able to run it from a proprietary OS of any kind in any way.)
- dragonwriter 7y ago> I thought the GPL would require Microsoft to ship the Windows source code? I'm inclined to think Windows is not a derivative work of the Linux kernel by any remotely tenable legal theory, but anyone with code in the kernel they are shipping willing to take the other side of that bet against Microsoft’s legal team has the option to try.
- Mikeb85 7y agoThe same way binary blobs are allowed in the kernel, or Android can ship with proprietary bits, etc...
- cesarb 7y agoIt hinges on the definition of "derived work" (anything outside derived work is outside copyright's effects, and the GPLv2 uses only copyright to give it effect). Their WSL2 Linux kernel will clearly be a derived work of the Linux kernel, so they obviously will provide full source code of that; the rest of Windows most probably won't.