]> Cypherpunks repositories - gostls13.git/commit
syscall: fix epoll_event struct for ppc64le/ppc64
authorLynn Boger <laboger@linux.vnet.ibm.com>
Wed, 6 Apr 2016 16:07:12 +0000 (11:07 -0500)
committerIan Lance Taylor <iant@golang.org>
Wed, 13 Apr 2016 20:58:46 +0000 (20:58 +0000)
commit44f80f6d4925ae59b519ced3a626170099258904
treee563d24abe550506fcf382abd05f423f1d5e09c2
parentf120936dfffa3ac935730699587e6957f2d5ea61
syscall:  fix epoll_event struct for ppc64le/ppc64

The existing epoll_event structure used by many of
the epoll_* syscalls was defined incorrectly
for use with ppc64le & ppc64 in the syscall
directory.  This resulted in the caller getting
incorrect information on return from these
syscalls.  This caused failures in fsnotify as
well as builds with upstream Docker.  The
structure is defined correctly in gccgo.

This adds a pad field that is expected for
these syscalls on ppc64le, ppc64.
Fixes #15135

Change-Id: If7e8ea9eb1d1ca5182c8dc0f935b334127341ffd
Reviewed-on: https://go-review.googlesource.com/21582
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
src/syscall/types_linux.go
src/syscall/ztypes_linux_ppc64.go
src/syscall/ztypes_linux_ppc64le.go