diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-03 09:00:13 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-06-15 10:42:11 -0300 |
commit | 70961aee1823481caac6e00a40cf1f2bdbf7ffb5 (patch) | |
tree | ecb5da43310a12d98e6c98dbd63dacb9c3f60394 /sysdeps | |
parent | 84f7ce84474c1648ce96884f1c91ca7b97ca3fc2 (diff) | |
download | glibc-70961aee1823481caac6e00a40cf1f2bdbf7ffb5.zip glibc-70961aee1823481caac6e00a40cf1f2bdbf7ffb5.tar.gz glibc-70961aee1823481caac6e00a40cf1f2bdbf7ffb5.tar.bz2 |
io: Add fts64 with 64-bit time_t support
Similar to glob, fts routines passes a stat pointer that might
differ of size and layout when 64-bit time API is used.
Checked on i686-linux-gnu and x86_64-linux-gnu.
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps')
20 files changed, 100 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index 0070ffc..cd9ed89 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -206,6 +206,11 @@ libc { __futimens64; __futimes64; __futimesat64; + __fts64_open_time64; + __fts64_close_time64; + __fts64_read_time64; + __fts64_set_time64; + __fts64_children_time64; __getitimer64; __getrusage64; __gettimeofday64; diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist index 8e3101b..49fa140 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist @@ -203,6 +203,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist index b29a0e3..60e3da1 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist @@ -200,6 +200,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist index 5f5427c..a694b01 100644 --- a/sysdeps/unix/sysv/linux/csky/libc.abilist +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist @@ -2290,6 +2290,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist index ca8f7c3..d40edc6 100644 --- a/sysdeps/unix/sysv/linux/hppa/libc.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist @@ -2244,6 +2244,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist index d2b7b4d..cd975e3 100644 --- a/sysdeps/unix/sysv/linux/i386/libc.abilist +++ b/sysdeps/unix/sysv/linux/i386/libc.abilist @@ -2427,6 +2427,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist index 515e383..77c15fd 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist @@ -204,6 +204,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist index 6915fa1..0e1ab15 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist @@ -2371,6 +2371,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist index 9293872..26641a9 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist @@ -2341,6 +2341,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist index cb671c5..dc50753 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist @@ -2338,6 +2338,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist index f5effe3..3d89c74 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist @@ -2336,6 +2336,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist index 2b66d26..6bfac13 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist @@ -2334,6 +2334,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist index bd76490..09c884a 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist @@ -2342,6 +2342,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist index e62a2a5..fd64cce 100644 --- a/sysdeps/unix/sysv/linux/nios2/libc.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist @@ -2380,6 +2380,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index bc5b23c..306a572 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -2398,6 +2398,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index f9421c7..86d4a96 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -2431,6 +2431,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist index 7581354..8f0716c 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist @@ -2396,6 +2396,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist index 0e45f7f..9c0b91f 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist @@ -2251,6 +2251,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist index ece6721..280984f 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist @@ -2248,6 +2248,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist index 6073443..d46f749 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist @@ -2389,6 +2389,11 @@ GLIBC_2.34 __ctime64_r F GLIBC_2.34 __difftime64 F GLIBC_2.34 __fstat64_time64 F GLIBC_2.34 __fstatat64_time64 F +GLIBC_2.34 __fts64_children_time64 F +GLIBC_2.34 __fts64_close_time64 F +GLIBC_2.34 __fts64_open_time64 F +GLIBC_2.34 __fts64_read_time64 F +GLIBC_2.34 __fts64_set_time64 F GLIBC_2.34 __futimens64 F GLIBC_2.34 __futimes64 F GLIBC_2.34 __futimesat64 F |