On Mon, Aug 10, 2020 at 8:02 AM Waldemar Kozaczuk
wrote:
> In more complicated situations when single musl file
> calls syscall() for 2 or more system call types (like stdio/tmpnam.o),
> we cannot have single macro that will solve it like previous patch
> did.
>
> In those cases we fallback to st
In order to minimize copying musl source files that invoke syscall()
into libc/ folder, we employ following scheme that works in simple cases:
single .c files uses single syscall type.
The scheme involves new header file - libc/syscall_to_function.h -
that defines simple macros specific to each so
In more complicated situations when single musl file
calls syscall() for 2 or more system call types (like stdio/tmpnam.o),
we cannot have single macro that will solve it like previous patch
did.
In those cases we fallback to statically inlined functions
defined for each syscall type. The defined
From: Waldemar Kozaczuk
Committer: Nadav Har'El
Branch: master
libc: replace more include/api/ headers with their musl copies
All these headers were initially copied from an earlier version of musl
as-is and have not been changed since on OSv side. Though
they have changed on musl side between