On Mon, 20 Aug 2018, at 10:45 AM, Aleksandar Markovic wrote: > > As such an implementation of lstat that uses statx will be broken. > > > > Since fstatat exists since 2.6.16 this can be reduced to a call to fstatat. > > I am not sure what you meant here. I think QEMU lstat() implementation > does not use statx(). This implementation of statx() uses hosts's > statx(), and, as a fallback, host's fstat(), stat(), and fstatat().
I was referring to an implementation of lstat in a C library that is running on QEMU linux user. > > I would like to add that I think this patch should be submitted > separately, out of this series. > > Yours, > Aleksandar >