• Lynn Boger's avatar
    syscall: fix epoll_event struct for ppc64le/ppc64 · 44f80f6d
    Lynn Boger authored
    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/21582Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    44f80f6d
types_linux.go 10.1 KB