From 01c10fe8a98ffabd5cf9ec27f4b51f7011c3f1af Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 10 Dec 2020 14:17:56 -0600 Subject: [PATCH] audit: Add missing AUD_TSTT case In commit 9ebff4c6 (OPENAFS-SA-2018-001 audit: support butc types), several new butc-related audit data types were added. In the AIX-specific audmakebuf() function, the case for the AUD_TSTT type is missing the actual "case" clause in the code, causing AUD_TSTT types to be treated as invalid (and so falling through to the "AFS_Aud_EINVAL" case). Add the "case" for AUD_TSTT, so it's treated properly on AIX. Note that the non-AIX printbuf() already handled this properly, so no changes are needed there. Change-Id: Ic46c18b503bacb0901ff0a60534f6c45ce3c9a75 Reviewed-on: https://gerrit.openafs.org/14466 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- src/audit/audit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audit/audit.c b/src/audit/audit.c index 1eb5556..acb9e86 100644 --- a/src/audit/audit.c +++ b/src/audit/audit.c @@ -311,6 +311,7 @@ audmakebuf(char *audEvent, va_list vaList) break; } /* butc tape controller status */ + case AUD_TSTT: { struct tciStatusS *status; -- 1.9.4