[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Fri Oct 20 13:48:44 UTC 2017
New commits:
commit b49d5f70ac9f716d0b6973a590b4e7998b92f189
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Oct 19 20:36:26 2017 -0400
server: install event-loop signal handlers before addconn is [v]forked
This replaces the old code which would:
- install signal() style handlers
- fork addconn which, at some point, would deliver SIGCHLD
- install event-loop signal handlers
Two things could happen:
- addconn exec failed (or addconn quickly crashed) and the first handler
gets the SIGCHLD (perhaps)
- addconn worked, so after talking to pluto in the event-loop (whack),
it would exit and the event-loop signal hander gets the SIGCHLD
More information about the Swan-commit
mailing list