summaryrefslogtreecommitdiff
path: root/pkg/specgen/config_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/specgen/config_unsupported.go')
-rw-r--r--pkg/specgen/config_unsupported.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/specgen/config_unsupported.go b/pkg/specgen/config_unsupported.go
new file mode 100644
index 000000000..c2d3257c9
--- /dev/null
+++ b/pkg/specgen/config_unsupported.go
@@ -0,0 +1,13 @@
+// +build !linux
+
+package specgen
+
+import (
+ "github.com/containers/libpod/libpod/image"
+ spec "github.com/opencontainers/runtime-spec/specs-go"
+ "github.com/pkg/errors"
+)
+
+func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *image.Image) (*spec.LinuxSeccomp, error) {
+ return nil, errors.New("function not supported on non-linux OS's")
+}