diff options
| author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-05-08 12:34:17 +0200 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2009-06-09 11:38:49 +0100 |
| commit | 7c3370d4fe3fa6cda8655f109e4659afc8ca4269 (patch) | |
| tree | 681f9d6d086927c0804fc83e7185790cf9085471 /hw/usb-net.c | |
| parent | c27ff60871aff588a35e51d1a90faed410993e55 (diff) | |
| download | focaccia-qemu-7c3370d4fe3fa6cda8655f109e4659afc8ca4269.tar.gz focaccia-qemu-7c3370d4fe3fa6cda8655f109e4659afc8ca4269.zip | |
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>
Diffstat (limited to 'hw/usb-net.c')
0 files changed, 0 insertions, 0 deletions