Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20414373 authored by Mike Kasick's avatar Mike Kasick Committed by Steve Kondik
Browse files

init: Don't confuse do_exec with other exiting processes.

The waitpid call in do_exec may return early with EINTR when init receives
a signal, e.g., a SIGCHLD from an exiting service process.  do_exec should
check waitpid for an EINTR "error", to ensure that it returns only after
waiting on its child process.
parent bbc45b42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment