From 172ca98f99787b63436b2f9b48b4419414995c1a Mon Sep 17 00:00:00 2001 From: "shess@chromium.org" Date: Wed, 3 Oct 2012 19:55:07 +0000 Subject: [OSX] Pass --enable-sandbox-logging to more sub-processes. This makes it easier to debug what is being blocked by the sandbox. gpu and renderer processes were already covered, this adds propagation for utility and worker processes, and nacl, pepper and npapi plugin processes. The points to handle were discovered by looking for kNoSandbox cases, which is why NPAPI is on the list, even though we do not sandbox it on OSX at this time. BUG=152327 TEST=--enable-sandbox-logging and look for messages from subprocesses in /var/log/syslog.log Review URL: https://chromiumcodereview.appspot.com/10978037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159956 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/plugin_process_host.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/browser/plugin_process_host.cc') diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc index ec96877..0a6ef62 100644 --- a/content/browser/plugin_process_host.cc +++ b/content/browser/plugin_process_host.cc @@ -226,6 +226,9 @@ bool PluginProcessHost::Init(const webkit::WebPluginInfo& info) { switches::kDisableLogging, switches::kEnableDCHECK, switches::kEnableLogging, +#if defined(OS_MACOSX) + switches::kEnableSandboxLogging, +#endif switches::kEnableStatsTable, switches::kFullMemoryCrashReport, switches::kLoggingLevel, -- cgit v1.1