From: Oleg Nesterov Date: Sun, 15 Sep 2013 17:11:09 +0000 (+0200) Subject: audit_alloc: clear TIF_SYSCALL_AUDIT if !audit_context X-Git-Tag: v3.13-rc1~19^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48d805122e39c066898df2e460875d3aaf60508;p=pandora-kernel.git audit_alloc: clear TIF_SYSCALL_AUDIT if !audit_context If audit_filter_task() nacks the new thread it makes sense to clear TIF_SYSCALL_AUDIT which can be copied from parent by dup_task_struct(). A wrong TIF_SYSCALL_AUDIT is not really bad but it triggers the "slow" audit paths in entry.S to ensure the task can not miss audit_syscall_*() calls, this is pointless if the task has no ->audit_context. Signed-off-by: Oleg Nesterov Acked-by: Steve Grubb Acked-by: Eric Paris Signed-off-by: Richard Guy Briggs Signed-off-by: Eric Paris --- Reading git-diff-tree failed