diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-09-25 16:44:22 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-25 16:44:22 -0700 |
commit | dd0e5eedaeb21582820856cbe68eb2a625f395aa (patch) | |
tree | 2c6e3e3ee7805040d09bddce488133ae09a4bb95 /runsc/boot | |
parent | 129c67d68ee2db4aa3a45ab6970e7d26348ce5ef (diff) | |
parent | 9ebd498a55fa87129cdc60cdc3bca66f26c49454 (diff) |
Merge pull request #765 from trailofbits:uds_support
PiperOrigin-RevId: 271235134
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go index 31103367d..38278d0a2 100644 --- a/runsc/boot/config.go +++ b/runsc/boot/config.go @@ -167,6 +167,9 @@ type Config struct { // Overlay is whether to wrap the root filesystem in an overlay. Overlay bool + // FSGoferHostUDS enables the gofer to mount a host UDS. + FSGoferHostUDS bool + // Network indicates what type of network to use. Network NetworkType @@ -253,6 +256,7 @@ func (c *Config) ToFlags() []string { "--debug-log-format=" + c.DebugLogFormat, "--file-access=" + c.FileAccess.String(), "--overlay=" + strconv.FormatBool(c.Overlay), + "--fsgofer-host-uds=" + strconv.FormatBool(c.FSGoferHostUDS), "--network=" + c.Network.String(), "--log-packets=" + strconv.FormatBool(c.LogPackets), "--platform=" + c.Platform, |