[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YsWlEmaQsIVUiKC0@redhat.com>
Date: Wed, 6 Jul 2022 11:06:58 -0400
From: Mike Snitzer <snitzer@...nel.org>
To: Matthias Kaehlcke <mka@...omium.org>
Cc: Alasdair Kergon <agk@...hat.com>,
Kees Cook <keescook@...omium.org>,
James Morris <jmorris@...ei.org>,
"Serge E . Hallyn" <serge@...lyn.com>,
linux-kernel@...r.kernel.org, dm-devel@...hat.com,
Douglas Anderson <dianders@...omium.org>,
linux-raid@...r.kernel.org, Song Liu <song@...nel.org>,
linux-security-module@...r.kernel.org,
Milan Broz <gmazyland@...il.com>
Subject: Re: [PATCH v7 1/3] dm: Add verity helpers for LoadPin
On Mon, Jun 27 2022 at 11:35P -0400,
Matthias Kaehlcke <mka@...omium.org> wrote:
> LoadPin limits loading of kernel modules, firmware and certain
> other files to a 'pinned' file system (typically a read-only
> rootfs). To provide more flexibility LoadPin is being extended
> to also allow loading these files from trusted dm-verity
> devices. For that purpose LoadPin can be provided with a list
> of verity root digests that it should consider as trusted.
>
> Add a bunch of helpers to allow LoadPin to check whether a DM
> device is a trusted verity device. The new functions broadly
> fall in two categories: those that need access to verity
> internals (like the root digest), and the 'glue' between
> LoadPin and verity. The new file dm-verity-loadpin.c contains
> the glue functions.
>
> Signed-off-by: Matthias Kaehlcke <mka@...omium.org>
> Acked-by: Kees Cook <keescook@...omium.org>
Acked-by: Mike Snitzer <snitzer@...nel.org>
Powered by blists - more mailing lists