summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-03-19 10:58:59 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-03-20 12:26:24 +0100
commit0dee6f7a7bc2e8ea19c6ef793860f8f97bf07e60 (patch)
tree266ddc8f0bd2999b572422450053454756a05c77
parentbasic/missing_*.h: indentation tweaks (diff)
downloadsystemd-0dee6f7a7bc2e8ea19c6ef793860f8f97bf07e60.tar.xz
systemd-0dee6f7a7bc2e8ea19c6ef793860f8f97bf07e60.zip
basic/missing_audit: add explanatory comment
It seems we need to check for the header file because it's not available in some fuzzer builds.
-rw-r--r--src/basic/missing_audit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/missing_audit.h b/src/basic/missing_audit.h
index 96248bc9d8..3f72acf02f 100644
--- a/src/basic/missing_audit.h
+++ b/src/basic/missing_audit.h
@@ -25,6 +25,8 @@ assert_cc(AUDIT_SERVICE_STOP == 1131);
assert_cc(MAX_AUDIT_MESSAGE_LENGTH == 8970);
#endif
+/* Note: we check for AUDIT_NLGRP_MAX because it's a define, but we actually
+ * need AUDIT_NLGRP_READLOG which is an enum. */
#ifndef AUDIT_NLGRP_MAX
# define AUDIT_NLGRP_READLOG 1
#else