This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Get the real system call wrappers


2017-08-24 20:24 GMT+08:00 Carlos O'Donell <carlos@redhat.com>:
> 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).

My fault, but I am sorry a single "./sysdeps/unix/make-syscalls.sh" cannot work.
There seems to be too many dependencies, and I cannot find any practical way
for generating those syscall wrapper(all I get, after building glibc, is object
code in ".o" format).

Yubin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]