diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-20 19:33:30 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-20 19:33:30 +0000 |
commit | efb2d18a2f9b70ac5dbe2776710ce70137b7a0b1 (patch) | |
tree | ad643e03e40907a0387ff4d5ecb3c892c8adb0c4 /pkg/abi | |
parent | 04a4bbf830277b7752fdb881b2a264d641159071 (diff) | |
parent | 9bad87339a10545d267903e7739f8cd978fbd82a (diff) |
Merge release-20200211.0-52-g9bad873 (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/linux/epoll.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/abi/linux/epoll.go b/pkg/abi/linux/epoll.go index 6e4de69da..1121a1a92 100644 --- a/pkg/abi/linux/epoll.go +++ b/pkg/abi/linux/epoll.go @@ -14,6 +14,10 @@ package linux +import ( + "gvisor.dev/gvisor/pkg/binary" +) + // Event masks. const ( EPOLLIN = 0x1 @@ -53,3 +57,6 @@ const ( EPOLL_CTL_DEL = 0x2 EPOLL_CTL_MOD = 0x3 ) + +// SizeOfEpollEvent is the size of EpollEvent struct. +var SizeOfEpollEvent = int(binary.Size(EpollEvent{})) |