Re: [PATCH 1/2] module: add syscall to load module from fd
From: James Morris
Date: Tue Sep 11 2012 - 23:04:11 EST
On Mon, 10 Sep 2012, Rusty Russell wrote:
> Kees Cook <keescook@xxxxxxxxxxxx> writes:
> > On Fri, Sep 7, 2012 at 10:12 AM, Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:
> >> This method is a consistent and extensible approach to verifying the
> >> integrity of file data/metadata, including kernel modules. The only
> >> downside to this approach, I think, is that it requires changes to the
> >> userspace tool.
> > I'm fine with this -- it's an expected change that I'll pursue with
> > glibc, kmod, etc. Without the userspace changes, nothing will use the
> > new syscall. :) I've already got kmod (and older module-init-tools)
> > patched to do this locally.
> A syscall is the right way to do this. But does it need to be done?
> 1) Do the LSM guys really want this hook?
Acked-by: James Morris <james.l.morris@xxxxxxxxxx>
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/