3 ms·
BSDs simply don't guarantee ABI stability, so no third party app should ever make a syscall directly. It all goes via libc. So, yes, from that perspective, it i
by int_19h 8y ago
BSDs simply don't guarantee ABI stability, so no third party app should ever make a syscall directly. It all goes via libc. So, yes, from that perspective, it is a fully self-contained system.
In practice, third-party apps sometimes think that they know better, and get broken. Anything written in Go, for example:
https://github.com/golang/go/issues/16272 https://github.com/golang/go/issues/16272
- trasz 8y agoSure they do guarantee the ABI stability (within major release), but the main thing here is that FreeBSD - like pretty much any other operating system, but differently from Linux - maintains the stability at the libc level, not at syscall level.
- int_19h 8y agoI meant kernel ABI specifically, of course. And it's a guarantee that is, essentially, useless for any purpose other than the interaction between the base system and the kernel - i.e. not for third party software.