From 191ce8ce597f4b6da1e78e498ae85588d68fae8c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 12 Apr 2012 18:58:35 -0400 Subject: [PATCH] hppa: add missing prlimit64 symbol All other arches have this in their syscall list. Looks like hppa is missing it though and breaks one or two apps that try to call it. URL: https://bugs.gentoo.org/411745 Signed-off-by: Mike Frysinger --- ports/ChangeLog.hppa | 5 +++++ ports/sysdeps/unix/sysv/linux/hppa/Versions | 3 +++ ports/sysdeps/unix/sysv/linux/hppa/syscalls.list | 1 + 3 files changed, 9 insertions(+) diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa index cab7743f78..0501211127 100644 --- a/ports/ChangeLog.hppa +++ b/ports/ChangeLog.hppa @@ -1,3 +1,8 @@ +2012-08-12 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add prlimit64. + * sysdeps/unix/sysv/linux/hppa/Versions (GLIBC_2.17): Likewise. + 2012-08-07 Joseph Myers * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Remove. diff --git a/ports/sysdeps/unix/sysv/linux/hppa/Versions b/ports/sysdeps/unix/sysv/linux/hppa/Versions index 3bff6ec4fc..1e2e320c0c 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/Versions +++ b/ports/sysdeps/unix/sysv/linux/hppa/Versions @@ -27,6 +27,9 @@ libc { #errlist-compat 257 _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; } + GLIBC_2.17 { + prlimit64; + } } librt { GLIBC_2.3 { diff --git a/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list b/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list index 0f7537c306..78e6568b7c 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list +++ b/ports/sysdeps/unix/sysv/linux/hppa/syscalls.list @@ -35,3 +35,4 @@ socketpair - socketpair i:iiif __socketpair socketpair setrlimit - setrlimit i:ip __setrlimit setrlimit getrlimit - getrlimit i:ip __getrlimit getrlimit +prlimit64 EXTRA prlimit64 i:iipp prlimit64 prlimit64@@GLIBC_2.17