mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
e99ca14741
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. |
||
---|---|---|
.. | ||
cryptenroll-fido2.c | ||
cryptenroll-fido2.h | ||
cryptenroll-list.c | ||
cryptenroll-list.h | ||
cryptenroll-password.c | ||
cryptenroll-password.h | ||
cryptenroll-pkcs11.c | ||
cryptenroll-pkcs11.h | ||
cryptenroll-recovery.c | ||
cryptenroll-recovery.h | ||
cryptenroll-tpm2.c | ||
cryptenroll-tpm2.h | ||
cryptenroll-wipe.c | ||
cryptenroll-wipe.h | ||
cryptenroll.c | ||
cryptenroll.h | ||
meson.build |