On Wed, Dec 13, 2006 at 02:09:11PM -0800, Greg KH wrote:
> On Wed, Dec 13, 2006 at 01:47:21PM -0800, Andrew Morton wrote:
> > On Wed, 13 Dec 2006 13:32:50 -0800
> > Martin Bligh <[EMAIL PROTECTED]> wrote:
> > 
> > > So let's come out and ban binary modules, rather than pussyfooting
> > > around, if that's what we actually want to do.
> > 
> > Give people 12 months warning (time to work out what they're going to do,
> > talk with the legal dept, etc) then make the kernel load only GPL-tagged
> > modules.
> > 
> > I think I'd favour that.  It would aid those people who are trying to
> > obtain device specs, and who are persuading organisations to GPL their 
> > drivers.
> 
> Ok, I have no objection to that at all.  I'll whip up such a patch in a
> bit to spit out kernel log messages whenever such a module is loaded so
> that people have some warning.

Here you go.  The wording for the feature-removal-schedule.txt file
could probably be cleaned up.  Any suggestions would be welcome.

thanks,

greg k-h

-----------
From: Greg Kroah-Hartmna <[EMAIL PROTECTED]>
Subject: Notify non-GPL module loading will be going away in January 2008

Numerous kernel developers feel that loading non-GPL drivers into the
kernel violates the license of the kernel and their copyright.  Because
of this, a one year notice for everyone to address any non-GPL
compatible modules has been set.

Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

---
 Documentation/feature-removal-schedule.txt |    9 +++++++++
 kernel/module.c                            |    6 +++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

--- gregkh-2.6.orig/Documentation/feature-removal-schedule.txt
+++ gregkh-2.6/Documentation/feature-removal-schedule.txt
@@ -281,3 +281,12 @@ Why:       Speedstep-centrino driver with ACPI
 Who:   Venkatesh Pallipadi <[EMAIL PROTECTED]>
 
 ---------------------------
+
+What:  non GPL licensed modules will able to be loaded successfully.
+When:  January 2008
+Why:   Numerous kernel developers feel that loading non-GPL drivers into the
+       kernel violates the license of the kernel and their copyright.
+
+Who:   Greg Kroah-Hartman <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>
+
+---------------------------
--- gregkh-2.6.orig/kernel/module.c
+++ gregkh-2.6/kernel/module.c
@@ -1393,9 +1393,13 @@ static void set_license(struct module *m
                license = "unspecified";
 
        if (!license_is_gpl_compatible(license)) {
-               if (!(tainted & TAINT_PROPRIETARY_MODULE))
+               if (!(tainted & TAINT_PROPRIETARY_MODULE)) {
                        printk(KERN_WARNING "%s: module license '%s' taints "
                                "kernel.\n", mod->name, license);
+                       printk(KERN_WARNING "%s: This module will not be able "
+                               "to be loaded after January 1, 2008 due to its "
+                               "license.\n", mod->name);
+               }
                add_taint_module(mod, TAINT_PROPRIETARY_MODULE);
        }
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to