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 | ||
mips32 | ||
mips64 | ||
sys | ||
Implies | ||
Makefile | ||
Versions | ||
____longjmp_chk.c | ||
_test_and_set.c | ||
clone.S | ||
configure | ||
configure.ac | ||
dl-cache.h | ||
errlist-compat-data.h | ||
fxstat.c | ||
getcontext.S | ||
getrlimit64.c | ||
kernel-features.h | ||
kernel_rt_sigframe.h | ||
kernel_sigaction.h | ||
kernel_stat.h | ||
kernel_termios.h | ||
ldsodefs.h | ||
libc-abis | ||
lxstat.c | ||
makecontext.S | ||
mmap_info.h | ||
readelflib.c | ||
setcontext.S | ||
setrlimit64.c | ||
shlib-versions | ||
sigcontextinfo.h | ||
socket-constants-time64.h | ||
struct_kernel_msqid64_ds.h | ||
struct_kernel_semid64_ds.h | ||
struct_kernel_shmid64_ds.h | ||
swapcontext.S | ||
syscalls.list | ||
sysdep.h | ||
ucontext_i.sym | ||
ustat.c | ||
vfork.S | ||
xstat.c | ||
xstatconv.c | ||
xstatver.h |