Add new subcommand 'fsverity dump_metadata' which wraps the proposed FS_IOC_READ_VERITY_METADATA ioctl (https://lkml.kernel.org/linux-fscrypt/20210115181819.34732-1-ebiggers@xxxxxxxxxx/T/#u). This subcommand is useful for xfstests and for debugging. Eric Biggers (2): Upgrade to latest fsverity_uapi.h programs/fsverity: Add dump_metadata subcommand Makefile | 1 + common/fsverity_uapi.h | 14 +++ programs/cmd_dump_metadata.c | 167 +++++++++++++++++++++++++++++++++++ programs/fsverity.c | 6 ++ programs/fsverity.h | 6 ++ 5 files changed, 194 insertions(+) create mode 100644 programs/cmd_dump_metadata.c -- 2.30.0