Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 10:25:55 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_map.c
Message-ID:  <200103091825.f29IPtd48173@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/03/09 10:25:55 PST

  Modified files:
    sys/vm               vm_map.c 
  Log:
  When creating a shadow vm_object in vmspace_fork(), only one
  reference count was transferred to the new object, but both the
  new and the old map entries had pointers to the new object.
  Correct this by transferring the second reference.
  
  This fixes a panic that can occur when mmap(2) is used with the
  MAP_INHERIT flag.
  
  PR:		i386/25603
  Reviewed by:	dillon, alc
  
  Revision  Changes    Path
  1.195     +5 -1      src/sys/vm/vm_map.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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