commit | 7c3370d4fe3fa6cda8655f109e4659afc8ca4269 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Fri May 08 12:34:17 2009 +0200 |
committer | Mark McLoughlin <markmc@redhat.com> | Tue Jun 09 11:38:49 2009 +0100 |
tree | 681f9d6d086927c0804fc83e7185790cf9085471 | |
parent | c27ff60871aff588a35e51d1a90faed410993e55 [diff] |
slirp: Avoid zombie processes after fork_exec Slirp uses fork_exec for spawning service processes, and QEMU uses this for running smbd. As SIGCHLD is not handled, these processes become zombies on termination. Fix this by installing a proper signal handler, but also make sure we disable the signal while waiting on forked network setup/shutdown scripts. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Mark McLoughlin <markmc@redhat.com>