News for hackers. Stuff that matters.
Re:liblinux: Architecture-independent access to Linux system... by matheusmoreira on Tuesday November 09, 2021 @02:05PM (#29165960)
Yes. The Linux system call calling convention doesn't match the C ones at all. One needs inline assembly in order to interface with the Linux kernel from C.

The ideal solution is to have a system_call keyword built into the compiler that emits the proper instructions for the target platform.

There are no comments on this comment yet.