On Tue, Dec 17, 2013 at 8:51 AM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Tue, Dec 17, 2013 at 06:19:43AM +0100, Andreas Tobler wrote:
>> The below patch allows me to get back to normal, means zero unexpected
>> fails, on FreeBSD. The patch has been tested on Linux/x86 as well, no
>> regressions.
>
> On Linux, mkostemp performs on flags:
> (flags & ~O_ACCMODE) | O_RDWR | O_CREAT | O_EXCL
> before passing it to open(2), so the patch makes no real change on Linux.

Yes, with the help of strace and a small test program I figured out
that it must do something like that. See also

http://austingroupbugs.net/view.php?id=411

I sent a request to the linux man pages project to improve the documentation.

-- 
Janne Blomqvist

Reply via email to