This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2] hppa: add missing prlimit64 symbol
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Sun, 12 Aug 2012 11:02:44 -0400
- Subject: [PATCH v2] hppa: add missing prlimit64 symbol
- References: <1334271665-31914-1-git-send-email-vapier@gentoo.org>
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 <vapier@gentoo.org>
2012-04-12 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Add prlimit64.
* sysdeps/unix/sysv/linux/hppa/Versions (GLIBC_2.17): Likewise.
---
v2
- add glibc 2.17 symbol versioning info
ports/sysdeps/unix/sysv/linux/hppa/Versions | 3 +++
ports/sysdeps/unix/sysv/linux/hppa/syscalls.list | 1 +
2 files changed, 4 insertions(+)
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/Versions b/ports/sysdeps/unix/sysv/linux/hppa/Versions
index 3bff6ec..1e2e320 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 0f7537c..e7f59f8 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
--
1.7.9.7