summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/config.go
diff options
context:
space:
mode:
authorRobert Tonic <btonic@users.noreply.github.com>2019-09-19 12:37:15 -0400
committerRobert Tonic <btonic@users.noreply.github.com>2019-09-19 12:37:15 -0400
commitac38a7ead0870118d27d570a8a98a90a7a225a12 (patch)
tree148be23cd23865cb8b586321d05389bf01c6d9a2 /runsc/boot/config.go
parentc2ae77a607b6e103545aa83e8f2c7c5bf649846f (diff)
Place the host UDS mounting behind --fsgofer-host-uds-allowed.
This commit allows the use of the `--fsgofer-host-uds-allowed` flag to enable mounting sockets and add the appropriate seccomp filters.
Diffstat (limited to 'runsc/boot/config.go')
-rw-r--r--runsc/boot/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go
index 7ae0dd05d..954ad2c2a 100644
--- a/runsc/boot/config.go
+++ b/runsc/boot/config.go
@@ -138,6 +138,9 @@ type Config struct {
// Overlay is whether to wrap the root filesystem in an overlay.
Overlay bool
+ // fsGoferHostUDSAllowed enables the gofer to mount a host UDS
+ FSGoferHostUDSAllowed bool
+
// Network indicates what type of network to use.
Network NetworkType