chiark / gitweb /
udev/udev-ctrl.c:udev_ctrl_new_from_fd() enable SO_PASSCRED
authorHarald Hoyer <harald@redhat.com>
Mon, 8 Apr 2013 17:59:20 +0000 (19:59 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 8 Apr 2013 18:03:50 +0000 (20:03 +0200)
commitb97caef538ae37bd2dc04fc15b448c12a2c9422b
treedc8bf2b8edbbd5127dd06c9ba36f3da7c7b597d3
parentd4b7fecb051142404da6bf587c1796a6de768990
udev/udev-ctrl.c:udev_ctrl_new_from_fd() enable SO_PASSCRED

Avoid "sender uid=65534, message ignored" case, where no credentials can
be read on the sender side.

Seems, the server socket does not enable credential receiving fast
enough, and the message from the client (without credential) sometimes
is queued before the credential passing was active.
src/udev/udev-ctrl.c