lkml.org 
[lkml]   [2017]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 00/15] ima: digest list feature
    From
    Date
    On Thu, 2017-11-09 at 09:47 -0500, Matthew Garrett wrote:

    > This seems very over-complicated, and it's unclear why the kernel
    > needs to open the file itself. You *know* that all of userland is
    > trustworthy at this point even in the absence of signatures.

    Assuming the initramfs is signed, then yes the rootfs files would be
    trusted.  rootfs can still access files from real root, which is where
    policies are normally stored.

    > It seems
    > reasonable to provide a interface that allows userland to pass a
    > digest list to the kernel, in the same way that userland can pass an
    > IMA policy to the kernel. You can then restrict access to that
    > interface via an LSM.

    IMA can and should be configured to require signed policies.

    Mimi

    \
     
     \ /
      Last update: 2017-11-09 17:19    [W:2.405 / U:0.588 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site