Re: [PATCH] Ban module license tag string termination trick

From: Jon Masters
Date: Thu Feb 01 2007 - 17:18:56 EST


Jan Engelhardt wrote:

Proposed patch to prohibit loading modules that use early C string termination ("GPL\0 for nothing, folks!") to trick the kernel believing it is loading a GPL driver.

Ok. I totally dig the *idea* here - I mean, this issue has been ongoing for a long time now. But I'd like to see a few comments as to whether we need a technological mechanism here to enforce the obvious. To me, it just seems totally obvious (any legal comment?) that early C string termination is undermining the intent of the MODULE_LICENSE tag.

The m-i-t patch seems ok and also cleans up the existing logic.

Jon.

P.S. Someone's fooling around with mailman on that box, I'll get the mailing list sorted out between now and the weekend or somesuch.
-
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/