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/unix/sysv | |
parent | 84f7ce84474c1648ce96884f1c91ca7b97ca3fc2 (diff) | |
download | glibc-70961aee1823481caac6e00a40cf1f2bdbf7ffb5.tar.gz glibc-70961aee1823481caac6e00a40cf1f2bdbf7ffb5.tar.xz glibc-70961aee1823481caac6e00a40cf1f2bdbf7ffb5.zip |
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/unix/sysv')
20 files changed, 100 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index 0070ffcdbd..cd9ed89ee2 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 8e3101b1c2..49fa140d7a 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 b29a0e324e..60e3da1b8a 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 5f5427cb46..a694b01087 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 ca8f7c3dbb..d40edc659c 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 d2b7b4d4b6..cd975e36a7 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 515e383d50..77c15fda91 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 6915fa115f..0e1ab1544e 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 9293872f80..26641a9573 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 cb671c56be..dc50753be0 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 f5effe36e1..3d89c7457b 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 2b66d26931..6bfac13584 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 bd76490d97..09c884ac9b 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 e62a2a5729..fd64cce1da 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 bc5b23c818..306a572a38 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 f9421c7777..86d4a96c20 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 7581354bf4..8f0716c6f6 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 0e45f7fb0a..9c0b91f70b 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 ece6721841..280984fcc8 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 6073443a3d..d46f749d1a 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 |