Skip to content

um: Add seccomp support

Mickaël Salaün linux-um lkml 3 versions – Applied

Status from this message: Applied!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesApplied
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 7 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4um: Fix ptrace GETREGS/SETREGS bugsarch/um/include/shared/os.h arch/um/kernel/skas/syscall.c arch/um/os-Linux/skas/process.c +1 more+17 -250 replies
2/4selftests/seccomp: Remove the need for HAVE_ARCH_TRACEHOOKtools/testing/selftests/seccomp/seccomp_bpf.c+24 -30 replies
3/4um: Add full asm/syscall.h supportarch/um/include/asm/syscall-generic.h arch/x86/um/asm/syscall.h+139 -00 replies
4/4um: Add seccomp supportDocumentation/features/seccomp/seccomp-filter/arch-support.txt arch/um/Kconfig.common arch/um/Kconfig.um +2 more+25 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKees CookDavid Drysdale
SeriesA-b T-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] um: Add seccomp support

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
Signature · 7 lines
2.6.4

--
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/