linux: Implement fstatat with __fstatat64_time64

System Internals / glibc - Adhemerval Zanella [] - 29 March 2021 13:22 UTC

It makes fstatat use __NR_statx, which fix the s390 issue with missing nanoxsecond support on compat stat syscalls (at least on recent kernels) and limits the statx call to only one function (which simplifies the __ASSUME_STATX support).

Checked on i686-linux-gnu and on powerpc-linux-gnu.

4c4e90ccf8 linux: Implement fstatat with __fstatat64_time64
sysdeps/unix/sysv/linux/fstatat.c | 49 +++++++++------------------------------
1 file changed, 11 insertions(+), 38 deletions(-)


  • Share