Date: Sat, 5 Apr 1997 18:29:50 -0800 (PST) From: John Dyson <dyson> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 trap.c src/sys/miscfs/procfs procfs_mem.c src/sys/vm vm_fault.c vm_map.c vm_map.h vm_prot.h Message-ID: <199704060229.SAA16599@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dyson 97/04/05 18:29:49
Modified: sys/i386/i386 trap.c
sys/miscfs/procfs procfs_mem.c
sys/vm vm_fault.c vm_map.c vm_map.h vm_prot.h
Log:
Fix the gdb executable modify problem. Thanks to the detective work
by Alan Cox <alc@cs.rice.edu>, and his description of the problem.
The bug was primarily in procfs_mem, but the mistake likely happened
due to the lack of vm system support for the operation. I added
better support for selective marking of page dirty flags so that
vm_map_pageable(wiring) will not cause this problem again.
The code in procfs_mem is now less bogus (but maybe still a little
so.)
Revision Changes Path
1.89 +7 -7 src/sys/i386/i386/trap.c
1.24 +47 -80 src/sys/miscfs/procfs/procfs_mem.c
1.67 +11 -9 src/sys/vm/vm_fault.c
1.73 +11 -3 src/sys/vm/vm_map.c
1.25 +7 -4 src/sys/vm/vm_map.h
1.8 +2 -1 src/sys/vm/vm_prot.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704060229.SAA16599>
