This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Implement tmpfile with O_TMPFILE (bug 21530)



On 26/06/2017 13:37, Carlos O'Donell wrote:
> 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.
> 

It can be adopted by POSIX in the future, but *currently* it only 
exported on Linux-only headers and it would require kernel support 
to have it implemented correctly (so trying to emulate it with a 
generic code is not an option).  So imho it is still Linux specific.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]