Re: Linuxant/Conexant HSF/HCF Modem Drivers Unlocked

From: Andreas Steinmetz
Date: Fri Oct 29 2004 - 18:07:46 EST


Kenneth Aafløy wrote:
On Friday 29 October 2004 22:37, you wrote:

Dave Jones wrote:

On Fri, Oct 29, 2004 at 02:50:42PM +0100, Alan Cox wrote:
> Oh its almost certainly a criminal offence in the USA - the DMCA for
> example. The \0 stupidity checker needs to go into the kernel.

Copy protection arms-races are always fun. If we did this, no doubt
some enterprising individual would find that some other value
also has the same effect. You need to throw out anything else
thats non alphanumeric too. (plus '/' for 'Dual BSD/GPL' and friends)

How about 'GPL\rMy real license'? Which means: yes, you're absolutely
right.


Not that I care, but wouldn't a simple _licence_length field solve this?

I don't think that a length filed is sufficient. The above example would print out on a standard terminal as 'My real license'. To prevent license string abuse a quite short (less than 80 characters) length limit and restriction to simple printable (i.e. 0x20-0x7e ASCII) characters is required.
I would prefer that modules not obeying these restrictions can't be loaded into the kernel.
--
Andreas Steinmetz SPAMmers use robotrap@xxxxxxxx
-
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/