1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/execdriver
Michael Crosby 7321067176 Use argv0 as reexec implementation for dockerinit
This changes the way the exec drivers work by not specifing a -driver
flag on reexec.  For each of the exec  drivers they register their own
functions that will be matched aginst the argv 0 on exec and called if
they match.

This also allows any functionality to be added to docker so that the
binary can be reexec'd and any type of function can be called.  I moved
the flag parsing on docker exec to the specific initializers so that the
implementations do not bleed into one another.  This also allows for
more flexability within reexec initializers to specify their own flags
and options.

Signed-off-by: Michael Crosby <michael@docker.com>
2014-08-11 11:47:21 -07:00
..
execdrivers update go import path and libcontainer 2014-07-24 22:19:50 +00:00
lxc Use argv0 as reexec implementation for dockerinit 2014-08-11 11:47:21 -07:00
native Use argv0 as reexec implementation for dockerinit 2014-08-11 11:47:21 -07:00
driver.go Use argv0 as reexec implementation for dockerinit 2014-08-11 11:47:21 -07:00
MAINTAINERS update MAINTAINERS files 2014-06-16 22:20:07 +00:00
pipes.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
termconsole.go Make tty term exec driver specific 2014-07-16 16:57:49 -07:00
utils.go Merge pull request #7062 from crosbymichael/fix-lxc-caps 2014-07-28 16:19:08 -07:00