diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-03-09 18:25:54 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-03-09 18:25:54 +0000 |
commit | 80d8e16746a7e6c767e69f1dd26ae918524229ad (patch) | |
tree | 1f256d86ecdfe876c294d6332c35a4cdc05665a5 /contrib | |
parent | 5f61f8e47fe91c807dbc013e22e954c3cbc46586 (diff) | |
download | FreeBSD-src-80d8e16746a7e6c767e69f1dd26ae918524229ad.zip FreeBSD-src-80d8e16746a7e6c767e69f1dd26ae918524229ad.tar.gz |
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
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions