Skip to content

Forbid truncate of fsverity files on btrfs

Eric Biggers fsverity stable 1 version Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2fs,fsverity: reject size changes on fsverity files in setattr_preparefs/attr.c fs/ext4/inode.c fs/f2fs/file.c +2 more+11 -421 reply
2/2fs,fsverity: remove check for fsverity being enabled in setattr_prepare()fs/attr.c+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan KaraDarrick J. WongChristoph Hellwig
1/2R-b R-b R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 6.18 0/2] Forbid truncate of fsverity files on btrfs

Backport the fix to forbid truncate(2) of fsverity files on btrfs (and also the fix for that fix).

Andrey Albershteyn (1):
fs,fsverity: remove check for fsverity being enabled in
setattr_prepare()

Christoph Hellwig (1):
fs,fsverity: reject size changes on fsverity files in setattr_prepare

 fs/attr.c                | 12 +++++++++++-
 fs/ext4/inode.c          |  4 ----
 fs/f2fs/file.c           |  4 ----
 fs/verity/open.c         |  8 --------
 include/linux/fsverity.h | 25 -------------------------
 5 files changed, 11 insertions(+), 42 deletions(-)

base-commit: 725bd2f3c81d54edccb66fead01d4c0c222e2231

Signature · 1 line
2.56.0