summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/compat_audit.c
diff options
context:
space:
mode:
authorAndrew Donnellan <ajd@linux.ibm.com>2023-02-10 19:03:46 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2023-02-12 22:12:37 +1100
commit50a466bf3e6f6f177dc0aeefa46a2f8927075a1d (patch)
treec495161a8da82cc0f6d95f10ee31d437cf2f9d36 /arch/powerpc/kernel/compat_audit.c
parent86b6c0ae2caee9cadee1256d31b204ea54cb55c0 (diff)
powerpc/secvar: Allow backend to populate static list of variable names
Currently, the list of variables is populated by calling secvar_ops->get_next() repeatedly, which is explicitly modelled on the OPAL API (including the keylen parameter). For the upcoming PLPKS backend, we have a static list of variable names. It is messy to fit that into get_next(), so instead, let the backend put a NULL-terminated array of variable names into secvar_ops->var_names, which will be used if get_next() is undefined. Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Russell Currey <ruscur@russell.cc> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230210080401.345462-12-ajd@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel/compat_audit.c')
0 files changed, 0 insertions, 0 deletions