# mount -t proc none .
# echo ./../*
<contents of the _parent_ of foo>
If you're root and can mount filesystems, you lose anyways.
Consider open("./1/cwd"...); open("./25/fd/5"...); etc.
Later,
David S. Miller
davem@dm.cobaltmicro.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/