]> git.meshlink.io Git - meshlink/commit
Create UNIX socket at the same time as the PID file is created.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 18 Aug 2013 15:02:49 +0000 (17:02 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 18 Aug 2013 15:02:49 +0000 (17:02 +0200)
commitb180c1af99c559809d0e7b23fce3022817ec56a9
tree3428eaf6e65ad9ac1201ef1bffe41ff344d97a39
parent707914e0e4b45183b1f687b44d97731127df3078
Create UNIX socket at the same time as the PID file is created.

The PID file was created before tinc-up was called, but the UNIX socket was
created afterwards, which meant one could not change the UNIX socket's owner or
permissions from the tinc-up script.
src/control.c
src/net_setup.c