Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2009 08:51:32 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
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
Message-ID:  <200906120851.32846.jhb@freebsd.org>
In-Reply-To: <alpine.BSF.2.00.0906121412110.31121@woozle.rinet.ru>
References:  <200906112137.n5BLbO2S060767@svn.freebsd.org> <alpine.BSF.2.00.0906121412110.31121@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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