aboutsummaryrefslogtreecommitdiff
path: root/libstb/container.h
diff options
context:
space:
mode:
authorNayna Jain <nayna@linux.ibm.com>2020-09-28 17:06:08 -0500
committerOliver O'Halloran <oohall@gmail.com>2020-10-01 13:44:07 +1000
commit551aeaf7d81ddacf5c77bb21952a6f4cfd28b0b6 (patch)
treef2282101e3441a9498f6960d3135d6e2cecc8bb1 /libstb/container.h
parentb550f3ecb1b562a2d2334a13ccb635f0ea23c848 (diff)
downloadskiboot-551aeaf7d81ddacf5c77bb21952a6f4cfd28b0b6.zip
skiboot-551aeaf7d81ddacf5c77bb21952a6f4cfd28b0b6.tar.gz
skiboot-551aeaf7d81ddacf5c77bb21952a6f4cfd28b0b6.tar.bz2
secvar/backend: Bugfixes in edk2 driver
This patch fixes following bugs. Additionally, it improves logs. * Failure in adding/deleting PK as part of failure of processing any subsequential update in the queue didn't reset the global variable setup_mode to the original value. This patch adds the fix to always set the value of setup_mode as per final contents in variable_bank before existing process(). * Deletion of HWKH as part of deleting PK was only updating the value of the variable to be zero. However, this didn't deallocate the variable from the bank and was getting exposed via sysfs. * The mismatch in verification of hw-key-hash, was also clearing staging bank, which isn't initialized in this case. Fix the cleanup tag to only clear update_bank. * Fixes a memory leak in validate_esl_list(). * Convert signature verification error code from mbedtls into opal error code as OPAL_PERMISSION. Signed-off-by: Nayna Jain <nayna@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'libstb/container.h')
0 files changed, 0 insertions, 0 deletions