summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/epoll_amd64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-23 22:53:56 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-23 22:53:56 +0000
commit4b90fa57811fd8ad60e10cfe8fa0fca9edb7522c (patch)
tree549c8ddc4af0084dd1c937169636c18242a8aeb2 /pkg/abi/linux/epoll_amd64.go
parent621ac539dfe6db975450a12ed4cc0140e3e1d2f5 (diff)
parent93dd47146185ec7004f514e23bad9f225f55efb1 (diff)
Merge release-20200323.0-226-g93dd471 (automated)
Diffstat (limited to 'pkg/abi/linux/epoll_amd64.go')
-rwxr-xr-xpkg/abi/linux/epoll_amd64.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/abi/linux/epoll_amd64.go b/pkg/abi/linux/epoll_amd64.go
index 34ff18009..7e74b1143 100755
--- a/pkg/abi/linux/epoll_amd64.go
+++ b/pkg/abi/linux/epoll_amd64.go
@@ -12,11 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build amd64
+
package linux
// EpollEvent is equivalent to struct epoll_event from epoll(2).
//
-// +marshal
+// +marshal slice:EpollEventSlice
type EpollEvent struct {
Events uint32
// Linux makes struct epoll_event::data a __u64. We represent it as