]> git.sur5r.net Git - openldap/commit
for slurpd's replica directory (slurpd.status, and rej file) use a subdir of what...
authorBen Collins <bcollins@openldap.org>
Mon, 24 Apr 2000 17:03:45 +0000 (17:03 +0000)
committerBen Collins <bcollins@openldap.org>
Mon, 24 Apr 2000 17:03:45 +0000 (17:03 +0000)
commit32bdecbb5fb9fc8bb9163574fee6e6ef40a6cbc6
treea285f104ed60fa29f6e5fadf00b002cd523f2599
parenta44adcfb43c4030328d8a92c56e6cc4018ee5d4f
for slurpd's replica directory (slurpd.status, and rej file) use a subdir of what the user specifies (add replica/ to it) to avoid /tmp races. A lot of the files that slurpd uses cannot be opened with O_EXCL, nor can we safely determine if there are any hardlinks from another file to it, so we create our own subdirectory so we can control the perms, even in /tmp
servers/slurpd/args.c
servers/slurpd/globals.c
servers/slurpd/main.c