Re: [PATCH] compat: makes all compat symbolsEXPORT_SYMBOL_GPL()

From: Arend van Spriel
Date: Mon Mar 05 2012 - 04:40:16 EST


On 03/03/2012 05:15 PM, Alan Cox wrote:
Some of the modules in this patch are dual-licensed. I was under the
impression that EXPORT_SYMBOL_GPL was specifically for GPL-only code
although I could not find any specifics in the Documentation folder. Do
you (or someone else) have a reference on this topic?

If your code is licensed GPL or greater rights then you shouldn't have a
problem. The module loader recognizes

"GPL"
"GPL v2"
"GPL and additional rights"
"Dual BSD/GPL"
"Dual MIT/GPL"
"DUal MPL/GPL"

as legitimate users of _GPL. Any work which is derivative of the kernel
(which in practise I suspect means almost any module) will need a GPL
compatible licence anyway.


Hi, Alan

I found the list above in module.h, but was not sure whether it was ok to use _GPL for dual license. Thanks for clarifying this.

Gr. AvS

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/