gcc/libgo/go/runtime
A. Wilcox 208b7d85d7 runtime: add special handling for signal 34
The musl libc uses signal 34 internally for setgid (similar to how glibc
uses signal 32 and signal 33).  For this reason, special handling is
needed for this signal in the runtime. The gc implementation already
handles the signal accordingly.  As such, this commit intends to
simply copy the behavior of the Google Go implementation to libgo.

See https://go.dev/issues/39343

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/400594
2022-04-18 15:16:35 -07:00
..
asan libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
cgo libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
debug libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
internal runtime/internal/syscall: build dummy package if not Linux 2022-02-21 13:24:38 -08:00
metrics libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
msan libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
pprof libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
testdata libgo: update to final Go 1.18 release 2022-03-16 13:52:32 -07:00
trace libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
abi_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
alg.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
asan0.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
atomic_pointer.go compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
auxv_none.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
callers_test.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
cgo_gccgo.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
cgocall.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
cgocheck.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
chan.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
chan_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
chanbarrier_test.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
checkptr.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
checkptr_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
closure_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
compiler.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
complex_test.go
conv_wasm_test.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
cpuflags_arm64.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
cpuprof.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
cputicks.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
crash_cgo_test.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
crash_gccgo_test.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
crash_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
crash_unix_test.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
debug.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
debuglog.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
debuglog_off.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
debuglog_on.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
debuglog_test.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
defer_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
defs_windows_arm64.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
env_posix.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
env_test.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
eqtype.go runtime: revert eqtype for AIX 2020-08-10 16:45:16 -07:00
eqtype_aix_gccgo.go runtime: revert eqtype for AIX 2020-08-10 16:45:16 -07:00
error.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
example_test.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
export_debuglog_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
export_linux_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
export_mmap_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
export_pipe2_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
export_pipe_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
export_test.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
export_unix_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
export_windows_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
extern.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
fastlog2.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
fastlog2_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
fastlog2table.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
ffi.go runtime: for FFI, treat directIface types as pointers 2019-09-17 20:26:21 +00:00
float.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
float_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
gc_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
gcinfo_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
hash32.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
hash64.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
hash_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
heapdump.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
histogram.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
histogram_test.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
iface.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
iface_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lfstack.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
lfstack_32bit.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
lfstack_64bit.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lfstack_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
libfuzzer.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lock_futex.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lock_js.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lock_sema.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lockrank.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lockrank_off.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lockrank_on.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
lockrank_test.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
malloc.go libgo: fix AIX build for the Go1.18 update 2022-03-04 10:19:50 -08:00
malloc_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
map.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
map_benchmark_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
map_fast32.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
map_fast64.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
map_faststr.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
map_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mbarrier.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
mbitmap.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
mcache.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mcentral.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mcheckmark.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mem_gccgo.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
memmove_linux_amd64_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
memmove_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
metrics.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
metrics_test.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
mfinal.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mfinal_test.go libgo: update to final Go 1.18 release 2022-03-16 13:52:32 -07:00
mfixalloc.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mgc.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mgc_gccgo.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mgcmark.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
mgcpacer.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
mgcpacer_test.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
mgcscavenge.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
mgcscavenge_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mgcsweep.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mgcwork.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mheap.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mkfastlog2table.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mkpreempt.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mksizeclasses.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mpagealloc.go compiler: revert `for package-scope "a = b; b = x" just set "a = x"` 2022-04-15 14:27:05 -07:00
mpagealloc_32bit.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mpagealloc_64bit.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mpagealloc_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mpagecache.go compiler: revert `for package-scope "a = b; b = x" just set "a = x"` 2022-04-15 14:27:05 -07:00
mpagecache_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mpallocbits.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mpallocbits_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
mprof.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mranges.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mranges_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
msan0.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
msize.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
mspanset.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mstats.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
mwbbuf.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
nbpipe_pipe.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
nbpipe_pipe2.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
nbpipe_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
net_plan9.go compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
netpoll.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
netpoll_aix.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
netpoll_epoll.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
netpoll_fake.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
netpoll_hurd.go libgo: update Hurd support 2022-02-18 15:33:32 -08:00
netpoll_kqueue.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
netpoll_os_test.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
netpoll_solaris.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
netpoll_stub.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
netpoll_windows.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
norace_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
numcpu_freebsd_test.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
os3_solaris.go libgo: restore building on Solaris 2022-02-16 12:20:10 -08:00
os_aix.go libgo: fix AIX build for the Go1.18 update 2022-03-04 10:19:50 -08:00
os_darwin.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_dragonfly.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_freebsd.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_freebsd_arm64.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
os_gccgo.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
os_hurd.go libgo: update Hurd support 2022-02-18 15:33:32 -08:00
os_illumos.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
os_js.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_linux.go runtime: call timer functions via syscall 2022-02-13 11:03:45 -08:00
os_linux_arm.go libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
os_linux_arm64.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_linux_mips64x.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_linux_mipsx.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_linux_noauxv.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_linux_ppc64x.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_linux_s390x.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
os_netbsd.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_netbsd_arm64.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_only_solaris.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_openbsd.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
os_solaris.go runtime: correct semaphore implementation on netbsd 2020-10-14 13:56:01 -07:00
os_windows_arm.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
os_windows_arm64.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
panic.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
panic32.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
panic_test.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
preempt.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
preempt_nonwindows.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
print.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
proc.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
proc_runtime_test.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
proc_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
profbuf.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
profbuf_test.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
proflabel.go compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
race0.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
rand_test.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
rdebug.go compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
relax_stub.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
runtime-lldb_test.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
runtime.go compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
runtime1.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
runtime2.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
runtime_linux_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
runtime_mmap_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
runtime_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
runtime_unix_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
rwmutex.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
rwmutex_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
select.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
sema.go compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
sema_test.go libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
semasleep_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
signal_gccgo.go runtime: add special handling for signal 34 2022-04-18 15:16:35 -07:00
signal_unix.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
signal_windows_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
sigqueue.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
sigqueue_note.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
sizeclasses.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
sizeof_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
slice.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
slice_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
stack_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
string.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
string_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
stubs.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
stubs2.go libgo: restore building on Solaris 2022-02-16 12:20:10 -08:00
stubs3.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
stubs_linux.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
stubs_nonlinux.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
symtab.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
symtab_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
sys_wasm.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
time.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
time_fake.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
time_nofake.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
time_test.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
timeasm.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
timestub.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
timestub2.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
tls_stub.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
tls_windows_amd64.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00
trace.go libgo: update to Go1.18rc1 release 2022-02-18 13:12:08 -08:00
traceback_gccgo.go libgo: update to Go1.16beta1 release 2020-12-30 15:13:24 -08:00
traceback_test.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
type.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
typekind.go libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
utf8.go libgo: update to Go1.14rc1 release 2020-02-15 09:14:10 -08:00
write_err.go libgo: update to Go1.18beta2 2022-02-11 15:01:19 -08:00
write_err_android.go libgo: update to Go1.17rc2 2021-08-12 20:23:07 -07:00