diff options
| author | Richard Guy Briggs <rgb@redhat.com> | 2013-09-18 11:55:12 -0400 |
|---|---|---|
| committer | Eric Paris <eparis@redhat.com> | 2014-01-13 22:28:45 -0500 |
| commit | 51cc83f024ee51de9da70c17e01ec6de524f5906 (patch) | |
| tree | 65836321a3abcd33bb913675904fde92a09df326 /include/uapi/linux | |
| parent | 09f883a9023e7a86f92c731e80f30a9447f4bdbe (diff) | |
audit: add audit_backlog_wait_time configuration option
reaahead-collector abuses the audit logging facility to discover which files
are accessed at boot time to make a pre-load list
Add a tuning option to audit_backlog_wait_time so that if auditd can't keep up,
or gets blocked, the callers won't be blocked.
Bump audit_status API version to "2".
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/audit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h index 4fdedd4c88a1..14afb0d22902 100644 --- a/include/uapi/linux/audit.h +++ b/include/uapi/linux/audit.h | |||
| @@ -319,6 +319,7 @@ enum { | |||
| 319 | #define AUDIT_STATUS_PID 0x0004 | 319 | #define AUDIT_STATUS_PID 0x0004 |
| 320 | #define AUDIT_STATUS_RATE_LIMIT 0x0008 | 320 | #define AUDIT_STATUS_RATE_LIMIT 0x0008 |
| 321 | #define AUDIT_STATUS_BACKLOG_LIMIT 0x0010 | 321 | #define AUDIT_STATUS_BACKLOG_LIMIT 0x0010 |
| 322 | #define AUDIT_STATUS_BACKLOG_WAIT_TIME 0x0020 | ||
| 322 | /* Failure-to-log actions */ | 323 | /* Failure-to-log actions */ |
| 323 | #define AUDIT_FAIL_SILENT 0 | 324 | #define AUDIT_FAIL_SILENT 0 |
| 324 | #define AUDIT_FAIL_PRINTK 1 | 325 | #define AUDIT_FAIL_PRINTK 1 |
| @@ -377,6 +378,7 @@ struct audit_status { | |||
| 377 | __u32 lost; /* messages lost */ | 378 | __u32 lost; /* messages lost */ |
| 378 | __u32 backlog; /* messages waiting in queue */ | 379 | __u32 backlog; /* messages waiting in queue */ |
| 379 | __u32 version; /* audit api version number */ | 380 | __u32 version; /* audit api version number */ |
| 381 | __u32 backlog_wait_time;/* message queue wait timeout */ | ||
| 380 | }; | 382 | }; |
| 381 | 383 | ||
| 382 | struct audit_features { | 384 | struct audit_features { |
