On Tue, Jun 25, 2024 at 12:51 PM Xi Ruoyao <xry111@xxxxxxxxxxx> wrote: > > On Tue, 2024-06-25 at 10:50 +0200, Christian Brauner wrote: > > No, let's not waste AT_* flag space in fear of some hypothetical > > breakage. Let's try it cleanly first and make AT_EMPTY_PATH work with > > NULL paths. > > > > Note, I started working on this (checks ...) 30th April but then some > > other work came up and I never got back to it (Sorry, Linus). I pushed > > the branch to #vfs.empty.path now. The top three commits was what I had > > started doing. > > > > It was based on a new vfs_empty_path() helper so we could reuse it for > > other system calls as well. > > If I understand correctly, I should submit a patch against > vfs.empty.path making statx(fd, NULL, AT_EMPTY_PATH) work then? > I just sorted this out, will be sending a patchset shortly. -- Mateusz Guzik <mjguzik gmail.com>