diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-06-23 18:33:54 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-06-23 18:33:54 +0100 |
commit | 9e94e66a5bc739ab525ec0a26ba75300aaf154f3 (patch) | |
tree | b75da428ad7067959b24a0e2e6b64094750025b9 /kernel | |
parent | 9470178e620fe8f512928eed34994572c1c44be4 (diff) | |
download | kernel_goldelico_gta04-9e94e66a5bc739ab525ec0a26ba75300aaf154f3.zip kernel_goldelico_gta04-9e94e66a5bc739ab525ec0a26ba75300aaf154f3.tar.gz kernel_goldelico_gta04-9e94e66a5bc739ab525ec0a26ba75300aaf154f3.tar.bz2 |
AUDIT: No really, we don't want to audit auditd.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index f463fd2..20c7d85 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -573,7 +573,7 @@ static inline struct audit_context *audit_get_context(struct task_struct *tsk, context->return_valid = return_valid; context->return_code = return_code; - if (context->in_syscall && !context->auditable) { + if (context->in_syscall && !context->auditable && tsk->pid != audit_pid) { enum audit_state state; state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_EXIT]); if (state == AUDIT_RECORD_CONTEXT) |