3 ms·
> Linux desperately needs to get past the notion that libc is the only gateway to the kernel, Are you sure about that? Linux doesn't have that notion, it keeps
by vetinari 8y ago
> Linux desperately needs to get past the notion that libc is the only gateway to the kernel,
Are you sure about that? Linux doesn't have that notion, it keeps the syscal ABI stable, and anyone can use it directly, like Go does. There's no need to go through blessed syscall library, which on their respective systems are the only gateway to the kernel.
- masklinn 8y agoThe biggest advantage is that it lets other OS easily impersonate linux e.g. SmartOS or Windows can provide kernel-level "linux persona" and have an unmodified linux userland run on top.
- int0x80 8y agoThey can do right now. Both the API and ABI are very rarely (read never but very problematic bugs or similar) broken in a backwards way.
- masklinn 8y agoThat's my point. It's only possible with Linux because Linux provides a stable kernel ABI. You can't impersonate Windows or OSX the same way.