[GIT PULL] fsverity updates for 6.4
From: Eric Biggers
Date: Tue Apr 25 2023 - 02:27:18 EST
The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa:
Linux 6.3-rc4 (2023-03-26 14:40:20 -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 04839139213cf60d4c5fc792214a08830e294ff8:
fsverity: reject FS_IOC_ENABLE_VERITY on mode 3 fds (2023-04-11 19:23:23 -0700)
----------------------------------------------------------------
Several cleanups and fixes for fs/verity/, including a couple minor
fixes to the changes in 6.3 that added support for Merkle tree block
sizes less than the page size.
----------------------------------------------------------------
Eric Biggers (4):
fs/buffer.c: use b_folio for fsverity work
fsverity: use WARN_ON_ONCE instead of WARN_ON
fsverity: explicitly check for buffer overflow in build_merkle_tree()
fsverity: reject FS_IOC_ENABLE_VERITY on mode 3 fds
Luis Chamberlain (1):
fs-verity: simplify sysctls with register_sysctl()
fs/buffer.c | 9 ++++-----
fs/verity/enable.c | 21 +++++++++++++++++++--
fs/verity/hash_algs.c | 4 ++--
fs/verity/open.c | 2 +-
fs/verity/signature.c | 9 +--------
include/linux/fsverity.h | 6 +++---
6 files changed, 30 insertions(+), 21 deletions(-)