[PATCH] misc: Add mkostempat (BZ 19866)
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Thu Jun 18 19:55:31 GMT 2026
On 18/06/26 16:46, Paul Eggert wrote:
> As long as we're adding all those features, why not support the openat2 flags too?
>
> Perhaps this should be implemented in Gnulib first, so that people can gain experience with the API.
I though about it, but there are complications:
* openat2 as generic ABI with its extendable open_how is not a good fit:
it would require additional versions each time we extend it.
* We will need to add a fallback for older kernels and Hurd; and I *really*
do not want to pull the gnulib implementation. Mainly because kernel
fallback has bitten us in the past and it is a pain to maintain.
There is also the question of each openat2 flag would be really a gain
for this interface.
More information about the Libc-alpha
mailing list