[4545] in bugtraq

home help back first fref pref prev next nref lref last post

Re: UNIX domain socket (Solarisx86 2.5)

daemon@ATHENA.MIT.EDU (Alan Cox)
Wed May 21 22:24:02 1997

Date: 	Wed, 21 May 1997 20:29:36 +0100
Reply-To: Alan Cox <alan@LXORGUK.UKUU.ORG.UK>
From: Alan Cox <alan@LXORGUK.UKUU.ORG.UK>
X-To:         casper@HOLLAND.SUN.COM
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <199705210918.LAA29462@albano> from "Casper Dik" at May 21,
              97 11:17:54 am

> 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..

home help back first fref pref prev next nref lref last post