summaryrefslogtreecommitdiff
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-04-15 10:58:02 +1000
committerDarren Tucker <dtucker@dtucker.net>2020-04-15 10:58:02 +1000
commit8af0244d7b4a65eed2e62f9c89141c7c8e63f09d (patch)
treed559741e48554119c6a98da679c3939b50319e89 /sandbox-seccomp-filter.c
parent3779b50ee952078018a5d9e1df20977f4355df17 (diff)
Add sys/syscall.h for syscall numbers.
In some architecture/libc configurations we need to explicitly include sys/syscall.h for the syscall number (__NR_xxx) definitions. bz#3085, patch from blowfist at xroutine.net.
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index f80981faf..e0768c063 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -43,6 +43,7 @@
43#include <sys/resource.h> 43#include <sys/resource.h>
44#include <sys/prctl.h> 44#include <sys/prctl.h>
45#include <sys/mman.h> 45#include <sys/mman.h>
46#include <sys/syscall.h>
46 47
47#include <linux/net.h> 48#include <linux/net.h>
48#include <linux/audit.h> 49#include <linux/audit.h>