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

Unified Diff: chrome/service/service_utility_process_host.cc

Issue 7714018: Give plug-in processes an executable heap and disable PIE/ASLR for Native (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months 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 | « chrome/installer/mac/sign_versioned_dir.sh.in ('k') | chrome/test/base/chrome_process_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_utility_process_host.cc
===================================================================
--- chrome/service/service_utility_process_host.cc (revision 97969)
+++ chrome/service/service_utility_process_host.cc (working copy)
@@ -116,7 +116,12 @@
}
FilePath ServiceUtilityProcessHost::GetUtilityProcessCmd() {
- return GetChildPath(true);
+#if defined(OS_LINUX)
+ int flags = CHILD_ALLOW_SELF;
+#else
+ int flags = CHILD_NORMAL;
+#endif
+ return GetChildPath(flags);
}
bool ServiceUtilityProcessHost::CanShutdown() {
« no previous file with comments | « chrome/installer/mac/sign_versioned_dir.sh.in ('k') | chrome/test/base/chrome_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698