Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8876
b: refs/heads/master
c: 21af6c4
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed Jul 2, 2005
1 parent 62c2968 commit 46e87a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac4cec443a80bfde829516e7a7db10f7325aa528
refs/heads/master: 21af6c4f2aa5f63138871b4ddd77d7ebf2588c9d
4 changes: 2 additions & 2 deletions trunk/kernel/auditsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static enum audit_state audit_filter_syscall(struct task_struct *tsk,
int word = AUDIT_WORD(ctx->major);
int bit = AUDIT_BIT(ctx->major);

if (audit_pid && ctx->pid == audit_pid)
if (audit_pid && tsk->pid == audit_pid)
return AUDIT_DISABLED;

rcu_read_lock();
Expand Down Expand Up @@ -601,7 +601,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 && tsk->pid != audit_pid) {
if (context->in_syscall && !context->auditable) {
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 46e87a2

Please sign in to comment.