pthread: Use 64 bit time_t stat internally for sem_open (BZ #28880)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 11 Feb 2022 12:29:08 +0000 (09:29 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 16 Feb 2022 13:20:56 +0000 (10:20 -0300)
commit894755e16e10725c94bec3f910d35730614a7d00
tree90d17bac8c59946153e7fe68a842400205a49724
parente108c02a5e23c8c88ce66d8705d4a24bb6b9a8bf
pthread: Use 64 bit time_t stat internally for sem_open (BZ #28880)

The __sem_check_add_mapping internal stat calls fails with
EOVERFLOW if system time is larger than 32 bit.

It is a missing spot from 52a5fe70a2c fix to use 64 bit stat
internally.

Checked on x86_64-linux-gnu and i686-linux-gnu.
sysdeps/pthread/sem_routines.c