gvisor/runsc/sandbox
Nicolas Lacasse 9751b800a6 runsc: Support multi-container exec.
We must use a context.Context with a Root Dirent that corresponds to the
container's chroot. Previously we were using the root context, which does not
have a chroot.

Getting the correct context required refactoring some of the path-lookup code.
We can't lookup the path without a context.Context, which requires
kernel.CreateProcArgs, which we only get inside control.Execute.  So we have to
do the path lookup much later than we previously were.

PiperOrigin-RevId: 212064734
Change-Id: I84a5cfadacb21fd9c3ab9c393f7e308a40b9b537
2018-09-07 17:39:54 -07:00
..
BUILD runsc: Run sandbox process inside minimal chroot. 2018-09-07 10:16:39 -07:00
chroot.go runsc: Run sandbox process inside minimal chroot. 2018-09-07 10:16:39 -07:00
network.go Enable network for multi-container 2018-09-06 11:00:08 -07:00
sandbox.go runsc: Support multi-container exec. 2018-09-07 17:39:54 -07:00