Re: [PATCH 00/23] Crypto keys and module signing

From: Rusty Russell
Date: Mon Jun 04 2012 - 00:49:18 EST


On Fri, 25 May 2012 16:42:19 +0100, David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Hi Rusty,
>
> If you prefer to have userspace extract the module signature and pass it in
> uargs, here's a tree that will do that:
>
> http://git.kernel.org/?p=linux/kernel/git/dhowells/linux-modsign.git;a=shortlog;h=refs/heads/modsign-uarg

OK, there's merit in this approach: it certainly moves the argument
about how to encode the signature out of my backyard :)

Should we just bite the bullet and create a new syscall:

SYSCALL_DEFINE5(init_module2, void __user *, umod,
unsigned long, len, const char __user *, uargs,
unsigned int, siglen, const char __user *, sig)

But I'm easily swayed if you prefer the current approach.

Thanks,
Rusty.
--
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/