Re: [PATCH] Implement AT_SYMLINK_FOLLOW flag for linkat

From: Al Viro
Date: Sun Jun 18 2006 - 15:31:04 EST


On Sun, Jun 18, 2006 at 12:22:14PM -0700, Linus Torvalds wrote:
>
>
> 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.

As long as it doesn't get tied to overloaded environment variable that
might be needed for other purposes...
-
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/