go-ethereum/vendor/github.com/docker/docker/pkg/reexec
Lewis Marshall 4807103338 p2p/adapters: Add "exec" node adapter
Signed-off-by: Lewis Marshall <lewis@lmars.net>
2017-05-06 14:23:39 +01:00
..
command_linux.go p2p/adapters: Add "exec" node adapter 2017-05-06 14:23:39 +01:00
command_unix.go p2p/adapters: Add "exec" node adapter 2017-05-06 14:23:39 +01:00
command_unsupported.go p2p/adapters: Add "exec" node adapter 2017-05-06 14:23:39 +01:00
command_windows.go p2p/adapters: Add "exec" node adapter 2017-05-06 14:23:39 +01:00
README.md p2p/adapters: Add "exec" node adapter 2017-05-06 14:23:39 +01:00
reexec.go p2p/adapters: Add "exec" node adapter 2017-05-06 14:23:39 +01: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.