mcst-linux-kernel/patches-2024.06.26/docker-ce-19.03.15/0003_bug138550_engine.patch

21 lines
905 B
Diff
Raw Permalink Normal View History

2024-07-09 13:51:45 +03:00
diff --git a/components/engine/vendor/github.com/containerd/containerd/sys/subprocess_unsafe_linux.go
b/components/engine/vendor/github.com/containerd/containerd/sys/subprocess_unsafe_linux.go
index 6e40a9c7d7..c086dc5226 100644
--- a/components/engine/vendor/github.com/containerd/containerd/sys/subprocess_unsafe_linux.go
+++ b/components/engine/vendor/github.com/containerd/containerd/sys/subprocess_unsafe_linux.go
@@ -20,11 +20,11 @@ import (
_ "unsafe" // required for go:linkname.
)
-//go:linkname beforeFork syscall.runtime_BeforeFork
+//go:linkname beforeFork syscall.runtime__BeforeFork
func beforeFork()
-//go:linkname afterFork syscall.runtime_AfterFork
+//go:linkname afterFork syscall.runtime__AfterFork
func afterFork()
-//go:linkname afterForkInChild syscall.runtime_AfterForkInChild
+//go:linkname afterForkInChild syscall.runtime__AfterForkInChild
func afterForkInChild()