diff options
| author | Ian Lance Taylor <iant@golang.org> | 2016-11-16 13:51:32 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2016-11-16 23:10:33 +0000 |
| commit | fe057c1478c4309f715d689127125cabbb4efe08 (patch) | |
| tree | e3db9e1b89b8459683fca6038cc1ef54904b2876 /src/database/sql | |
| parent | 8dc47e3b3a939a39e5cc3ea59f4848f50fd0cb7b (diff) | |
| download | go-fe057c1478c4309f715d689127125cabbb4efe08.tar.xz | |
runtime/cgo: fixes for calling sigaction in C
Zero out the sigaction structs, in case the sa_restorer field is set.
Clear the SA_RESTORER flag; it is part of the kernel interface, not the
libc interface.
Fixes #17947.
Change-Id: I610348ce3c196d3761cf2170f06c24ecc3507cf7
Reviewed-on: https://go-review.googlesource.com/33331
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
