]> git.ipfire.org Git - thirdparty/lldpd.git/commit
client: put lock file in the same directory as the socket
authorVincent Bernat <vincent@bernat.ch>
Tue, 4 May 2021 19:46:30 +0000 (21:46 +0200)
committerVincent Bernat <vincent@bernat.ch>
Tue, 4 May 2021 20:05:42 +0000 (22:05 +0200)
commita1c9d4bef7ffba4ae754b213613e8a9cde498b36
treeb0790210c5162238df8ee044781ceeef95d411a9
parent104cdb42d0b7ed0ec46b7ca9b32e7c9beb0e13a0
client: put lock file in the same directory as the socket

The whole deal I was trying to solve is the fact that I cannot put the
lock here because I was unprivileged. Just let lldpd create the lock
in the same way it creates the socket (same privileges).
configure.ac
src/client/commands.c
src/daemon/lldpd.c
tests/integration/fixtures/programs.py