From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20298 invoked by alias); 20 Aug 2012 13:14:08 -0000 Received: (qmail 20278 invoked by uid 22791); 20 Aug 2012 13:14:04 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp12.uk.ibm.com (HELO e06smtp12.uk.ibm.com) (195.75.94.108) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 20 Aug 2012 13:13:51 +0000 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 20 Aug 2012 14:13:49 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 20 Aug 2012 14:13:47 +0100 Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q7KDDefb10223718; Mon, 20 Aug 2012 13:13:40 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost.localdomain [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q7KDDkfH024052; Mon, 20 Aug 2012 07:13:46 -0600 Received: from [9.152.212.238] (dyn-9-152-212-238.boeblingen.de.ibm.com [9.152.212.238]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q7KDDk3C024048; Mon, 20 Aug 2012 07:13:46 -0600 Message-ID: <50323809.7090309@linux.vnet.ibm.com> Date: Mon, 20 Aug 2012 13:14:00 -0000 From: Andreas Krebbel User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Roland McGrath CC: libc-alpha@sourceware.org, libc-ports@sourceware.org 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> In-Reply-To: <20120726185950.D07662C064@topped-with-meat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit x-cbid: 12082013-8372-0000-0000-00000382502E Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00143.txt.bz2 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 > > [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 > > [BZ #14138] > * sysdeps/unix/sysv/linux/am33/getrlimit.c: File removed. > > ports/ChangeLog.arm > 2012-07-26 Roland McGrath > > [BZ #14138] > * sysdeps/unix/sysv/linux/arm/getrlimit.c: File removed. > > ports/ChangeLog.m68k > 2012-07-26 Roland McGrath > > [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 * 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