tincctl patches

Scott Lamb slamb at slamb.org
Thu Nov 8 20:23:02 CET 2007


Scott Lamb wrote:
> Since I've already basically written control-socket-dir.patch, I'm
> likely to just use it, or even a pared-down version that instead of
> using chdir() just assumes the sysadmin will take care of his/her own
> permissions on $LOCALSTATEDIR/run and parents or risk a minor race
> condition.

Ugh. AIX manpages allege that they can't handle relative paths, so I 
scratched the chdir(). I was a bit uncomfortable with changing global 
state, etc. - it's possible tinc would segfault during that time or 
couldn't get back to the original dir.

We can add a handshake later if you want.


More information about the tinc-devel mailing list