diff --git a/sandbox/seccomp/syscall_extra_linux_amd64.go b/sandbox/seccomp/syscall_extra_linux_amd64.go new file mode 100644 index 0000000..19022f6 --- /dev/null +++ b/sandbox/seccomp/syscall_extra_linux_amd64.go @@ -0,0 +1,16 @@ +package seccomp + +/* +#cgo linux pkg-config: --static libseccomp + +#include +*/ +import "C" + +var syscallNumExtra = map[string]int{ + "umount": SYS_UMOUNT, +} + +const ( + SYS_UMOUNT = C.__PNR_umount +)