]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c9182f52df880fcd1cfddb3e638427d8df2377b
tree29eed009469d35473367708ea60b9c5b01fc0c5f
parent5c2a185a524f126418e3bcb1c89be0f44532ded9
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