Commit 5bea8686 authored by Tom Sepez's avatar Tom Sepez Committed by Commit Bot

Remove deceptive "missing kernel support" error message

There are a number of other reasons why the sandbox process launcher may
fail to launch a child. Not sure why the original authors jumped to this
conclusion. There have been a couple of instances where folks headed down
the wrong path trying to diagnose an issue after seeing this error.

Change-Id: I558523bfbef8ae706b1598f9de2a543189de9624
Reviewed-on: https://chromium-review.googlesource.com/782366Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518399}
parent 70e34e3b
...@@ -175,10 +175,8 @@ void ServiceProcessLauncher::DoLaunch( ...@@ -175,10 +175,8 @@ void ServiceProcessLauncher::DoLaunch(
if (!IsUnsandboxedSandboxType(sandbox_type_)) { if (!IsUnsandboxedSandboxType(sandbox_type_)) {
child_process_ = child_process_ =
sandbox::NamespaceSandbox::LaunchProcess(*child_command_line, options); sandbox::NamespaceSandbox::LaunchProcess(*child_command_line, options);
if (!child_process_.IsValid()) { if (!child_process_.IsValid())
LOG(ERROR) << "Starting the process with a sandbox failed. Missing kernel" LOG(ERROR) << "Starting the process with a sandbox failed.";
<< " support.";
}
} else } else
#endif #endif
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment