Run verify_file_perms_ownership() on fwknop.pid only if it exists
authorMichael Rash <mbr@cipherdyne.org>
Fri, 31 Aug 2012 01:43:53 +0000 (21:43 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Fri, 31 Aug 2012 01:43:53 +0000 (21:43 -0400)
commit2584521c67952855ba20c7c61b701a34ba57615c
treea17382f90400754cebeb0df97297544f5622f341
parent406e33ccc0836796a53c88f7fe118d292adf0a25
Run verify_file_perms_ownership() on fwknop.pid only if it exists

Two bugs are fixed with this commit: verify permissions/ownership on the
fwknop.pid file only if it exists, and ensure to ru-run stat() on any directory
component if we're creating a directory.
server/fwknopd.c