]> Pileus Git - ~andy/linux/commit
LSM: do not initialize common_audit_data to 0
authorEric Paris <eparis@redhat.com>
Wed, 4 Apr 2012 19:01:43 +0000 (15:01 -0400)
committerEric Paris <eparis@redhat.com>
Mon, 9 Apr 2012 16:23:04 +0000 (12:23 -0400)
commit50c205f5e5c2e2af002fd4ef537ded79b90b1b56
tree9965a7746aa8c5e982357d5b8c46850f3283206c
parent07f62eb66c6626aa5653a0fcb34c9c040d0bd032
LSM: do not initialize common_audit_data to 0

It isn't needed.  If you don't set the type of the data associated with
that type it is a pretty obvious programming bug.  So why waste the cycles?

Signed-off-by: Eric Paris <eparis@redhat.com>
12 files changed:
include/linux/lsm_audit.h
security/apparmor/capability.c
security/apparmor/file.c
security/apparmor/ipc.c
security/apparmor/lib.c
security/apparmor/lsm.c
security/apparmor/policy.c
security/apparmor/policy_unpack.c
security/apparmor/resource.c
security/selinux/avc.c
security/selinux/hooks.c
security/smack/smack.h