From owner-svn-src-all@FreeBSD.ORG Mon Jul 6 11:45:37 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 033F81065674; Mon, 6 Jul 2009 11:45:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B2D2F8FC20; Mon, 6 Jul 2009 11:45:35 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 8CEAC6D420; Mon, 6 Jul 2009 13:45:34 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 685FB844B5; Mon, 6 Jul 2009 13:45:34 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Bruce Simpson References: <200907021824.n62IObWJ051643@svn.freebsd.org> <4A4F24AF.3080900@incunabulum.net> Date: Mon, 06 Jul 2009 13:45:34 +0200 In-Reply-To: <4A4F24AF.3080900@incunabulum.net> (Bruce Simpson's message of "Sat, 04 Jul 2009 10:45:19 +0100") Message-ID: <86y6r2ghlt.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Ed Schouten Subject: Re: svn commit: r195295 - in head/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 11:45:37 -0000 Bruce Simpson writes: > Ed Schouten 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