commit | 255657dc8d61ab26121ca68f124412ef37599166 | [log] [tgz] |
---|---|---|
author | Paul E. Murphy <murp@ibm.com> | Fri Jan 08 15:43:54 2021 -0600 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Jan 12 21:20:04 2021 +0000 |
tree | 90694e8f7ad71632247e1795221beda10d400856 | |
parent | a2578eb3983514641f0baf44d27d6474d3a96758 [diff] |
syscall: ensure openat uses variadic libc wrapper On powerpc64le, this caused a failure in TestUnshareUidGidMapping due to stack corruption which resulted in a bogus execve syscall. Use the existing c wrapper to ensure we respect the ppc abi for variadic functions. Fixes https://gcc.gnu.org/PR98610 Change-Id: I29a7c8d8776bb50a9973b3e2794e5fafaf138caa Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/282717 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Cherry Zhang <cherryyz@google.com>