diff options
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index e36481ed61b4..b7640a5f382a 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -71,9 +71,6 @@ | |||
71 | 71 | ||
72 | extern struct list_head audit_filter_list[]; | 72 | extern struct list_head audit_filter_list[]; |
73 | 73 | ||
74 | /* No syscall auditing will take place unless audit_enabled != 0. */ | ||
75 | extern int audit_enabled; | ||
76 | |||
77 | /* AUDIT_NAMES is the number of slots we reserve in the audit_context | 74 | /* AUDIT_NAMES is the number of slots we reserve in the audit_context |
78 | * for saving names from getname(). */ | 75 | * for saving names from getname(). */ |
79 | #define AUDIT_NAMES 20 | 76 | #define AUDIT_NAMES 20 |
@@ -2040,7 +2037,7 @@ int __audit_signal_info(int sig, struct task_struct *t) | |||
2040 | 2037 | ||
2041 | /** | 2038 | /** |
2042 | * audit_core_dumps - record information about processes that end abnormally | 2039 | * audit_core_dumps - record information about processes that end abnormally |
2043 | * @sig: signal value | 2040 | * @signr: signal value |
2044 | * | 2041 | * |
2045 | * If a process ends with a core dump, something fishy is going on and we | 2042 | * If a process ends with a core dump, something fishy is going on and we |
2046 | * should record the event for investigation. | 2043 | * should record the event for investigation. |