summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2016-01-10 16:09:14 -0500
committerPaul Moore <paul@paul-moore.com>2016-02-09 08:32:15 -0500
commit983835f3e0fd000a42c8beaea9d7fbe726ffff65 (patch)
tree5e4fb69f762c5163b74bc059581fba0113d490be /include
parent5b42b8cfa25506fa260c8f46b4a063b5cfd09d1c (diff)
downloadlibseccomp-983835f3e0fd000a42c8beaea9d7fbe726ffff65.tar.gz
arch: generate both multiplexed and direct socket syscall rules
Linux 4.3 added direct-wired socket syscalls in addition to the multiplexed socket syscalls available via socketcall(). This patch causes libseccomp to generate filters for socket syscall methods on x86 systems. Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r--include/seccomp.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index 4b1cd2e..edfa377 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -570,6 +570,7 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd);
/* NOTE - pseudo syscall values {-1..-99} are reserved */
#define __NR_SCMP_ERROR -1
+#define __NR_SCMP_UNDEF -2
/* socket syscalls */