Up to [cvs.NetBSD.org] / src / sys / miscfs / procfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: thorpej-vnode-attr
Revision 1.126 / (download) - annotate - [select for diffs], Sat Oct 1 03:17:37 2005 UTC (18 years, 6 months ago) by atatat
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.125: +107 -6
lines
Diff to previous 1.125 (colored)
Add "cwd" and "root" symlinks to each process's directory. The cwd link points to the process's current working directory, and the root link points to the process's root directory. What else would you expect? For directories that are out of reach (caller is in a chroot, target process is in a different chroot, etc), the links point to "/" instead.