commit | 074b9fc0105badf0e1ee781f68093605f1a6aa35 | [log] [tgz] |
---|---|---|
author | Julian Hall <julian.hall@arm.com> | Wed Jan 05 17:04:04 2022 +0000 |
committer | György Szing <gyorgy.szing@arm.com> | Thu Mar 31 10:09:53 2022 +0200 |
tree | 97ba5c5ccd13bf449d27388f09a87bbbf1b74780 | |
parent | 748838e6a0901ca9bb5add13dc2239efa7a7f21f [diff] |
Correct smm variable boot state access control Variables set with the attribute EFI_VARIABLE_RUNTIME_ACCESS should also have EFI_VARIABLE_BOOTSERVICE_ACCESS set. Checks added to enforce this. Also corrects return status when attempting to remove a non-existent variable. Tests extended to reproduce the issues and validate the changes. Signed-off-by: Julian Hall <julian.hall@arm.com> Change-Id: I2c342ff18e64d45c46181906429bf0d7ae12210b