On Thu, 2012-10-04 at 13:03 +0200, Pavel Březina wrote:
Read the commit message for more info.
This was causing troubles when I wanted the pam responder to close
connection to a client immediately, right after a request is finished.
This code has been in SSSD for years. Simo, as you are the original
author, can you review it please?
Uhmm following your explanation it looks like just removing the check
would be wrong.
Shouldn't you instead catch POLLHUP indipendently and simply add a flag
somewhere that the pipe should be close after you successfully completed
the read ?
Or is there something else I am missing here ?
Simo Sorce * Red Hat, Inc * New York