hw/uefi: add var-service-policy.c
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Feb 2025 16:30:13 +0000 (17:30 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 4 Mar 2025 11:01:42 +0000 (12:01 +0100)
commit034cb968ca8fc562ea11de516828228eeb146944
treeecaa4f89fca1776cbc51129c3a3efe5c2647c4d5
parentf1488fac0584cc095865e4d4d987f01f4e97fbe5
hw/uefi: add var-service-policy.c

Implement variable policies (Edk2VariablePolicyProtocol).

This EFI protocol allows to define restrictions for variables.
It also allows to lock down variables (disallow write access).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <20250225163031.1409078-10-kraxel@redhat.com>
hw/uefi/var-service-policy.c [new file with mode: 0644]