lkml.org 
[lkml]   [2020]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v3 00/19] Introduce partial kernel_read_file() support
    From
    Date
    On Fri, 2020-07-24 at 14:36 -0700, Kees Cook wrote:
    > v3:
    > - add reviews/acks
    > - add "IMA: Add support for file reads without contents" patch
    > - trim CC list, in case that's why vger ignored v2
    > v2: [missing from lkml archives! (CC list too long?) repeating changes here]
    > - fix issues in firmware test suite
    > - add firmware partial read patches
    > - various bug fixes/cleanups
    > v1: https://lore.kernel.org/lkml/20200717174309.1164575-1-keescook@chromium.org/
    >
    > Hi,
    >
    > Here's my tree for adding partial read support in kernel_read_file(),
    > which fixes a number of issues along the way. It's got Scott's firmware
    > and IMA patches ported and everything tests cleanly for me (even with
    > CONFIG_IMA_APPRAISE=y).

    Thanks, Kees.  Other than my comments on the new
    security_kernel_post_load_data() hook, the patch set is really nice.

    In addition to compiling with CONFIG_IMA_APPRAISE enabled, have you
    booted the kernel with the ima_policy=tcb?  The tcb policy will add
    measurements to the IMA measurement list and extend the TPM with the
    file or buffer data digest.  Are you seeing the firmware measurements,
    in particular the partial read measurement?

    thanks,

    Mimi

    \
     
     \ /
      Last update: 2020-07-27 13:17    [W:8.321 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site