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

Issue 18801: Add routine to close file descriptors on exec (Closed)

Created:
11 years, 11 months ago by Craig Schlenter
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, jeremy
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add routine to close file descriptors on exec for linux and mac. See BUG 6598.

Patch Set 1 #

Total comments: 19

Patch Set 2 : Address most review comments #

Total comments: 16

Patch Set 3 : final cleanups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -31 lines) Patch
M base/process_util.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M base/process_util_linux.cc View 1 chunk +1 line, -7 lines 0 comments Download
M base/process_util_mac.mm View 1 chunk +1 line, -7 lines 0 comments Download
M base/process_util_posix.cc View 1 2 2 chunks +43 lines, -14 lines 0 comments Download
M base/process_util_unittest.cc View 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jeremy
Very nice :) http://codereview.chromium.org/18801/diff/1/2 File base/process_util.h (right): http://codereview.chromium.org/18801/diff/1/2#newcode76 Line 76: int SetAllFDsToCloseOnExec(); Should return a ...
11 years, 11 months ago (2009-01-26 19:24:41 UTC) #1
Mark Mentovai
http://codereview.chromium.org/18801/diff/1/2 File base/process_util.h (right): http://codereview.chromium.org/18801/diff/1/2#newcode72 Line 72: int GetMaxFilesOpenInProcess(); Does anyone call this anymore? If ...
11 years, 11 months ago (2009-01-27 05:22:23 UTC) #2
Craig Schlenter
Thanks for the comments everyone ... I'll probably only get to fixing this stuff up ...
11 years, 11 months ago (2009-01-27 05:58:09 UTC) #3
Craig Schlenter
On 2009/01/27 05:22:23, Mark Mentovai wrote: > http://codereview.chromium.org/18801/diff/1/2 > File base/process_util.h (right): I am returning ...
11 years, 11 months ago (2009-01-28 07:21:51 UTC) #4
Mark Mentovai
Looks good for the most part. A few more minor nits, there's really nothing of ...
11 years, 11 months ago (2009-01-28 14:29:34 UTC) #5
Craig Schlenter
All fixed I hope. I've only tested this on linux 'cos my mac is PPC. ...
11 years, 10 months ago (2009-01-29 05:58:06 UTC) #6
Mark Mentovai
LGTM Craig, have you already done the CLA dance?
11 years, 10 months ago (2009-01-29 15:01:58 UTC) #7
Craig Schlenter
11 years, 10 months ago (2009-01-29 15:37:43 UTC) #8
On 2009/01/29 15:01:58, Mark Mentovai wrote:
> LGTM
> 
> Craig, have you already done the CLA dance?

Yes, thank you.

Powered by Google App Engine
This is Rietveld 408576698