NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: unix domain socket permissions



On Wed, Apr 21, 2021 at 02:19:26PM +0200, Jan Danielsson wrote:
> Hello,
> 
>    A while back I read that unix domain sockets originally didn't care
> about permissions; or rather, they had permissions, but the OS didn't
> validate them when applications attempted to use socket.  But the other
> day I read a somewhat recent blog which stated that this is not true for
> Linux, but it is true "for BSD" -- and the phrasing could be interpreted
> as meaning "still to this day".
> 
>    I have serious doubts, but currently do not have a NetBSD system to
> test this on.
> 
>    Permissions are checked for unix domain sockets on ~recent NetBSD, right?

AFAIK yes, they do

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index