Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(33)

Issue 5494061: code review 5494061: net, syscall, os: set CLOEXEC flag on epoll/kqueue desc... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by iant
Modified:
14 years ago
Reviewers:
CC:
dave_cheney.net, iant2, rsc, golang-dev
Visibility:
Public.

Description

net, syscall, os: set CLOEXEC flag on epoll/kqueue descriptor Enable new test in os.

Patch Set 1 #

Patch Set 2 : diff -r f338c0ec6572 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 3 : diff -r f2d3849606f5 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r e13086b5aa46 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -11 lines) Patch
M src/pkg/net/fd_darwin.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/net/fd_freebsd.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/net/fd_linux.go View 1 1 chunk +11 lines, -5 lines 0 comments Download
M src/pkg/net/fd_netbsd.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/net/fd_openbsd.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/os/exec/exec_test.go View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M src/pkg/syscall/syscall_linux.go View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_linux_386.go View 1 1 chunk +11 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_linux_amd64.go View 1 1 chunk +11 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_linux_arm.go View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 6
dave_cheney.net
http://codereview.appspot.com/5494061/diff/2001/src/pkg/net/fd_linux.go File src/pkg/net/fd_linux.go (right): http://codereview.appspot.com/5494061/diff/2001/src/pkg/net/fd_linux.go#newcode50 src/pkg/net/fd_linux.go:50: syscall.CloseOnExec(p.epfd) If you are calling epoll_create1 with EPOLL_CLOEXEC above, ...
14 years ago (2011-12-17 02:48:13 UTC) #1
iant2
dave@cheney.net writes: > http://codereview.appspot.com/5494061/diff/2001/src/pkg/net/fd_linux.go > File src/pkg/net/fd_linux.go (right): > > http://codereview.appspot.com/5494061/diff/2001/src/pkg/net/fd_linux.go#newcode50 > src/pkg/net/fd_linux.go:50: syscall.CloseOnExec(p.epfd) > ...
14 years ago (2011-12-17 05:48:29 UTC) #2
dave_cheney.net
My mistake, I missed that part of the logic. LGTM. On Sat, Dec 17, 2011 ...
14 years ago (2011-12-17 05:54:31 UTC) #3
iant
Hello dave@cheney.net, iant@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-12-19 20:10:42 UTC) #4
rsc
LGTM
14 years ago (2011-12-19 20:16:51 UTC) #5
iant
14 years ago (2011-12-19 20:57:59 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=be47ea17bea0 ***

net, syscall, os: set CLOEXEC flag on epoll/kqueue descriptor
Enable new test in os.

R=dave, iant, rsc
CC=golang-dev
http://codereview.appspot.com/5494061
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b