[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#11436: Please disable test cp/parent-perm-race on hurd-i386
From: |
Jim Meyering |
Subject: |
Re: bug#11436: Please disable test cp/parent-perm-race on hurd-i386 |
Date: |
Sun, 07 Oct 2012 11:46:16 +0200 |
Ludovic Courtès wrote:
> Samuel Thibault <samuel.thibault@gnu.org> skribis:
>
>> 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.
>
> Yes. In glibc, ‘__hurd_file_name_lookup_retry’ does this:
>
> if (flags & O_NOFOLLOW)
> {
> /* In Linux, O_NOFOLLOW means to reject symlinks. If we
Thanks.
I'm closing this issue as notabug.
If you still think the test should be disabled for the Hurd,
feel free to reopen it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: bug#11436: Please disable test cp/parent-perm-race on hurd-i386,
Jim Meyering <=