This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Remove entries from sysdeps/unix/sysv/syscalls.list duplicatingones in sysdeps/unix/
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sat, 5 May 2012 14:13:27 -0400
- Subject: Re: Remove entries from sysdeps/unix/sysv/syscalls.list duplicatingones in sysdeps/unix/
- References: <Pine.LNX.4.64.1205051149050.2639@digraph.polyomino.org.uk>
On Sat, May 5, 2012 at 7:53 AM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> sysdeps/unix/sysv/ is only used with the Linux kernel. ?The only thing
> left there other than the linux/ subdirectory is syscalls.list. ?In
> that syscalls.list, the entries for setrlimit and settimeofday
> duplicate entries in sysdeps/unix/syscalls.list and so serve no
> purpose. ?I propose this patch to remove those duplicate syscall
> entries. ?Tested x86_64, including verifying that the built shared
> libraries were identical before and after the patch.
>
> 2012-05-05 ?Joseph Myers ?<joseph@codesourcery.com>
>
> ? ? ? ?* sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
> ? ? ? ?(settimeofday): Likewise.
>
> diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list
> index c508dd0..fded7ad 100644
> --- a/sysdeps/unix/sysv/syscalls.list
> +++ b/sysdeps/unix/sysv/syscalls.list
> @@ -2,8 +2,6 @@
>
> ?alarm ? ? ? ? ?- ? ? ? alarm ? ? ? ? ? i:i ? ? alarm
> ?pause ? ? ? ? ?- ? ? ? pause ? ? ? ? ? Ci: ? ? pause
> -setrlimit ? ? ?- ? ? ? setrlimit ? ? ? i:ip ? ?__setrlimit ? ? setrlimit
> -settimeofday ? - ? ? ? settimeofday ? ?i:PP ? ?__settimeofday ?settimeofday
> ?stime ? ? ? ? ?- ? ? ? stime ? ? ? ? ? i:p ? ? stime
> ?ulimit ? ? ? ? - ? ? ? ulimit ? ? ? ? ?i:ii ? ?ulimit
> ?utime ? ? ? ? ?- ? ? ? utime ? ? ? ? ? i:sP ? ?utime
Why do we have a syscalls.list in sysv if linux is the only user?
Cheers,
Carlos.