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
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 25 Jul 2012 13:32:22 -0700 (PDT)
- Subject: Re: Bug 14138 - Move some functions to syscalls.list
- References: <50103612.3050308@suse.com>
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.)
Thanks,
Roland