diff options
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 |