Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: SAITOH Masanobu <msaitoh@netbsd.org>
List: source-changes
Date: 03/19/2001 17:19:00
Module Name: basesrc
Committed By: msaitoh
Date: Mon Mar 19 15:19:00 UTC 2001
Modified Files:
basesrc/usr.sbin/kvm_mkdb: testdb.c
Log Message:
Fix a long standing bug.
Old kvm_mkdb had a possibility to check old kernel's version
string retained at a hole between text segment and data segment.
It might happen a misunderstanding that the running kernel's version
matches kvm.db's version.
This had been caused by checking current kernel's version string
via /dev/kmem. The version string can get via sysctl, so use it!
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 basesrc/usr.sbin/kvm_mkdb/testdb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.