summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-14 14:40:06 +0100
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-14 14:40:06 +0100
commit351bb722590b2329ac5e72c4b824b8b6ce6e3082 (patch)
tree3c67b739953061af5762d31de9a922e5c6237007 /kernel
parentf55619642e863990d5a46cf2c2c840170d22a9f9 (diff)
downloadkernel-crypto-351bb722590b2329ac5e72c4b824b8b6ce6e3082.tar.gz
kernel-crypto-351bb722590b2329ac5e72c4b824b8b6ce6e3082.tar.xz
kernel-crypto-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 517b253f1ef..242d45e5373 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();