summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/host
diff options
context:
space:
mode:
authorRahat Mahmood <rahat@google.com>2021-03-11 16:47:49 -0800
committergVisor bot <gvisor-bot@google.com>2021-03-11 16:49:36 -0800
commitc5667022b6617d732e0c0bcb8ca3b58d588ceafb (patch)
treec112e83b4dcee9923cb99f1fe33b10251e1e58b2 /pkg/sentry/fsimpl/host
parenta82bd04e2ab3230a9ed09b297812b58d00784fe5 (diff)
Report filesystem-specific mount options.
PiperOrigin-RevId: 362406813
Diffstat (limited to 'pkg/sentry/fsimpl/host')
-rw-r--r--pkg/sentry/fsimpl/host/host.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/host/host.go b/pkg/sentry/fsimpl/host/host.go
index ad5de80dc..b9cce4181 100644
--- a/pkg/sentry/fsimpl/host/host.go
+++ b/pkg/sentry/fsimpl/host/host.go
@@ -260,6 +260,11 @@ func (fs *filesystem) PrependPath(ctx context.Context, vfsroot, vd vfs.VirtualDe
return vfs.PrependPathSyntheticError{}
}
+// MountOptions implements vfs.FilesystemImpl.MountOptions.
+func (fs *filesystem) MountOptions() string {
+ return ""
+}
+
// CheckPermissions implements kernfs.Inode.CheckPermissions.
func (i *inode) CheckPermissions(ctx context.Context, creds *auth.Credentials, ats vfs.AccessTypes) error {
var s unix.Stat_t