All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Improved seccomp-bpf support for MIPS
@ 2014-01-22 14:39 ` Markos Chandras
  0 siblings, 0 replies; 21+ messages in thread
From: Markos Chandras @ 2014-01-22 14:39 UTC (permalink / raw)
  To: linux-mips; +Cc: Markos Chandras

Hi,

This patch improves the existing seccomp-bpf support for MIPS.
It fixes a bug when copying system call arguments for the filter
checks and it also moves away from strict filtering to actually
use the filter supplied by the userspace process.

This patchset has been tested with libseccomp
(MIPS support not upstream yet) on mips, mipsel and mips64
and with Chromium test suite (MIPS support not upstream yet)
on mipsel.

This patchset is based on the upstream-sfr/mips-for-linux-next tree.

Markos Chandras (8):
  MIPS: asm: syscall: Fix copying system call arguments
  MIPS: asm: syscall: Add the syscall_rollback function
  MIPS: asm: syscall: Define syscall_get_arch
  MIPS: asm: thread_info: Add _TIF_SECCOMP flag
  MIPS: ptrace: Move away from secure_computing_strict
  MIPS: kernel: scalls: Skip the syscall if denied by the seccomp filter
  MIPS: seccomp: Handle indirect system calls (o32)
  MIPS: Select HAVE_ARCH_SECCOMP_FILTER

 arch/mips/Kconfig                   |  1 +
 arch/mips/include/asm/ptrace.h      |  2 +-
 arch/mips/include/asm/syscall.h     | 35 ++++++++++++++++++++++++++++++-----
 arch/mips/include/asm/thread_info.h |  3 ++-
 arch/mips/kernel/ptrace.c           | 11 ++++++-----
 arch/mips/kernel/scall32-o32.S      | 15 +++++++++++++--
 arch/mips/kernel/scall64-64.S       |  5 ++++-
 arch/mips/kernel/scall64-n32.S      |  5 ++++-
 arch/mips/kernel/scall64-o32.S      | 17 +++++++++++++++--
 9 files changed, 76 insertions(+), 18 deletions(-)

-- 
1.8.5.3

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2014-02-12 15:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22 14:39 [PATCH 0/8] Improved seccomp-bpf support for MIPS Markos Chandras
2014-01-22 14:39 ` Markos Chandras
2014-01-22 14:39 ` [PATCH 1/8] MIPS: asm: syscall: Fix copying system call arguments Markos Chandras
2014-01-22 14:39   ` Markos Chandras
2014-01-22 14:39 ` [PATCH 2/8] MIPS: asm: syscall: Add the syscall_rollback function Markos Chandras
2014-01-22 14:39   ` Markos Chandras
2014-01-22 14:39 ` [PATCH 3/8] MIPS: asm: syscall: Define syscall_get_arch Markos Chandras
2014-01-22 14:39   ` Markos Chandras
2014-01-22 14:40 ` [PATCH 4/8] MIPS: asm: thread_info: Add _TIF_SECCOMP flag Markos Chandras
2014-01-22 14:40   ` Markos Chandras
2014-01-22 14:40 ` [PATCH 5/8] MIPS: ptrace: Move away from secure_computing_strict Markos Chandras
2014-01-22 14:40   ` Markos Chandras
2014-01-22 14:40 ` [PATCH 6/8] MIPS: kernel: scalls: Skip the syscall if denied by the seccomp filter Markos Chandras
2014-01-22 14:40   ` Markos Chandras
2014-01-22 14:40 ` [PATCH 7/8] MIPS: seccomp: Handle indirect system calls (o32) Markos Chandras
2014-01-22 14:40   ` Markos Chandras
2014-01-22 14:40 ` [PATCH 8/8] MIPS: Select HAVE_ARCH_SECCOMP_FILTER Markos Chandras
2014-01-22 14:40   ` Markos Chandras
2014-02-12  0:58 ` [PATCH 0/8] Improved seccomp-bpf support for MIPS Paul Gortmaker
2014-02-12  9:39   ` Markos Chandras
2014-02-12 15:31     ` Paul Gortmaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.