Re: Have RESOLVE_* flags superseded AT_* flags for new syscalls?
From: Florian Weimer
Date: Thu Mar 05 2020 - 09:38:41 EST
* David Howells:
> Florian Weimer <fweimer@xxxxxxxxxx> wrote:
>
>> Will there be any new flags for openat in the future? If not, we can
>> just use a constant mask in an openat2-based implementation of openat.
>
> One thing we might want to look at is implementing support for
> lock-on-open/create and sharing modes in openat2(). Various network
> filesystems support this. Wine, CIFS and Samba particularly might be
> interested in this.
But will those be O_ flags that need to be passed to openat?
Ignoring locking requests on older kernels because of the openat flag
handling seems problematic.
Thanks,
Florian