Re: Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrapperswith EXPORT_SYMBOL

From: Borislav Petkov
Date: Tue Jul 02 2013 - 04:18:06 EST


On Tue, Jul 02, 2013 at 09:57:08AM +0200, richard -rw- weinberger wrote:
> Then vendors will do a s/EXPORT_SYMBOL_GPL/EXPORT_SYMBOL/g on the kernel.

Huh, "fail building if a module does EXPORT_SYMBOL"...

> Recently I've identified such a case.

Regardless, there's not really a whole lot we can do technically as long
as they go and change the kernel. The EXPORT_SYMBOL_GPL thing protects
only against separately distributed modules but if you deliver the whole
kernel, you can do whatever you want. :-\

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/