]> sourceware.org Git - lvm2.git/commit
dmeventd: Don't trust fifo with wrong attrs.
authorAlasdair G Kergon <agk@redhat.com>
Tue, 8 Dec 2015 01:48:17 +0000 (01:48 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 8 Dec 2015 01:48:17 +0000 (01:48 +0000)
commitdcd946e95a80da1b6b2d2285d9a5f41e87cb153d
treeee96599859ddf76017ac98458c5147a5dcf436ec
parent94dab390ef68de3a56b67bce771b48445aa13d09
dmeventd: Don't trust fifo with wrong attrs.

If an existing fifo has the wrong attributes it cannot be trusted
so we must unlink it and recreate it correctly.
(Replaces 2c8d6f5c90d5be62b48ba2881f2a6631091dc5af: if the other end of
the fifo already got opened while its mode was insecure, delaying the
chmod isn't going to make any difference!)
daemons/dmeventd/dmeventd.c
This page took 0.035446 seconds and 5 git commands to generate.