summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/filesystems.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/filesystems.go')
-rw-r--r--pkg/sentry/fs/filesystems.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/fs/filesystems.go b/pkg/sentry/fs/filesystems.go
index 084da2a8d..d6abddfd8 100644
--- a/pkg/sentry/fs/filesystems.go
+++ b/pkg/sentry/fs/filesystems.go
@@ -144,6 +144,10 @@ type MountSourceFlags struct {
// NoExec corresponds to mount(2)'s "MS_NOEXEC" and indicates that
// binaries from this file system can't be executed.
NoExec bool
+
+ // Bind corresponds to mount(2)'s MS_BIND and indicates that
+ // the filesystem should be bind mounted.
+ Bind bool
}
// GenericMountSourceOptions splits a string containing comma separated tokens of the