]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Audit: Fix hang in entry.S.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 2 Sep 2010 20:59:58 +0000 (22:59 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Oct 2010 17:33:55 +0000 (18:33 +0100)
commitdb1f3f01606262037e4c6d7d5204ba1850289d84
treea71b3e640bf007cb0899081b780fc6b87e377589
parent0e88d77b11d3e9e14225dddb2ea65052f313d94d
MIPS: Audit: Fix hang in entry.S.

_TIF_WORK_MASK false had _TIF_SYSCALL_AUDIT set.  If a thread's
_TIF_SYSCALL_AUDIT is ever set this will lead to an endless loop on the
way out from a syscall.

Currently this is only a theoretic bug as init/Kconfig doesn't allow
AUDIT_SYSCALL to be enabled for MIPS.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/thread_info.h