summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/timerfd.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-05-06 16:06:49 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-06 16:08:12 -0700
commit7cd54c1f1437dccdf1840e8f893de06f9d1e70e6 (patch)
tree98b85b2842dd2f8c0b03117a8699a1c6bb1cf6eb /pkg/sentry/vfs/timerfd.go
parent485ca36adf18fbb587df9f34a2deea730882fb36 (diff)
Remove vfs.FileDescriptionOptions.InvalidWrite.
Compare: https://elixir.bootlin.com/linux/v5.6/source/fs/timerfd.c#L431 PiperOrigin-RevId: 310246908
Diffstat (limited to 'pkg/sentry/vfs/timerfd.go')
-rw-r--r--pkg/sentry/vfs/timerfd.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/timerfd.go b/pkg/sentry/vfs/timerfd.go
index 42b880656..cc536ceaf 100644
--- a/pkg/sentry/vfs/timerfd.go
+++ b/pkg/sentry/vfs/timerfd.go
@@ -53,7 +53,6 @@ func (vfs *VirtualFilesystem) NewTimerFD(clock ktime.Clock, flags uint32) (*File
UseDentryMetadata: true,
DenyPRead: true,
DenyPWrite: true,
- InvalidWrite: true,
}); err != nil {
return nil, err
}