From: Eric Biggers <ebiggers@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
Theodore Ts'o <tytso@mit.edu>, Jaegeuk Kim <jaegeuk@kernel.org>,
Victor Hsieh <victorhsieh@google.com>
Subject: [GIT PULL] fsverity updates for 5.12
Date: Tue, 16 Feb 2021 09:31:15 -0800 [thread overview]
Message-ID: <YCwBY/FsxEsnI0M/@sol.localdomain> (raw)
The following changes since commit 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04:
Linux 5.11-rc5 (2021-01-24 16:47:14 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fsverity-for-linus
for you to fetch changes up to 07c99001312cbf90a357d4877a358f796eede65b:
fs-verity: support reading signature with ioctl (2021-02-07 14:51:19 -0800)
----------------------------------------------------------------
Add an ioctl which allows reading fs-verity metadata from a file.
This is useful when a file with fs-verity enabled needs to be served
somewhere, and the other end wants to do its own fs-verity compatible
verification of the file. See the commit messages for details.
This new ioctl has been tested using new xfstests I've written for it.
----------------------------------------------------------------
Eric Biggers (6):
fs-verity: factor out fsverity_get_descriptor()
fs-verity: don't pass whole descriptor to fsverity_verify_signature()
fs-verity: add FS_IOC_READ_VERITY_METADATA ioctl
fs-verity: support reading Merkle tree with ioctl
fs-verity: support reading descriptor with ioctl
fs-verity: support reading signature with ioctl
Documentation/filesystems/fsverity.rst | 76 +++++++++++++
fs/ext4/ioctl.c | 7 ++
fs/f2fs/file.c | 11 ++
fs/verity/Makefile | 1 +
fs/verity/fsverity_private.h | 13 ++-
fs/verity/open.c | 133 ++++++++++++++--------
fs/verity/read_metadata.c | 195 +++++++++++++++++++++++++++++++++
fs/verity/signature.c | 20 +---
include/linux/fsverity.h | 12 ++
include/uapi/linux/fsverity.h | 14 +++
10 files changed, 417 insertions(+), 65 deletions(-)
create mode 100644 fs/verity/read_metadata.c
next reply other threads:[~2021-02-16 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 17:31 Eric Biggers [this message]
2021-02-21 18:39 ` [GIT PULL] fsverity updates for 5.12 pr-tracker-bot
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=YCwBY/FsxEsnI0M/@sol.localdomain \
--to=ebiggers@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-fscrypt@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
--cc=victorhsieh@google.com \
/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;
as well as URLs for NNTP newsgroup(s).