]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commitdiff
posix_aio_init: Explicitly unblock SIGUSR2 not USR1
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 16 Dec 2008 16:03:12 +0000 (16:03 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 16 Dec 2008 16:03:12 +0000 (16:03 +0000)
In 1f4f23ae9fc220eec55aa742f67f5bb47716bcc6 I arranged to explicitly
unblock the wrong signal - the occurrence of SIGUSR1 was a leftover
from my various debugging trees.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
block-raw-posix.c

index 0e1059cfa154e78ff92070498ad8c72e26b13e69..044d1f4859dc7492b200f400c1ff5e658fcefce2 100644 (file)
@@ -584,7 +584,7 @@ static int posix_aio_init(void)
     /* under some circumstances on Centos 4.3 (at least)
      * SIGUSR2 is mistakenly blocked, which breaks badly */
     sigemptyset(&enable);
-    sigaddset(&enable,SIGUSR1);
+    sigaddset(&enable,SIGUSR2);
     sigprocmask(SIG_UNBLOCK,&enable,0);
     
     sigfillset(&act.sa_mask);