From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5540 invoked by alias); 26 Jul 2012 19:37:03 -0000 Received: (qmail 5518 invoked by uid 22791); 26 Jul 2012 19:37:02 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,FRT_OFFER2,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Jul 2012 19:36:49 +0000 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 9D435A2BD5; Thu, 26 Jul 2012 21:36:47 +0200 (CEST) Message-ID: <50119C3B.3070202@suse.com> Date: Thu, 26 Jul 2012 19:37:00 -0000 From: Andreas Jaeger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: libc-alpha@sourceware.org Cc: 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; format=flowed Content-Transfer-Encoding: 8bit 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-07/txt/msg00061.txt.bz2 On 07/26/2012 08:59 PM, 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. thanks, I tested this now on both i686 and x86-64 and it works fine. > It needs testing and sign-off from powerpc, sh, am33, arm, and m68k > maintainers. Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126