glibc/include/sys
Alistair Francis 600f00b747 linux: Use long time_t for wait4/getrusage
The Linux kernel expects rusage to use a 32-bit time_t, even on archs
with a 64-bit time_t (like RV32). To address this let's convert
rusage to/from 32-bit and 64-bit to ensure the kernel always gets
a 32-bit time_t.

While we are converting these functions let's also convert them to be
the y2038 safe versions. This means there is a *64 function that is
called by a backwards compatible wrapper.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020-04-02 09:21:06 -07:00
..
auxv.h
bitypes.h
cdefs.h ldbl-128ibm-compat: PLT redirects for using ldbl redirects internally 2020-03-25 14:34:23 -05:00
dir.h
epoll.h
errno.h
fcntl.h
file.h
gmon_out.h
gmon.h
ioctl.h
ipc.h
mman.h
msg.h
param.h
poll.h y2038: linux: Provide __ppoll64 implementation 2019-11-11 14:41:43 +01:00
prctl.h
profil.h
queue.h
random.h hurd: Fix local PLT 2019-12-13 11:11:54 +01:00
resource.h linux: Use long time_t for wait4/getrusage 2020-04-02 09:21:06 -07:00
select.h
sem.h sysvipc: Implement semop based on semtimedop 2019-10-17 11:05:40 -03:00
sendfile.h
shm.h
signal.h
socket.h
stat.h io: Implement lchmod using fchmodat [BZ #14578] 2020-02-12 08:43:59 +01:00
statfs.h
statvfs.h
sysctl.h Linux: Deprecate <sys/sysctl.h> and sysctl 2019-06-12 14:32:08 +02:00
sysinfo.h
syslog.h ldbl-128ibm-compat: PLT redirects for using ldbl redirects internally 2020-03-25 14:34:23 -05:00
sysmacros.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios.h
time.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timeb.h
times.h
ttychars.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
types.h
uio.h
un.h
unistd.h
utsname.h
vfs.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
vlimit.h
vtimes.h
wait.h Implement waitpid in terms of wait4 2019-12-19 16:11:09 -03:00
xattr.h