Package: libseccomp / 2.3.1-2.1+deb9u1

Metadata

Package Version Patches format
libseccomp 2.3.1-2.1+deb9u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
28 parisc_support.patch | (download)

include/seccomp.h.in | 6 6 + 0 - 0 !
src/Makefile.am | 2 2 + 0 - 0 !
src/arch-parisc-syscalls.c | 499 499 + 0 - 0 !
src/arch-parisc.c | 22 22 + 0 - 0 !
src/arch-parisc.h | 38 38 + 0 - 0 !
src/arch-parisc64.c | 22 22 + 0 - 0 !
src/arch-syscall-check.c | 11 11 + 0 - 0 !
src/arch-syscall-dump.c | 5 5 + 0 - 0 !
src/arch.c | 13 13 + 0 - 0 !
src/gen_pfc.c | 4 4 + 0 - 0 !
src/python/libseccomp.pxd | 2 2 + 0 - 0 !
src/python/seccomp.pyx | 8 8 + 0 - 0 !
tests/26-sim-arch_all_be_basic.c | 6 6 + 0 - 0 !
tests/26-sim-arch_all_be_basic.py | 2 2 + 0 - 0 !
tests/regression | 3 2 + 1 - 0 !
tools/scmp_arch_detect.c | 6 6 + 0 - 0 !
tools/scmp_bpf_sim.c | 4 4 + 0 - 0 !
tools/util.c | 4 4 + 0 - 0 !
18 files changed, 656 insertions(+), 1 deletion(-)

 [patch] arch: add parisc architecture support

This patch (v4) adds support for the parisc and parisc64 architectures
to libseccomp.

I didn't split up the patch, because it's pretty trivial.
Those parisc-specific files gets added:
 src/arch-parisc-syscalls.c
 src/arch-parisc.c
 src/arch-parisc.h
 src/arch-parisc64.c

All other changes are trivial because they simply add parisc-specific
case statements in variouse switch statements.

I did ran a "make check" on x86-64 and parisc and all testcases succeeded.
All live testcases succeed as well when running "./regression -T live".

The patch applies cleanly to current libseccomp git head.

Changes between v4 and v3 of this patch:
- Added parisc arch to arch-syscall-check.c and fixup syscall table as
  needed
- Fixed copyright notices in parisc files as suggested by Mike Frysinger

Changes between v3 and v2 of this patch:
- Stripped out patch which reports if a check was skipped because
  valgrind isn't installed.
- Added tuxcall pseudo syscall for 19-sim-missing_syscalls testcase
- Added sysmips pseudo syscall for 29-sim-pseudo_syscall testcase

Changes between v2 and v1 of this patch:
- Enabled seccomp mode 2 regression tests on parisc. Kernel support for
  hppa was added in kernel 4.6-rc1 and backported into the kernel v4.5.2
  stable series.

Signed-off-by: Helge Deller <deller@gmx.de>
[PM: corrected a number or errors from 'make check-syntax']
Signed-off-by: Paul Moore <paul@paul-moore.com>

29 syscalls linux4.9.patch | (download)

include/seccomp.h.in | 15 15 + 0 - 0 !
src/arch-aarch64-syscalls.c | 7 6 + 1 - 0 !
src/arch-arm-syscalls.c | 7 6 + 1 - 0 !
src/arch-mips-syscalls.c | 7 6 + 1 - 0 !
src/arch-mips64-syscalls.c | 7 6 + 1 - 0 !
src/arch-mips64n32-syscalls.c | 7 6 + 1 - 0 !
src/arch-parisc-syscalls.c | 7 6 + 1 - 0 !
src/arch-ppc-syscalls.c | 7 6 + 1 - 0 !
src/arch-ppc64-syscalls.c | 7 6 + 1 - 0 !
src/arch-s390-syscalls.c | 7 6 + 1 - 0 !
src/arch-s390x-syscalls.c | 7 6 + 1 - 0 !
src/arch-x32-syscalls.c | 5 5 + 0 - 0 !
src/arch-x86-syscalls.c | 7 6 + 1 - 0 !
src/arch-x86_64-syscalls.c | 7 6 + 1 - 0 !
14 files changed, 92 insertions(+), 12 deletions(-)

 [patch] arch: update syscalls for linux 4.9

Add support for the following syscalls added in Linux v4.9:

- preadv2 and pwritev2
- pkey_mprotect, pkey_alloc, pkey_free

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
[PM: update subject line, description, and some whitespace]
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit d9102f12fd39bd77151a1f630fcfc8c80f86c55c)

30 statx.patch | (download)

src/arch-aarch64-syscalls.c | 1 1 + 0 - 0 !
src/arch-arm-syscalls.c | 1 1 + 0 - 0 !
src/arch-mips-syscalls.c | 1 1 + 0 - 0 !
src/arch-mips64-syscalls.c | 1 1 + 0 - 0 !
src/arch-mips64n32-syscalls.c | 1 1 + 0 - 0 !
src/arch-parisc-syscalls.c | 1 1 + 0 - 0 !
src/arch-ppc-syscalls.c | 1 1 + 0 - 0 !
src/arch-ppc64-syscalls.c | 1 1 + 0 - 0 !
src/arch-s390-syscalls.c | 1 1 + 0 - 0 !
src/arch-s390x-syscalls.c | 1 1 + 0 - 0 !
src/arch-x32-syscalls.c | 1 1 + 0 - 0 !
src/arch-x86-syscalls.c | 1 1 + 0 - 0 !
src/arch-x86_64-syscalls.c | 1 1 + 0 - 0 !
13 files changed, 13 insertions(+)

 [patch] arch: add the statx syscall

Fixes #88

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[PM: fixed the incorrect x32 definition]
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit 4793ea990ea80ee26ed63e2a20723fdb417abf5b)