diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2019-03-13 19:23:02 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-13 19:24:03 -0700 |
commit | 2512cc561778b096459182b531eae4e0797e4ec5 (patch) | |
tree | 8efa41129f9df05827354432cc976a5427754319 /pkg/sentry/fs/tty/fs.go | |
parent | f97c4f1b7af1d4049c8f54a71cd611e42be46dee (diff) |
Allow filesystem.Mount to take an optional interface argument.
PiperOrigin-RevId: 238360231
Change-Id: I5eaf8d26f8892f77d71c7fbd6c5225ef471cedf1
Diffstat (limited to 'pkg/sentry/fs/tty/fs.go')
-rw-r--r-- | pkg/sentry/fs/tty/fs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/tty/fs.go b/pkg/sentry/fs/tty/fs.go index 0c412eb21..43e0e2a04 100644 --- a/pkg/sentry/fs/tty/fs.go +++ b/pkg/sentry/fs/tty/fs.go @@ -59,7 +59,7 @@ func (*filesystem) Flags() fs.FilesystemFlags { } // MountSource returns a devpts root that can be positioned in the vfs. -func (f *filesystem) Mount(ctx context.Context, device string, flags fs.MountSourceFlags, data string) (*fs.Inode, error) { +func (f *filesystem) Mount(ctx context.Context, device string, flags fs.MountSourceFlags, data string, _ interface{}) (*fs.Inode, error) { // device is always ignored. // No options are supported. |