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

Unified Diff: content/common/sandbox_linux.cc

Issue 11450017: Lower RLIMIT_AS to 4GB after discussion with jschuh. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux.cc
===================================================================
--- content/common/sandbox_linux.cc (revision 171343)
+++ content/common/sandbox_linux.cc (working copy)
@@ -252,8 +252,8 @@
if (command_line->HasSwitch(switches::kNoSandbox)) {
return false;
}
- // Limit the address space to 8GB.
- const rlim_t kNewAddressSpaceMaxSize = 0x200000000L;
+ // Limit the address space to 4GB.
+ const rlim_t kNewAddressSpaceMaxSize = 0x100000000L;
struct rlimit old_address_space_limit;
if (getrlimit(RLIMIT_AS, &old_address_space_limit))
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698