1 // Copyright 2016 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build (linux && !amd64 && !arm64 && !ppc64le) || (freebsd && !amd64) 6 7 package runtime 8 9 // This version is used on Linux and FreeBSD systems on which we don't 10 // use cgo to call the C version of sigaction. 11 12 //go:nosplit 13 //go:nowritebarrierrec 14 func sigaction(sig uint32, new, old *sigactiont) { 15 sysSigaction(sig, new, old) 16 } 17