Re: [RFC] module: signature infrastructure
From: David Howells
Date: Tue Sep 04 2012 - 18:52:04 EST
Lucas De Marchi <lucas.de.marchi@xxxxxxxxx> wrote:
> Or let the magic string as the last thing in the module and store the
> signature length, too. In this case no scanning is needed
Indeed. This is the better way.
The main problem is rendering the length from a shell script. It's trivial to
do as ASCII (there's a printf program), but a pain to render to binary. I'm
sure it can be done with perl or python without the need to compile anything.
David
--
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/