]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Initialize result->backing_object_offset before linking result onto the list of
authortegge <tegge@FreeBSD.org>
Mon, 28 Jun 2004 20:26:35 +0000 (20:26 +0000)
committertegge <tegge@FreeBSD.org>
Mon, 28 Jun 2004 20:26:35 +0000 (20:26 +0000)
commit16dc5859f2d4aa081638361152c428cad5042baa
tree85a2c6746bbaf7482eef4e73288842d7b6f22f11
parent61364cc86985fcfada6a818e1b48f59f91793aa2
Initialize result->backing_object_offset before linking result onto the list of
vm objects shadowing source in vm_object_shadow().  This closes a race where
vm_object_collapse() could be called with a partially uninitialized object
argument causing symptoms that looked like hardware problems, e.g.  signal 6,
10, 11 or a /bin/sh busy-waiting for a nonexistant child process.
sys/vm/vm_object.c