Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 1076093004: Make all of stdout/stderr/stdin pipes close-on-exec when spawing child processes. (Closed)

Created:
5 years, 8 months ago by Anders Johnsen
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Make all of stdout/stderr/stdin pipes close-on-exec when spawing child processes. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=45370

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -48 lines) Patch
M runtime/bin/process_android.cc View 1 3 chunks +5 lines, -20 lines 0 comments Download
M runtime/bin/process_linux.cc View 1 3 chunks +5 lines, -20 lines 0 comments Download
M runtime/bin/process_macos.cc View 1 3 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Anders Johnsen
5 years, 8 months ago (2015-04-22 19:45:31 UTC) #2
kevmoo
On 2015/04/22 19:45:31, Anders Johnsen wrote: Why is this good? Does this introduce a behavior ...
5 years, 8 months ago (2015-04-22 19:46:40 UTC) #3
kustermann
DBC: We're all aware of the race. So pipe2() was introduced in 2008, more precisely ...
5 years, 8 months ago (2015-04-23 01:54:16 UTC) #5
Søren Gjesse
I was about to ask about the use of pipe2, but as it is already ...
5 years, 8 months ago (2015-04-23 06:58:51 UTC) #6
Anders Johnsen
PTAL https://codereview.chromium.org/1076093004/diff/1/runtime/bin/process_linux.cc File runtime/bin/process_linux.cc (left): https://codereview.chromium.org/1076093004/diff/1/runtime/bin/process_linux.cc#oldcode379 runtime/bin/process_linux.cc:379: int CreatePipes() { On 2015/04/23 06:58:51, Søren Gjesse ...
5 years, 8 months ago (2015-04-23 07:05:34 UTC) #7
Anders Johnsen
PTAL
5 years, 8 months ago (2015-04-23 07:07:04 UTC) #8
Søren Gjesse
lgtm
5 years, 8 months ago (2015-04-23 07:31:37 UTC) #9
Anders Johnsen
5 years, 8 months ago (2015-04-23 07:38:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 45370 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698