svn commit: r194744 - in stable/4/lib/libc: . gen

John Baldwin jhb at freebsd.org
Tue Jun 23 21:06:50 UTC 2009


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 at 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


More information about the svn-src-all mailing list