diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-14 18:18:24 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-22 14:40:57 -0300 |
commit | 8781c1301d55db0a95398eb24c11b99205706bae (patch) | |
tree | 2f8e6ef91bb2d96eeb8cee0c39239a42a5d83b34 /wcsmbs/wchar.h | |
parent | 102b5b0cafaf09758a62f62a53fafb6db2f71136 (diff) | |
download | glibc-8781c1301d55db0a95398eb24c11b99205706bae.tar glibc-8781c1301d55db0a95398eb24c11b99205706bae.tar.gz glibc-8781c1301d55db0a95398eb24c11b99205706bae.tar.bz2 glibc-8781c1301d55db0a95398eb24c11b99205706bae.zip |
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 'wcsmbs/wchar.h')
0 files changed, 0 insertions, 0 deletions