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

Unified Diff: content/browser/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
Index: content/browser/utility_process_host.cc
===================================================================
--- content/browser/utility_process_host.cc (revision 97969)
+++ content/browser/utility_process_host.cc (working copy)
@@ -61,7 +61,12 @@
}
FilePath UtilityProcessHost::GetUtilityProcessCmd() {
- return GetChildPath(true);
+#if defined(OS_LINUX)
+ int flags = CHILD_ALLOW_SELF;
+#else
+ int flags = CHILD_NORMAL;
+#endif
+ return GetChildPath(flags);
}
bool UtilityProcessHost::StartProcess() {
« no previous file with comments | « content/browser/renderer_host/browser_render_process_host.cc ('k') | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698