]> git.ipfire.org Git - thirdparty/plymouth.git/commit
utils: Don't create unix sockets non blocking
authorSjoerd Simons <sjoerd@luon.net>
Fri, 14 Nov 2014 20:55:50 +0000 (21:55 +0100)
committerRay Strode <rstrode@redhat.com>
Mon, 17 Nov 2014 14:38:14 +0000 (09:38 -0500)
commitb97c30a019e412d30337515e615433bf6f886972
tree9634678b1f3e567386106e111195b73cb494399d
parent27fdc7497ff900d1d59d8f3e5c0415e0f89e5eab
utils: Don't create unix sockets non blocking

All the ply_read* functions assume the socket is doing blocking reads,
so opening unix sockets in non-blocking mode doesn't seem the best idea.

Specifically, this was causing ask-password to fail to read the response
at times as it got a -EAGAIN back from read rather then data.
src/libply/ply-utils.c