> The kernel needs to keep the full path to $PWD in order to > perform this simplification with relative paths. In effect > the kernel needs to strip out all .. from a given path before > interpreting it. And of course the kernel must check that > <component> names an existent directory.
cf. /sys/src/9/port/chan.c:^/fixdotdotname and :/^walk. - erik