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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to