Eric Blake, le Tue 08 May 2012 12:46:57 -0600, a écrit :
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
> O_NOFOLLOW
>     If path names a symbolic link, fail and set errno to [ELOOP].
> 
> I wouldn't object to yet another O_* flag that can be used to disable
> translators,

The problem is that we can't expect people to know about that flag, and
use it where security is needed.

> but don't see how breaking POSIX semantics of a FIFO just because
> O_NOFOLLOW was used is warranted.

I don't mean it's warranted.  I mean that it's expected that using
O_NOFOLLOW will disable translators.  We can however perhaps refine the
behavior to at least make standard fifos work.

Samuel

Reply via email to