]> Cypherpunks repositories - gostls13.git/commit
runtime: change from rt_sigaction to sigaction
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Mar 2018 04:47:38 +0000 (20:47 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 7 Mar 2018 23:30:02 +0000 (23:30 +0000)
commitc2f28de732749425ea29b5efa982c407964f8560
treeceed9e1e77033e10ef85d650323740dacb021e1b
parentd8c9ef9e5cb6d485d9e15a48884ffb1162c48fb3
runtime: change from rt_sigaction to sigaction

This normalizes the Linux code to act like other targets. The size
argument to the rt_sigaction system call is pushed to a single
function, sysSigaction.

This is intended as a simplification step for CL 93875 for #14327.

Change-Id: I594788e235f0da20e16e8a028e27ac8c883907c4
Reviewed-on: https://go-review.googlesource.com/99077
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/cgo_sigaction.go
src/runtime/os_linux.go
src/runtime/sigaction_linux.go
src/runtime/sys_linux_amd64.s