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 e2c255be6..200e792f4 100644
--- a/pkg/sentry/fs/filesystems.go
+++ b/pkg/sentry/fs/filesystems.go
@@ -55,6 +55,10 @@ type Filesystem interface {
// AllowUserMount determines whether mount(2) is allowed to mount a
// file system of this type.
AllowUserMount() bool
+
+ // AllowUserList determines whether this filesystem is listed in
+ // /proc/filesystems
+ AllowUserList() bool
}
// filesystems is the global set of registered file systems. It does not need