Re: PATCH: smart symlink loop detection.

C. Scott Ananian (cananian@lcs.mit.edu)
Tue, 21 Apr 1998 00:14:44 -0400 (EDT)


On Mon, 20 Apr 1998, Adam D. Bradley wrote:

> There's just one problem: I need to call inode->i_op->readlink() to
> get the "value" of a symlink.

According to linus, readlink() is not guaranteed do exactly the same thing
as follow_link(). There's some craziness that goes on with /proc. I
think I found it in the source code at one point, but I forget exactly
where it was. Maybe Linus remembers?
--Scott
@ @
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
C. Scott Ananian: cananian@lcs.mit.edu / Declare the Truth boldly and
Laboratory for Computer Science/Crypto / without hindrance.
Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
-.-. .-.. .. ..-. ..-. --- .-. -.. ... -.-. --- - - .- -. .- -. .. .- -.
PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu