summaryrefslogtreecommitdiffhomepage
path: root/pkg/waiter
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-01-17 13:31:26 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-17 13:32:51 -0800
commit9073521098ee52cdda74a193565b7bbe75d8c35a (patch)
treefc526eb81b9bd815cc135715fe142f242b6781d2 /pkg/waiter
parent23fa847910eeee05babeea4f712b905115eeb865 (diff)
Convert EventMask to uint64
It is used for signalfd where the maximum signal is 64. PiperOrigin-RevId: 290331008
Diffstat (limited to 'pkg/waiter')
-rw-r--r--pkg/waiter/waiter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/waiter/waiter.go b/pkg/waiter/waiter.go
index f708e95fa..707eb085b 100644
--- a/pkg/waiter/waiter.go
+++ b/pkg/waiter/waiter.go
@@ -62,7 +62,7 @@ import (
)
// EventMask represents io events as used in the poll() syscall.
-type EventMask uint16
+type EventMask uint64
// Events that waiters can wait on. The meaning is the same as those in the
// poll() syscall.