From ebe2f78d9bc8639f0967c08777a3c9431ac44700 Mon Sep 17 00:00:00 2001 From: Bin Lu Date: Fri, 3 May 2019 22:02:51 -0700 Subject: Add arm64 support to pkg/seccomp Signed-off-by: Bin Lu PiperOrigin-RevId: 246622505 Change-Id: I803639a0c5b0f75959c64fee5385314214834d10 --- pkg/seccomp/seccomp_unsafe.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pkg/seccomp/seccomp_unsafe.go') diff --git a/pkg/seccomp/seccomp_unsafe.go b/pkg/seccomp/seccomp_unsafe.go index ccd40d9db..ebb6397e8 100644 --- a/pkg/seccomp/seccomp_unsafe.go +++ b/pkg/seccomp/seccomp_unsafe.go @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build amd64 - package seccomp import ( @@ -65,9 +63,6 @@ func isKillProcessAvailable() (bool, error) { // //go:nosplit func seccomp(op, flags uint32, ptr unsafe.Pointer) syscall.Errno { - // SYS_SECCOMP is not available in syscall package. - const SYS_SECCOMP = 317 - if _, _, errno := syscall.RawSyscall(SYS_SECCOMP, uintptr(op), uintptr(flags), uintptr(ptr)); errno != 0 { return errno } -- cgit v1.2.3