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 09:58:44 -0300 |
commit | 118a2aee07f64d605b6668cbe195c1f44eac6be6 (patch) | |
tree | 3c8cf185865a8797237217743d54e8f01d244d56 /io/tst-lchmod-time64.c | |
parent | 6f043e0ee7e477f50a44024ed0cb579d5e3f511d (diff) | |
download | glibc-118a2aee07f64d605b6668cbe195c1f44eac6be6.zip glibc-118a2aee07f64d605b6668cbe195c1f44eac6be6.tar.gz glibc-118a2aee07f64d605b6668cbe195c1f44eac6be6.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.
Diffstat (limited to 'io/tst-lchmod-time64.c')
-rw-r--r-- | io/tst-lchmod-time64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io/tst-lchmod-time64.c b/io/tst-lchmod-time64.c new file mode 100644 index 0000000..f2b7cc9 --- /dev/null +++ b/io/tst-lchmod-time64.c @@ -0,0 +1,2 @@ +#define CHECK_TIME64 +#include "tst-lchmod.c" |