lkml.org 
[lkml]   [2012]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 00/23] Crypto keys and module signing
Date
Kasatkin, Dmitry <dmitry.kasatkin@intel.com> wrote:

> > In some ways that is cleaner, but it's also nice to avoid adding another
> > syscall.
>
> There is no additional syscall.
> signature is passed is 'ima=' parameter to init_module()
> like

Exactly what I was thinking of, though I wouldn't call it "ima=" as that
doesn't seem specific enough.

You could also append it to the binary image and have the kernel extract it
from there as if the module file had had the signature attached during the
build.

I don't particularly favour holding the signature in an xattr, though, as that
assumes that underlying fs has the capability to hold it and means that the
package installation mechanism must know how to fill in xattrs.

David


\
 
 \ /
  Last update: 2012-05-25 14:01    [W:0.174 / U:7.428 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site