From owner-svn-src-stable@FreeBSD.ORG Fri Jun 12 12:59:25 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B38F106566B; Fri, 12 Jun 2009 12:59:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0068FC13; Fri, 12 Jun 2009 12:59:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1CC5646B35; Fri, 12 Jun 2009 08:59:25 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 1DC3F8A06F; Fri, 12 Jun 2009 08:59:24 -0400 (EDT) From: John Baldwin To: Dmitry Morozovsky Date: Fri, 12 Jun 2009 08:51:32 -0400 User-Agent: KMail/1.9.7 References: <200906112137.n5BLbO2S060767@svn.freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906120851.32846.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 12 Jun 2009 08:59:24 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-7@freebsd.org Subject: Re: svn commit: r194040 - stable/7/lib/libc/gen X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2009 12:59:26 -0000 On Friday 12 June 2009 6:13:08 am Dmitry Morozovsky wrote: > On Thu, 11 Jun 2009, John Baldwin wrote: > > JB> Author: jhb > JB> Date: Thu Jun 11 21:37:23 2009 > JB> New Revision: 194040 > JB> URL: http://svn.freebsd.org/changeset/base/194040 > JB> > JB> Log: > JB> If the running kernel has support for shm_open() and shm_unlink() as > JB> system calls (i.e. 8.0+), then invoke the system calls instead of using > JB> open/fcntl/unlink. This is a direct commit instead of an MFC since libc > JB> in 8.0 always uses the system calls directly. > > So it could help running RELENG_7 jails under 8 host? In that case it probably doesn't matter either way. The goal is that if you have an 8.x binary and a 7.x binary that are both using shm_open() with a path to open a SHM region for IPC, they will both access the same object. If you have all 8.x binaries or all < 8.x binaries in the group that shares access to a named SHM region then that case would work regardless. -- John Baldwin