mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Estabrooks <seanlkml@rogers.com>
To: Marc Boucher <marc@linuxant.com>
Cc: rusty@rustcorp.com.au, linux-kernel@vger.kernel.org,
	riel@redhat.com,
	tconnors+linuxkernel1083378452@astro.swin.edu.au,
	mbligh@aracnet.com, torvalds@osdl.org, nico@cam.org
Subject: Re: [PATCH] clarify message and give support contact for non-GPL modules
Date: Sat, 1 May 2004 18:22:45 -0400	[thread overview]
Message-ID: <20040501182245.3acce85d.seanlkml@rogers.com> (raw)
In-Reply-To: <3F6634E3-9BB9-11D8-B83D-000A95BCAC26@linuxant.com>

On Sat, 1 May 2004 17:48:14 -0400
Marc Boucher <marc@linuxant.com> wrote:

> Sean,
> 
> I think that your wording is problematic, because:
> 
> - A module with non-GPL license could be distributed in source form.
> - Its author can also be an individual or organization, not necessarily 
> a vendor.

Patch below attempts to address these concerns.

> - The word "tainted" is confusing and needlessly scary for average 
> users.
> 

Please stop your political agenda of subverting the open source nature of
Linux.   The average user SHOULD find it a scary to run modules
that don't conform to her choice of  OPEN SOURCE OPERATING SYSTEM.    
If the average user wanted to run closed source code she would have picked 
a closed source operating system right?  Lets not let closed source code sneak 
in without putting up big red flags for the user.   Lets make sure that the
USER IS NOT CONFUSED about the nature of the module they're loading.


--- linux-2.6.6-rc3-bk3/kernel/module.c	2004-05-01 16:06:46.769778360 -0400
+++ linux-2.6.6-rc3-bk3-mb/kernel/module.c	2004-05-01 16:38:02.563614352 -0400
@@ -1125,15 +1125,19 @@
 		|| strcmp(license, "Dual MPL/GPL") == 0);
 }
 
-static void set_license(struct module *mod, const char *license)
+static void set_license(struct module *mod, const char *license, const char *author)
 {
 	if (!license)
 		license = "unspecified";
 
 	mod->license_gplok = license_is_gpl_compatible(license);
-	if (!mod->license_gplok) {
-		printk(KERN_WARNING "%s: module license '%s' taints kernel.\n",
-		       mod->name, license);
+	if (!mod->license_gplok && !(tainted & TAINT_PROPRIETARY_MODULE)) {
+		printk(KERN_INFO "%s: module has non-GPL license (%s) kernel is now tainted.\n", mod->name, license);
+		printk(KERN_INFO "%s: Please consider supporting those who provide GPL licensed drivers\n", mod->name);
+		if(author)
+			printk(KERN_INFO "%s: tainted kernel means all support must come from: %s\n", mod->name, author);
+		else
+			printk(KERN_INFO "%s: tainted kernel means all support must come from driver author\n", mod->name);
 		tainted |= TAINT_PROPRIETARY_MODULE;
 	}
 }
@@ -1470,7 +1473,9 @@
 	module_unload_init(mod);
 
 	/* Set up license info based on the info section */
-	set_license(mod, get_modinfo(sechdrs, infoindex, "license"));
+	set_license(mod,
+		get_modinfo(sechdrs, infoindex, "license"),
+		get_modinfo(sechdrs, infoindex, "author"));
 
 	/* Fix up syms, so that st_value is a pointer to location. */
 	err = simplify_symbols(sechdrs, symindex, strtab, versindex, pcpuindex,


  parent reply	other threads:[~2004-05-01 22:22 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <009701c42edf$25e47390$ca41cb3f@amer.cisco.com>
     [not found] ` <40929F5B.9090603@techsource.com>
2004-04-30 18:58   ` [PATCH] Blacklist binary-only modules lying about their license Hua Zhong
2004-04-30 20:14   ` Bartlomiej Zolnierkiewicz
2004-04-30 19:19 ` Linus Torvalds
2004-04-30 19:37   ` Hua Zhong
2004-04-30 22:47     ` Allowing only "-g" compiled modules! (was: [PATCH] Blacklist binary-only modules lying about their license) Jan-Benedict Glaw
2004-04-30 20:11   ` [PATCH] Blacklist binary-only modules lying about their license Marc Boucher
2004-04-30 20:26     ` Linus Torvalds
2004-04-30 20:39       ` Marc Boucher
2004-04-30 20:44         ` Linus Torvalds
2004-04-30 20:53           ` Marc Boucher
2004-04-30 21:05             ` Linus Torvalds
2004-04-30 21:10             ` Timothy Miller
2004-04-30 20:46         ` Sean Estabrooks
2004-04-30 20:34     ` Stefan Smietanowski
2004-04-30 20:47     ` A compromise that could have been reached. " Timothy Miller
2004-04-30 21:07       ` Marc Boucher
2004-04-30 21:16         ` Rik van Riel
2004-04-30 21:38         ` Timothy Miller
2004-04-30 22:05           ` Marc Boucher
2004-05-01  2:36           ` Tim Connors
2004-05-01  0:40     ` Jorge Bernal
2004-05-01  5:07     ` Martin J. Bligh
2004-05-01 19:12       ` Marc Boucher
2004-05-01 19:27         ` Davide Libenzi
2004-05-01 19:32         ` Zwane Mwaikambo
2004-05-01 19:33         ` Sean Estabrooks
2004-05-01 22:14           ` Randy.Dunlap
2004-05-01 19:47         ` Nicolas Pitre
2004-05-01 20:53           ` [PATCH] clarify message and give support contact for non-GPL modules Marc Boucher
2004-05-01 21:34             ` Sean Estabrooks
2004-05-01 21:48               ` Marc Boucher
2004-05-01 21:53                 ` Sean Estabrooks
2004-05-01 22:22                 ` Sean Estabrooks [this message]
2004-05-01 22:53                   ` Marc Boucher
2004-05-01 23:10                     ` viro
2004-05-02  7:04                       ` Xavier Bestel
2004-05-04 17:06                       ` Timothy Miller
2004-05-01 22:48                 ` Linus Torvalds
2004-05-01 23:28                   ` Marc Boucher
2004-05-02  0:22                     ` Linus Torvalds
2004-05-02  1:02                       ` Marc Boucher
2004-05-02 12:43                         ` Sean Estabrooks
2004-05-02 13:05                           ` Paul Rolland
2004-05-02 15:35                             ` Marc Boucher
2004-05-02 15:45                               ` Sean Estabrooks
2004-05-04 17:09                     ` Timothy Miller
2004-05-01 20:47         ` [PATCH] Blacklist binary-only modules lying about their license Martin J. Bligh
2004-05-01 20:58           ` Marc Boucher
2004-05-03  0:04         ` Horst von Brand

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=20040501182245.3acce85d.seanlkml@rogers.com \
    --to=seanlkml@rogers.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc@linuxant.com \
    --cc=mbligh@aracnet.com \
    --cc=nico@cam.org \
    --cc=riel@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=tconnors+linuxkernel1083378452@astro.swin.edu.au \
    --cc=torvalds@osdl.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