Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFix race condition in qrexec-client-vm handling SIGUSR1 #1863
Comments
marmarek
added
bug
C: core
P: minor
labels
Mar 21, 2016
marmarek
added this to the Release 3.2 milestone
Mar 21, 2016
marmarek
closed this
in
marmarek/old-qubes-core-agent-linux@73beddf
Mar 21, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
marmarek commentedMar 21, 2016
SIGUSR1 is used to signal
qrexec-client-vmto use a single socket (FD 0) for both input and output data (instead of using separate stdin and stdout). But there is a race condition - signal handler is set after spawning child process, so it may try to send the signal before actually handler will be set.SIGUSR1 handler isn't used yet anywhere, nor even documented, so no need to backport it anywhere. But it is needed for #531