Skip to content
Commit 7c3370d4 authored by Jan Kiszka's avatar Jan Kiszka Committed by Mark McLoughlin
Browse files

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: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarMark McLoughlin <markmc@redhat.com>
parent c27ff608
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