svn commit: r207510 - stable/7/lib/libkvm
jilles at FreeBSD.org
Sun May 2 13:53:09 UTC 2010
Date: Sun May 2 13:53:08 2010
New Revision: 207510
MFC r207187: kvm(3): Mention that some of the functions use sysctl(3)
instead of kmem.
Additionally, because of sysctl(3) use (which is generally good), behaviour
for crash dumps differs slightly from behaviour for live kernels and this
will probably never be fixed entirely, so weaken that claim.
stable/7/lib/libkvm/ (props changed)
--- stable/7/lib/libkvm/kvm.3 Sun May 2 13:38:08 2010 (r207509)
+++ stable/7/lib/libkvm/kvm.3 Sun May 2 13:53:08 2010 (r207510)
@@ -32,7 +32,7 @@
.\" @(#)kvm.3 8.1 (Berkeley) 6/4/93
-.Dd January 29, 2004
+.Dd April 25, 2010
.Dt KVM 3
@@ -46,12 +46,15 @@ The
library provides a uniform interface for accessing kernel virtual memory
images, including live systems and crash dumps.
Access to live systems is via
+.Xr sysctl 3
+for some functions, and
.Xr mem 4
.Xr kmem 4
+for other functions,
while crash dumps can be examined via the core file generated by
.Xr savecore 8 .
-The interface behaves identically in both cases.
+The interface behaves similarly in both cases.
Memory can be read and written, kernel symbol addresses can be
looked up efficiently, and information about user processes can
@@ -112,5 +115,6 @@ given descriptor.
.Xr kvm_openfiles 3 ,
.Xr kvm_read 3 ,
.Xr kvm_write 3 ,
+.Xr sysctl 3 ,
.Xr kmem 4 ,
.Xr mem 4
More information about the svn-src-stable-7