Deleted Added
full compact
kvm.3 (127438) kvm.3 (131504)
1.\" Copyright (c) 1992, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software developed by the Computer Systems
5.\" Engineering group at Lawrence Berkeley Laboratory under DARPA contract
6.\" BG 91-66 and contributed to Berkeley.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)kvm.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1992, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software developed by the Computer Systems
5.\" Engineering group at Lawrence Berkeley Laboratory under DARPA contract
6.\" BG 91-66 and contributed to Berkeley.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)kvm.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD: head/lib/libkvm/kvm.3 127438 2004-03-26 08:03:53Z ru $
37.\" $FreeBSD: head/lib/libkvm/kvm.3 131504 2004-07-02 23:52:20Z ru $
38.\"
39.Dd January 29, 2004
40.Dt KVM 3
41.Os
42.Sh NAME
43.Nm kvm
44.Nd kernel memory interface
45.Sh LIBRARY

--- 13 unchanged lines hidden (view full) ---

59Memory can be read and written, kernel symbol addresses can be
60looked up efficiently, and information about user processes can
61be gathered.
62.Pp
63The
64.Fn kvm_open
65function is first called to obtain a descriptor for all subsequent calls.
66.Sh COMPATIBILITY
38.\"
39.Dd January 29, 2004
40.Dt KVM 3
41.Os
42.Sh NAME
43.Nm kvm
44.Nd kernel memory interface
45.Sh LIBRARY

--- 13 unchanged lines hidden (view full) ---

59Memory can be read and written, kernel symbol addresses can be
60looked up efficiently, and information about user processes can
61be gathered.
62.Pp
63The
64.Fn kvm_open
65function is first called to obtain a descriptor for all subsequent calls.
66.Sh COMPATIBILITY
67The kvm interface was first introduced in SunOS. A considerable
67The kvm interface was first introduced in SunOS.
68A considerable
68number of programs have been developed that use this interface,
69making backward compatibility highly desirable.
70In most respects, the Sun kvm interface is consistent and clean.
71Accordingly, the generic portion of the interface (i.e.,
72.Fn kvm_open ,
73.Fn kvm_close ,
74.Fn kvm_read ,
75.Fn kvm_write ,
76and
77.Fn kvm_nlist )
78has been incorporated into the
79.Bx
69number of programs have been developed that use this interface,
70making backward compatibility highly desirable.
71In most respects, the Sun kvm interface is consistent and clean.
72Accordingly, the generic portion of the interface (i.e.,
73.Fn kvm_open ,
74.Fn kvm_close ,
75.Fn kvm_read ,
76.Fn kvm_write ,
77and
78.Fn kvm_nlist )
79has been incorporated into the
80.Bx
80interface. Indeed, many kvm
81interface.
82Indeed, many kvm
81applications (i.e., debuggers and statistical monitors) use only
82this subset of the interface.
83.Pp
83applications (i.e., debuggers and statistical monitors) use only
84this subset of the interface.
85.Pp
84The process interface was not kept. This is not a portability
86The process interface was not kept.
87This is not a portability
85issue since any code that manipulates processes is inherently
86machine dependent.
87.Pp
88Finally, the Sun kvm error reporting semantics are poorly defined.
89The library can be configured either to print errors to
90.Dv stderr
91automatically,
92or to print no error messages at all.

--- 25 unchanged lines hidden ---
88issue since any code that manipulates processes is inherently
89machine dependent.
90.Pp
91Finally, the Sun kvm error reporting semantics are poorly defined.
92The library can be configured either to print errors to
93.Dv stderr
94automatically,
95or to print no error messages at all.

--- 25 unchanged lines hidden ---