Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: restore SIGTERM default handler in child process
process_io() loop doesn't check flag set by SIGTERM handler in the parent qrexec-daemon process. This results in child processes (for example handling socket service calls to dom0) effectively ignore SIGTERM. This subsequently cause system shutdown to wait (until finally sending SIGKILL). Fix this by restoring default SIGTERM handler in the child process. Fixes: f3a5784 "Avoid qrexec-client for VM -> dom0 calls"
- Loading branch information