4 ms·
Your kernel will likely have well defined interfaces. You don't need libraries to talk to the kernel.
by eddd-ddde 2y ago
Your kernel will likely have well defined interfaces. You don't need libraries to talk to the kernel.
- jcranmer 2y agoBut how can you use those interfaces without an ABI? Fundamentally, an ABI is the way you define interfaces.
- vlovich123 2y agoExcept for Linux, those well-defined interfaces sit behind a C API.
- czarit 2y agoNot really - Linux syscalls are stable, so you are free to run your binary with a statically compiled libc and never touch the installed one. You can also handcraft your syscalls in assembly. This will not work on Windows, where the kernel API is a DLL and syscall numbes are routinely changed.
- vlovich123 2y agoThat's what I said - on Linux the syscall API is stable while on all other OSes you have to go through libc to talk to the kernel.