New commits:
commit b49d5f70ac9f716d0b6973a590b4e7998b92f189
Author: Andrew Cagney <[email protected]>
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
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit