3 ms·
We do, it's nss (which you can configure via nsswitch.conf), which is what the go toolchain is no longer compiling against.
by aragilar 4y ago
We do, it's nss (which you can configure via nsswitch.conf), which is what the go toolchain is no longer compiling against.
- XorNot 4y agoBut it's not an socket API you can talk to generically: NSS wants you to be linked into libc, is my point. The DNS situation you just implement the protocol and you're done.
- aragilar 4y agoExcept using a socket involves a different process, so you may get a different result than you expect (given namespaces). I'm not that familiar with plan9 (which is where I think most of the namespacing concepts came from), does it allow direct syscalls, or is linux the only system where you can syscall directly?