linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] um: Add seccomp support
@ 2015-12-29 20:35 Mickaël Salaün
  2015-12-29 20:35 ` [PATCH v3 1/4] um: Fix ptrace GETREGS/SETREGS bugs Mickaël Salaün
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Mickaël Salaün @ 2015-12-29 20:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: Mickaël Salaün, Jeff Dike, Richard Weinberger,
	Thomas Gleixner, Ingo Molnar, H . Peter Anvin, x86, Kees Cook,
	Andy Lutomirski, Will Drewry, Shuah Khan, Chris Metcalf,
	Michael Ellerman, Andrew Morton, James Hogan, Thomas Meyer,
	Nicolas Iooss, Anton Ivanov, user-mode-linux-devel, Meredydd Luff,
	David Drysdale

This series add seccomp support to User-mode Linux (i386 and x86_64
subarchitectures) and fix ptrace issues. This apply on v4.4-rc7 and pass all
the 48 tests from selftest/seccomp plus the UML ptsc test.

Changes since v2:
* remove get_syscall() from os.h and don't include it in syscall.c [1/4]
* rebase to v4.4-rc7

Changes since v1; addressed Richard Weinberger's comments:
* fix a new PTRACE_SETREGS bug on x86_64 [1/4]
* fix an old PTRACE_SETREGS bug when updating orig_ax on i386 [1/4]

Regards,
 Mickaël

Mickaël Salaün (4):
  um: Fix ptrace GETREGS/SETREGS bugs
  selftests/seccomp: Remove the need for HAVE_ARCH_TRACEHOOK
  um: Add full asm/syscall.h support
  um: Add seccomp support

 .../seccomp/seccomp-filter/arch-support.txt        |   2 +-
 arch/um/Kconfig.common                             |   1 +
 arch/um/Kconfig.um                                 |  16 +++
 arch/um/include/asm/syscall-generic.h              | 138 +++++++++++++++++++++
 arch/um/include/asm/thread_info.h                  |   2 +
 arch/um/include/shared/os.h                        |   1 -
 arch/um/kernel/skas/syscall.c                      |  31 +++--
 arch/um/os-Linux/skas/process.c                    |   7 --
 arch/x86/um/asm/syscall.h                          |   1 +
 arch/x86/um/ptrace_32.c                            |   8 +-
 tools/testing/selftests/seccomp/seccomp_bpf.c      |  27 +++-
 11 files changed, 205 insertions(+), 29 deletions(-)
 create mode 100644 arch/um/include/asm/syscall-generic.h

-- 
2.6.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

end of thread, other threads:[~2016-01-10 20:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-29 20:35 [PATCH v3 0/4] um: Add seccomp support Mickaël Salaün
2015-12-29 20:35 ` [PATCH v3 1/4] um: Fix ptrace GETREGS/SETREGS bugs Mickaël Salaün
2015-12-29 20:35 ` [PATCH v3 2/4] selftests/seccomp: Remove the need for HAVE_ARCH_TRACEHOOK Mickaël Salaün
2015-12-29 20:35 ` [PATCH v3 3/4] um: Add full asm/syscall.h support Mickaël Salaün
2015-12-29 20:35 ` [PATCH v3 4/4] um: Add seccomp support Mickaël Salaün
2016-01-04 20:13 ` [PATCH v3 0/4] " Kees Cook
2016-01-06 14:15   ` David Drysdale
2016-01-06 14:18     ` Richard Weinberger
2016-01-10 20:18 ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).