diff options
Diffstat (limited to 'chrome/service/service_utility_process_host.cc')
-rw-r--r-- | chrome/service/service_utility_process_host.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc index c633773..0c4e88c 100644 --- a/chrome/service/service_utility_process_host.cc +++ b/chrome/service/service_utility_process_host.cc @@ -116,7 +116,12 @@ bool ServiceUtilityProcessHost::StartProcess(bool no_sandbox, } 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() { |