mirror of
https://github.com/golang/go
synced 2024-11-19 14:24:47 -07:00
1f605175b0
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>
12 lines
365 B
Go
12 lines
365 B
Go
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !amd64
|
|
|
|
package runtime
|
|
|
|
// rt_sigaction calls the rt_sigaction system call. It is implemented in assembly.
|
|
//go:noescape
|
|
func rt_sigaction(sig uintptr, new, old *sigactiont, size uintptr) int32
|