diff options
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/config_noseccomp.go')
-rw-r--r-- | vendor/github.com/projectatomic/buildah/config_noseccomp.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/projectatomic/buildah/config_noseccomp.go b/vendor/github.com/projectatomic/buildah/config_noseccomp.go new file mode 100644 index 000000000..e8354cc55 --- /dev/null +++ b/vendor/github.com/projectatomic/buildah/config_noseccomp.go @@ -0,0 +1,11 @@ +// +build !seccomp + +package buildah + +import "github.com/opencontainers/runtime-spec/specs-go" + +func setupSeccomp(spec *specs.Spec, seccompProfilePath string) error { + // If no seccomp is being used, the Seccomp profile in the Linux spec + // is not set + return nil +} |