diff --git a/daemon/execdriver/native/seccomp_default.go b/daemon/execdriver/native/seccomp_default.go index 7854ff679a..94a8efbb63 100644 --- a/daemon/execdriver/native/seccomp_default.go +++ b/daemon/execdriver/native/seccomp_default.go @@ -1,4 +1,4 @@ -// +build linux +// +build linux,seccomp package native diff --git a/daemon/execdriver/native/seccomp_unsupported.go b/daemon/execdriver/native/seccomp_unsupported.go new file mode 100644 index 0000000000..b0173ecfae --- /dev/null +++ b/daemon/execdriver/native/seccomp_unsupported.go @@ -0,0 +1,9 @@ +// +build linux,!seccomp + +package native + +import "github.com/opencontainers/runc/libcontainer/configs" + +var ( + defaultSeccompProfile *configs.Seccomp +)