[PATCH] Implement tmpfile with O_TMPFILE (bug 21530)

Carlos O'Donell carlos@redhat.com
Mon Jun 26 16:37:00 GMT 2017


On 06/26/2017 11:34 AM, Florian Weimer wrote:
> On 06/26/2017 04:53 PM, Adhemerval Zanella wrote:
>> I would prefer to compartmentalize Linuxism to linux sysdep folder, something
>> like:
> 
> Isn't O_TMPFILE part of the GNU API now?

Part of the GNU/Linux API? Yes.

We export it under __USE_GNU in fcntl-linux.h.

Is that the same as the Generic GNU API?

We do talk about O_TMPFILE in GNU/Hurd open/openat
implementations, and O_TMPFILE seems like a generically
useful feature everyone would agree you want in an OS.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list