CSA> Look at the function do_follow_link(). If
CSA> inode->i_op->follow_link() returns an error result code, then
CSA> call inode->i_op->readlink() with the same arguments and check
CSA> for "${" (or whatever your magic string is). Perform your
CSA> substitutions and re-resolve at that point.
Why not just do all this in the libc instead? It seems to be
troublesome to do it in the kernel.
Benny
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu