]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/audit-type.c
journal: use audit event names instead of numbers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Apr 2015 14:29:03 +0000 (10:29 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 24 Apr 2015 03:54:21 +0000 (23:54 -0400)
commit8bb3626dac93c0157989fb87afe0212958d7dbb4
tree3b56e100d88fde36759a88c6424e5fa7cf85b313
parent4733607eec54034d2083534ebff2dad89c28574e
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.
.gitignore
Makefile.am
src/journal/audit-type.c
src/journal/audit-type.h
src/journal/journald-audit.c
src/journal/test-audit-type.c [new file with mode: 0644]