diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-17 22:41:45 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-17 22:41:45 +0000 |
commit | 09fed163e1378e9598053b0e13e254b4757ff0f5 (patch) | |
tree | be211d4ebe6648519d47c1399364bcd82fa47b80 /pkg/sentry/socket/hostinet | |
parent | 5902b9f99573f2a64e3759b371aceb8c39f1336c (diff) | |
parent | 319d1b8ba0604e7bc029f98ae0e9b09badd5abad (diff) |
Merge release-20200907.0-129-g319d1b8ba (automated)
Diffstat (limited to 'pkg/sentry/socket/hostinet')
-rw-r--r-- | pkg/sentry/socket/hostinet/socket_vfs2.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/sentry/socket/hostinet/socket_vfs2.go b/pkg/sentry/socket/hostinet/socket_vfs2.go index 8a1d52ebf..97bc6027f 100644 --- a/pkg/sentry/socket/hostinet/socket_vfs2.go +++ b/pkg/sentry/socket/hostinet/socket_vfs2.go @@ -97,11 +97,6 @@ func (s *socketVFS2) Ioctl(ctx context.Context, uio usermem.IO, args arch.Syscal return ioctl(ctx, s.fd, uio, args) } -// Allocate implements vfs.FileDescriptionImpl.Allocate. -func (s *socketVFS2) Allocate(ctx context.Context, mode, offset, length uint64) error { - return syserror.ENODEV -} - // PRead implements vfs.FileDescriptionImpl.PRead. func (s *socketVFS2) PRead(ctx context.Context, dst usermem.IOSequence, offset int64, opts vfs.ReadOptions) (int64, error) { return 0, syserror.ESPIPE |