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

Issue 4126047: code review 4126047: windows: syscall: Make ForkExec acquire the ForkLock (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by hector
Modified:
14 years, 4 months ago
Reviewers:
CC:
rsc, brainman, vincent.vanackere, golang-dev
Visibility:
Public.

Description

windows: syscall: Make ForkExec acquire the ForkLock so that spawned processes avoid inheriting pipes. Implement CloseOnExec. Make file and pipe handles inheritable.

Patch Set 1 #

Patch Set 2 : code review 4126047: windows: syscall: Make ForkExec acquire the ForkLock #

Patch Set 3 : code review 4126047: windows: syscall: Make ForkExec acquire the ForkLock #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -10 lines) Patch
M src/pkg/syscall/exec_windows.go View 2 chunks +7 lines, -1 line 0 comments Download
M src/pkg/syscall/syscall_windows.go View 1 2 8 chunks +17 lines, -5 lines 0 comments Download
M src/pkg/syscall/zsyscall_windows_386.go View 5 chunks +20 lines, -4 lines 0 comments Download
M src/pkg/syscall/ztypes_windows_386.go View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 7
hector
Hello rsc, brainman (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 4 months ago (2011-02-01 19:07:08 UTC) #1
brainman
LGTM
14 years, 4 months ago (2011-02-01 23:04:58 UTC) #2
vincent.vanackere
No comment on the code itself, but I confirm that this CL solves my issues ...
14 years, 4 months ago (2011-02-01 23:19:35 UTC) #3
hector
I've just noticed that we are not handling O_CLOEXEC in syscall.Open, therefore I will make ...
14 years, 4 months ago (2011-02-01 23:40:24 UTC) #4
hector
PTAL
14 years, 4 months ago (2011-02-02 08:48:35 UTC) #5
brainman
LGTM. Thank you for fixing this. I wouldn't now what to do.
14 years, 4 months ago (2011-02-03 01:50:28 UTC) #6
brainman
14 years, 4 months ago (2011-02-03 01:50:48 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=6c45f8ad74dd ***

windows: syscall: Make ForkExec acquire the ForkLock
so that spawned processes avoid inheriting pipes.

Implement CloseOnExec.
Make file and pipe handles inheritable.

R=rsc, brainman, vincent.vanackere
CC=golang-dev
http://codereview.appspot.com/4126047

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

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