1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:11:22 -06:00
go/src/pkg
Russ Cox f3407f445d runtime: fix running under nohup
There are two ways nohup(1) might be implemented:
it might mask away the signal, or it might set the handler
to SIG_IGN, both of which are inherited across fork+exec.
So two fixes:

* Make sure to preserve the inherited signal mask at
minit instead of clearing it.

* If the SIGHUP handler is SIG_IGN, leave it that way.

Fixes #4491.

R=golang-dev, mikioh.mikioh, iant
CC=golang-dev
https://golang.org/cl/7308102
2013-02-15 11:18:55 -05:00
..
archive archive/tar: add Header.FileInfo method. Add more cases to FileInfoHeader. 2013-02-14 17:32:48 +11:00
bufio cmd/gofmt, bufio, image: Consistency and error handling. 2013-01-07 11:15:53 +11:00
builtin builtin: correct comment on builtin function delete(). 2012-12-14 09:13:42 -08:00
bytes bytes: annotate assembly functions with //go:noescape 2013-02-10 00:08:30 +08:00
compress all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
container container/list: add package example 2013-02-11 17:59:52 +11:00
crypto crypto/x509: support IP SANs. 2013-02-15 10:40:17 -05:00
database/sql database/sql: fix doc references to old package name 2013-02-13 18:47:25 -08:00
debug all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
encoding encoding/json: document and test use of unicode.ReplacementChar 2013-02-14 14:56:01 -05:00
errors
exp go/parser: cleanups following CL 7307085 2013-02-14 13:36:40 -08:00
expvar all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
flag all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
fmt testing: add AllocsPerRun 2013-02-02 22:52:29 -05:00
go crypto/x509: support IP SANs. 2013-02-15 10:40:17 -05:00
hash build: make int 64 bits on amd64 2012-09-24 20:57:01 -04:00
html html/template: remove noescape support 2013-01-18 10:30:12 +11:00
image all: use io.ByteWriter now that it exists 2013-01-08 12:15:19 -08:00
index/suffixarray
io io: document and test new CopyN return behavior 2013-02-13 13:52:00 -08:00
log log/syslog: fix channel race in test. 2013-02-15 11:07:31 +11:00
math math/big: make tests faster by reducing coverage in --test.short mode. 2013-01-30 18:19:58 -05:00
mime mime: do not test for .wav on windows 2013-02-15 16:55:51 +11:00
net crypto/x509: support IP SANs. 2013-02-15 10:40:17 -05:00
old/netchan gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
os os: cache Getwd result as hint for next time 2013-02-14 14:21:09 -05:00
path path/filepath: document that Walk does not follow symlinks 2013-02-04 22:59:30 -05:00
reflect testing: add AllocsPerRun 2013-02-02 22:52:29 -05:00
regexp regexp: update comment on (*Regexp).Longest 2013-02-04 15:57:32 +11:00
runtime runtime: fix running under nohup 2013-02-15 11:18:55 -05:00
sort sort: use fewer comparisons when choosing pivot. 2013-02-14 15:04:22 +11:00
strconv testing: add AllocsPerRun 2013-02-02 22:52:29 -05:00
strings bytes, strings: add TrimPrefix and TrimSuffix 2013-02-01 08:41:25 -08:00
sync sync/atomic: support NetBSD/ARM (ARM11 or above) 2013-02-13 01:04:13 +08:00
syscall syscall: don't make //sys lines be doc comments 2013-02-14 11:23:58 -08:00
testing testing: be explicit about use of b.N 2013-02-09 13:43:15 -05:00
text text/template/parse: don't show itemType in error messages 2013-01-22 02:48:40 +08:00
time time: fix error message from Parse 2013-02-04 00:00:36 -05:00
unicode utf8: fix typo. 2013-01-09 11:07:13 -08:00
unsafe unsafe: fix a typo 2012-10-19 16:35:15 +11:00