mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
fsverity fix for v7.0-rc3
Prevent CONFIG_FS_VERITY from being enabled when the page size is 256K, since it doesn't work in that case. -----BEGIN PGP SIGNATURE----- iIoEABYIADIWIQSacvsUNc7UX4ntmEPzXCl4vpKOKwUCaaj+ThQcZWJpZ2dlcnNA a2VybmVsLm9yZwAKCRDzXCl4vpKOK9PdAP0bl5KEYBjtUmgg4Olv+GOLegWCZRsq WvGJgIUDDZQfyAEAta6nN5CZ4LbngtWtPsNWVihyoaME2b7yrF/kz7l07g8= =/rYw -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
5ee8dbf546
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
config FS_VERITY
|
||||
bool "FS Verity (read-only file-based authenticity protection)"
|
||||
# Filesystems cache the Merkle tree at a 64K aligned offset in the
|
||||
# pagecache. That approach assumes the page size is at most 64K.
|
||||
depends on PAGE_SHIFT <= 16
|
||||
select CRYPTO_HASH_INFO
|
||||
select CRYPTO_LIB_SHA256
|
||||
select CRYPTO_LIB_SHA512
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue