summaryrefslogtreecommitdiff
path: root/src/runtime/signal_nacl.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2015-12-31 12:06:31 -0800
committerIan Lance Taylor <iant@golang.org>2016-01-05 17:44:46 +0000
commit81b35117d9e0b99a5894d65c8c419541a48c87dd (patch)
treed4aa3db610eb27755df757626975051fda1a5aa2 /src/runtime/signal_nacl.go
parentab5d2bf92f04ea56c560536e03787a9a111eac25 (diff)
downloadgo-git-81b35117d9e0b99a5894d65c8c419541a48c87dd.tar.gz
runtime: set SIGCONT to _SigNotify + _SigDefault
Use the current ability to say that we don't do anything with SIGCONT by default, but programs can catch it using signal.Notify if they want. Fixes #8953. Change-Id: I67d40ce36a029cbc58a235cbe957335f4a58e1c5 Reviewed-on: https://go-review.googlesource.com/18185 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/signal_nacl.go')
-rw-r--r--src/runtime/signal_nacl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/signal_nacl.go b/src/runtime/signal_nacl.go
index 122648bc33..47930757da 100644
--- a/src/runtime/signal_nacl.go
+++ b/src/runtime/signal_nacl.go
@@ -29,7 +29,7 @@ var sigtable = [...]sigTabT{
/* 16 */ {_SigNotify, "SIGURG: urgent condition on socket"},
/* 17 */ {0, "SIGSTOP: stop"},
/* 18 */ {_SigNotify + _SigDefault, "SIGTSTP: keyboard stop"},
- /* 19 */ {0, "SIGCONT: continue after stop"},
+ /* 19 */ {_SigNotify + _SigDefault, "SIGCONT: continue after stop"},
/* 20 */ {_SigNotify, "SIGCHLD: child status has changed"},
/* 21 */ {_SigNotify + _SigDefault, "SIGTTIN: background read from tty"},
/* 22 */ {_SigNotify + _SigDefault, "SIGTTOU: background write to tty"},