freebsd-nq/sys/compat
Andrew Gallatin 055d495677 Fix linux_getcwd() so that if the cwd isn't cached (__getcwd() fails),
the cwd is looked up inside the kernel. The native getcwd() in libc
handles this in userland if __getcwd() fails.

Obtained from: NetBSD via OpenBSD
Tested by: Chris Casey <chriss@phys.ksu.edu>, Markus Holmberg <markush@acc.umu.se>
Reviewed by: Darrell Anderson <anderson@cs.duke.edu>
PR: kern/24315
2001-08-29 19:05:27 +00:00
..
linprocfs
linux Fix linux_getcwd() so that if the cwd isn't cached (__getcwd() fails), 2001-08-29 19:05:27 +00:00
netbsd
pecoff
svr4