summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-14 15:40:06 +0200
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-14 15:40:06 +0200
commit351bb722590b2329ac5e72c4b824b8b6ce6e3082 (patch)
tree3c67b739953061af5762d31de9a922e5c6237007 /kernel
parentAUDIT: Avoid scheduling in idle thread (diff)
downloadlinux-351bb722590b2329ac5e72c4b824b8b6ce6e3082.tar.xz
linux-351bb722590b2329ac5e72c4b824b8b6ce6e3082.zip
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')
-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,
int word = AUDIT_WORD(ctx->major);
int bit = AUDIT_BIT(ctx->major);
- if (audit_pid && tsk->tgid == audit_tgid)
+ if (audit_pid && tsk->tgid == audit_pid)
return AUDIT_DISABLED;
rcu_read_lock();