diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-11-24 16:18:26 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-21 10:46:49 -0500 |
commit | 6b2ba95b6baab6b1789e8823c8a808e09bc98794 (patch) | |
tree | 5daf251763202374f45bd7446c720fc9fc1abc67 /ChangeLog | |
parent | 191220b3065c659065f8c1e5282ea6410aa47a93 (diff) | |
download | glibc-6b2ba95b6baab6b1789e8823c8a808e09bc98794.tar.gz glibc-6b2ba95b6baab6b1789e8823c8a808e09bc98794.tar.xz glibc-6b2ba95b6baab6b1789e8823c8a808e09bc98794.zip |
BZ #16418: Fix powerpc get_clockfreq raciness
This patch fix powerpc __get_clockfreq racy and cancel-safe issues by dropping internal static cache and by using nocancel file operations. The vDSO failure check is also removed, since kernel code does not return an error (it cleans cr0.so bit on function return) and the static code (to read value /proc) now uses non-cancellable calls.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b798f910db..a8cc4e50a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + [BZ #16418] + * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq): + Make code racy and cancel safe. + 2015-01-21 Carlos O'Donell <carlos@redhat.com> * sysdeps/arm/unwind-resume.h: Fix copyright year. |