[lkml]   [2012]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] module: add syscall to load module from fd
On Wed, Sep 12, 2012 at 12:34 AM, Rusty Russell <> wrote:
> "H. Peter Anvin" <> writes:
>> On 09/06/2012 11:13 AM, 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 labels or an existing root of trust to a partition
>>> through things like dm-verity.
>>> This introduces a new syscall (currently only on x86), similar to
>>> init_module, that has only two arguments. The first argument is used as
>>> a file descriptor to the module and the second argument is a pointer to
>>> the NULL terminated string of module arguments.
>> Please use the standard naming convention, which is an f- prefix (i.e.
>> finit_module()).
> Good point; I just did a replace here.

Ah, yes. Thanks!


Kees Cook
Chrome OS Security

 \ /
  Last update: 2012-09-12 17:22    [W:0.095 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site