1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/src/cryptenroll
Lennart Poettering e99ca14741 env-util: replace unsetenv_erase() by new getenv_steal_erase() helper
The new helper combines a bunch of steps every invocation of
unsetenv_erase() did so far: getenv() + strdup() + unsetenv_erase().
Let's unify this into one helper that is harder to use incorrectly. It's
in inspired by TAKE_PTR() in a way: get the env var out and invalidate
where it was before.
2022-02-20 12:38:06 +09:00
..
cryptenroll-fido2.c cryptenroll: fix wrong error messages 2021-12-03 08:12:30 +01:00
cryptenroll-fido2.h FIDO2: support pin-less LUKS enroll/unlock 2021-05-07 21:36:27 +01:00
cryptenroll-list.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
cryptenroll-list.h cryptenroll: support listing and wiping tokens 2020-12-17 20:01:52 +01:00
cryptenroll-password.c env-util: replace unsetenv_erase() by new getenv_steal_erase() helper 2022-02-20 12:38:06 +09:00
cryptenroll-password.h
cryptenroll-pkcs11.c json: add new JSON_BUILD_CONST_STRING() macro 2021-11-25 14:22:31 +01:00
cryptenroll-pkcs11.h
cryptenroll-recovery.c json: add new JSON_BUILD_CONST_STRING() macro 2021-11-25 14:22:31 +01:00
cryptenroll-recovery.h
cryptenroll-tpm2.c cryptsetup: handle more gracefully if "keyslots" LUKS2 JSON header field is invalid 2021-09-28 16:47:08 +02:00
cryptenroll-tpm2.h cryptenroll: add support for TPM2 enrolling 2020-12-17 20:01:31 +01:00
cryptenroll-wipe.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
cryptenroll-wipe.h cryptenroll: support listing and wiping tokens 2020-12-17 20:01:52 +01:00
cryptenroll.c env-util: replace unsetenv_erase() by new getenv_steal_erase() helper 2022-02-20 12:38:06 +09:00
cryptenroll.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
meson.build meson: move source file list for systemd-cryptenroll 2021-01-19 07:06:32 +09:00