audit: add a new "type" field to audit_names struct
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Oct 2012 19:25:22 +0000 (15:25 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Oct 2012 04:32:00 +0000 (00:32 -0400)
commit78e2e802a8519031e5858595070b39713e26340d
tree92f79d2039f4119a127ab59e31a2d1c9dfb892fe
parentc43a25abba97c7d87131e71db6be24b24d7791a5
audit: add a new "type" field to audit_names struct

For now, we just have two possibilities:

UNKNOWN: for a new audit_names record that we don't know anything about yet
NORMAL: for everything else

In later patches, we'll add other types so we can distinguish and update
records created under different circumstances.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/audit.h
kernel/auditsc.c