+2
−1
+8
−0
+6
−0
fs/verity/verify.c
0 → 100644
+275
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add functions that verify data pages that have been read from a fs-verity file, against that file's Merkle tree. These will be called from filesystems' ->readpage() and ->readpages() methods. Since data verification can block, a workqueue is provided for these methods to enqueue verification work from their bio completion callback. See the "Verifying data" section of Documentation/filesystems/fsverity.rst for more information. Reviewed-by:Theodore Ts'o <tytso@mit.edu> Reviewed-by:
Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by:
Eric Biggers <ebiggers@google.com>