Skip to content

Fix test bugs related to fs.verity.require_signatures

Eric Biggers fstests linux-fscrypt 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Slight code simplification (kept check for require_signatures existence in _disable_fsverity_signatures() only)
- Added Reviewed-by tags

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3common/verity: fix _fsv_have_hash_algorithm() with required signaturescommon/verity+37 -210 replies
2/3generic/577: add missing file removal before empty file testtests/generic/577+1 -00 replies
3/3tests: fix some tests for systems with fs.verity.require_signatures=1tests/btrfs/290 tests/btrfs/291 tests/generic/624 +1 more+27 -00 replies

Reviews trailers per patch

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

PatchAndrey Albershteyn
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [xfstests PATCH v2 0/3] Fix test bugs related to fs.verity.require_signatures

This is a replacement for Andrey's patchset "generic/577: fix hash check and add metadata cleaning". It handles some other things that were overlooked.

Changed v1 => v2:
- Slight code simplification (kept check for require_signatures existence in _disable_fsverity_signatures() only)
- Added Reviewed-by tags

Eric Biggers (3):
common/verity: fix _fsv_have_hash_algorithm() with required signatures generic/577: add missing file removal before empty file test
tests: fix some tests for systems with fs.verity.require_signatures=1

 common/verity     | 58 ++++++++++++++++++++++++++++++-----------------
 tests/btrfs/290   |  9 ++++++++
 tests/btrfs/291   |  2 ++
 tests/generic/577 |  1 +
 tests/generic/624 |  8 +++++++
 tests/generic/692 |  8 +++++++
 6 files changed, 65 insertions(+), 21 deletions(-)

base-commit: a75c5f50584e03ca7862ad51f48efd2d524d1dc5

Signature · 1 line
2.38.1