This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Bug 14138 - Move some functions to syscalls.list
On Wednesday, July 25, 2012 13:32:22 Roland McGrath wrote:
> A syscalls.list line whose "Caller" column is - and whose "Syscall
> name" column names a call whose SYS_foo macro is not defined is
> effectively ignored. So I think it might work just to add a line for
> ugetrlimit to linux/syscalls.list and then for machines where there
> is no SYS_ugetrlimit (i.e. __NR_ugetrlimit) the unix/syscalls.list
> entry for getrlimit will take effect. If you can verify that this
> works on both i386 and x86_64, then I think we can reasonably expect
> that it's fine for all the others. (But normal practice would leave
> removal of the machine/getrlimit.c file, or at least its approval, to
> each machine's maintainer.)
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?
Btw. I removed the linux/i386/getrlimit.c file for this as well,
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