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>
This commit is contained in:
parent
d796114825
commit
70249a9cfd
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue