gvisor/runsc/boot
Kevin Krakauer 635b0c4593 runsc fsgofer: Support dynamic serving of filesystems.
When multiple containers run inside a sentry, each container has its own root
filesystem and set of mounts. Containers are also added after sentry boot rather
than all configured and known at boot time.

The fsgofer needs to be able to serve the root filesystem of each container.
Thus, it must be possible to add filesystems after the fsgofer has already
started.

This change:
* Creates a URPC endpoint within the gofer process that listens for requests to
  serve new content.
* Enables the sentry, when starting a new container, to add the new container's
  filesystem.
* Mounts those new filesystems at separate roots within the sentry.

PiperOrigin-RevId: 208903248
Change-Id: Ifa91ec9c8caf5f2f0a9eead83c4a57090ce92068
2018-08-15 16:25:22 -07:00
..
filter Drop dup2 filter 2018-07-31 11:38:57 -07:00
BUILD Added functionality to create a RestoreEnvironment. 2018-06-21 10:18:11 -07:00
config.go runsc: Fix instances of file access "proxy". 2018-08-15 09:34:18 -07:00
controller.go runsc fsgofer: Support dynamic serving of filesystems. 2018-08-15 16:25:22 -07:00
debug.go Add 'runsc debug' command 2018-06-20 13:31:31 -07:00
events.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
fds.go Check in gVisor. 2018-04-28 01:44:26 -04:00
fs.go runsc fsgofer: Support dynamic serving of filesystems. 2018-08-15 16:25:22 -07:00
limits.go Make default limits the same as with runc 2018-07-02 12:51:38 -07:00
loader.go runsc fsgofer: Support dynamic serving of filesystems. 2018-08-15 16:25:22 -07:00
loader_test.go runsc: Change cache policy for root fs and volume mounts. 2018-08-14 16:25:58 -07:00
network.go Basic support for ip link/addr and ifconfig 2018-08-08 22:39:58 -07:00
strace.go Check in gVisor. 2018-04-28 01:44:26 -04:00