gcc/libgo/go/syscall
Ian Lance Taylor 4f157ed774 syscall: append to environment in tests, don't clobber it
This is a partial backport of https://golang.org/cl/233318.
It's only a partial backport because part of the change was
already applied to libgo in CL 193497 as part of the update
to the Go 1.13beta1 release.

Fixes PR go/95061

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/233359
2020-05-11 17:27:46 -07:00
..
js libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
bpf_bsd.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
bpf_darwin.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
clone_linux.c
const_plan9.go
creds_test.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
dir_plan9.go
dirent.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
dirent_test.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
endian_big.go libgo: add platform support for SuperH 2018-01-10 19:19:02 +00:00
endian_little.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
env_plan9.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
env_unix.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
env_windows.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
errno.c re PR c/82922 (Request: add -Wstrict-prototypes to -Wextra as K&R style is obsolescent) 2018-01-10 15:42:23 +00:00
errors_plan9.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
errstr.go libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
errstr_glibc.go syscall: add Hurd support 2019-02-07 03:11:47 +00:00
exec_bsd.go libgo: update to Go1.13 2019-09-12 23:22:53 +00:00
exec_darwin.go libgo: update to Go1.13 2019-09-12 23:22:53 +00:00
exec_linux.go libgo: update to Go1.13 2019-09-12 23:22:53 +00:00
exec_linux_test.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
exec_stubs.go
exec_unix.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
exec_unix_test.go libgo: add hurd build tags to test files 2019-02-01 22:11:50 +00:00
exec_windows.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
export_freebsd_test.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
export_linux_test.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
export_test.go
export_unix_test.go re PR go/93020 (Final patches to build gcc-10 on GNU/Hurd) 2019-12-24 05:05:32 +00:00
flock_darwin.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
forkpipe.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
forkpipe2.go libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
fs_js.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
getdirentries_test.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
libcall_aix.go libgo: fix build on AIX 2019-03-19 14:00:59 +00:00
libcall_bsd.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_bsd_largefile.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_bsd_regfile.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_glibc.go syscall: add Hurd support 2019-02-07 03:11:47 +00:00
libcall_hurd.go syscall: add Hurd support 2019-02-07 03:11:47 +00:00
libcall_hurd_386.go syscall: add Hurd support 2019-02-07 03:11:47 +00:00
libcall_irix.go
libcall_linux.go syscall: add Hurd support 2019-02-07 03:11:47 +00:00
libcall_linux_386.go
libcall_linux_alpha.go
libcall_linux_amd64.go
libcall_linux_s390.go
libcall_linux_s390x.go
libcall_linux_utimesnano.go
libcall_posix.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_posix_largefile.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_posix_nonhurd.go syscall: add Hurd support 2019-02-07 03:11:47 +00:00
libcall_posix_regfile.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_posix_utimesnano.go libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
libcall_solaris_386.go
libcall_solaris_amd64.go
libcall_solaris_largefile.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_solaris_regfile.go re PR go/89447 (libgo largefile support is incomplete and inconsistent) 2019-03-09 02:10:22 +00:00
libcall_solaris_sparc.go
libcall_solaris_sparc64.go
libcall_support.go
libcall_uname.go
libcall_wait4.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
libcall_wait4_aix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
lsf_linux.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
mkasm_darwin.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
mksyscall.awk syscall: mark C syscall functions noescape 2019-01-16 22:38:33 +00:00
mmap_unix_test.go libgo: add hurd build tags to test files 2019-02-01 22:11:50 +00:00
msan0.go
net.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
net_js.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
netlink_linux.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
pwd_plan9.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
route_bsd.go
route_darwin.go
route_dragonfly.go
route_freebsd.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
route_freebsd_32bit.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
route_freebsd_64bit.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
route_netbsd.go
route_openbsd.go
security_windows.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
setuidgid_32_linux.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
setuidgid_linux.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
signame.c Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
sleep_rtems.go
sleep_select.go
sock_cloexec_linux.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
sockcmsg_dragonfly.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
sockcmsg_linux.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
sockcmsg_unix.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
sockcmsg_unix_other.go runtime, syscall: add a couple of hurd build tags 2020-01-29 16:43:57 -08:00
socket.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
socket_aix.go libgo/go/syscall: add SockAddrDatalink on AIX 2019-04-19 14:20:16 +00:00
socket_bsd.go libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
socket_irix.go
socket_linux.go
socket_linux_ppc64x_type.go
socket_linux_type.go
socket_posix.go
socket_solaris.go
socket_xnet.go
str.go
syscall.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
syscall_aix.go libgo: update to Go1.14rc1 release 2020-02-15 09:14:10 -08:00
syscall_aix_ppc.go syscall: workaround for getsockname bug in AIX 2017-09-20 17:40:11 +00:00
syscall_aix_ppc64.go syscall: workaround for getsockname bug in AIX 2017-09-20 17:40:11 +00:00
syscall_darwin.go
syscall_dragonfly.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
syscall_errno.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
syscall_freebsd.go libgo: update to Go1.13 2019-09-12 23:22:53 +00:00
syscall_freebsd_arm64.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
syscall_freebsd_test.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
syscall_funcs.go libgo: fix build on AIX 2019-03-19 14:00:59 +00:00
syscall_funcs_stubs.go libgo: fix build on AIX 2019-03-19 14:00:59 +00:00
syscall_glibc.go syscall: add Hurd support 2019-02-07 03:11:47 +00:00
syscall_js.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
syscall_linux_386.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_linux_alpha.go syscall: don't define PtraceRegs for Alpha 2017-06-26 17:59:12 +00:00
syscall_linux_amd64.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_linux_mipsx.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_linux_riscv64.go syscall: fix riscv64 GNU/Linux build 2020-02-03 18:14:19 -08:00
syscall_linux_s390.go re PR go/81393 (Bootstrap failure on s390x-linux while building libgo against recent glibc) 2017-07-13 03:44:14 +00:00
syscall_linux_s390x.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
syscall_linux_test.go syscall: append to environment in tests, don't clobber it 2020-05-11 17:27:46 -07:00
syscall_netbsd.go
syscall_netbsd_arm64.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
syscall_openbsd.go
syscall_openbsd_arm64.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
syscall_plan9_test.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
syscall_ptrace_test.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
syscall_solaris.go
syscall_test.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
syscall_unix.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
syscall_unix_test.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
tables_js.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
time_fake.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
time_nofake.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
timestruct.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
wait.c re PR go/90614 (gcc-9.1.0/libgo/go/syscall/wait.c:54:22: error: unused parameter ‘w’ [-Werror=unused-parameter] Continued (uint32_t *w)) 2019-05-27 00:10:34 +00:00