summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-10-04 11:42:59 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-10 15:26:36 +0200
commitadcb6802e4f6369b48a74c408fd53c4325576071 (patch)
treefafc974f3db6d97f648e9c3aa6fc3e56fb1e2701 /src/providers/ldap
parentae526063fcbc4b4c440e35e01e4eca35358c2906 (diff)
downloadsssd-adcb6802e4f6369b48a74c408fd53c4325576071.tar.gz
sssd-adcb6802e4f6369b48a74c408fd53c4325576071.tar.xz
sssd-adcb6802e4f6369b48a74c408fd53c4325576071.zip
do not fail if POLLHUP occurs while reading data
This cause troubles when we send data to a pipe and close the file descriptor before data is read. The pipe is still readable, but POLLHUP is detected and we fail to read them. For example, this may cause a user beeing unable to log in. Now if POLLHUP appears, we read the pipe and then close it on the client side too.
Diffstat (limited to 'src/providers/ldap')
0 files changed, 0 insertions, 0 deletions