[Xcb] [PATCH] Add support for the abstract socket namespace under Linux
ajax at redhat.com
Tue Sep 9 12:21:51 PDT 2008
On Tue, 2008-09-09 at 11:05 -0700, Barton C Massey wrote:
> Gah. I'd never heard of abstract sockets before. What an
> unspeakably ugly API. Why in the name of all that is good
> and pure couldn't the designers just have used an address
> family to distinguish these, rather than the horrible,
> horrible "zero followed by bytes" kludge? It's not super
> obvious to me that the whole thing is a good idea anyway---I
> consider the lack of entries in the namespace for other
> kinds of sockets to be a bug, not a feature.
The main advantages are that they work without needing access to /tmp -
which is useful for per-user /tmp among other things - and they
garbage-collect themselves when the machine reboots unexpectedly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xcb/attachments/20080909/c20a454c/attachment.pgp
More information about the Xcb