On Tue, Dec 29, 2015 at 12:35 PM, Mickaël Salaün <[email protected]> wrote: > 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]
Thanks for working on this! Acked-by: Kees Cook <[email protected]> Feel free to pull this through the uml tree. Thanks! -Kees > > 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 > -- Kees Cook Chrome OS & Brillo Security -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

