Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2021 01:57:10 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        James Gritton <jamie@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org>
Cc:        Gleb Popov <arrowd@freebsd.org>, "Daniel O'Connor" <darius@dons.net.au>, Konstantin Belousov <kostikbel@gmail.com>
Subject:   Re: What to use in place of abstract unix sockets?
Message-ID:  <de3e24a8-e9f8-6c46-3acc-f06f547fc4b9@grosbein.net>
In-Reply-To: <2c4d62457377d7bde6a0fbad1050ef8e@freebsd.org>
References:  <CALH631kYAz%2B_=p6VUhxzx0tz8eox804PCK5A9POxQkZTdThZCQ@mail.gmail.com> <F0BE714E-E25B-4A49-AA6E-B0E906374446@dons.net.au> <CALH631m8P_NG3nTZ1JQ2hhZMTrAMuuGjS8Ahz_qDMu1bFDCzkw@mail.gmail.com> <58874E76-8541-46BF-A197-C984D6A869DF@dons.net.au> <CALH631nVvp2Ra4RYzEpPkQ-bi_sgqiQ5_XxrP35mTx=8R7dODg@mail.gmail.com> <f6cc691e-c709-8c9c-1325-aee14f09ebc1@grosbein.net> <YbTYFaA4WvJOfJw9@kib.kiev.ua> <2c4d62457377d7bde6a0fbad1050ef8e@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
12.12.2021 0:57, James Gritton wrote:

> On 2021-12-11 08:55, Konstantin Belousov wrote:
>> That said, implementing 'abstract' unix socket addresses would be nice.
> 
> Though if that were to happen, I would want to separate the namespaces
> of the abstract sockets.  This seems an analog to the POSIX shm
> pseudo-file namespace, which has similar names that aren't really
> files (though they still follow a file-like naming scheme).
> 
> And then we'd be back where we are now, with a way to add a socket to
> a jail's namespace, but requiring per-jail sockets (because there is
> no abstract namespace hard-link).

It would still be usable for chrooted application as opposed to jailed.

As for jails, we could introduce new jail attribute that makes it abstract socket namespace isolated
or shared with global one.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de3e24a8-e9f8-6c46-3acc-f06f547fc4b9>