summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/vars.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-06-22 10:31:31 +0300
committerArd Biesheuvel <ardb@kernel.org>2022-06-24 21:40:04 +0300
commit8ca869b24538a7b5501af368e87e4a59b0c04117 (patch)
tree4ba6d8dfa417849391aaba1681294029c35aa9f0 /drivers/firmware/efi/vars.c
parentf662092b2e0c4a43d09e5b1f67ca969ea47a93d3 (diff)
downloadlinux-8ca869b24538a7b5501af368e87e4a59b0c04117.tar.xz
pstore: Add priv field to pstore_record for backend specific use
The EFI pstore backend will need to store per-record variable name data when we switch away from the efivars layer. Add a priv field to struct pstore_record, and document it as holding a backend specific pointer that is assumed to be a kmalloc()d buffer, and will be kfree()d when the entire record is freed. Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/vars.c')
0 files changed, 0 insertions, 0 deletions