audit: use union for audit_field values since they are mutually exclusive
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 26 Mar 2014 11:26:47 +0000 (07:26 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:37:53 +0000 (16:37 -0400)
commit219ca39427bf6c46c4e1473493e33bc00635e99b
treec619484ff5565d783d29ae867253e1e24bda588e
parente7df61f4d1ddb7fdd654dde6cd40f7cc398c3932
audit: use union for audit_field values since they are mutually exclusive

Since only one of val, uid, gid and lsm* are used at any given time, combine
them to reduce the size of the struct audit_field.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
include/linux/audit.h
kernel/auditfilter.c