aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/syscalls.list
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 /sysdeps/unix/syscalls.list
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 'sysdeps/unix/syscalls.list')
-rw-r--r--sysdeps/unix/syscalls.list1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list
index d249049d6e..01c4a0e6b1 100644
--- a/sysdeps/unix/syscalls.list
+++ b/sysdeps/unix/syscalls.list
@@ -29,7 +29,6 @@ getpeername - getpeername i:ibN __getpeername getpeername
getpid - getpid Ei: __getpid getpid
getpriority - getpriority i:ii __getpriority getpriority
getrlimit - getrlimit i:ip __getrlimit getrlimit
-getrusage - getrusage i:ip __getrusage getrusage
getsockname - getsockname i:ibN __getsockname getsockname
getsockopt - getsockopt i:iiiBN getsockopt
getuid - getuid Ei: __getuid getuid