Set up monitor signal handlers before forking
authorGreg Hudson <ghudson@mit.edu>
Wed, 14 Sep 2011 16:12:36 +0000 (16:12 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 14 Sep 2011 16:12:36 +0000 (16:12 +0000)
commit3038d7a0017b729cecbf26d4757228e56e87ac9a
tree12a052d9bde8aa2512abe355bbec1c099f069431
parent232ee45a29845cc8b31955bdc398ac335421e63c
Set up monitor signal handlers before forking

This avoids a race condition where a child reports "starting..." and
begins to service requests before the monitor is ready to handle
termination signals.  Really only an issue for the test suite.  From
npmccallum@redhat.com.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25177 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/main.c