File bug-479149-set-xfake-death-signal.diff of Package xorg-x11-server-dmx

--- a/hw/dmx/dmxlaunch.c
+++ b/hw/dmx/dmxlaunch.c
@@ -42,6 +42,7 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
+#include <sys/prctl.h>
 #include <libgen.h>
 #include <fcntl.h>
 
@@ -391,6 +392,7 @@ dmxLaunchDisplay (int argc, char *argv[], int index, char *vt)
 	break;
     case 0:
 	signal (SIGUSR1, SIG_IGN);
+	prctl (PR_SET_PDEATHSIG, SIGKILL);
 	execv (xbeArgv[0], xbeArgv);
 	perror (xbeArgv[0]);
 	exit (2);
openSUSE Build Service is sponsored by