NetBSD/libexec/ftpd
manu 32adf030a4 ftpd was unable to service the pwd request once you entered a directory
without search permission. This confused some ftp clients.

We fix this problem by maitaining a cached path when getcwd() does not work.
The symbolic links and ../ are resolved in the cached path, and it is finnally
checked for accuracy by comparing ./ and the cached path with stat (device
and inode comparison). If the comparison fails, pwd fails as it did before,
and if the comparison succeeds, the cached path is displayed.

If paths are too long, we should just compare ./ with a truncated path and
fail, thus making pwd displaying an error as it did before.
2003-01-08 18:07:31 +00:00
..
Makefile use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
cmds.c ftpd was unable to service the pwd request once you entered a directory 2003-01-08 18:07:31 +00:00
conf.c - convert to using libc's strsuftoll(3) 2002-11-29 14:39:59 +00:00
extern.h - convert to using libc's strsuftoll(3) 2002-11-29 14:39:59 +00:00
ftpcmd.y - convert to using libc's strsuftoll(3) 2002-11-29 14:39:59 +00:00
ftpd.8 tweak reference to me 2002-10-26 04:21:12 +00:00
ftpd.c Avoid conflict with reserved identifier "log". 2002-12-06 01:59:22 +00:00
ftpd.conf.5 -1 -> \-1. 2002-11-29 19:22:01 +00:00
ftpusers.5
logutmp.c - convert to using libc's strsuftoll(3) 2002-11-29 14:39:59 +00:00
logwtmp.c revert previous. wtmp{,x} entries need not be \0-terminated, so 2002-09-13 02:58:54 +00:00
pathnames.h
popen.c
version.h - convert to using libc's strsuftoll(3) 2002-11-29 14:39:59 +00:00