[MIPS] Fixup secure computing stuff.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@ -524,7 +524,7 @@ asmlinkage void do_ade(struct pt_regs *regs)
|
||||
goto sigbus;
|
||||
|
||||
pc = (unsigned int __user *) exception_epc(regs);
|
||||
if (user_mode(regs) && (current->thread.mflags & MF_FIXADE) == 0)
|
||||
if (user_mode(regs) && !test_thread_flag(TIF_FIXADE))
|
||||
goto sigbus;
|
||||
if (unaligned_action == UNALIGNED_ACTION_SIGNAL)
|
||||
goto sigbus;
|
||||
|
Reference in New Issue
Block a user