git: 8805377dad83 - main - dtraceall: Make dtaudit a dependency

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 12 Aug 2024 23:09:29 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=8805377dad832ae12aaa14ec7e584f2463681ed9

commit 8805377dad832ae12aaa14ec7e584f2463681ed9
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-08-12 18:26:57 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-08-12 23:06:45 +0000

    dtraceall: Make dtaudit a dependency
    
    Reported by:    tsoome
    Reviewed by:    tsoome
    Sponsored by:   Klara, Inc.
    Differential Revision:  https://reviews.freebsd.org/D46274
---
 sys/modules/dtrace/dtraceall/dtraceall.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/modules/dtrace/dtraceall/dtraceall.c b/sys/modules/dtrace/dtraceall/dtraceall.c
index 73530aeab3b6..851d33a7e518 100644
--- a/sys/modules/dtrace/dtraceall/dtraceall.c
+++ b/sys/modules/dtrace/dtraceall/dtraceall.c
@@ -63,6 +63,9 @@ MODULE_VERSION(dtraceall, 1);
 /* All the DTrace modules should be dependencies here: */
 MODULE_DEPEND(dtraceall, opensolaris, 1, 1, 1);
 MODULE_DEPEND(dtraceall, dtrace, 1, 1, 1);
+#if defined(AUDIT)
+MODULE_DEPEND(dtraceall, dtaudit, 1, 1, 1);
+#endif
 MODULE_DEPEND(dtraceall, dtmalloc, 1, 1, 1);
 #if defined(NFSCL)
 MODULE_DEPEND(dtraceall, dtnfscl, 1, 1, 1);