Re: [PATCH 00/17] VFS: Filesystem information and notifications [ver #17]

From: David Howells
Date: Tue Mar 03 2020 - 10:54:05 EST


Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

> If you look at the patch I posted in this thread, I think it properly
> supports open_how and RESOLVE_* flags. But remember it's opening a file
> that is already present, in RO mode, no creation allowed, so most of the
> open_how interactions are limited.

Something we should consider adding to openat2() at some point is the ability
to lock on open/create. Various network filesystems support it.

David