mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
ff41621178
The access_uefispec module currently reports OsIndicationsSupported should be read-only even when the module is ran from UEFI shell before ExitBootServices has been called. This is a false positive, OsIndicationsSupported is expected to be read-write before ExitBootServices. See https://uefi.org/specs/UEFI/2.10/03_Boot_Manager.html, variables that should be read-only in all cases are specifically called out as: "Should be treated as read-only". OsIndicationsSupported is not listed as such. After ExitBootServices the following applies, as specified in https://uefi.org/specs/UEFI/2.10/08_Services_Runtime_Services.html#setvariable: "Once ExitBootServices() is performed, only variables that have EFI_VARIABLE_RUNTIME_ACCESS and EFI_VARIABLE_NON_VOLATILE set can be set with SetVariable()." Signed-off-by: Tamas K Lengyel <tamas.lengyel@oracle.com>