4 ms·
Things like this are true on Linux too. Don't call the clone syscall manually because it will mess up with glibc internals.
by glandium 4y ago
Things like this are true on Linux too. Don't call the clone syscall manually because it will mess up with glibc internals.
- iainmerrick 4y agoBut only if you’re also using glibc, right? If you’re only using syscalls and no libc at all, you’re fine (on Linux, and only Linux).
- glandium 4y agoIf you're only using syscalls on macOS, you're fine too, as far as libSystem is involved. You're not fine if newer kernels change the syscall ABI, though.
- matheusmoreira 4y ago> But only if you’re also using glibc, right? Yes. As a glibc maintainer once said, if you use clone you're on your own. And that is fine.