NetBSD/libexec
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
..
atrun use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
comsat Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
cron Clean up deleted files. 1995-03-01 00:00:00 +00:00
fingerd Remove some unneeded backslashes. 2002-09-29 13:57:57 +00:00
ftpd ftpd was unable to service the pwd request once you entered a directory 2003-01-08 18:07:31 +00:00
getNAME Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
getty Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
hpropd add DPADD 2002-10-23 01:11:09 +00:00
identd don't need -lutil here 2002-11-30 03:16:14 +00:00
kadmind correct libvers DPADD 2002-10-23 01:04:25 +00:00
kpasswdd add DPADD 2002-10-23 01:06:11 +00:00
ld.aout_so Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
ld.elf_so Gracefully exit when invoked directly. Use of assert() here caused a segfault. 2002-12-14 15:37:57 +00:00
lfs_cleanerd - fix memory leak. 2002-12-15 08:38:17 +00:00
mail.local die if strdup fails 2002-11-16 15:41:17 +00:00
makekey Whitespace nit. 2002-01-15 02:23:28 +00:00
makewhatis use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
rexecd Avoid conflict with reserved identifier "log". 2002-12-06 01:59:22 +00:00
rlogind null commit 2002-09-23 12:44:34 +00:00
rmail End .Bl with .El. While here, sort options and improve markup a bit. 2002-09-29 14:04:59 +00:00
rpc.rquotad Make this file explicitely public domain. 2002-06-09 17:10:44 +00:00
rpc.rstatd update to new dkstats.c interface; no changes to how this program works. 2002-11-02 01:59:24 +00:00
rpc.rusersd PR/18929: Kimmo Suominen: rpc.rusersd ignores utmpx 2002-11-04 22:03:38 +00:00
rpc.rwalld Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
rpc.sprayd Whitespace nits. 2002-01-15 02:27:15 +00:00
rshd revert previous; this *DOES* use -lutil 2002-11-30 21:56:34 +00:00
talkd verify strvis() buffer length is enough. make sure string termination before 2002-11-20 21:01:57 +00:00
telnetd Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
tftpd use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
utmp_update Make this work finally, by prepending _PATH_DEV to the tty name. 2002-12-18 15:20:47 +00:00
uucpd Avoid conflict with reserved identifer "log". 2002-12-06 02:03:18 +00:00
Makefile don't build kfd; there are security issues with heimdal 0.4e, and we 2002-09-10 22:17:04 +00:00
Makefile.inc Format string cleanups by sommerfeld. 2000-10-10 19:54:37 +00:00