security: Wrap SMACK and SELINUX audit data structs in ifdefs
authorThomas Liu <tliu@redhat.com>
Thu, 9 Jul 2009 14:00:31 +0000 (10:00 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 9 Jul 2009 22:59:46 +0000 (08:59 +1000)
commit65c3f0a2d0f72d210c879e4974c2d222b7951321
tree0eb6b33647aeb8d170a1d5ee2841b3595142c452
parentd4131ded4d4c1a5c1363ddd93ca104ed97dd0458
security: Wrap SMACK and SELINUX audit data structs in ifdefs

Wrapped the smack_audit_data and selinux_audit_data
structs in include/linux/lsm_audit.h in ifdefs so that the
union will always be the correct size.

Signed-off-by: Thomas Liu <tliu@redhat.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/lsm_audit.h