Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 17:05:38 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        Brian Somers <brian@awfulhak.org>, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-other@freebsd.org, svn-src-stable@freebsd.org
Subject:   Re: svn commit: r194744 - in stable/4/lib/libc: . gen
Message-ID:  <200906231705.39061.jhb@freebsd.org>
In-Reply-To: <4A414250.3090103@elischer.org>
References:  <200906231744.n5NHit0f084841@svn.freebsd.org> <200906231621.56531.jhb@freebsd.org> <4A414250.3090103@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 23 June 2009 5:00:00 pm Julian Elischer wrote:
> John Baldwin wrote:
> > On Tuesday 23 June 2009 3:37:18 pm Julian Elischer wrote:
> >> John Baldwin wrote:
> >>> On Tuesday 23 June 2009 2:13:48 pm Brian Somers wrote:
> >>>> On Tue, 23 Jun 2009 17:44:55 +0000 (UTC), John Baldwin 
<jhb@FreeBSD.org> 
> > wrote:
> >>>>> Author: jhb
> >>>>> Date: Tue Jun 23 17:44:55 2009
> >>>>> New Revision: 194744
> >>>>> URL: http://svn.freebsd.org/changeset/base/194744
> >>>>>
> >>>>> Log:
> >>>>>   MF7: If the running kernel has support for shm_open() and 
shm_unlink() 
> > as
> >>>>>   system calls (i.e. 8.0+), then invoke the system calls instead of 
> > using
> >>>>>   open/fcntl/unlink.
> >>>>>
> >>>>> Modified:
> >>>>>   stable/4/lib/libc/   (props changed)
> >>>>>   stable/4/lib/libc/gen/posixshm.c
> >>>> In preparation for the 4.12 release? ;^1
> >>> I expect there will be several companies running 4.x binaries under 8.x
> >>> kernels actually.  There are ones doing it under 7.x now.
> >> this is going to break my 1.0 compatibility right?
> > 
> > No, not at all.  1.0 binaries do not use libc.so.4.
> > 
> but you are taking away the semsys syscall right?

That is not in this change, and no I am not taking it away.  I am merely not 
supporting it for 8.0+ binaries.  The actual system call will continue to 
exist and work for old binaries.  However, new binaries should not use it 
(and in fact no binaries since 5.0 are likely using it since 5.0 and later 
all have separate syscalls for the various SYSV IPC methods).

-- 
John Baldwin



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