Re: MODULE_LICENSE and EXPORT_SYMBOL_GPL

Kai Henningsen
2001-10-19T07:23:32Z

kaos@ocs.com.au (Keith Owens) wrote on 18.10.01 in <8658.1003375433@kao2.melbourne.sgi.com>:

> EXPORT_SYMBOL_GPL() allows for new interfaces to be marked as only
> available to modules with a GPL compatible license. This is
> independent of the kernel tainting, but obviously takes advantage of
> MODULE_LICENSE() strings.

Incidentally, an argument can be made that using EXPORT_SYMBOL_GPL
actually renders your code incompatible with the GPL, insofar as it
violates the "additional restriction" clause. Which doesn't matter as long
as it's *only* your code (author can always do different things), but
*does* matter if you add *other* people's GPL code (such as the rest of
the kernel), because it's *their* GPL that you're breaking ...

MfG Kai