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>
This commit is contained in:
Richard Guy Briggs 2014-03-26 07:26:47 -04:00 • committed by Eric Paris
commit 219ca39427
2 changed files with 29 additions and 14 deletions