Differential D21570 Diff 62266 sysutils/docker-freebsd/files/patch-libcontainerd_supervisor_utils__freebsd.go
Changeset View
Changeset View
Standalone View
Standalone View
sysutils/docker-freebsd/files/patch-libcontainerd_supervisor_utils__freebsd.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 |
--- libcontainerd/supervisor/utils_freebsd.go.orig 2019-06-24 18:38:41 UTC | |||||
+++ libcontainerd/supervisor/utils_freebsd.go | |||||
@@ -0,0 +1,11 @@ | |||||
+package supervisor // import "github.com/docker/docker/libcontainerd/supervisor" | |||||
+ | |||||
+import "syscall" | |||||
+ | |||||
+// containerdSysProcAttr returns the SysProcAttr to use when exec'ing | |||||
+// containerd | |||||
+func containerdSysProcAttr() *syscall.SysProcAttr { | |||||
+ return &syscall.SysProcAttr{ | |||||
+ Setsid: true, | |||||
+ } | |||||
+} |