1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/reexec
Christopher Jones 069fdc8a08
[project] change syscall to /x/sys/unix|windows
Changes most references of syscall to golang.org/x/sys/
Ones aren't changes include, Errno, Signal and SysProcAttr
as they haven't been implemented in /x/sys/.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>

[s390x] switch utsname from unsigned to signed

per 33267e036f
char in s390x in the /x/sys/unix package is now signed, so
change the buildtags

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-07-11 08:00:32 -04:00
..
command_linux.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
command_unix.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00
command_unsupported.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00
command_windows.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00
README.md First header should be a top level header 2016-11-22 09:33:21 +08:00
reexec.go
reexec_test.go Added Test Case Coverage for PKG/REEXEC 2017-06-09 12:08:04 +05:00

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.