From 8e5679aa1085a9c66b95d949a806dc25322cd41d Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Sat, 4 Jul 2020 06:21:20 +0000 Subject: [PATCH] audit: provide AUDITING_TD for !AUDIT case --- sys/security/audit/audit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h index 7e13806a017..30393febfd3 100644 --- a/sys/security/audit/audit.h +++ b/sys/security/audit/audit.h @@ -468,6 +468,8 @@ void audit_thread_free(struct thread *td); #define AUDIT_ARG_VNODE1(vp) #define AUDIT_ARG_VNODE2(vp) +#define AUDITING_TD(td) 0 + #define AUDIT_SYSCALL_ENTER(code, td) 0 #define AUDIT_SYSCALL_EXIT(error, td)