linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: linux-kernel@vger.kernel.org
Subject: Re: incorrect taint of ndiswrapper
Date: Thu, 26 Oct 2006 09:00:02 -0700	[thread overview]
Message-ID: <20061026090002.49b04f1b@freekitty> (raw)
In-Reply-To: 1161859199.12781.7.camel@localhost.localdomain

On Thu, 26 Oct 2006 11:39:59 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> Ar Mer, 2006-10-25 am 20:59 -0700, ysgrifennodd Andrew Morton:
> > May be so.  But this patch was supposed to print a helpful taint message to
> > draw our attention to the fact that ndis-wrapper was in use.  The patch was
> > not intended to cause gpl'ed modules to stop loading 
> 
> The stopping loading is purely because it now uses _GPLONLY symbols,
> which is fine until the user wants to load a windows driver except for
> the old CIPE driver. Some assumptions broke somewhere along the way and
> the chain of events that was never forseen unfolded.
> 
> > Now, if we do want to disallow gpl module loading after ndis-wrapper has
> > been used then fine
> 
> The problem is we do the dynamic link at module load time. We would have
> to unlink the module if it tried to taint itself, which is clearly not
> what the end user needs to suffer. Having the taint function actually
> taint and printk + return a "Linked gplonly you can't" error seems the
> better solution.
> 
> Really ndiswrapper shouldn't be using _GPLONLY symbols, that would
> actually make it useful to the binary driver afflicted again and more
> likely to be legal.
> 

What are the symbols in question? A simple test would be to take the GPL
MODULE_LICENSE() off of ndiswrapper and try loading it.

-- 
Stephen Hemminger <shemminger@osdl.org>

  parent reply	other threads:[~2006-10-26 16:05 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-25 20:11 incorrect taint of ndiswrapper Pavel Roskin
2006-10-25 20:30 ` Alan Cox
2006-10-25 20:40   ` Kyle Moffett
2006-10-25 21:04     ` Alan Cox
2006-10-25 21:06   ` Pavel Roskin
2006-10-25 21:33     ` David Weinehall
2006-10-25 22:02       ` Pavel Roskin
2006-10-25 22:54         ` Alan Cox
2006-10-25 22:58       ` Alan Cox
2006-10-26  3:23         ` David Weinehall
2006-10-26 13:13           ` Thierry Vignaud
2006-10-26 13:21             ` Gianluca Alberici
2006-10-26  3:59   ` Andrew Morton
2006-10-26  9:03     ` Gianluca Alberici
2006-10-26 10:39     ` Alan Cox
2006-10-26 12:21       ` Giacomo A. Catenazzi
2006-10-26 12:59         ` Gianluca Alberici
2006-10-26 14:41       ` Al Viro
2006-10-26 14:55         ` Alan Cox
2006-10-26 16:00       ` Stephen Hemminger [this message]
2006-10-26 16:26         ` Gianluca Alberici
2006-10-27 14:24           ` Arjan van de Ven
2006-10-27 15:14             ` Stephen Hemminger
2006-10-26 19:19       ` Pavel Roskin
2006-10-26 21:46         ` Adrian Bunk
2006-10-26 22:29           ` Pavel Roskin
2006-10-26 23:00             ` Adrian Bunk
2006-10-26 23:36               ` Sven-Haegar Koch
2006-10-27  0:57                 ` Adrian Bunk
2006-10-26 23:47               ` Pavel Roskin
2006-10-27 12:52             ` Roland Kuhn
2006-10-27 15:53               ` Pavel Roskin
2006-10-26 17:26     ` [PATCH ??] " Randy Dunlap
2006-10-27 14:23       ` Arjan van de Ven
2006-10-27 15:27         ` Randy Dunlap
2006-10-27 18:26           ` Andrew Morton
2006-10-27 22:56             ` Florin Malita
2006-10-27 22:56               ` Randy Dunlap
2006-10-27 23:05               ` Alan Cox
2006-10-27 23:02                 ` Randy Dunlap
2006-10-27 23:12                 ` Florin Malita
2006-10-27 23:23                 ` Oleg Verych
2006-10-29 11:27             ` Gianluca Alberici
2006-10-27 21:32         ` Florin Malita
2006-10-27  4:32     ` Florin Malita
  -- strict thread matches above, loose matches on Subject: below --
2006-10-23  5:41 Giridhar Pemmasani
2006-10-23  5:53 ` Gianluca Alberici
2006-10-23  6:25 ` Chase Venters
2006-10-23  6:41   ` Giridhar Pemmasani
2006-10-23  6:48     ` Gianluca Alberici
2006-10-23  7:12     ` Chase Venters
2006-10-23 11:07       ` Giridhar Pemmasani
2006-10-23  9:10     ` Gianluca Alberici
2006-10-23  9:39     ` Michal Schmidt
2006-10-23  8:24 ` Bernd Petrovitsch
2006-10-23 10:41 ` Alan Cox
2006-10-23 11:35   ` Giridhar Pemmasani
2006-10-23 13:00     ` Alan Cox
2006-10-24  2:43       ` Giridhar Pemmasani
2006-10-24  3:11         ` Randy Dunlap
2006-10-24 12:12           ` Pekka Enberg
2006-10-24 12:22             ` Alan Cox
2006-10-24 14:07         ` Alan Cox
2006-10-23 18:36   ` Zan Lynx
2006-10-24 11:59     ` Jan Engelhardt

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=20061026090002.49b04f1b@freekitty \
    --to=shemminger@osdl.org \
    --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;
as well as URLs for NNTP newsgroup(s).