From 82e3a30b7869202df137139dbeaced80b3b2abbe Mon Sep 17 00:00:00 2001 From: AZero13 Date: Tue, 16 Dec 2025 22:45:00 -0500 Subject: [PATCH] Allow solaris to have its audit --- plugins/sudoers/audit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/audit.c b/plugins/sudoers/audit.c index 6ead326493..0160d0aba7 100644 --- a/plugins/sudoers/audit.c +++ b/plugins/sudoers/audit.c @@ -76,7 +76,7 @@ audit_failure_int(const struct sudoers_context *ctx, char *const argv[], int ret = 0; debug_decl(audit_failure_int, SUDOERS_DEBUG_AUDIT); -#if defined(HAVE_BSM_AUDIT) || defined(HAVE_LINUX_AUDIT) +#if defined(HAVE_BSM_AUDIT) || defined(HAVE_LINUX_AUDIT) || defined(HAVE_SOLARIS_AUDIT) if (def_log_denied && argv != NULL) { #ifdef HAVE_BSM_AUDIT if (bsm_audit_failure(ctx, argv, message) == -1)