]> git.ipfire.org Git - thirdparty/glibc.git/commit
linux: Add prlimit64 C implementation
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 Jun 2020 20:41:16 +0000 (17:41 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 30 Nov 2021 16:13:03 +0000 (13:13 -0300)
commit83008fa495535aaef74def5ab4ed59967fff1bb6
tree0ba20ad426e1d301233f777263a366734659eb36
parentdf4cb2280e32187380520f71bd27ab32252cbc85
linux: Add prlimit64 C implementation

The LFS prlimit64 requires a arch-specific implementation in
syscalls.list.  Instead add a generic one that handles the
required symbol alias for __RLIM_T_MATCHES_RLIM64_T.

HPPA is the only outlier which requires a different default
symbol.

Checked on x86_64-linux-gnu and with build for the affected ABIs.
18 files changed:
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/arm/syscalls.list
sysdeps/unix/sysv/linux/generic/wordsize-32/syscalls.list [deleted file]
sysdeps/unix/sysv/linux/hppa/prlimit64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/hppa/syscalls.list
sysdeps/unix/sysv/linux/i386/syscalls.list
sysdeps/unix/sysv/linux/m68k/syscalls.list
sysdeps/unix/sysv/linux/microblaze/syscalls.list
sysdeps/unix/sysv/linux/mips/mips32/syscalls.list [deleted file]
sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
sysdeps/unix/sysv/linux/prlimit.c
sysdeps/unix/sysv/linux/prlimit64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
sysdeps/unix/sysv/linux/sh/syscalls.list
sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list