From: Ralf Baechle Date: Thu, 2 Sep 2010 20:59:58 +0000 (+0200) Subject: MIPS: Audit: Fix hang in entry.S. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=244599469f4c5860c8a4ae8fa8c6907a10caeccf;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h index 2376f2e06e47..70df9c0d3c5b 100644 --- a/arch/mips/include/asm/thread_info.h +++ b/arch/mips/include/asm/thread_info.h @@ -146,7 +146,8 @@ register struct thread_info *__current_thread_info __asm__("$28"); #define _TIF_LOAD_WATCH (1<