public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	Alex Lyashkov <umka@cloudlinux.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: lve module taint?
Date: Wed, 19 Sep 2012 08:19:42 +0100	[thread overview]
Message-ID: <20120919071942.GF16905@kroah.com> (raw)
In-Reply-To: <50595EF1.6050003@msgid.tls.msk.ru>

On Wed, Sep 19, 2012 at 09:58:09AM +0400, Michael Tokarev wrote:
> On 19.09.2012 06:02, Rusty Russell wrote:
> 
> > From:	Matthew Garrett <mjg59@srcf.ucam.org>
> > Subject: module: taint kernel when lve module is loaded
> > Date: Fri, 22 Jun 2012 13:49:31 -0400
> > 
> > Cloudlinux have a product called lve that includes a kernel module. This
> > was previously GPLed but is now under a proprietary license, but the
> > module continues to declare MODULE_LICENSE("GPL") and makes use of some
> > EXPORT_SYMBOL_GPL symbols. Forcibly taint it in order to avoid this.
> 
> > +	/* lve claims to be GPL but upstream won't provide source */
> > +	if (strcmp(mod->name, "lve") == 0)
> > +		add_taint_module(mod, TAINT_PROPRIETARY_MODULE);
> 
> This is setting a, in my opinion, rather bad precedent.  Next we'll
> be adding various modules here due to various reasons.
> 
> I think this case should be pure political now, not technical.  Ie,
> if some project declares itself as GPL, it is not kernel task to
> verify that the sources are available or to enforce that.

But when such code is known to lie, we have the responsibility to
enforce it, right?  We already do this for other module, it's not the
first time, and hopefully we will not have to continue extending this
"blacklist" to more modules, but real-world experience tends to make me
thing otherwise :(

Rusty, no objection from me for the patch.

thanks,

greg k-h

  reply	other threads:[~2012-09-19  7:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19  2:02 lve module taint? Rusty Russell
2012-09-19  5:58 ` Michael Tokarev
2012-09-19  7:19   ` Greg KH [this message]
2012-09-19 22:59     ` Rusty Russell

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=20120919071942.GF16905@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=mjt@tls.msk.ru \
    --cc=rusty@rustcorp.com.au \
    --cc=umka@cloudlinux.com \
    /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