]> git.ipfire.org Git - thirdparty/systemd.git/commit
import-creds: unify acquire_credential_directory() + acquire_encrypted_credential_dir...
authorLennart Poettering <lennart@poettering.net>
Thu, 29 Jun 2023 10:53:23 +0000 (12:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Jul 2023 21:04:24 +0000 (23:04 +0200)
commitbfa6d9cc64051ec7a47a9f96a75def1223d1037c
treed8162a3fc0ed0fda16be1cd148c871479001c559
parent1155f44f48f8fd59c863d71b3938e34a0b2fec2a
import-creds: unify acquire_credential_directory() + acquire_encrypted_credential_directory()

Let's unify these very similar functions, and port them to the new
mount_credentials_fs() call.

While we are at it, if we detect that the credentials dir already is a
mount point, remount it writable so that we can actually write to it.
src/core/import-creds.c