aboutsummaryrefslogtreecommitdiff
path: root/libio/bug-ftell.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-14 18:18:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-22 14:40:57 -0300
commit8781c1301d55db0a95398eb24c11b99205706bae (patch)
tree2f8e6ef91bb2d96eeb8cee0c39239a42a5d83b34 /libio/bug-ftell.c
parent102b5b0cafaf09758a62f62a53fafb6db2f71136 (diff)
downloadglibc-8781c1301d55db0a95398eb24c11b99205706bae.zip
glibc-8781c1301d55db0a95398eb24c11b99205706bae.tar.gz
glibc-8781c1301d55db0a95398eb24c11b99205706bae.tar.bz2
misc: Set generic pselect as ENOSYS
The generic pselect implementation has the very specific race condition that motived the creation of the pselect syscall (no atomicity in signal mask set/reset). Using it as generic implementation is counterproductive Also currently only microblaze uses it as fallback when used on kernel prior 3.15. This patch moves the generic implementation to a microblaze specific one, sets the generic internal as a ENOSYS, and cleanups the Linux generic implementation. The microblaze implementation mimics the previous Linux generic one, where it either uses pselect6 directly if __ASSUME_PSELECT or a first try pselect6 then the fallback otherwise. Checked on x86_64-linux-gnu and microblaze-linux-gnu.
Diffstat (limited to 'libio/bug-ftell.c')
0 files changed, 0 insertions, 0 deletions