summaryrefslogtreecommitdiffstats
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorMatt Redfearn2016-03-29 10:35:33 +0200
committerRalf Baechle2016-05-13 14:02:01 +0200
commitb1b4fad5cc678442c8184a7b91b6cfb0b8b461a5 (patch)
tree21943cae2cf7ce92c5a69bcb14143e9dc0ba34d8 /kernel/seccomp.c
parentseccomp: Get compat syscalls from asm-generic header (diff)
downloadkernel-qcow2-linux-b1b4fad5cc678442c8184a7b91b6cfb0b8b461a5.tar.gz
kernel-qcow2-linux-b1b4fad5cc678442c8184a7b91b6cfb0b8b461a5.tar.xz
kernel-qcow2-linux-b1b4fad5cc678442c8184a7b91b6cfb0b8b461a5.zip
MIPS: seccomp: Support compat with both O32 and N32
Previously the seccomp would only support strict mode on O32 userland programs when the kernel had support for both O32 and N32 ABIs. Remove kludge and support both ABIs. With this patch in place, the seccomp_bpf self test now passes global.mode_strict_support with N32 userland. Suggested-by: Paul Burton <paul.burton@imgtec.com> Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com> Acked-by: Kees Cook <keescook@chromium.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: IMG-MIPSLinuxKerneldevelopers@imgtec.com Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/12917/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions