This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: __ARCH_WANT_SYSCALL_DEPRECATED


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.


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