glibc/include/sys
Adhemerval Zanella 2e274cd8c1 Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746)
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.
2022-11-08 13:37:06 -03:00
..
auxv.h
bitypes.h
cdefs.h _Static_assert needs two arguments for compatibility with GCC before 9 2021-09-10 13:18:36 +02:00
dir.h
epoll.h Linux: Add epoll_pwait2 (BZ #27359) 2022-01-17 14:34:54 -03:00
errno.h
fcntl.h
file.h
gmon_out.h
gmon.h
ioctl.h
ipc.h
mman.h
msg.h
param.h
poll.h Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746) 2022-11-08 13:37:06 -03:00
prctl.h
profil.h
queue.h
random.h
resource.h setrlimit/getrlimit: Use __nonnull to avoid null pointer 2021-02-10 08:36:17 -03:00
select.h linux: Only use 64-bit syscall if required for select 2021-06-22 12:09:52 -03:00
sem.h
sendfile.h
shm.h
signal.h
single_threaded.h misc: Optimize internal usage of __libc_single_threaded 2022-06-24 17:45:58 -03:00
socket.h Linux: Only generate 64 bit timestamps for 64 bit time_t recvmsg/recvmmsg 2022-01-28 18:18:27 -03:00
stat.h hurd: Factorize at/non-at functions 2022-09-17 19:58:30 +00:00
statfs.h linux: Consolidate fstatfs implementations 2021-02-11 07:58:31 -03:00
statvfs.h linux: Consolidate statvfs implementations 2021-02-11 08:00:41 -03:00
sysinfo.h misc: Add __get_nprocs_sched 2021-09-27 09:13:06 -03:00
syslog.h
sysmacros.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
termios.h
time.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
timeb.h
times.h
ttychars.h
types.h
uio.h
un.h socket: Add the __sockaddr_un_set function 2022-01-17 10:21:53 +01:00
unistd.h
utsname.h
vfs.h
vlimit.h
wait.h
xattr.h