Re: [PATCH] Implement AT_SYMLINK_FOLLOW flag for linkat

From: Linus Torvalds
Date: Sun Jun 18 2006 - 15:21:53 EST




On Sun, 18 Jun 2006, Al Viro wrote:
>
> Where does POSIX require that? IIRC, it was along the lines of "application
> can't rely on kernel doing the right thing", not "kernel must do the
> wrong thing"...

Well, the patch as sent in does seem sane, as long as glibc doesn't start
defaulting to the insane behaviour. Giving users the _ability_ to link to
the symlink target is certainly not wrong, regardless of any standard.
Doing it by default is another matter.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/