News for hackers. Stuff that matters.
Re:Linux Syscall Support by asveikau on Thursday November 07, 2024 @10:16AM (#42077365)
Except there are some platforms where you need to go through libc and the direct syscall interface is considered private, or subject to change. OpenBSD is like this, and I believe Mac is too.
Re:Linux Syscall Support by matheusmoreira on Thursday November 07, 2024 @06:58PM (#42082561)
Linux is the only one that is not like this. I wrote an article about the subject:

https://www.matheusmoreira.com/articles/linux-system-calls

Re:Linux Syscall Support by vetinari on Thursday November 07, 2024 @09:26PM (#42083499)
While Linux does have stable syscall interface, unlike other OS-es, you still want to go through glibc. At least for NSS, otherwise your app could be broken.

Golang has CGO_ENABLED=1 as the default for this reason.