]> git.hungrycats.org Git - linux/commit
MIPS: syscall: Fix AUDIT value for O32 processes on MIPS64
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 24 Jul 2014 11:10:01 +0000 (12:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:22:03 +0000 (09:22 -0700)
commit456ea3e786d95095b08b5091643f721b56abe141
treebb9479aa77aafa14dcb694cef2513b910cdb8911
parentfa23614759ed8981b0894c4c90f33f66fc75f614
MIPS: syscall: Fix AUDIT value for O32 processes on MIPS64

commit 40381529f84c4cda3bd2d20cab6a707508856b21 upstream.

On MIPS64, O32 processes set both TIF_32BIT_ADDR and
TIF_32BIT_REGS so the previous condition treated O32 applications
as N32 when evaluating seccomp filters. Fix the condition to check
both TIF_32BIT_{REGS, ADDR} for the N32 AUDIT flag.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: http://patchwork.linux-mips.org/patch/7480/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/syscall.h