aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/lxstat64.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-29 15:34:31 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-11-25 10:46:22 -0300
commit74f418b29d1e9463028f2ae4cc2a9c74d39aeaab (patch)
treeafc76155ba0a5384bc6d142742441dc2b27cdc6a /sysdeps/unix/sysv/linux/lxstat64.c
parentb45b1c5ba1df4d0315ffdd00a040ff9bc0597a8d (diff)
downloadglibc-74f418b29d1e9463028f2ae4cc2a9c74d39aeaab.zip
glibc-74f418b29d1e9463028f2ae4cc2a9c74d39aeaab.tar.gz
glibc-74f418b29d1e9463028f2ae4cc2a9c74d39aeaab.tar.bz2
nptl: Return EINVAL for pthread_mutex_clocklock/PI with CLOCK_MONOTONIC [BZ #26801]
Linux futex FUTEX_LOCK_PI operation only supports CLOCK_REALTIME, so pthread_mutex_clocklock operation with priority aware mutexes may fail depending of the input timeout. Also, it is not possible to convert a CLOCK_MONOTONIC to a CLOCK_REALTIME due the possible wall clock time change which might invalid the requested timeout. Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'sysdeps/unix/sysv/linux/lxstat64.c')
0 files changed, 0 insertions, 0 deletions