diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-01 12:07:28 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-02 07:47:51 -0500 |
commit | c99f085747aabafc4a440b5bfd1d9a6bea995620 (patch) | |
tree | 696cdbc03e58c5f08fee2e63e1845e13b295e444 /src/providers | |
parent | b892b95f0ba494a3e149164695ef58d79dd9fb0c (diff) | |
download | sssd-c99f085747aabafc4a440b5bfd1d9a6bea995620.tar.gz sssd-c99f085747aabafc4a440b5bfd1d9a6bea995620.tar.xz sssd-c99f085747aabafc4a440b5bfd1d9a6bea995620.zip |
Resend SIGTERM if child doesn't terminate
There is a race condition where if we send a SIGTERM before the
kernel has scheduled the child, it may be lost, and the child will
not terminate and will leave the monitor hung in wait().
This patch alters this behavior so that we will send the SIGTERM
again every 10ms and check the wait() in a nonblocking manner.
Diffstat (limited to 'src/providers')
0 files changed, 0 insertions, 0 deletions