This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH roland/getrlimit] Re: Bug 14138 - Move some functions to syscalls.list


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]