Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 01:45:06 +0200
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Jamie Gritton <jamie@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r297935 - head/sys/kern
Message-ID:  <20160413234506.GA20084@dft-labs.eu>
In-Reply-To: <201604132014.u3DKEDHv078627@repo.freebsd.org>
References:  <201604132014.u3DKEDHv078627@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 13, 2016 at 08:14:13PM +0000, Jamie Gritton wrote:
> Author: jamie
> Date: Wed Apr 13 20:14:13 2016
> New Revision: 297935
> URL: https://svnweb.freebsd.org/changeset/base/297935
> 
> Log:
>   Separate POSIX sem/shm objects in jails, by prepending the jail's path
>   name to the object's "path".  While the objects don't have real path
>   names, it's a filesystem-like namespace, which allows jails to be
>   kept to their own space, but still allows the system / jail parent to
>   access a jail's IPC.
>   

What is the reasoning behind this method?

Names are not supposed to contain slashes apart from the initial
one, so this cuts into the supported length. If slashes were to be
permitted, this would create a possible conflict where part of the name
is the same as the path of a newly created jail.

The standard way would be to provide an entirely separate namespace, if
requested, and keep things the same otherwise.

-- 
Mateusz Guzik <mjguzik gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160413234506.GA20084>