Messages in this thread | | | Date | Fri, 24 Jun 2022 10:30:23 -0700 | From | Kees Cook <> | Subject | Re: [PATCH v3 1/9] pstore: Add priv field to pstore_record for backend specific use |
| |
On Fri, Jun 24, 2022 at 10:49:17AM +0200, Ard Biesheuvel wrote: > 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. > > Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
I'm a fan! This is useful, and I'll likely try to use it for some of the RAM-specific things too. :)
Acked-by: Kees Cook <keescook@chromium.org>
-- Kees Cook
| |