diff options
| -rw-r--r-- | sandbox/seccomp/syscall_extra_linux_amd64.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sandbox/seccomp/syscall_extra_linux_amd64.go b/sandbox/seccomp/syscall_extra_linux_amd64.go new file mode 100644 index 00000000..19022f65 --- /dev/null +++ b/sandbox/seccomp/syscall_extra_linux_amd64.go @@ -0,0 +1,16 @@ +package seccomp + +/* +#cgo linux pkg-config: --static libseccomp + +#include <seccomp.h> +*/ +import "C" + +var syscallNumExtra = map[string]int{ + "umount": SYS_UMOUNT, +} + +const ( + SYS_UMOUNT = C.__PNR_umount +) |
