This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Get the real system call wrappers
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Carlos O'Donell <carlos at redhat dot com>, Yubin Ruan <ablacktshirt at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Thu, 24 Aug 2017 11:52:28 -0300
- Subject: Re: Get the real system call wrappers
- Authentication-results: sourceware.org; auth=none
- References: <CAJYFCiO0zoupgsXOsgDbE0t=RkSbVF4UBXgg3PYwbab5=Zz9OA@mail.gmail.com> <f01f9578-182e-8d7b-405b-16e93c7f24ec@linaro.org> <CAJYFCiP-WdB9GAMx6jjgkR0xJBy0xRxSf0EK=EC17h7sMXB+qw@mail.gmail.com> <4b0e6f1b-25b1-d263-32df-0f17b5833a29@redhat.com>
On 24/08/2017 09:24, Carlos O'Donell wrote:
> On 08/23/2017 09:31 PM, Yubin Ruan wrote:
>> 2017-08-22 21:52 GMT+08:00 Adhemerval Zanella <adhemerval.zanella@linaro.org>:
>>> The syscall generation mechanism is described in this wiki entry [1],
>>> and although it would require some updates (which I intend to do after
>>> I finish my sysdep-cancel.h cleanup) it holds for current version.
>>>
>>> [1] https://sourceware.org/glibc/wiki/SyscallWrappers
>>
>> Thanks. But as for the current version, the script that was used to generate
>> all the system call, as mentioned in [1], "sysdep/unix/make-syscalls.sh",
>> cannot be found any more.
>
> $ cd ~/src/glibc
> $ find . -name make-syscalls.sh
> ./sysdeps/unix/make-syscalls.sh
>
> It's there on glibc master.
>
>> I tried using a old release, but please do let me know once there are any
>> updates.
>
> Likewise the script is in the same place in most older releases (just looked
> on 2.17).
>
I updated the wiki to reflect current code convention and examples. I also
added a note of the cancellation syscalls assembly macros removal which I
should push today.