about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-12 18:58:35 -0400
committerMike Frysinger <vapier@gentoo.org>2012-08-12 14:53:07 -0400
commit191ce8ce597f4b6da1e78e498ae85588d68fae8c (patch)
tree4a75be9479f7fdcf1aae48cf151017b94c6d207f
parent86e1477c1a10dac35634f5bb44f8e0adb7992a3d (diff)
downloadglibc-191ce8ce597f4b6da1e78e498ae85588d68fae8c.tar.gz
glibc-191ce8ce597f4b6da1e78e498ae85588d68fae8c.tar.xz
glibc-191ce8ce597f4b6da1e78e498ae85588d68fae8c.zip
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 <vapier@gentoo.org>
-rw-r--r--ports/ChangeLog.hppa5
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/Versions3
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/syscalls.list1
3 files changed, 9 insertions, 0 deletions
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  <vapier@gentoo.org>
+
+	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Add prlimit64.
+	* sysdeps/unix/sysv/linux/hppa/Versions (GLIBC_2.17): Likewise.
+
 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
 
 	* 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