summaryrefslogtreecommitdiffstats
path: root/security/lsm_audit.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-05-08 16:32:23 +0200
committerEric Paris <eparis@redhat.com>2013-11-05 17:09:04 +0100
commitd3aea84a4ace5ff9ce7fb7714cee07bebef681c2 (patch)
tree59db7631075067f16c8d5f19286b7e075180b4be /security/lsm_audit.c
parentaudit: add child record before the create to handle case where create fails (diff)
downloadlinux-d3aea84a4ace5ff9ce7fb7714cee07bebef681c2.tar.xz
linux-d3aea84a4ace5ff9ce7fb7714cee07bebef681c2.zip
audit: log the audit_names record type
...to make it clear what the intent behind each record's operation was. In many cases you can infer this, based on the context of the syscall and the result. In other cases it's not so obvious. For instance, in the case where you have a file being renamed over another, you'll have two different records with the same filename but different inode info. By logging this information we can clearly tell which one was created and which was deleted. This fixes what was broken in commit bfcec708. Commit 79f6530c should also be backported to stable v3.7+. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions