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 /stdio-common/isoc99_sscanf.c | |
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 'stdio-common/isoc99_sscanf.c')
0 files changed, 0 insertions, 0 deletions