glibc/sysdeps/unix/sysv/linux/mips/mips64
Adhemerval Zanella aa03f722f3 linux: Add {f}stat{at} y2038 support
A new struct __stat{64}_t64 type is added with the required
__timespec64 time definition.  Only LFS is added, 64-bit time with
32-bit offsets is not supposed to be supported (no existing glibc
configuration supports such a combination).  It is done with an extra
__NR_statx call plus a conversion to the new __stat{64}_t64 type.
The statx call is done only for 32-bit time_t ABIs.

Internally some extra routines to copy from/to struct stat{64}
to struct __stat{64} used on multiple implementations (stat, fstat,
lstat, and fstatat) are added on a extra implementation
(stat_t64_cp.c).  Alse some extra routines to copy from statx to
__stat{64} is added on statx_cp.c.

Checked with a build for all affected ABIs. I also checked on x86_64,
i686, powerpc, powerpc64le, sparcv9, sparc64, s390, and s390x.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2020-10-09 17:02:07 -03:00
..
n32 Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00
n64 Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00
configure Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
configure.ac Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
fxstat64.c linux: Move {f}xstat{at} to compat symbols 2020-10-09 17:02:07 -03:00
fxstatat64.c linux: Move {f}xstat{at} to compat symbols 2020-10-09 17:02:07 -03:00
fxstatat.c linux: Move {f}xstat{at} to compat symbols 2020-10-09 17:02:07 -03:00
getdents64.c Linux: getdents64 syscall number is always available on MIPS 2020-03-03 12:20:31 +01:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
kstat_cp.h linux: Add {f}stat{at} y2038 support 2020-10-09 17:02:07 -03:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ldd-rewrite.sed Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist New exp10f version without SVID compat wrapper 2020-06-19 12:08:47 -03:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist nptl: Move pthread_gettattr_np into libc 2020-05-20 20:27:49 +02:00
librt.abilist Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
lxstat64.c linux: Move {f}xstat{at} to compat symbols 2020-10-09 17:02:07 -03:00
Makefile nptl: Fix tst-cancel4 sendto tests 2018-03-05 18:09:08 -03:00
msgctl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
semctl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shmctl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syscall.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
sysdep.h linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
xstat64.c linux: Move {f}xstat{at} to compat symbols 2020-10-09 17:02:07 -03:00