RE: [PATCH] Ban module license tag string termination trick
From: Jan Engelhardt
Date: Fri Feb 02 2007 - 14:11:28 EST
On Feb 2 2007 19:37, Paul Rolland wrote:
>> MODULE_IS_UNDER_GPL_LICENSE("yes\0 but only this .c file");
>>
>
>MODULE_IS_UNDER_GPL_LICENSE(0)
>(integer, not string).
So what (legally) happens when someone does
MODULE_IS_UNDER_GPL_LICENSE(2), (~0) or (-1)? Does the judge get confused?
Then better use strings and an appropriate check.
Jan
--
-
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/