diff options
| author | Eric Biggers <[email protected]> | 2021-01-15 10:18:19 -0800 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2021-02-07 14:51:19 -0800 |
| commit | 07c99001312cbf90a357d4877a358f796eede65b (patch) | |
| tree | 12c2787f495d8fdbf605e1fa1bbd835aa204458a /tools/perf/scripts/python/task-analyzer.py | |
| parent | 947191ac8caba85e25e0e036b0f097fee9e817f3 (diff) | |
fs-verity: support reading signature with ioctl
Add support for FS_VERITY_METADATA_TYPE_SIGNATURE to
FS_IOC_READ_VERITY_METADATA. This allows a userspace server program to
retrieve the built-in signature (if present) of a verity file for
serving to a client which implements fs-verity compatible verification.
See the patch which introduced FS_IOC_READ_VERITY_METADATA for more
details.
The ability for userspace to read the built-in signatures is also useful
because it allows a system that is using the in-kernel signature
verification to migrate to userspace signature verification.
This has been tested using a new xfstest which calls this ioctl via a
new subcommand for the 'fsverity' program from fsverity-utils.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Victor Hsieh <[email protected]>
Reviewed-by: Jaegeuk Kim <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions