]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/machine-credential.h
machine-credential: introduce MachineCredentialContext
authorMike Yuan <me@yhndnzj.com>
Tue, 12 Dec 2023 10:58:51 +0000 (18:58 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Dec 2023 08:50:44 +0000 (08:50 +0000)
commitbd546b9b48e575dbea37ac9c7cf5e79985712e54
treeea23cb5533a915c95e658cdac3e4d74855251707
parent266e8d0eb6f11cbeb791af7929fed0bbc9ce194e
machine-credential: introduce MachineCredentialContext

This allows more straightforward memory management and
the use of static destructor.

Requested (by me) in https://github.com/systemd/systemd/pull/30143#discussion_r1401980763
src/nspawn/nspawn.c
src/shared/machine-credential.c
src/shared/machine-credential.h
src/vmspawn/vmspawn.c