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. |
||
---|---|---|
.. | ||
bits | ||
coldfire | ||
m680x0 | ||
sys | ||
Implies | ||
Makefile | ||
Versions | ||
____longjmp_chk.c | ||
arch-syscall.h | ||
c++-types.data | ||
clone.S | ||
configure | ||
configure.ac | ||
getpagesize.c | ||
kernel-features.h | ||
kernel_sigaction.h | ||
kernel_stat.h | ||
libc-lock-arch.h | ||
m68k-helpers.c | ||
mmap_internal.h | ||
mremap.S | ||
sigcontextinfo.h | ||
syscall.S | ||
syscalls.list | ||
sysdep.S | ||
sysdep.h | ||
time64-compat.h | ||
vfork.S | ||
xstatver.h |