[PATCH] Fix runsvdir so it reaps children and avoid zombi processes when killed.

Laurent Bercot ska-dietlibc at skarnet.org
Tue Jan 9 18:53:25 UTC 2018


>Zombies will _always_ be observable, even if you try to reap 
>immediately.

  Of course. I used "observable" in the broad sense, meaning there is a
nonzero amount of time where init is not runnable, won't be scheduled,
and won't immediately reap zombies. This makes zombie observation
literally millions of times more likely than when there's no blocking
path between the moment it gets a SIGCHLD and the moment it reaps the
zombie. :)

--
  Laurent



More information about the busybox mailing list