summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2021-05-05 11:25:07 +0800
committerPeter Jones <pjones@redhat.com>2021-07-20 10:13:31 -0400
commit3f327f546c219634b24cfd9abe9ec987bbb6ad14 (patch)
treef7cae7aa78e94cff7a6b88003d597ce5a2b0baf9 /lib/variables.c
parent7501b6bb449f6e4d13e700a65650f9308f54c8c1 (diff)
downloadefi-boot-shim-3f327f546c219634b24cfd9abe9ec987bbb6ad14.tar.gz
efi-boot-shim-3f327f546c219634b24cfd9abe9ec987bbb6ad14.zip
mok: relax the maximum variable size check
Some UEFI environment such as u-boot doesn't implement QueryVariableInfo(), so we couldn't rely on the function to estimate the available space for RT variables. All we can do is to call SetVariable() directly and check the return value of SetVariable(). Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions