1
0
mirror of https://github.com/golang/go synced 2024-11-14 23:40:35 -07:00
go/misc/cgo/testsanitizers
Bryan C. Mills 1f605175b0 runtime/cgo: use libc for sigaction syscalls when possible
This ensures that runtime's signal handlers pass through the TSAN and
MSAN libc interceptors and subsequent calls to the intercepted
sigaction function from C will correctly see them.

Fixes #17753.

Change-Id: I9798bb50291a4b8fa20caa39c02a4465ec40bb8d
Reviewed-on: https://go-review.googlesource.com/33142
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-11-16 05:38:38 +00:00
..
msan2.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
msan3.go
msan4.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
msan5.go runtime: add missing race and msan checks to reflect functions 2016-08-23 13:12:15 +00:00
msan_fail.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
msan.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
test.bash runtime/cgo: use libc for sigaction syscalls when possible 2016-11-16 05:38:38 +00:00
tsan2.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
tsan3.go cmd/cgo: mark stub functions as no_sanitize_thread 2016-05-19 17:29:13 +00:00
tsan4.go cmd/cgo, runtime, runtime/cgo: TSAN support for malloc 2016-05-25 23:22:24 +00:00
tsan5.go runtime/cgo: add TSAN acquire/release calls 2016-05-31 20:53:16 +00:00
tsan6.go runtime/cgo: add TSAN locks around mmap call 2016-06-03 18:26:01 +00:00
tsan7.go runtime/cgo: add tsan acquire/release around setenv/unsetenv 2016-08-23 14:07:58 +00:00
tsan8.go runtime/cgo: use libc for sigaction syscalls when possible 2016-11-16 05:38:38 +00:00
tsan.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00