summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/chroot/seccomp_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/chroot/seccomp_unsupported.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/chroot/seccomp_unsupported.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/github.com/projectatomic/buildah/chroot/seccomp_unsupported.go b/vendor/github.com/projectatomic/buildah/chroot/seccomp_unsupported.go
deleted file mode 100644
index a5b74bf09..000000000
--- a/vendor/github.com/projectatomic/buildah/chroot/seccomp_unsupported.go
+++ /dev/null
@@ -1,15 +0,0 @@
-// +build !linux !seccomp
-
-package chroot
-
-import (
- "github.com/opencontainers/runtime-spec/specs-go"
- "github.com/pkg/errors"
-)
-
-func setSeccomp(spec *specs.Spec) error {
- if spec.Linux.Seccomp != nil {
- return errors.New("configured a seccomp filter without seccomp support?")
- }
- return nil
-}