Re: [PATCH 1/2] module: allow loading module from fd

2012-09-05 Thread Rusty Russell
Kees Cook writes: > This changes the init_module syscall so that when the first argument > (blob address) is NULL, the second argument is used as a file descriptor > to the module (instead of length). The third argument (module arguments) > remains unchanged. Do you know why Linus hates ioctls?

Re: [PATCH 1/2] module: allow loading module from fd

2012-08-31 Thread Serge Hallyn
Quoting Kees Cook (keesc...@chromium.org): > 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 labels or an ex

[PATCH 1/2] module: allow loading module from fd

2012-08-29 Thread Kees Cook
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 labels or an existing root of trust to a partition through things