3 ms·
> That may be true on the mach system call side, but the UNIX system calls don't appear to change. They very much do, without warning, as the Go project discov
by masklinn 4y ago
> That may be true on the mach system call side, but the UNIX system calls don't appear to change.
They very much do, without warning, as the Go project discovered (after having been warned multiple times) during the Sierra betas: https://github.com/golang/go/issues/16272 https://github.com/golang/go/issues/16272 https://github.com/golang/go/issues/16606 https://github.com/golang/go/issues/16606
That doesn't mean Apple goes outs of its way to break syscalls (unlike microsoft), but there is no support for direct syscalls. That is why, again, you can't statically link libSystem.
> (Virgil actually does call the kernel directly).
That's completely unsupported ¯\_(ツ)_/¯