Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-20 Thread Kees Cook
On Thu, Sep 20, 2012 at 1:29 PM, Andrew Morton wrote: > On Fri, 7 Sep 2012 11:38:13 -0700 > Kees Cook wrote: > >> Instead of (or in addition to) kernel module signing, being able to reason >> about the origin of a kernel module would be valuable in situations >> where an OS already trusts a

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-20 Thread Andrew Morton
On Fri, 7 Sep 2012 11:38:13 -0700 Kees Cook wrote: > Instead of (or in addition to) kernel module signing, being able to reason > about the origin of a kernel module would be valuable in situations > where an OS already trusts a specific file system, file, etc, due to > things like security

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-20 Thread Andrew Morton
On Fri, 7 Sep 2012 11:38:13 -0700 Kees Cook keesc...@chromium.org wrote: Instead of (or in addition to) kernel module signing, being able to reason about the origin of a kernel module would be valuable in situations where an OS already trusts a specific file system, file, etc, due to things

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-20 Thread Kees Cook
On Thu, Sep 20, 2012 at 1:29 PM, Andrew Morton a...@linux-foundation.org wrote: On Fri, 7 Sep 2012 11:38:13 -0700 Kees Cook keesc...@chromium.org wrote: Instead of (or in addition to) kernel module signing, being able to reason about the origin of a kernel module would be valuable in

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-07 Thread Mimi Zohar
On Fri, 2012-09-07 at 11:38 -0700, Kees Cook wrote: > Now that kernel module origins can be reasoned about, provide a hook to > the LSMs to make policy decisions about the module file. > > Signed-off-by: Kees Cook > Acked-by: Serge E. Hallyn > --- > include/linux/security.h | 13

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-07 Thread Eric Paris
Acked-by: Eric Paris On Fri, Sep 7, 2012 at 2:38 PM, Kees Cook wrote: > Now that kernel module origins can be reasoned about, provide a hook to > the LSMs to make policy decisions about the module file. > > Signed-off-by: Kees Cook > Acked-by: Serge E. Hallyn > --- > include/linux/security.h

[PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-07 Thread Kees Cook
Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook Acked-by: Serge E. Hallyn --- include/linux/security.h | 13 + kernel/module.c |9 +

[PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-07 Thread Kees Cook
Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: Serge E. Hallyn serge.hal...@canonical.com --- include/linux/security.h | 13 + kernel/module.c

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-07 Thread Eric Paris
Acked-by: Eric Paris epa...@redhat.com On Fri, Sep 7, 2012 at 2:38 PM, Kees Cook keesc...@chromium.org wrote: Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook keesc...@chromium.org

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-07 Thread Mimi Zohar
On Fri, 2012-09-07 at 11:38 -0700, Kees Cook wrote: Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: Serge E. Hallyn serge.hal...@canonical.com ---

[PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-06 Thread Kees Cook
Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook Acked-by: Serge E. Hallyn --- include/linux/security.h | 13 + kernel/module.c |9 +

[PATCH 2/2] security: introduce kernel_module_from_file hook

2012-09-06 Thread Kees Cook
Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: Serge E. Hallyn serge.hal...@canonical.com --- include/linux/security.h | 13 + kernel/module.c

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-08-31 Thread Serge Hallyn
Quoting Kees Cook (keesc...@chromium.org): > Now that kernel module origins can be reasoned about, provide a hook to > the LSMs to make policy decisions about the module file. > > Signed-off-by: Kees Cook Acked-by: Serge E. Hallyn > --- > include/linux/security.h | 11 +++ >

Re: [PATCH 2/2] security: introduce kernel_module_from_file hook

2012-08-31 Thread Serge Hallyn
Quoting Kees Cook (keesc...@chromium.org): Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: Serge E. Hallyn serge.hal...@canonical.com ---

[PATCH 2/2] security: introduce kernel_module_from_file hook

2012-08-29 Thread Kees Cook
Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook --- include/linux/security.h | 11 +++ kernel/module.c |7 +++ security/capability.c|6 ++

[PATCH 2/2] security: introduce kernel_module_from_file hook

2012-08-29 Thread Kees Cook
Now that kernel module origins can be reasoned about, provide a hook to the LSMs to make policy decisions about the module file. Signed-off-by: Kees Cook keesc...@chromium.org --- include/linux/security.h | 11 +++ kernel/module.c |7 +++ security/capability.c|