From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3773 invoked by alias); 24 Aug 2011 15:26:19 -0000 Received: (qmail 3729 invoked by uid 22791); 24 Aug 2011 15:26:18 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from wolverine01.qualcomm.com (HELO wolverine01.qualcomm.com) (199.106.114.254) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Aug 2011 15:26:03 +0000 Received: from pdmz-css-vrrp.qualcomm.com (HELO mostmsg01.qualcomm.com) ([199.106.114.130]) by wolverine01.qualcomm.com with ESMTP/TLS/ADH-AES256-SHA; 24 Aug 2011 08:25:47 -0700 Received: from codeaurora.org (pdmz-snip-v218.qualcomm.com [192.168.218.1]) by mostmsg01.qualcomm.com (Postfix) with ESMTPA id A75A610004DB; Wed, 24 Aug 2011 08:25:46 -0700 (PDT) Date: Wed, 24 Aug 2011 15:26:00 -0000 From: "Linas Vepstas (Code Aurora)" To: Guan Xuetao Cc: Arnd Bergmann , GLIBC Devel , Chris Metcalf , Jonas Bonn , libc-ports@sourceware.org, linux-hexagon@vger.kernel.org, linux-arch@vger.kernel.org, Mark Salter , Tobias Klauser Subject: Re: __ARCH_WANT_SYSCALL_DEPRECATED Message-ID: <20110824152537.GA3993@codeaurora.org> References: <20110822193602.GA23301@codeaurora.org> <2047151.mWElcT8jZQ@wuerfel> <1314151284.29738.34.camel@epip-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1314151284.29738.34.camel@epip-laptop> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-08/txt/msg00015.txt.bz2 On Wed, Aug 24, 2011 at 10:01:24AM +0800, Guan Xuetao wrote: > For getdents (or other deprecated syscalls), we select getdents64 to > replace getdent, though we have not verified it on unicore32 platform. Do you have a publically-available version? Have you considered submitting it to the FSF? Have you signed the copyright-transfer forms with the FSF? My goal with the hexagon archiecture is to have the kernel asm/unistd.h include asm-generic/unistd.h, and have glibc compile (on hexagon) with no further #defines in asm/unistd.h. This "almost" works today; with Chris Metcalf's generic syscall patches for glibc, I am able to compile glibc (and pass the glibc test suite). However, I have to #define __ARCH_WANT_SYSCALL_DEPRECATED to do this. If I don't, then the getdents syscall fails to compile; I don't know how many others there are. As to the "API": I just want to use Arnd's "generic" kernel support; that will be the API. No changing, porting, hacking :-) -- Linas -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.