This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH roland/getrlimit] Re: Bug 14138 - Move some functions to syscalls.list
- From: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha at sourceware dot org, libc-ports at sourceware dot org
- Date: Mon, 20 Aug 2012 15:13:45 +0200
- Subject: Re: [PATCH roland/getrlimit] Re: Bug 14138 - Move some functions to syscalls.list
- References: <50103612.3050308@suse.com> <20120725203222.AF6452C0E2@topped-with-meat.com> <5296462.88fGOZ3lSr@byrd> <20120726185950.D07662C064@topped-with-meat.com>
On 26/07/12 20:59, Roland McGrath wrote:
>> Adding this line to linux/syscalls.list:
>>
>> getrlimit - ugetrlimit i:ip __new_getrlimit __getrlimit getrlimit@@GLIBC_2.2
>>
>> The unix/syscalls.list takes precendence of the linux one. So, this did
>> not work out for x86 ;( Or did I made an error?
>
> What exactly does that mean? What getrlimit-related lines appear in the
> sysd-syscalls generated after the change?
>
>> Btw. I removed the linux/i386/getrlimit.c file for this as well,
>
> Yes, that's necessary.
>
> Anyway, you must have made some error, because it worked for me.
> The change below is on the roland/getrlimit branch.
>
> It needs testing and sign-off from powerpc, sh, am33, arm, and m68k
> maintainers.
>
>
> Thanks,
> Roland
>
>
> 2012-07-26 Roland McGrath <roland@hack.frob.com>
>
> [BZ #14138]
> * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
> * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
> * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
> * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
>
> ports/ChangeLog.am33
> 2012-07-26 Roland McGrath <roland@hack.frob.com>
>
> [BZ #14138]
> * sysdeps/unix/sysv/linux/am33/getrlimit.c: File removed.
>
> ports/ChangeLog.arm
> 2012-07-26 Roland McGrath <roland@hack.frob.com>
>
> [BZ #14138]
> * sysdeps/unix/sysv/linux/arm/getrlimit.c: File removed.
>
> ports/ChangeLog.m68k
> 2012-07-26 Roland McGrath <roland@hack.frob.com>
>
> [BZ #14138]
> * sysdeps/unix/sysv/linux/m68k/getrlimit.c: File removed.
sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c should be removed as well. Done with the
patch I've just comitted:
2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
---
sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c | 1 -
1 file changed, 1 deletion(-)
Index: glibc/sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c
===================================================================
--- glibc.orig/sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/getrlimit.c>