aboutsummaryrefslogtreecommitdiff
path: root/include/syscall.h
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-12-23 13:26:50 -0800
committerAlistair Francis <alistair.francis@wdc.com>2020-04-02 09:21:06 -0700
commit600f00b747ff42eb0aa778536d3ef602e8bcd550 (patch)
treef488e09a78fcd560f95bb885d0cf5148d3294f87 /include/syscall.h
parent5d24ba82c49b75c9f4264b5d62c4e88f4082a99e (diff)
downloadglibc-600f00b747ff42eb0aa778536d3ef602e8bcd550.tar
glibc-600f00b747ff42eb0aa778536d3ef602e8bcd550.tar.gz
glibc-600f00b747ff42eb0aa778536d3ef602e8bcd550.tar.bz2
glibc-600f00b747ff42eb0aa778536d3ef602e8bcd550.zip
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>
Diffstat (limited to 'include/syscall.h')
0 files changed, 0 insertions, 0 deletions