GPL issues
Quoted 11 lines
3. Userspace code that uses interfaces that was not exposed to userspace before you change the kernel --> GPL (but don't do it; there's almost always a reason why an interface is not exported to userspace)
4. Userspace code that only uses existing interfaces --> choose license yourself (but of course, GPL would be nice...)
5. Userspace code that depends on interfaces you added to the kernel --> consult a lawyer (if this interface is something completely new, you can *probably* use your own license for the userland part; if the interface is more or less a wrapper of existing functionality, GPL)
An example could be helpful in clarifying the GPL license.
Suppose I use the linux-vrf patch for the kernel that is freely available and use the extended setsocket options such as SO_VRF in an application, do I have to release my application under GPL since I am using a facility in the kernel that a standard linux kernel does not provide?
Suppose my LKM driver adds a extra header to all outgoing packets and removes the extra header from the incoming packets, should this driver be released under GPL.? In a way it extends the functionality of linux, if I do release the driver code under GPL because this was built with linux in mind, Should I release the application which adds intelligence to interpret the extra header under GPL?
Thanks,
Pramod
Quoted 20 lines · Pramod Srinivasan
Quoted 11 lines
3. Userspace code that uses interfaces that was not exposed to userspace before you change the kernel --> GPL (but don't do it; there's almost always a reason why an interface is not exported to userspace)
4. Userspace code that only uses existing interfaces --> choose license yourself (but of course, GPL would be nice...)
5. Userspace code that depends on interfaces you added to the kernel --> consult a lawyer (if this interface is something completely new, you can *probably* use your own license for the userland part; if the interface is more or less a wrapper of existing functionality, GPL)
An example could be helpful in clarifying the GPL license.
Suppose I use the linux-vrf patch for the kernel that is freely available and use the extended setsocket options such as
SO_VRFin an application, do I have to release my application under GPL since I am using a facility in the kernel that a standard linux kernel does not provide?
Quoted 6 lines
Suppose my LKM driver adds a extra header to all outgoing packets and removes the extra header from the incoming packets, should this driver be released under GPL.? In a way it extends the functionality of linux, if I do release the driver code under GPL because this was built with linux in mind, Should I release the application which adds intelligence to interpret the extra header under GPL?
As I said above, you need to consult a lawyer in unclear cases. The examples you list above seems innocent enough, but again, I am not a lawyer. A lot has to do with intent. Are you exporting things to userland just to workaround the GPL? If so, you're likely violating the GPL... =)
Regards: david
Signature · 3 lines
/) David Weinehall <[email protected]> /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
<obligatory_ianal_marker>
Quoted 6 lines
Suppose I use the linux-vrf patch for the kernel that is freely available and use the extended setsocket options such as
SO_VRFin an application, do I have to release my application under GPL since I am using a facility in the kernel that a standard linux kernel does not provide?
If vrf has no other uses besides your proprietary application, I'd shudder.
Quoted 7 lines
Suppose my LKM driver adds a extra header to all outgoing packets and removes the extra header from the incoming packets, should this driver be released under GPL.? In a way it extends the functionality of linux, if I do release the driver code under GPL because this was built with linux in mind, Should I release the application which adds intelligence to interpret the extra header under GPL?
I don't know an answer (not even a rough one), since there is AFAICS one example of what you describe: the CiscoVPN kernel module. The source is available (so you have a chance to run it on any kernel you like), but it's got a typical EULA. No sign of GPL.
Jan Engelhardt
Quoted 4 lines · Jan Engelhardt
I don't know an answer (not even a rough one), since there is AFAICS one example of what you describe: the CiscoVPN kernel module. The source is available (so you have a chance to run it on any kernel you like), but it's got a typical EULA. No sign of GPL.
A matter some people have on their list of targets...
Quoted 11 lines · Jan Engelhardt
<
obligatory_ianal_marker>Quoted 6 lines
Suppose I use the linux-vrf patch for the kernel that is freely available and use the extended setsocket options such as
SO_VRFin an application, do I have to release my application under GPL since I am using a facility in the kernel that a standard linux kernel does not provide?If vrf has no other uses besides your proprietary application, I'd shudder.
So in order for you not to shudder the vrf people have to write a GPL'd program or convince someone else to write one?
That sounds .. really odd.
Or more to the point, someone ONLY writes kernelmode stuff, doesn't touch userspace at all. A proprietary app shows up that uses it, and all of a sudden this guy's kernelmode whatever is disliked cause noone wrote any GPL'd program for it?
That's almost forcing the person who wrote the kernel part to write a GPL'd program JUST because there is a proprietary program using his stuff - and THAT is insane.
// Stefan
Hello!
Quoted 3 lines
That's almost forcing the person who wrote the kernel part to write a GPL'd program JUST because there is a proprietary program using his stuff - and THAT is insane.
If the kernel part does something, which can work _separately_, i.e., do something useful without the proprietary program, then it's very likely OK. Otherwise, the proprietery program cannot be considered a work separate from the kernel part.
Have a nice fortnight
Signature · 3 lines
Martin `MJ' Mares <[email protected]> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth If Bill Gates had a nickel for every time Windows crashed... ..oh wait, he does.
Quoted 8 lines
An example could be helpful in clarifying the GPL license.
Suppose I use the linux-vrf patch for the kernel that is freely available and use the extended setsocket options such as
SO_VRFin an application, do I have to release my application under GPL since I am using a facility in the kernel that a standard linux kernel does not provide?
Almost definitely not. Here you have two works that provide two distinctly
different functions and communicate across a well-defined boundary. In theory, the two works could have been developed completely independently, so one cannot be a derivative work of the other.
The thing you need to remember is that the API that userspace uses to
communicate with the kernel is itself a work. In this case, it almost certainly is purely functional and contains no protectable, copyrightable content. Both the kernel changes and the user-space code take only from the API. They do not take from each other.
DS