summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2024-01-31 13:11:21 +0100
committerLennart Poettering <lennart@poettering.net>2024-02-13 09:45:08 +0100
commitc5daf14c88ba44cefabe052de93a29d28b6b0175 (patch)
tree3e893752b6daf23f97e094669343a65415801637 /meson.build
parentupdate TODO (diff)
downloadsystemd-c5daf14c88ba44cefabe052de93a29d28b6b0175.tar.xz
systemd-c5daf14c88ba44cefabe052de93a29d28b6b0175.zip
cryptsetup: Add optional support for linking volume key in keyring.
cryptsetup 2.7.0 adds feature to link effective volume key in custom kernel keyring during device activation. It can be used later to pass linked volume key to other services. For example: kdump enabled systems installed on LUKS2 device. This feature allows it to store volume key linked in a kernel keyring to the kdump reserved memory and reuse it to reactivate LUKS2 device in case of kernel crash.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 4ebe46dd23..c031db78a7 100644
--- a/meson.build
+++ b/meson.build
@@ -1260,7 +1260,8 @@ foreach ident : ['crypt_set_metadata_size',
'crypt_token_max',
'crypt_reencrypt_init_by_passphrase',
'crypt_reencrypt',
- 'crypt_set_data_offset']
+ 'crypt_set_data_offset',
+ 'crypt_set_keyring_to_link']
have_ident = have and cc.has_function(
ident,
prefix : '#include <libcryptsetup.h>',