LSM: split LSM_AUDIT_DATA_FS into _PATH and _INODE
authorEric Paris <eparis@redhat.com>
Mon, 25 Apr 2011 16:54:27 +0000 (12:54 -0400)
committerEric Paris <eparis@redhat.com>
Mon, 25 Apr 2011 22:13:15 +0000 (18:13 -0400)
commitf48b7399840b453e7282b523f535561fe9638a2d
tree29eed009469d35473367708ea60b9c5b01fc0c5f
parent0dc1ba24f7fff659725eecbba2c9ad679a0954cd
LSM: split LSM_AUDIT_DATA_FS into _PATH and _INODE

The lsm common audit code has wacky contortions making sure which pieces
of information are set based on if it was given a path, dentry, or
inode.  Split this into path and inode to get rid of some of the code
complexity.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
include/linux/lsm_audit.h
security/lsm_audit.c
security/selinux/avc.c
security/selinux/hooks.c
security/smack/smack.h
security/smack/smack_lsm.c