← Back to context

Comment by eqvinox

14 days ago

musl implements it, it's not "part of glibc" anymore in the sense of glibc having final control over the protocol. So it's stable for all intents and purposes.

The protocol has a version number (so no fundamental limitation), and is implemented in 500 + 170 lines of code:

https://github.com/pikhq/musl-nscd/blob/master/src/socket_ha...

https://github.com/pikhq/musl-nscd/blob/master/src/write_val...

Code isn't docs, but reading 670 lines of code is not "woefully underdocumented". Yes, a spec would be great. So, write one.

Especially since the work for the "new" protocol is the same - or is that equally underdocumented?