freebsd-dev/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 o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
linux Fix linux_getcwd() so that if the cwd isn't cached (__getcwd() fails), 2001-08-29 19:05:27 +00:00
netbsd Use queue macros. 2001-01-24 00:01:42 +00:00
pecoff Fix warnings: 2001-06-15 07:50:54 +00:00
svr4 get rid of some printf and pointer type warnings 2001-07-22 00:12:22 +00:00