public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Nasty Requirements for non-GPL Linux Kernel Modules?
@ 2001-05-09 17:50 Scott C. Karlin
  2001-05-09 18:06 ` Alan Cox
  0 siblings, 1 reply; 9+ messages in thread
From: Scott C. Karlin @ 2001-05-09 17:50 UTC (permalink / raw)
  To: linux-kernel

It appears that Linus Torvalds has stated that it is possible
to have a non-GPL'd (or even binary only) Linux device driver
kernel module dynamically linked to the kernel "assuming all
the nasty requirements are met." [see reference below]

What, specifically, are the "nasty requirements?"

  * Is it simply that it must compile separately from the kernel
    and load via insmod?

  * May I #include kernel header files in my module?

  * If so, which ones?

  * What if these header files have inline functions?
    (Does it matter?)

If I don't hear from Linus directly, can someone point me to
a document, file, or mailing list thread where this might be
spelled out.

As part of our operating system / networking research, we have
written a loadable kernel module for Linux.  We would like to
distribute the source but we're not sure if our development
office will allow us to release it under the GPL (at least
initially).  Before meeting with the lawyers, I'm trying to
learn what I can about the issue.

Thanks,
Scott


Reference:

Linux Kernel mailing list thread, "Is it OK to release non-GPL
network driver with source?" started 06 Sep 2000.  Specifically,
see http://lists.insecure.org/linux-kernel/2000/Sep/1491.html
which is copied here:

On 07 Sep 2000, Linus Torvalds writes:
>
> In article <20000906161126.B30302@ranma.sysrq.org>, Dave Allen wrote: 
> > 
> > My company is currently working on a linux network driver (I'm sorry, 
> > but I can't disclose which company or the nature of the driver right 
> > now). However, recent discussions on this list have made me grow 
> > concerned about licensing problems with the GPL. 
> > 
> > The source code for the driver _is_ going to be available, but it will 
> > not be GPL'd. 
> 
> Note that whenever it's not GPL'd, all the module restrictions kick in. 
> So it's going to be "legal" the same way any binary only module is 
> "legal" - assuming all the nasty requirements are met. For something as 
> simple (from a conceptual standpoint, not necessarily an implementation 
> standpoint) as a network driver, doing that is not likely to be a big 
> problem. 
> 
> It obviously cannot be linked into the kernel, but as a loadable module 
> it's ok as long as it uses the standard interfaces and nothing more. 
> 
> And sure, having source available might make it easier for people to 
> help you: it can't become part of the standard kernel, and as such it 
> will never be supported, but that's true of binary-only modules too. 
> 
> I wouldn't recommend it, but I don't see that it would be an 
> insurmountable problem. 
> 
>         Linus 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-05-14  6:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-09 17:50 Nasty Requirements for non-GPL Linux Kernel Modules? Scott C. Karlin
2001-05-09 18:06 ` Alan Cox
2001-05-09 18:48   ` Larry McVoy
2001-05-09 18:58     ` mirabilos
2001-05-09 19:11     ` Alan Cox
2001-05-13  9:32       ` Kai Henningsen
2001-05-13 10:59         ` Mike Galbraith
2001-05-13 18:18           ` Kai Henningsen
2001-05-14  6:21             ` Mike Galbraith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox