summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/audit.h
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2014-01-13 16:48:45 -0500
committerEric Paris <eparis@redhat.com>2014-01-13 22:33:36 -0500
commit70249a9cfdb405f654708699c679c6774efb31d8 (patch)
tree3e3f102a255fe974fb0b7ae3841daff4021517c9 /include/uapi/linux/audit.h
parentd7961148258cfe19908b5a29941a8c9f3fa7a4d6 (diff)
downloadlinux-stable-70249a9cfdb405f654708699c679c6774efb31d8.tar.gz
linux-stable-70249a9cfdb405f654708699c679c6774efb31d8.tar.bz2
linux-stable-70249a9cfdb405f654708699c679c6774efb31d8.zip
audit: use define's for audit version
Give names to the audit versions. Just something for a userspace programmer to know what the version provides. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/uapi/linux/audit.h')
-rw-r--r--include/uapi/linux/audit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index 14afb0d22902..3e1fbe933016 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -320,6 +320,11 @@ enum {
#define AUDIT_STATUS_RATE_LIMIT 0x0008
#define AUDIT_STATUS_BACKLOG_LIMIT 0x0010
#define AUDIT_STATUS_BACKLOG_WAIT_TIME 0x0020
+
+#define AUDIT_VERSION_BACKLOG_LIMIT 1
+#define AUDIT_VERSION_BACKLOG_WAIT_TIME 2
+#define AUDIT_VERSION_LATEST AUDIT_VERSION_BACKLOG_WAIT_TIME
+
/* Failure-to-log actions */
#define AUDIT_FAIL_SILENT 0
#define AUDIT_FAIL_PRINTK 1