mirror of git://sourceware.org/git/glibc.git
Similar to ppoll, the poll.h header needs to redirect the poll call to a proper fortified ppoll with 64 bit time_t support. The implementation is straightforward, just need to add a similar check as __poll_chk and call the 64 bit time_t ppoll version. The debug fortify tests are also extended to cover 64 bit time_t for affected ABIs. Unfortunately it requires an aditional symbol, which makes backport tricky. One possibility is to add a static inline version if compiler supports is and call abort instead of __chk_fail, so fortified version will call __poll64 in the end. Another possibility is to just remove the fortify support for _TIME_BITS=64. Checked on i686-linux-gnu. |
||
|---|---|---|
| .. | ||
| auxv.h | ||
| bitypes.h | ||
| cdefs.h | ||
| dir.h | ||
| epoll.h | ||
| errno.h | ||
| fcntl.h | ||
| file.h | ||
| gmon.h | ||
| gmon_out.h | ||
| ioctl.h | ||
| ipc.h | ||
| mman.h | ||
| msg.h | ||
| param.h | ||
| poll.h | ||
| prctl.h | ||
| profil.h | ||
| queue.h | ||
| random.h | ||
| resource.h | ||
| select.h | ||
| sem.h | ||
| sendfile.h | ||
| shm.h | ||
| signal.h | ||
| single_threaded.h | ||
| socket.h | ||
| stat.h | ||
| statfs.h | ||
| statvfs.h | ||
| sysinfo.h | ||
| syslog.h | ||
| sysmacros.h | ||
| termios.h | ||
| time.h | ||
| timeb.h | ||
| times.h | ||
| ttychars.h | ||
| types.h | ||
| uio.h | ||
| un.h | ||
| unistd.h | ||
| utsname.h | ||
| vfs.h | ||
| vlimit.h | ||
| wait.h | ||
| xattr.h | ||