fstatat: add wrapper that uses statx for non-legacy arch
commitf61a240363a173982809f1448450a77207286e3c
authorYann Sionneau <ysionneau@kalray.eu>
Thu, 14 Sep 2023 14:29:41 +0000 (14 16:29 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 14 Sep 2023 14:46:52 +0000 (14 16:46 +0200)
tree07122ff945fd2faffeffd18d1d17ceaaa21ddef4
parent95e38b378480b7935238b8b2b2712f76211f4fea
fstatat: add wrapper that uses statx for non-legacy arch

Add fstatat wrapper that uses statx for non-legacy arch.

This allows non-legacy arch to opt-out from defining the old stat* syscalls
by not defining __ARCH_WANT_NEW_STAT in their
arch/xxx/include/asm/unistd.h

Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
libc/sysdeps/linux/common/fstatat.c