aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-14 09:40:06 -0400
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-14 09:40:06 -0400
commit351bb722590b2329ac5e72c4b824b8b6ce6e3082 (patch)
tree3c67b739953061af5762d31de9a922e5c6237007 /kernel/auditsc.c
parentf55619642e863990d5a46cf2c2c840170d22a9f9 (diff)
AUDIT: Fix compile error in audit_filter_syscall
We didn't rename it to audit_tgid after all. Except once... Doh. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 517b253f1efe..242d45e53738 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -517,7 +517,7 @@ static enum audit_state audit_filter_syscall(struct task_struct *tsk,
517 int word = AUDIT_WORD(ctx->major); 517 int word = AUDIT_WORD(ctx->major);
518 int bit = AUDIT_BIT(ctx->major); 518 int bit = AUDIT_BIT(ctx->major);
519 519
520 if (audit_pid && tsk->tgid == audit_tgid) 520 if (audit_pid && tsk->tgid == audit_pid)
521 return AUDIT_DISABLED; 521 return AUDIT_DISABLED;
522 522
523 rcu_read_lock(); 523 rcu_read_lock();