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

Issue 159843: Linux: don't try and read shmmax in the sandbox. (Closed)

Created:
11 years, 4 months ago by agl
Modified:
9 years, 7 months ago
Reviewers:
tony
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Linux: don't try and read shmmax in the sandbox. In the sandbox, reading shmmax from proc always fails. Thus, we move the function into base and call it before starting the sandbox. The value is then cached.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -13 lines) Patch
M base/sys_info.h View 1 chunk +5 lines, -0 lines 0 comments Download
M base/sys_info_posix.cc View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/zygote_main_linux.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/renderer/render_process.cc View 2 chunks +1 line, -13 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
agl
11 years, 4 months ago (2009-08-04 01:23:40 UTC) #1
tony
11 years, 4 months ago (2009-08-04 01:25:48 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698