module: taint kernel when lve module is loaded
commit1c40e1c8d1e50dca33dc3f3f9dbb046f4996c2be
authorMatthew Garrett <mjg59@srcf.ucam.org>
Fri, 22 Jun 2012 17:49:31 +0000 (22 13:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Oct 2012 16:32:41 +0000 (21 09:32 -0700)
treee539b4fe1262440a9da38ed0624975e6a1320a6d
parentda1e481fd9ce08caf46bacb5a0e29e9007e3b59c
module: taint kernel when lve module is loaded

commit c99af3752bb52ba3aece5315279a57a477edfaf1 upstream.

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.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Alex Lyashkov <umka@cloudlinux.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/module.c