1
1
Jon Simons 9003f92e8f pkd_daemon.c: force close pkd_state.server_fd upon stop
There's a race window between the accept loop's call to
accept(2) and it checking `ctx.keep_going`.  Forcefully
close the server socket such that any raced `accept` ends
up failing.

Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2017-09-11 16:31:01 +02:00
..
2014-10-12 15:01:02 +02:00
2014-10-12 15:01:02 +02:00
2014-10-12 15:01:02 +02:00
2014-10-15 10:26:24 +02:00
2014-10-12 15:01:02 +02:00