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
..
2016-02-03 09:01:29 +01:00
2009-05-04 22:30:21 +00:00
2010-05-17 20:08:11 +02:00
2016-03-17 10:45:40 +01:00
2008-03-17 02:31:22 +00:00
2009-11-05 18:18:35 +01:00
2008-03-17 02:31:22 +00:00