Skip to content

Commit 5ee8dbf

Browse files
committed
Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux
Pull fsverity fix from Eric Biggers: "Prevent CONFIG_FS_VERITY from being enabled when the page size is 256K, since it doesn't work in that case" * tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux: fsverity: add dependency on 64K or smaller pages
2 parents 6a42ff3 + a300000 commit 5ee8dbf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

fs/verity/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
config FS_VERITY
44
bool "FS Verity (read-only file-based authenticity protection)"
5+
# Filesystems cache the Merkle tree at a 64K aligned offset in the
6+
# pagecache. That approach assumes the page size is at most 64K.
7+
depends on PAGE_SHIFT <= 16
58
select CRYPTO_HASH_INFO
69
select CRYPTO_LIB_SHA256
710
select CRYPTO_LIB_SHA512

0 commit comments

Comments
 (0)