]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: also cache LoaderEntryOneShot EFI variable 16281/head
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Jun 2020 14:25:41 +0000 (16:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Jun 2020 08:43:42 +0000 (10:43 +0200)
commitaf2697e83d0b176371f94223d66dbfd6791babe3
treeea490a874d9364c132c924d13e4c4098c9a3fbed
parente8df4eee65643f9b0806763857a9f265e3d764ee
logind: also cache LoaderEntryOneShot EFI variable

With this we are now caching all EFI variables that we expose as
property in logind. Thus a client invoking GetAllProperties() should
only trgger a single read of each variable, but never repeated ones.

Obsoletes: #16190
Fixes: #14828
src/login/logind-dbus.c
src/login/logind.c
src/login/logind.h
src/shared/efi-loader.c
src/shared/efi-loader.h