commit | c2982b5b72335205849265182b23866ffbe7a16c | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Nov 05 23:00:22 2013 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Nov 05 23:35:37 2013 +0000 |
tree | 03ef7530e7cfb5878f2ab68b8a62c0c929dc3a03 | |
parent | f3696b3c8bdd32b5621f0fa126c269f13c11bfc4 [diff] |
Fix select decoding for glibc in _FORTIFY_SOURCE mode glibc in _FORTIFY_SOURCE mode raises SIGABRT when descriptor greater or equal to FD_SETSIZE is passed to FD_ISSET. Select family syscalls, however, can legitimately accept such descriptors. To overcome this limitation, we have to replace FD_ISSET with an equivalent that imposes no such restrictions. * desc.c (fd_isset): New function. (decode_select): Use it instead of FD_ISSET.