On Nov 22, 2024 =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= <[email protected]> wrote: > > Extract code from dump_common_audit_data() into the audit_log_lsm_data() > helper. This helps reuse common LSM audit data while not abusing > AUDIT_AVC records because of the common_lsm_audit() helper. > > Cc: Casey Schaufler <[email protected]> > Cc: James Morris <[email protected]> > Cc: Paul Moore <[email protected]> > Cc: Serge E. Hallyn <[email protected]> > Signed-off-by: Mickaël Salaün <[email protected]> > Link: https://lore.kernel.org/r/[email protected] > --- > Changes since v1: > - Fix commit message (spotted by Paul). > - Constify dump_common_audit_data()'s and audit_log_lsm_data()'s "a" > argument. > - Fix build without CONFIG_NET: see previous patch. > --- > include/linux/lsm_audit.h | 8 ++++++++ > security/lsm_audit.c | 27 ++++++++++++++++++--------- > 2 files changed, 26 insertions(+), 9 deletions(-)
Acked-by: Paul Moore <[email protected]> -- paul-moore.com
