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 | ||
powerpc32 | ||
powerpc64 | ||
sys | ||
Implies | ||
Makefile | ||
Versions | ||
configure | ||
configure.ac | ||
dl-auxv.h | ||
dl-cache.h | ||
dl-support.c | ||
elision-conf.c | ||
elision-conf.h | ||
elision-lock.c | ||
elision-timed.c | ||
elision-trylock.c | ||
elision-unlock.c | ||
get_timebase_freq.c | ||
gettimeofday.c | ||
htm.h | ||
internal-ioctl.h | ||
ipc_priv.h | ||
kernel-features.h | ||
kernel_sigaction.h | ||
kernel_termios.h | ||
ldd-rewrite.sed | ||
libc-start.c | ||
libc-start.h | ||
libc-vdso.h | ||
libpthread-compat.c | ||
nldbl-abi.h | ||
pointer_guard.h | ||
pthread_attr_setstack.c | ||
pthread_attr_setstacksize.c | ||
readelflib.c | ||
rt-sysdep.c | ||
rtld_static_init.h | ||
sigcontextinfo.h | ||
socket-constants-time64.h | ||
struct_kernel_shmid64_ds.h | ||
syscall.S | ||
sysconf.c | ||
sysdep.c | ||
sysdep.h | ||
test-gettimebasefreq-static.c | ||
test-gettimebasefreq.c | ||
test-powerpc-linux-sysconf.c | ||
time.c | ||
xstatver.h |