Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The same is not generally true for Linux binaries – these usually do go through glibc, but direct syscalls are possible (through raising the appropriate interrupt or instruction).

OTOH Linux having a well defined set of syscalls you can very convincingly fake being a Linux kernel. That’s what wsl1 did. That’s also what SmartOS does, which allows it to mix native and Linux (LX) zones.



Definitely, iSH does the same thing on iOS and it works really well.

But I don't see why we can't have both (a stable syscall interface and requiring all syscalls to go through a standard library).


> But I don't see why we can't have both (a stable syscall interface and requiring all syscalls to go through a standard library).

What's the point of having a stable syscall interface when you can require that only libc perform syscalls?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: