From: Boris Burkov <boris@bur.io>
To: linux-fscrypt@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 0/2] fsverity: killswitch sysctl
Date: Thu, 28 Apr 2022 15:19:18 -0700 [thread overview]
Message-ID: <cover.1651184207.git.boris@bur.io> (raw)
These patches add a new fs-verity sysctl that allows the administrator
to set verity in a log-only audit mode or disable it entirely.
Boris Burkov (2):
fsverity: factor out sysctl from signature.c
fsverity: add mode sysctl
fs/verity/Makefile | 2 +
fs/verity/enable.c | 3 +
fs/verity/fsverity_private.h | 24 ++++++++
fs/verity/init.c | 7 ++-
fs/verity/measure.c | 3 +
fs/verity/open.c | 14 ++++-
fs/verity/read_metadata.c | 3 +
fs/verity/signature.c | 68 +++++-----------------
fs/verity/sysctl.c | 110 +++++++++++++++++++++++++++++++++++
fs/verity/verify.c | 34 ++++++++++-
include/linux/fsverity.h | 4 +-
11 files changed, 210 insertions(+), 62 deletions(-)
create mode 100644 fs/verity/sysctl.c
--
2.30.2
next reply other threads:[~2022-04-28 22:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 22:19 Boris Burkov [this message]
2022-04-28 22:19 ` [PATCH 1/2] fsverity: factor out sysctl from signature.c Boris Burkov
2022-05-17 22:24 ` Eric Biggers
2022-04-28 22:19 ` [PATCH 2/2] fsverity: add mode sysctl Boris Burkov
2022-05-17 23:03 ` Eric Biggers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1651184207.git.boris@bur.io \
--to=boris@bur.io \
--cc=kernel-team@fb.com \
--cc=linux-fscrypt@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox