summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-14 10:29:03 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-23 23:54:21 -0400
commit8bb3626dac93c0157989fb87afe0212958d7dbb4 (patch)
tree3b56e100d88fde36759a88c6424e5fa7cf85b313 /Makefile.am
parent4733607eec54034d2083534ebff2dad89c28574e (diff)
journal: use audit event names instead of numbers
<audit-1400> is replaced by AVC, etc. A fallback mechanism is provided for unlisted event types. Occasionally new types are added to the kernel, but not too often. Add a simple "test", which simply prints the mapping.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c854b63a8e..f936534e47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4533,6 +4533,12 @@ test_compress_benchmark_LDADD = \
libsystemd-journal-internal.la \
libsystemd-shared.la
+test_audit_type_SOURCES = \
+ src/journal/test-audit-type.c
+
+test_audit_type_LDADD = \
+ libsystemd-journal-core.la
+
libsystemd_journal_core_la_SOURCES = \
src/journal/journald-kmsg.c \
src/journal/journald-kmsg.h \
@@ -4615,7 +4621,8 @@ tests += \
test-journal-interleaving \
test-journal-flush \
test-mmap-cache \
- test-catalog
+ test-catalog \
+ test-audit-type
if HAVE_COMPRESSION
tests += \