summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/dev/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/dev/fs.go')
-rw-r--r--pkg/sentry/fs/dev/fs.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/sentry/fs/dev/fs.go b/pkg/sentry/fs/dev/fs.go
index 4945ac962..3c79f3782 100644
--- a/pkg/sentry/fs/dev/fs.go
+++ b/pkg/sentry/fs/dev/fs.go
@@ -49,6 +49,11 @@ func (*filesystem) AllowUserMount() bool {
return true
}
+// AllowUserList allows this filesystem to be listed in /proc/filesystems.
+func (*filesystem) AllowUserList() bool {
+ return true
+}
+
// Flags returns that there is nothing special about this file system.
//
// In Linux, devtmpfs does the same thing.