r/linux • • Oct 26 '21

Alternative OS Kerla: A new operating system kernel with Linux binary compatibility written in Rust.

https://github.com/nuta/kerla
1.4k Upvotes

319 comments sorted by

View all comments

Show parent comments

1

u/Drwankingstein Oct 26 '21

Yes it has,

  1. Android runs its own forked kernel that provides interface for proprietary drivers to talk with the kernel, in fact as of recently that will be one of the few things that is different about AOSP kernel. these changes are opensource.

  2. Plenty of companies have been caught using GPL code and forced to OSS their software, OSS licenses are enforceable in the USA.

1

u/mmstick Desktop Engineer Oct 26 '21

The fact that a workaround is possible is already proof that if there's a will, there's a way. Companies that violate the rules will just get better at violating them in the future. Which is quite easy to do with GPL honestly. Just make a GPL microservice, or have your application be a web app.

1

u/Drwankingstein Oct 27 '21

if it was easy, Samsung and LG wouldn't have their TV software opensourced

1

u/mmstick Desktop Engineer Oct 27 '21

I've already documented how it can be done. The GPL was written at a time when the concept of microservices and web services were not in consideration. Hence why the AGPL license was created to extend the GPL to account for these scenarios.

If you aren't using AGPL, your software is easily circumvented with the microservice loophole. Which is because the GPL only covers scenarios where software is linked. Not when, for example, you are using JSON IPC between two separate processes.

Therefore, you can effectively confine GPL code into a GPL microservice while keeping proprietary code secret in another program. At no point does the proprietary program ever have the compiler link to any GPL bits, so it satisfies the GPL requirements.

1

u/SinkTube Oct 27 '21

the workaround is possible because linus made the mistake of going GPLv2 instead of v2+. GPLv3 solves a lot of these problems. and even if some companies are willing to break the law to make their devices proprietary, the vast majority does release kernel sources which are an immense help to third-party devs. the average android would be way more locked down if it used a permissively-licensed kernel