Skip to content

Commit

Permalink
AUDIT: No really, we don't want to audit auditd.
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Jun 23, 2005
1 parent 9470178 commit 9e94e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/auditsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9e94e66

Please sign in to comment.