| Index: base/process/launch_posix.cc
|
| diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc
|
| index c5379a50081d065a6e0e798a358e426b74f79da1..3322d265785246e8076e8ddd9591701f57db7f5c 100644
|
| --- a/base/process/launch_posix.cc
|
| +++ b/base/process/launch_posix.cc
|
| @@ -311,17 +311,7 @@
|
| // and that signal handling follows the process-creation rules.
|
| RAW_CHECK(
|
| !(options.clone_flags & (CLONE_SIGHAND | CLONE_THREAD | CLONE_VM)));
|
| -
|
| - // We specify a null ptid and ctid.
|
| - RAW_CHECK(
|
| - !(options.clone_flags &
|
| - (CLONE_CHILD_CLEARTID | CLONE_CHILD_SETTID | CLONE_PARENT_SETTID)));
|
| -
|
| - // Since we use waitpid, we do not support custom termination signals in the
|
| - // clone flags.
|
| - RAW_CHECK((options.clone_flags & 0xff) == 0);
|
| -
|
| - pid = ForkWithFlags(options.clone_flags | SIGCHLD, nullptr, nullptr);
|
| + pid = syscall(__NR_clone, options.clone_flags, 0, 0, 0);
|
| } else
|
| #endif
|
| {
|
|
|