[GIT PULL] fsverity updates for 6.6

From: Eric Biggers
Date: Sun Aug 27 2023 - 23:48:27 EST


The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/fsverity/linux.git tags/fsverity-for-linus

for you to fetch changes up to 919dc320956ea353a7fb2d84265195ad5ef525ac:

fsverity: skip PKCS#7 parser when keyring is empty (2023-08-20 10:33:43 -0700)

----------------------------------------------------------------

Several cleanups for fs/verity/, including two commits that make the
builtin signature support more cleanly separated from the base feature.

----------------------------------------------------------------
Eric Biggers (4):
fsverity: explicitly check that there is no algorithm 0
fsverity: simplify handling of errors during initcall
fsverity: move sysctl registration out of signature.c
fsverity: skip PKCS#7 parser when keyring is empty

fs/verity/fsverity_private.h | 12 +++----
fs/verity/hash_algs.c | 8 +++++
fs/verity/init.c | 56 ++++++++++++++++++++------------
fs/verity/open.c | 18 +++--------
fs/verity/signature.c | 77 ++++++++++++++------------------------------
fs/verity/verify.c | 11 ++-----
6 files changed, 79 insertions(+), 103 deletions(-)