Skip to content

Add libfsverity_enable() API

Eric Biggers linux-fscrypt 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: add libfsverity_enable() and libfsverity_enable_with_sig()include/libfsverity.h lib/enable.c programs/cmd_enable.c+97 -125 replies
2/2programs/fsverity: share code to parse tree parametersprograms/cmd_digest.c programs/cmd_enable.c programs/cmd_sign.c +2 more+65 -881 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLuca Boccassi
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [fsverity-utils PATCH 0/2] Add libfsverity_enable() API

This patchset adds wrappers around FS_IOC_ENABLE_VERITY to the library API, and makes the fsverity commands share code to parse the libfsverity_merkle_tree_params.

This is my proposed alternative to Luca's patch
https://lkml.kernel.org/linux-fscrypt/[email protected]

Eric Biggers (2):
lib: add libfsverity_enable() and libfsverity_enable_with_sig() programs/fsverity: share code to parse tree parameters

 include/libfsverity.h | 36 ++++++++++++++++++++++++++++++++++
 lib/enable.c          | 45 +++++++++++++++++++++++++++++++++++++++++++
 programs/cmd_digest.c | 31 ++++-------------------------
 programs/cmd_enable.c | 34 ++++++++------------------------
 programs/cmd_sign.c   | 31 ++++-------------------------
 programs/fsverity.c   | 42 ++++++++++++++++++++++++++++++++++++----
 programs/fsverity.h   | 19 ++++++++++++++----
 7 files changed, 150 insertions(+), 88 deletions(-)
 create mode 100644 lib/enable.c
Signature · 1 line
2.29.2