diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-07-10 08:29:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-08-03 10:55:18 -0400 |
commit | 471a5c7c839114cc8b55876203aeb2817c33e3c5 (patch) | |
tree | a034011f4efe66adcdca6e21efc2e05b0c0d3e34 /include/linux/audit.h | |
parent | 5422e01ac16df7398b2bad1eccad0ae3be4dee32 (diff) |
[PATCH] introduce audit rules counter
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index bf196c05826c..f1bfcff497bf 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -410,6 +410,7 @@ static inline int audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) | |||
410 | return __audit_mq_getsetattr(mqdes, mqstat); | 410 | return __audit_mq_getsetattr(mqdes, mqstat); |
411 | return 0; | 411 | return 0; |
412 | } | 412 | } |
413 | extern int audit_n_rules; | ||
413 | #else | 414 | #else |
414 | #define audit_alloc(t) ({ 0; }) | 415 | #define audit_alloc(t) ({ 0; }) |
415 | #define audit_free(t) do { ; } while (0) | 416 | #define audit_free(t) do { ; } while (0) |
@@ -437,6 +438,7 @@ static inline int audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) | |||
437 | #define audit_mq_timedreceive(d,l,p,t) ({ 0; }) | 438 | #define audit_mq_timedreceive(d,l,p,t) ({ 0; }) |
438 | #define audit_mq_notify(d,n) ({ 0; }) | 439 | #define audit_mq_notify(d,n) ({ 0; }) |
439 | #define audit_mq_getsetattr(d,s) ({ 0; }) | 440 | #define audit_mq_getsetattr(d,s) ({ 0; }) |
441 | #define audit_n_rules 0 | ||
440 | #endif | 442 | #endif |
441 | 443 | ||
442 | #ifdef CONFIG_AUDIT | 444 | #ifdef CONFIG_AUDIT |