4 ms·
I feel like all this needless bureaucracy could've been avoided completely if Linux hadn't turned into a target for everyone to (try to) put code in. The GPL al
by userbinator 6y ago
I feel like all this needless bureaucracy could've been avoided completely if Linux hadn't turned into a target for everyone to (try to) put code in. The GPL allows modification and redistribution, after all.
With this patch applied, any module that imports symbols from a proprietary module is itself marked as being proprietary, denying it access to GPL-only symbols.
That's starting to sound like DRM.
- josephcsible 6y ago> That's starting to sound like DRM. It's close, but the key difference is it doesn't actually restrict the user, since you're both legally allowed and technically able to build and use a kernel without that code.
- alsdkfjkqjwer 6y agoThat's the fallacy Google and Netflix used to push DRM into your proprietary GoogleChrome and open source GoogleChromium/MozillaFirefox browsers. whatever helps you sleep at night...
- josephcsible 6y agoIf you remove the DRM from your browser, then you can't watch some content anymore. That's not the case with this code. You can remove it with no loss of functionality.
- trasz 6y agoNot being able to use functionality because it never got implemented due to some licensing shenanigans does not restrict the user?
- cycloptic 6y agoIt's not DRM, the entire check basically amounts to "if (strcmp(license, "GPL") != 0)", where "license" is a user supplied string.
- userbinator 6y agoDRM is DRM regardless of how trivial it is to bypass. What you should really be asking yourself is why such code even exists, since it is very much against the spirit of free software. Linux(s) has the right to not accept contributions, but to effectively get in the way of others who do want to make the changes despite them being perfectly acceptable and perhaps even encouraged by the GPL just seems very wrong to me.
- pritambaral 6y ago> What you should really be asking yourself is why such code even exists I think TFA makes that abundantly clear. Repeating here for your benefit: "Symbols exported as GPL-only by the kernel are made unavailable to proprietary modules, but there has always been a bit of a loophole in how this is enforced. "Hellwig's patch does not entirely close this loophole, but it makes exploiting it a bit harder. "This episode, where a proprietary module helped send a significant development project in the wrong direction and makes it nearly impossible to implement this functionality in a way that works with all GPUs, demonstrates one of the reasons why the development community sees those modules as being harmful. > since it is very much against the spirit of free software. I fail to see how this is even remotely the case. Or do you consider copyleft licenses to be "against the spirit of free software"? > ... and perhaps even encouraged by the GPL The point of the patch is, literally, to help enforce the GPL. From TFA: "With this patch applied, any module that imports symbols from a proprietary module is itself marked as being proprietary, denying it access to GPL-only symbols. If the shim module has already accessed GPL-only symbols by the time it gets around to importing symbols from the proprietary module, that import will not be allowed." Linking to a proprietary module should make your code proprietary too. If you're proprietary, you shouldn't be able to link against GPL code anyway. Isn't _that_ the point of copyleft?
- userbinator 6y agoI fail to see how this is even remotely the case. Or do you consider copyleft licenses to be "against the spirit of free software"? Actively making it harder for people to modify software for their own use is definitely against the spirit of free software! Copyleft has nothing to do with that, and is only about distribution of your modifications. The point of the patch is, literally, to help enforce the GPL. Once again, the GPL places restrictions on public distribution, not private use/modification/etc. It seems there is this insanity where some people want to split the world in half between "free" and "non-free", and such things are entirely ridiculous in reality. If they had their way I'm sure we wouldn't even be allowed to talk to them if we had ever used proprietary software at all. IMHO such antagonism is really bad for free software too. It reminds me of what Stallman did with GCC... and look how well that turned out (Clang etc.) From TFA: "With this patch applied, any module that imports symbols from a proprietary module is itself marked as being proprietary, denying it access to GPL-only symbols. If the shim module has already accessed GPL-only symbols by the time it gets around to importing symbols from the proprietary module, that import will not be allowed." Your code is running in kernel mode, which already means you can jump, call, and modify whatever you damn well want to! This is why I view such silly exercises as needless bureaucracy (and complexity). If official Linux wants to keep proprietary code out of the kernel, that's their right, but don't go out of your way to fight everyone else. It's my computer, I get to run whatever code I want to. Isn't that what free software is about...?
- blihp 6y agoOne of the primary advantages for authors in contributing back code is to get their features/bug fixes incorporated so that they are maintained going forward and you don't have to maintain a separate code base yourself (i.e. saving work) If you maintain your own obscure fork, you lose many of the benefits of contributing code. This is particularly true for many for-profit companies: they want to forget about any driver work they contributed the second they stop making money selling it.
- userbinator 6y agoI'm sure Facebook has enough resources to maintain its own custom kernel with what it wants --- if it's not already doing so. Google might be doing the same too.
- blihp 6y agoSure, FAANG companies have enough resources to do pretty much whatever they want. The rest of the world doesn't, which is what I presumed 'target for everyone' was referring to.