[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19214.1346799098@warthog.procyon.org.uk>
Date: Tue, 04 Sep 2012 23:51:38 +0100
From: David Howells <dhowells@...hat.com>
To: Lucas De Marchi <lucas.de.marchi@...il.com>
Cc: dhowells@...hat.com, Rusty Russell <rusty@...tcorp.com.au>,
dmitry.kasatkin@...el.com, zohar@...ux.vnet.ibm.com,
jmorris@...ei.org, keyrings@...ux-nfs.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC] module: signature infrastructure
Lucas De Marchi <lucas.de.marchi@...il.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists