aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2013-08-05 15:43:45 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2013-08-05 15:43:45 -0700
commit37feacf623dc95a3c6332640689f53a5baa85dbc (patch)
treed0135315de6e544a17c872241539804da2470086 /src/pkg/debug
parentf7910128e790a4c86c88c4b5f7640cf7d71ac6e6 (diff)
downloadgo-37feacf623dc95a3c6332640689f53a5baa85dbc.tar.xz
net: use F_DUPFD_CLOEXEC when duping fds
This means that in the common case (modern kernel), we only make 1 system call to dup instead of two, and we also avoid grabbing the syscall.ForkLock. R=golang-dev, iant CC=golang-dev https://golang.org/cl/12476043
Diffstat (limited to 'src/pkg/debug')
0 files changed, 0 insertions, 0 deletions