]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-windows-robust-freelance-20041126
authorJeffrey Altman <jaltman@mit.edu>
Tue, 7 Dec 2004 05:58:52 +0000 (05:58 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 7 Dec 2004 05:58:52 +0000 (05:58 +0000)
commit84258392320bd50562c3d6dd3268b8e5c70e6be1
tree9c4086f313399e0140cd155f3a5945df17154d33
parent81673c10c6aa84d20631a7fcd6cc4857835bb9e7
STABLE14-windows-robust-freelance-20041126

Implement new functions: cm_freelanceMountPointExists and
cm_freelanceSymlinkExists.  Use them along with other validity checks
in cm_freelanceAddMount and cm_freelanceAddSymlink to ensure that name
collisions do not occur and that empty strings are not valid file names.

A symlink may not have a name which would resolve to a valid cell name.
Doing so would prevent access to the cell.

(cherry picked from commit 3c487ecb59c0bace3a417245f639f7e3388ae5dc)
src/WINNT/afsd/cm_freelance.c