From 1a5bfd8c2b0a2510d6fc4b8b9055e605e6879a1e Mon Sep 17 00:00:00 2001 From: Rafal Wojtczuk Date: Fri, 11 Mar 2011 13:08:19 +0100 Subject: [PATCH] Reset SIGPIPE in qrexec_daemon, too. --- qrexec/qrexec_daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qrexec/qrexec_daemon.c b/qrexec/qrexec_daemon.c index 54077185..906905e4 100644 --- a/qrexec/qrexec_daemon.c +++ b/qrexec/qrexec_daemon.c @@ -282,6 +282,7 @@ void handle_trigger_exec(int req) for (i = 3; i < 256; i++) close(i); signal(SIGCHLD, SIG_DFL); + signal(SIGPIPE, SIG_DFL); execl("/usr/lib/qubes/qrexec_client", "qrexec_client", "-d", domain_id, "-l", lcmd, rcmd, NULL); perror("execl");