Affected by GO-2022-0390
and 1 other vulnerabilities
GO-2022-0390 : Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914 : Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
Discover Packages
github.com/moby/moby
pkg
reexec
package
Version:
v1.7.0
Opens a new window with list of versions in this module.
Published: Jun 18, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
README
README
¶
reexec
The reexec
package facilitates the busybox style reexec of the docker binary that we require because
of the forking limitations of using Go. Handlers can be registered with a name and the argv 0 of
the exec of the binary will be used to find and execute custom init paths.
Expand ▾
Collapse ▴
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Init is called as the first part of the exec process and returns true if an
initialization function was called.
func Register(name string , initializer func())
Register adds an initialization func under the specified name
Self returns the path to the current processes binary
Source Files
¶
Click to show internal directories.
Click to hide internal directories.