New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix race condition in qrexec-client-vm handling SIGUSR1 #1863

Closed
marmarek opened this Issue Mar 21, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 21, 2016

SIGUSR1 is used to signal qrexec-client-vm to 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment