Remove entries from sysdeps/unix/sysv/syscalls.list duplicating ones in sysdeps/unix/

Carlos O'Donell carlos@systemhalted.org
Sat May 5 18:13:00 GMT 2012


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.



More information about the Libc-alpha mailing list