mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: spinlocks, the GPL, and binary-only modules
Date: 19 Nov 2002 23:38:00 -0800	[thread overview]
Message-ID: <1037777880.26594.5.camel@ixodes.goop.org> (raw)
In-Reply-To: <3DDAB6AD.4050400@pobox.com>

On Tue, 2002-11-19 at 14:09, Jeff Garzik wrote:
> blah.
> 
> So, since spinlocks and semaphores are (a) inline and #included into 
> your code, and (b) required for just about sane interoperation with Linux...
> 
> does this mean that all binary-only modules that #include kernel code 
> such as spinlocks are violating the GPL?  IOW just about every binary 
> module out there, I would think...

There are a whole pile of rules and precedents over this.  For one, a
certain code size limit applies, as does the notion of whether there's
any creative input (for example, constants and structure definitions are
not considered creative, because they are simply required for an
interface to work).

One argument is that since the interfaces require you to manipulate the
locks in a particular way, and only a given set of instructions will do
those manipulations correctly, then any correct implementation will
contain those instructions.  Whether they get them from including a
particular header, or by having their own versions of those
instructions, it all looks the same in the binary.  It would be hard
work to claim the presence of those instructions constitutes a derived
work, any more than you could claim the instructions which set the stack
or registers up for a function call constitute a derived work.

	J


  parent reply	other threads:[~2002-11-20  7:33 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-19 22:09 Jeff Garzik
2002-11-20  1:52 ` Rik van Riel
2002-11-20  2:48   ` Josh Myer
2002-11-20  2:59     ` Rik van Riel
2002-11-20  4:26       ` Ross Vandegrift
2002-11-20  6:41         ` archaios
2002-11-20  5:01           ` Andre Hedrick
2002-11-20  5:24           ` Jon Portnoy
2002-11-20  5:47             ` GPL rant -- was: " Zac Hansen
2002-11-20 14:21         ` Alan Cox
2002-11-20 18:57           ` Andre Hedrick
2002-11-20 19:09             ` Daniel Jacobowitz
2002-11-20 19:32               ` Andre Hedrick
2002-11-20 19:33             ` Alan Cox
2002-11-20 19:11               ` Andre Hedrick
2002-11-20 18:57       ` Thomas Langås
2002-11-20 19:15         ` Dana Lacoste
2002-11-20 18:32           ` nick
2002-11-20 19:50             ` Andre Hedrick
2002-11-20 19:16               ` nick
2002-11-21  2:25           ` Rik van Riel
2002-11-21  5:10             ` TAINTED (Re: spinlocks, the GPL, and binary-only modules) Andre Hedrick
2002-11-20  2:49   ` spinlocks, the GPL, and binary-only modules David McIlwraith
2002-11-20  3:06     ` Rik van Riel
2002-11-20  8:12       ` Mark Mielke
2002-11-20 10:17         ` Xavier Bestel
2002-11-20 14:19           ` Alan Cox
2002-11-20 14:09             ` Richard B. Johnson
2002-11-20 18:54             ` Andre Hedrick
2002-11-20 19:31               ` Cort Dougan
2002-11-20 19:40                 ` Andre Hedrick
2002-11-20 19:44                   ` Cort Dougan
2002-11-20 19:55                     ` Andre Hedrick
2002-11-20 20:49                       ` Alan Cox
2002-11-20 20:41                         ` Jeff Garzik
2002-11-20 21:15                           ` Alan Cox
2002-11-20 22:03                             ` Andre Hedrick
2002-11-20 22:09                               ` Rik van Riel
2002-11-20 22:15                                 ` Andre Hedrick
2002-11-20 22:43                               ` Alan Cox
2002-11-20 22:17                                 ` Andre Hedrick
2002-11-20 22:36                                 ` Larry McVoy
2002-11-20 23:16                                   ` Eli Carter
2002-11-20 20:01                     ` Andrew Morton
2002-11-20 20:05                       ` Larry McVoy
2002-11-20 18:25           ` Andre Hedrick
2002-11-21 10:36     ` Arjan van de Ven
2002-11-21 13:08       ` Andre Hedrick
2002-11-21 17:02         ` Mark Mielke
2002-11-21 17:21           ` Jeff Garzik
2002-11-22  6:19             ` Mark Mielke
2002-11-22  0:00           ` Andre Hedrick
2002-11-20  4:12   ` Some like it HOT! (Re: spinlocks, the GPL, and binary-only modules) Andre Hedrick
2002-11-20  6:21 ` spinlocks, the GPL, and binary-only modules Andre Hedrick
2002-11-20  7:38 ` Jeremy Fitzhardinge [this message]
2002-11-20  3:03 David McIlwraith
2002-11-20  6:31 Samium Gromoff
2002-11-20  8:27 ` Mark Mielke
2002-11-20 19:09 Nicholas Berry
     [not found] <fa.fglehrv.95g32b@ifi.uio.no>
     [not found] ` <fa.h7et98v.hjm1of@ifi.uio.no>
2002-11-21  0:03   ` Russ Allbery
     [not found] <fa.onsrmsv.1g08thi@ifi.uio.no>
     [not found] ` <fa.ni4tkev.3ge008@ifi.uio.no>
2002-11-21  9:05   ` Giacomo Catenazzi
2002-11-21 16:54 Herman Oosthuysen

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=1037777880.26594.5.camel@ixodes.goop.org \
    --to=jeremy@goop.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome