diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/sentry/fs/filesystems.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/filesystems.go b/pkg/sentry/fs/filesystems.go index 7cd76dfe9..e2c255be6 100644 --- a/pkg/sentry/fs/filesystems.go +++ b/pkg/sentry/fs/filesystems.go @@ -48,6 +48,8 @@ type Filesystem interface { // Mount generates a mountable Inode backed by device and configured // using file system independent flags and file system dependent // data options. + // + // Mount may return arbitrary errors. They do not need syserr translations. Mount(ctx context.Context, device string, flags MountSourceFlags, data string) (*Inode, error) // AllowUserMount determines whether mount(2) is allowed to mount a |