diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-04-27 13:40:30 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-04-28 10:15:12 -0300 |
commit | 7d96aa2d7dba5a7d9c80334f1860445bd76fdc7b (patch) | |
tree | 65c64515ab090d4086f9b0c1947dc1f7485eef2f /io/Makefile | |
parent | 14b1e32a4d366efacd6c54e7be8c2bfcc088dd6f (diff) | |
download | glibc-7d96aa2d7dba5a7d9c80334f1860445bd76fdc7b.zip glibc-7d96aa2d7dba5a7d9c80334f1860445bd76fdc7b.tar.gz glibc-7d96aa2d7dba5a7d9c80334f1860445bd76fdc7b.tar.bz2 |
linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097)
The AT_SYMLINK_NOFOLLOW emulation ues the default 32 bit stat internal
calls, which fails with EOVERFLOW if the file constains timestamps
beyond 2038.
Checked on i686-linux-gnu.
(cherry picked from commit 118a2aee07f64d605b6668cbe195c1f44eac6be6)
Diffstat (limited to 'io/Makefile')
-rw-r--r-- | io/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/io/Makefile b/io/Makefile index cf265dc..b171040 100644 --- a/io/Makefile +++ b/io/Makefile @@ -83,16 +83,17 @@ tests := test-utime test-stat test-stat2 test-lfs tst-getcwd \ tst-ftw-bz28126 tests-time64 := \ + tst-fcntl-time64 \ + tst-fts-time64 \ tst-futimens-time64 \ tst-futimes-time64\ - tst-fts-time64 \ + tst-futimesat-time64 \ + tst-lchmod-time64 \ tst-lutimes-time64 \ tst-stat-time64 \ - tst-futimesat-time64 \ tst-utime-time64 \ tst-utimensat-time64 \ tst-utimes-time64 \ - tst-fcntl-time64 \ # tests-time64 # Likewise for statx, but we do not need static linking here. @@ -136,6 +137,7 @@ CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-test-stat.c += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE CFLAGS-test-lfs.c += -D_LARGEFILE64_SOURCE +CFLAGS-tst-lchmod.c += -D_FILE_OFFSET_BITS=64 test-stat2-ARGS = Makefile . $(objpfx)test-stat2 |