Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 2009 13:45:34 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Bruce Simpson <bms@incunabulum.net>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Ed Schouten <ed@FreeBSD.org>
Subject:   Re: svn commit: r195295 - in head/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf
Message-ID:  <86y6r2ghlt.fsf@ds4.des.no>
In-Reply-To: <4A4F24AF.3080900@incunabulum.net> (Bruce Simpson's message of "Sat, 04 Jul 2009 10:45:19 %2B0100")
References:  <200907021824.n62IObWJ051643@svn.freebsd.org> <4A4F24AF.3080900@incunabulum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Simpson <bms@incunabulum.net> writes:
> Ed Schouten <ed@FreeBSD.org> writes:
> >   Enable POSIX semaphores on all non-embedded architectures by default.
> Thank you. I didn't do this as normally we're pretty conservative
> about this sort of change, but now they are fixed, it just plain makes
> sense.

They aren't fixed, they're just broken in a different way.  The previous
implementation used the filesystem namespace, so you could (to a certain
degree) apply filesystem access control semantics, including letting
processes in separate jails use the same semaphore names without
stepping on each others toes.  The current implementation uses its own
flat namespace with no access control whatsoever and is not jailable.
At some point, somebody is going to have to fix it all over again.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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