]> sourceware.org Git - lvm2.git/commit
libdaemon: Fix socket reuse error paths.
authorAlasdair G Kergon <agk@redhat.com>
Wed, 13 May 2015 12:42:09 +0000 (13:42 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 13 May 2015 12:42:09 +0000 (13:42 +0100)
commit02e10f4ccd60f66a00d5406452459317baba7c62
tree0802fe21af85bc3a06410769a89d8dde752638ca
parentcc560b75aa5144ce6859e6d0ecc4cb918af7f4d8
libdaemon: Fix socket reuse error paths.

Invert S_ISSOCK validation.
Fail instead of replacing a symlink with a new socket.
After failure, skip calling fcntl with invalid socket_fd.
WHATS_NEW
libdaemon/server/daemon-server.c
This page took 0.032756 seconds and 5 git commands to generate.