audit: use macros for unset inode and device values
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 6 Aug 2015 03:48:20 +0000 (23:48 -0400)
committerPaul Moore <pmoore@redhat.com>
Thu, 6 Aug 2015 18:39:02 +0000 (14:39 -0400)
Clean up a number of places were casted magic numbers are used to represent
unset inode and device numbers in preparation for the audit by executable path
patch set.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: enclosed the _UNSET macros in parentheses for ./scripts/checkpatch]
Signed-off-by: Paul Moore <pmoore@redhat.com>
include/linux/audit.h
kernel/audit.c
kernel/audit_watch.c
kernel/auditsc.c

Simple merge
diff --cc kernel/audit.c
Simple merge
Simple merge
Simple merge