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)
commit84cb777e67814f2e06a99ff228f743409e9617e9
tree86cbb87dbab8defa95a45de645c6a53a708c67db
parent8c85fc9ae69a4510ba5e2bd5fac2c1d9d60967ad
audit: use macros for unset inode and device values

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