]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: add get_os_indications_supported() helper
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Sep 2021 20:13:23 +0000 (22:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2021 15:24:28 +0000 (17:24 +0200)
commit3a6249127eeef8c949a3aa5fad7914cf5f755589
treee198a62a9b56dcd29a7c6ca32b7fd439f5de46ac
parent0d43ce5266228182189771901413cf59a57ad585
boot: add get_os_indications_supported() helper

We inquire the EFI var for this at two places, let's add a helper that
queries it and gracefully handles it if we can't get it, by returning a
zero mask, i.e. no features supported.
src/boot/efi/boot.c
src/boot/efi/util.c
src/boot/efi/util.h