public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: [WAS: keyboard stops working] Recent kernels block the loading of non-GPL kernel modules
Date: Wed, 19 Aug 2015 07:00:15 -0400	[thread overview]
Message-ID: <CAGfcS_n2+hYTA=YpiZkaV8ixHgtLLiXHipSAhv-ANUN9tO_XZg@mail.gmail.com> (raw)
In-Reply-To: <55D3F412.5000405@gentoo.org>

On Tue, Aug 18, 2015 at 11:12 PM, Michael Orlitzky <mjo@gentoo.org> wrote:
> On 08/18/2015 08:39 PM, Dale wrote:
>>
>> Here's a clue.  Why doesn't the kernel devs let users decide what
>> drivers they are comfy with using?  If they don't like the drivers, then
>> make it so that users have to install their own just like we have for
>> ages but don't disable them or make them not load and work.
>
> A lot of people build and distribute kernels. The EXPORT_SYMBOL_GPL
> thing is there to prevent those people from linking closed-source
> modules against certain parts of the kernel, because the result would
> not be distributable under the GPL. The legal issue is there regardless:
> you can't link closed-source stuff to GPL code and then distribute the
> result.
>

I don't really buy into that argument here.

What makes nvidia.ko a derivative-work of the kernel?  It doesn't
contain any code not written by them.

I can buy into the argument that once it is loaded into memory and
linked against the kernel that the image in RAM becomes a derivative
work, but nobody is making copies of that image or redistributing it.

Take a 1950s science-fiction movie.  If you add voice-over and call it
Mystery Science Theater 3000 that is a derivative work, because it
incorporates parts of the original work.  If you put the voice-over on
separate media and call it Rifftrax it isn't a derivative work,
because it doesn't incorporate any elements of the original.  That
remains true even if it is dynamically linked to the original by
adding an instruction to unpause the recording when the movie title
appears.

The whole GPL-prevents-linking argument seems rather tenuous to me,
and as far as I'm aware it has never been upheld by a court.  It is of
course accepted as gospel in FOSS circles, but as far as I can tell it
is based on arguments that are similar to those employed by the likes
of Oracle and SCO wanting to copyright enums and APIs.

If somebody distributes a modified kernel I buy that they have to
publish the source code.  If somebody says "take your kernel image and
insert this blob of bytes at address foo" I don't see how making or
obeying that statement is illegal.  Well, a dynamic library or kernel
module is just a standardized way of doing just that.

The patch I wrote is arguably a derivative work of the kernel
(reproduced here for convenience):

diff --git a/include/linux/export.h b/include/linux/export.h
index 96e45ea..b1bc4c3 100644
--- a/include/linux/export.h
+++ b/include/linux/export.h
@@ -69,7 +69,7 @@ extern struct module __this_module;
        __EXPORT_SYMBOL(sym, "")

 #define EXPORT_SYMBOL_GPL(sym)                                 \
-       __EXPORT_SYMBOL(sym, "_gpl")
+       __EXPORT_SYMBOL(sym, "")

 #define EXPORT_SYMBOL_GPL_FUTURE(sym)                          \
        __EXPORT_SYMBOL(sym, "_gpl_future")

Now, instead of writing that suppose I instead had written this: "Edit
the file include/linux/export.h, go to line 72 and remote the text
enclosed in quotation marks, leaving an empty string."  Would that
statement be a derivative work in any way of the kernel?  That would
be like arguing that I own the rights to anything anybody says which
happens to mention my name.

-- 
Rich


  reply	other threads:[~2015-08-19 11:00 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-16 16:45 [gentoo-user] [~amd64] Keyboard stops working several times/day walt
2015-08-16 16:58 ` Alan McKinnon
2015-08-16 19:42   ` [gentoo-user] " walt
2015-08-16 19:48     ` Alan McKinnon
2015-08-16 21:07       ` walt
2015-08-16 21:34         ` Dale
2015-08-16 22:39           ` walt
2015-08-17  5:53             ` Dale
2015-08-18  1:44               ` [gentoo-user] Re: [WAS: keyboard stops working] Recent kernels block the loading of non-GPL kernel modules walt
2015-08-18 20:49                 ` Dale
2015-08-18 23:55                   ` walt
2015-08-19  0:39                     ` Dale
2015-08-19  3:12                       ` Michael Orlitzky
2015-08-19 11:00                         ` Rich Freeman [this message]
2015-08-19 19:06                           ` Fernando Rodriguez
2015-08-19 21:28                             ` Rich Freeman
2015-08-19 22:09                               ` Michael Orlitzky
2015-08-19 22:21                                 ` Rich Freeman
2015-08-19 23:14                                   ` Michael Orlitzky
2015-08-19 23:40                                     ` Fernando Rodriguez
2015-08-20  0:04                                       ` Michael Orlitzky
2015-08-20  0:25                                         ` Michel Catudal
2015-08-20  0:38                                           ` Dale
2015-08-20  0:37                                         ` Fernando Rodriguez
2015-08-20  0:48                                           ` Michael Orlitzky
2015-08-20  1:11                                             ` Michel Catudal
2015-08-20  1:20                                             ` Rich Freeman
2015-08-20  2:37                                               ` Fernando Rodriguez
2015-08-20  2:53                                                 ` Rich Freeman
2015-08-20  7:24                                                   ` Fernando Rodriguez
2015-08-20 11:48                                                     ` Rich Freeman
2015-08-20  1:13                                         ` Rich Freeman
2015-08-20  8:40                                           ` Marc Joliet
2015-08-20 11:51                                             ` Rich Freeman
2015-08-20  1:09                                       ` Rich Freeman
2015-08-20  1:41                                         ` Dale
2015-08-20  2:25                                         ` Fernando Rodriguez
2015-08-20  2:43                                           ` Rich Freeman
2015-08-20  3:02                                             ` Fernando Rodriguez
2015-08-19 23:57                                     ` Michel Catudal
2015-08-20  1:05                                     ` Rich Freeman
2015-08-20  1:12                                       ` Michael Orlitzky
2015-08-20  1:24                                         ` Rich Freeman
2015-08-20  1:35                                           ` Michael Orlitzky
2015-08-20  2:39                                             ` Rich Freeman
2015-08-20  3:22                                               ` Michael Orlitzky
2015-08-20 12:00                                                 ` Rich Freeman
2015-08-19 23:30                               ` Fernando Rodriguez
2015-08-20  1:06                                 ` Rich Freeman
2015-08-19  1:54                   ` Rich Freeman
2015-08-19  3:20                     ` Michael Orlitzky
2015-08-19 11:12                       ` Rich Freeman
2015-08-19  7:57                     ` Marc Joliet
2015-08-19  8:06                       ` J. Roeleveld
2015-08-19  9:19                   ` Jeremi Piotrowski
2015-08-19 11:06                     ` Rich Freeman
2015-08-19 12:31                       ` Jeremi Piotrowski
2015-08-19 13:17                         ` Rich Freeman
2015-08-19 22:31                           ` Jeremi Piotrowski
2015-08-20  1:01                             ` Rich Freeman
2015-08-20  1:29                             ` Rich Freeman
2015-08-16 23:27         ` [gentoo-user] Re: [~amd64] Keyboard stops working several times/day Michel Catudal
2015-08-17  1:43           ` walt
2015-08-17  2:37             ` Michel Catudal
2015-08-17  7:17           ` netfab
2015-08-17 18:28             ` mcatudal
2015-08-18  1:13             ` Michel Catudal
2015-08-18  8:04               ` netfab
2015-08-17 16:51 ` [gentoo-user] " Heiko Baums
2015-08-18  2:04   ` [gentoo-user] " walt
2015-08-18 18:38     ` Heiko Baums
2015-08-18 23:40       ` walt
2015-08-17 21:21 ` [gentoo-user] " Marc Joliet
2015-08-18  1:56   ` [gentoo-user] " walt

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='CAGfcS_n2+hYTA=YpiZkaV8ixHgtLLiXHipSAhv-ANUN9tO_XZg@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --cc=gentoo-user@lists.gentoo.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