aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sigtab_linux_generic.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/sigtab_linux_generic.go
parentab5d2bf92f04ea56c560536e03787a9a111eac25 (diff)
downloadgo-81b35117d9e0b99a5894d65c8c419541a48c87dd.tar.gz
go-81b35117d9e0b99a5894d65c8c419541a48c87dd.zip
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/sigtab_linux_generic.go')
-rw-r--r--src/runtime/sigtab_linux_generic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sigtab_linux_generic.go b/src/runtime/sigtab_linux_generic.go
index 839d52671a..32c40c4768 100644
--- a/src/runtime/sigtab_linux_generic.go
+++ b/src/runtime/sigtab_linux_generic.go
@@ -32,7 +32,7 @@ var sigtable = [...]sigTabT{
/* 15 */ {_SigNotify + _SigKill, "SIGTERM: termination"},
/* 16 */ {_SigThrow + _SigUnblock, "SIGSTKFLT: stack fault"},
/* 17 */ {_SigNotify + _SigUnblock, "SIGCHLD: child status has changed"},
- /* 18 */ {0, "SIGCONT: continue"},
+ /* 18 */ {_SigNotify + _SigDefault, "SIGCONT: continue"},
/* 19 */ {0, "SIGSTOP: stop, unblockable"},
/* 20 */ {_SigNotify + _SigDefault, "SIGTSTP: keyboard stop"},
/* 21 */ {_SigNotify + _SigDefault, "SIGTTIN: background read from tty"},