aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r--kernel/auditsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index f463fd230846..20c7d8560af0 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,
573 context->return_valid = return_valid; 573 context->return_valid = return_valid;
574 context->return_code = return_code; 574 context->return_code = return_code;
575 575
576 if (context->in_syscall && !context->auditable) { 576 if (context->in_syscall && !context->auditable && tsk->pid != audit_pid) {
577 enum audit_state state; 577 enum audit_state state;
578 state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_EXIT]); 578 state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_EXIT]);
579 if (state == AUDIT_RECORD_CONTEXT) 579 if (state == AUDIT_RECORD_CONTEXT)