LSM: separate LSM_AUDIT_DATA_DENTRY from LSM_AUDIT_DATA_PATH
authorEric Paris <eparis@redhat.com>
Mon, 25 Apr 2011 17:10:27 +0000 (13:10 -0400)
committerEric Paris <eparis@redhat.com>
Mon, 25 Apr 2011 22:14:07 +0000 (18:14 -0400)
commita269434d2fb48a4d66c1d7bf821b7874b59c5b41
tree9c84b5f3e9f3adb3dd4a7e9da2b72dd7fe7eec49
parentf48b7399840b453e7282b523f535561fe9638a2d
LSM: separate LSM_AUDIT_DATA_DENTRY from LSM_AUDIT_DATA_PATH

This patch separates and audit message that only contains a dentry from
one that contains a full path.  This allows us to make it harder to
misuse the interfaces or for the interfaces to be implemented wrong.

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/hooks.c
security/smack/smack.h
security/smack/smack_lsm.c