From: David Woodhouse Date: Thu, 14 Jul 2005 13:40:06 +0000 (+0100) Subject: AUDIT: Fix compile error in audit_filter_syscall X-Git-Tag: v2.6.14-rc2~49^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=351bb722590b2329ac5e72c4b824b8b6ce6e3082;p=linux-2.6-omap-h63xx.git 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 --- 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();