aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/seccomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/seccomp.h')
-rw-r--r--src/include/seccomp.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/include/seccomp.h b/src/include/seccomp.h
index 29b858c70..90db16d39 100644
--- a/src/include/seccomp.h
+++ b/src/include/seccomp.h
@@ -96,24 +96,7 @@
96# define PR_SET_NO_NEW_PRIVS 38 96# define PR_SET_NO_NEW_PRIVS 38
97#endif 97#endif
98 98
99#if HAVE_SECCOMP_H
100#include <linux/seccomp.h> 99#include <linux/seccomp.h>
101#else
102#define SECCOMP_MODE_FILTER 2
103#define SECCOMP_RET_KILL 0x00000000U
104#define SECCOMP_RET_TRAP 0x00030000U
105#define SECCOMP_RET_ALLOW 0x7fff0000U
106#define SECCOMP_RET_ERRNO 0x00050000U
107#define SECCOMP_RET_DATA 0x0000ffffU
108
109struct seccomp_data {
110 int nr;
111 __u32 arch;
112 __u64 instruction_pointer;
113 __u64 args[6];
114};
115#endif
116
117#ifndef SECCOMP_RET_LOG 100#ifndef SECCOMP_RET_LOG
118#define SECCOMP_RET_LOG 0x7ffc0000U 101#define SECCOMP_RET_LOG 0x7ffc0000U
119#endif 102#endif