Re: [fsverity-utils PATCH v2 3/4] lib: add libfsverity_enable() and libfsverity_enable_with_sig()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "ebiggers@xxxxxxxxxx" <ebiggers@xxxxxxxxxx>, "linux-fscrypt@xxxxxxxxxxxxxxx" <linux-fscrypt@xxxxxxxxxxxxxxx>
- Subject: Re: [fsverity-utils PATCH v2 3/4] lib: add libfsverity_enable() and libfsverity_enable_with_sig()
- From: Luca Boccassi <Luca.Boccassi@xxxxxxxxxxxxx>
- Date: Tue, 17 Nov 2020 10:02:30 +0000
- Accept-language: en-GB, en-US
- In-reply-to: <20201116205628.262173-4-ebiggers@kernel.org>
- References: <20201116205628.262173-1-ebiggers@kernel.org> <20201116205628.262173-4-ebiggers@kernel.org>
- Thread-index: AQHWvMjCS105VzYeFkOrJ1jqw/OtHw==
- Thread-topic: [fsverity-utils PATCH v2 3/4] lib: add libfsverity_enable() and libfsverity_enable_with_sig()
- User-agent: Evolution 3.30.5-1.1
On Mon, 2020-11-16 at 12:56 -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Add convenience functions that wrap FS_IOC_ENABLE_VERITY but take a
> 'struct libfsverity_merkle_tree_params' instead of
> 'struct fsverity_enable_arg'. This is useful because it allows
> libfsverity users to deal with one common struct, and also get the
> default parameter handling that libfsverity_compute_digest() does.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> include/libfsverity.h | 36 +++++++++++++++++++++++++++++++++
> lib/enable.c | 47 +++++++++++++++++++++++++++++++++++++++++++
> programs/cmd_enable.c | 26 +++++++++++-------------
> programs/fsverity.h | 3 ---
> 4 files changed, 95 insertions(+), 17 deletions(-)
> create mode 100644 lib/enable.c
Acked-by: Luca Boccassi <luca.boccassi@xxxxxxxxxxxxx>
--
Kind regards,
Luca Boccassi
Attachment:
signature.asc
Description: This is a digitally signed message part
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]