From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: GPL-only symbol Error
Date: Wed, 23 Nov 2011 11:28:58 -0800 [thread overview]
Message-ID: <20111123192858.GA30654@kroah.com> (raw)
In-Reply-To: <6F5DE7538AFCDA45A114F5E7510424A702D3E4D6@hq-exchange01.bytemobile.com>
On Wed, Nov 23, 2011 at 10:31:19AM -0800, Jeff Haran wrote:
> > That's the actual bug: You assume that you can legally make a
> > proprietary Linux kernel module by simply declaring to do so (and going
> > deeper is not quite possible as we do not know the module ....).
>
> I can clearly legally write a user space program that results in calls
> to kernel symbols without publishing it. To do that I load parameters
> into registers and onto the stack and issue a trap to generate a
> system call. A kernel module does almost the same thing, except
> instead of generating a trap, it makes a more traditional function
> call. The difference is technical and I don't see anything in the
> COPYING file that makes any reference to this difference. If I have
> missed that verbiage in the license, please point it out to me.
Please read the first paragraph in the COPYING file in the kernel, it
explains the differences and allows for userspace programs to not be
bound under the license of the rest of the kernel.
> > But your kernel module is very probably a derived work of the Linux
> > kernel anyway and thus automatically and implicitly GPL (even if your
> > whole company may want it, has been told or think otherwise).
>
> "very probably a derived work". That is a big assumption. What in the
> license defines all code that makes calls into kernel symbols via the
> dynamic module loader mechanism different than code that calls into
> that code via a trap?
Again the very license of the kernel itself does that.
greg k-h
prev parent reply other threads:[~2011-11-23 19:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-22 21:48 GPL-only symbol Error Sengottuvelan S
2011-11-22 21:53 ` Jeff Haran
2011-11-22 22:08 ` Sengottuvelan S
2011-11-22 22:34 ` Greg KH
2011-11-22 22:35 ` Jeff Haran
2011-11-22 22:44 ` Greg KH
2011-11-23 0:34 ` Jeff Haran
2011-11-23 0:51 ` Greg KH
2011-11-23 1:09 ` Graeme Russ
2011-11-23 1:21 ` Jeff Haran
2011-11-23 1:39 ` Guillaume Knispel
2011-11-23 2:10 ` Jeff Haran
2011-11-23 2:50 ` Greg KH
2011-11-23 18:05 ` Jeff Haran
2011-11-23 19:32 ` Greg KH
2011-11-23 1:56 ` Greg Freemyer
2011-11-23 2:17 ` Jeff Haran
2011-11-23 2:48 ` Greg KH
[not found] ` <1322045488.28603.17.camel@thorin>
2011-11-23 18:31 ` Jeff Haran
2011-11-23 19:28 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111123192858.GA30654@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).