musl/arch
Rich Felker 7e81711431 internally, define time64 rusage syscalls on x32 as the existing ones
this is analogous to commit 40aa18d55a.
so far, there are not any actual time64 versions of the rusage
syscalls (getrusage and wait4) and might never be. however, the
existing x32 ones behave the way time64 versions would if they
existed: using 64-bit slots in place of all longs.

presently, wait4 and getrusage are broken on x32, storing the timevals
correctly but messing up everything else due to the long/kernel-long
mismatch. this would be a huge buffer overflow if not for the 16
reserved slots we left long ago, which suffice to prevent 14
double-sized longs from overflowing into unrelated memory. this commit
will make it possible to fix them.
2019-10-19 21:25:23 -04:00
..
aarch64 move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
arm move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
generic define LONG_MAX via arch alltypes.h, strip down bits/limits.h 2019-10-17 19:23:39 -04:00
i386 move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
m68k move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
microblaze move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
mips move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
mips64 move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
mipsn32 move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
or1k move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
powerpc use struct pt_regs * rather than void * for powerpc[64] sigcontext regs 2019-10-19 15:53:43 -04:00
powerpc64 use struct pt_regs * rather than void * for powerpc[64] sigcontext regs 2019-10-19 15:53:43 -04:00
riscv64 move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
s390x move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
sh move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00
x32 internally, define time64 rusage syscalls on x32 as the existing ones 2019-10-19 21:25:23 -04:00
x86_64 move pthread types out of per-arch alltypes.h 2019-10-17 19:35:17 -04:00