]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commit
posix_aio_init: Explicitly unblock SIGUSR1
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 11 Dec 2008 17:38:28 +0000 (17:38 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 11 Dec 2008 17:38:28 +0000 (17:38 +0000)
commit1f4f23ae9fc220eec55aa742f67f5bb47716bcc6
treedf82468e4aedc63825108e3bd8ce00a52ec0bbe6
parent167bc570eca4f908905cd7b59bef7f259c5355c0
posix_aio_init: Explicitly unblock SIGUSR1

On Centos 4.3 as invoked by xend it seems that SIGUSR1 can be blocked.

This is almost certainly a libc bug; I checked by using sigprocmask to
obtain what was allegedly the current signal mask and printing it out
and SIGUSR1 wasn't listed, although my strace showed rt_sigprocmask
calls which clearly implied it was blocked - and indeed it wasn't
delivered.

Explicitly enabling it is an easy workaround.

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