> FWIW, the 2.1.127 behavior wrt O_CREAT|O_EXCL is exactly what we
> implemented here at Tandem and what Solaris does -- if a symbolic
> link with the specified name exists, the operation fails with
> EEXIST.
I'm aware of this... but last time I looked, Solaris didn't have
O_NOFOLLOW so its the right thing to do.
But, when we have O_NOFOLLOW, then that's a better way to do this,
and then we can allow ((O_CREAT|O_EXCL)&~O_NOFOLLOW) to follow links
if some some reason and applications think this might be necessary.
-cw
-
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/