creds-util: add common helper for determinign global boot credentials path
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Jun 2024 10:14:35 +0000 (12:14 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 14 Jun 2024 22:52:35 +0000 (23:52 +0100)
commit7d9a8cc4acabb1ebd957c2879971d0c7a01387f1
treea4286e3b1f3cf2e8a602dbb397677fc592e4ba33
parentc29778a1003e1a5d9b428b46e6700b16c7ff2078
creds-util: add common helper for determinign global boot credentials path

It's very useful being able to determine the directory where to write
global boot credentials to, that are picked up by all kernels.
src/pcrlock/pcrlock.c
src/shared/creds-util.c
src/shared/creds-util.h