aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/audit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index f165308254dc..fde0f1420cd2 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -340,6 +340,7 @@ struct mqstat;
340#define AUDITSC_RESULT(x) ( ((long)(x))<0?AUDITSC_FAILURE:AUDITSC_SUCCESS ) 340#define AUDITSC_RESULT(x) ( ((long)(x))<0?AUDITSC_FAILURE:AUDITSC_SUCCESS )
341extern int __init audit_register_class(int class, unsigned *list); 341extern int __init audit_register_class(int class, unsigned *list);
342extern int audit_classify_syscall(int abi, unsigned syscall); 342extern int audit_classify_syscall(int abi, unsigned syscall);
343extern int audit_classify_arch(int arch);
343#ifdef CONFIG_AUDITSYSCALL 344#ifdef CONFIG_AUDITSYSCALL
344/* These are defined in auditsc.c */ 345/* These are defined in auditsc.c */
345 /* Public API */ 346 /* Public API */
@@ -458,6 +459,7 @@ static inline int audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat)
458 return 0; 459 return 0;
459} 460}
460extern int audit_n_rules; 461extern int audit_n_rules;
462extern int audit_signals;
461#else 463#else
462#define audit_alloc(t) ({ 0; }) 464#define audit_alloc(t) ({ 0; })
463#define audit_free(t) do { ; } while (0) 465#define audit_free(t) do { ; } while (0)
@@ -490,6 +492,7 @@ extern int audit_n_rules;
490#define audit_mq_getsetattr(d,s) ({ 0; }) 492#define audit_mq_getsetattr(d,s) ({ 0; })
491#define audit_ptrace(t) ((void)0) 493#define audit_ptrace(t) ((void)0)
492#define audit_n_rules 0 494#define audit_n_rules 0
495#define audit_signals 0
493#endif 496#endif
494 497
495#ifdef CONFIG_AUDIT 498#ifdef CONFIG_AUDIT