]> git.proxmox.com Git - mirror_libseccomp.git/commit - src/python/seccomp.pyx
all: treat syscall -1 as a valid syscall
authorPaul Moore <paul@paul-moore.com>
Thu, 16 Feb 2017 00:10:35 +0000 (19:10 -0500)
committerPaul Moore <paul@paul-moore.com>
Tue, 21 Feb 2017 22:30:47 +0000 (17:30 -0500)
commitdc879990774b5fe0b5d3362ae592e8a5bb615fbb
tree126b545a209cf8b4abf92f50dd4cb6b0f0f0325e
parenta66f000de92c7ced17ae6615837dabafd803ae42
all: treat syscall -1 as a valid syscall

Process tracers use a -1 syscall value to indicate that a syscall
should be skipped.  This turns out to be quite an undertaking as
we need to workaround __NR_SCMP_ERROR (which also has a value of
-1).  Pay special attention to the new attribute,
SCMP_FLTATR_API_TSKIP, and the documentation additions.

More information in the GitHub issue:
* https://github.com/seccomp/libseccomp/issues/80

Signed-off-by: Paul Moore <paul@paul-moore.com>
doc/man/man3/seccomp_attr_set.3
doc/man/man3/seccomp_rule_add.3
include/seccomp.h.in
src/api.c
src/arch.c
src/db.c
src/db.h
src/python/libseccomp.pxd
src/python/seccomp.pyx