diff options
author | Eric Biggers <ebiggers@google.com> | 2019-07-22 18:26:22 +0200 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-07-29 01:59:16 +0200 |
commit | 8a1d0f9cacc997bedc017056a94f35dc823394ed (patch) | |
tree | 90d55ad08622ed954361629d906d11469919abae /lib/livepatch | |
parent | fs-verity: add the hook for file ->setattr() (diff) | |
download | linux-8a1d0f9cacc997bedc017056a94f35dc823394ed.tar.xz linux-8a1d0f9cacc997bedc017056a94f35dc823394ed.zip |
fs-verity: add data verification hooks for ->readpages()
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>
Diffstat (limited to 'lib/livepatch')
0 files changed, 0 insertions, 0 deletions