kvm_open.3 (348238dbd42306d9fb5d89ab393b840572cfeb0f) kvm_open.3 (3eb11185a6262a161b838e188e838ac6f8cd03cb)
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

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

27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)kvm_open.3 8.3 (Berkeley) 4/19/94
33.\" $FreeBSD$
34.\"
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

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

27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)kvm_open.3 8.3 (Berkeley) 4/19/94
33.\" $FreeBSD$
34.\"
35.Dd November 27, 2015
35.Dd March 19, 2017
36.Dt KVM_OPEN 3
37.Os
38.Sh NAME
39.Nm kvm_open ,
40.Nm kvm_open2 ,
41.Nm kvm_openfiles ,
42.Nm kvm_close
43.Nd initialize kernel virtual memory access

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

191library to map symbol names to kernel virtual addresses.
192When the
193.Fa resolver
194function is called,
195.Fa name
196specifies the requested symbol name.
197If the function is able to resolve the name to an address,
198the address should be set in
36.Dt KVM_OPEN 3
37.Os
38.Sh NAME
39.Nm kvm_open ,
40.Nm kvm_open2 ,
41.Nm kvm_openfiles ,
42.Nm kvm_close
43.Nd initialize kernel virtual memory access

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

191library to map symbol names to kernel virtual addresses.
192When the
193.Fa resolver
194function is called,
195.Fa name
196specifies the requested symbol name.
197If the function is able to resolve the name to an address,
198the address should be set in
199.Fa *addr
199.Fa addr
200and the function should return zero.
201If the function is not able to resolve the name to an address,
202it should return a non-zero value.
203When opening a native kernel image,
204.Fa resolver
205may be set to
206.Dv NULL
207to use an internal function to resolve symbol names.

--- 45 unchanged lines hidden ---
200and the function should return zero.
201If the function is not able to resolve the name to an address,
202it should return a non-zero value.
203When opening a native kernel image,
204.Fa resolver
205may be set to
206.Dv NULL
207to use an internal function to resolve symbol names.

--- 45 unchanged lines hidden ---