Differential D21570 Diff 62266 sysutils/docker-freebsd/files/patch-vendor_github.com_moby_buildkit_executor_oci_spec__unix.go
Changeset View
Changeset View
Standalone View
Standalone View
sysutils/docker-freebsd/files/patch-vendor_github.com_moby_buildkit_executor_oci_spec__unix.go
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- vendor/github.com/moby/buildkit/executor/oci/spec_unix.go.orig 2019-08-22 20:57:25 UTC | |||||
+++ vendor/github.com/moby/buildkit/executor/oci/spec_unix.go | |||||
@@ -8,7 +8,6 @@ import ( | |||||
"sync" | |||||
"github.com/containerd/containerd/containers" | |||||
- "github.com/containerd/containerd/contrib/seccomp" | |||||
"github.com/containerd/containerd/mount" | |||||
"github.com/containerd/containerd/namespaces" | |||||
"github.com/containerd/containerd/oci" | |||||
@@ -40,7 +39,8 @@ func GenerateSpec(ctx context.Context, meta executor.M | |||||
if meta.SecurityMode == pb.SecurityMode_INSECURE { | |||||
opts = append(opts, entitlements.WithInsecureSpec()) | |||||
} else if system.SeccompSupported() && meta.SecurityMode == pb.SecurityMode_SANDBOX { | |||||
- opts = append(opts, seccomp.WithDefaultProfile()) | |||||
+ // TODO | |||||
+ return nil, nil, errors.New("TODO Seccomp Sandbox not supported on FreeBSD") | |||||
} | |||||
switch processMode { |