]> git.ipfire.org Git - thirdparty/util-linux.git/commit
verity: ensure that hash_device and root_hash[_file] are passed together or not at all
authorLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 10 Dec 2019 11:21:43 +0000 (11:21 +0000)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 10 Dec 2019 12:52:39 +0000 (12:52 +0000)
commitfe8358bf052b8ac3ceae5381674c344ee607af8f
tree2ab5d9fc5fb767f19b295305603c202badb5dbdb
parent141bb954e707326604bec7a9082f7272cece1504
verity: ensure that hash_device and root_hash[_file] are passed together or not at all

If a hash device or a roothash are passed for verity usage, both have to be present
or we cannot use them. Make it an error to pass only one of them.
libmount/src/context_veritydev.c