Re: UNIX domain socket (Solarisx86 2.5)

Alan Cox (alan@LXORGUK.UKUU.ORG.UK)
Wed, 21 May 1997 20:29:36 +0100

> That shouldn't really be a suprise; I'm actually more suprised that
> current BSD version do honor the permissions on Unix domain sockets;
> they weren't relevant in BSD 4.3 (SunOS 4.x) either.

Linux also honours them as 4.4BSD does - its a very useful property.

> Check <sys/tl.h>. First you'll need to switch on credentials exchanging
> w/ TL_IOC_CREDOPT and then you'll receive the credentials as options
> with the data.

Linux has a socket equivalent of this in 2.1.x. I'd like to see the BSD
people take it up too if someone wants to discuss it further..