diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-07-17 23:49:50 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-09-11 14:35:11 -0300 |
commit | 0b1c222cd04b0de2fec1b116a68df9118ec1c540 (patch) | |
tree | c3d8314b62f9b8c3e460d2b82960a91838b69e7f /sysdeps/unix/sysv/linux/arc | |
parent | 90e1600f4f9e3a3dcbf0a91e23098b052c975a9d (diff) | |
download | glibc-0b1c222cd04b0de2fec1b116a68df9118ec1c540.zip glibc-0b1c222cd04b0de2fec1b116a68df9118ec1c540.tar.gz glibc-0b1c222cd04b0de2fec1b116a68df9118ec1c540.tar.bz2 |
linux: Define STAT64_IS_KERNEL_STAT64
It indicates that the glibc export stat64 is similar in size and
layout of the kernel stat64 used on the syscall. It is not currently
used on stat implementation, but the idea is to indicate whether
to use the kernel_stat to issue on the syscall on the *stat*64
variant (more specifically on mips which its exported ABI does not
match the kernel).
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'sysdeps/unix/sysv/linux/arc')
-rw-r--r-- | sysdeps/unix/sysv/linux/arc/kernel_stat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/arc/kernel_stat.h b/sysdeps/unix/sysv/linux/arc/kernel_stat.h index 8fdd86b..fd9b113 100644 --- a/sysdeps/unix/sysv/linux/arc/kernel_stat.h +++ b/sysdeps/unix/sysv/linux/arc/kernel_stat.h @@ -19,6 +19,7 @@ /* Needed to elide the itemized copy code in common xstatconv.c. */ #define STAT_IS_KERNEL_STAT 1 +#define STAT64_IS_KERNEL_STAT64 1 /* Nice side-effect of 64-bit time_t switch is these are same. */ #define XSTAT_IS_XSTAT64 1 |