Note also that the load address (if provided) is also for the module's
text segment.
This commit is contained in:
parent
4477d28d73
commit
ac676e6637
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: modctl.2,v 1.16 2019/12/04 23:35:36 pgoyette Exp $
|
||||
.\" $NetBSD: modctl.2,v 1.17 2019/12/06 21:45:14 pgoyette Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2009 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -24,7 +24,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd December 4, 2019
|
||||
.Dd December 5, 2019
|
||||
.Dt MODCTL 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -181,10 +181,10 @@ Executable file format.
|
|||
Miscellaneous.
|
||||
.El
|
||||
.It Fa "uint64_t ms_addr"
|
||||
The load address within the kernel.
|
||||
The load address within the kernel of the module's text segment.
|
||||
(This value is available only for privileged users.)
|
||||
.It Fa "u_int ms_size"
|
||||
Loaded size of the module's text section.
|
||||
Loaded size of the module's text segment.
|
||||
(This value is available only for privileged users.)
|
||||
.It Fa "u_int ms_refcnt"
|
||||
Current number of live references to this module.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: modstat.8,v 1.24 2019/12/04 23:35:36 pgoyette Exp $
|
||||
.\" $NetBSD: modstat.8,v 1.25 2019/12/06 21:45:14 pgoyette Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1993 Christopher G. Demetriou
|
||||
.\" All rights reserved.
|
||||
|
@ -32,7 +32,7 @@
|
|||
.\"
|
||||
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
|
||||
.\"
|
||||
.Dd December 4, 2019
|
||||
.Dd December 5, 2019
|
||||
.Dt MODSTAT 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -107,7 +107,7 @@ flag
|
|||
Number of references held on the module.
|
||||
Disabled builtin modules will show a count of \-1 here.
|
||||
.It Li ADDRESS
|
||||
The kernel address at which the module is loaded.
|
||||
The kernel address at which the module's text segment is loaded.
|
||||
Builtin modules will show 0 here.
|
||||
This field is only displayed if the
|
||||
.Fl k
|
||||
|
|
Loading…
Reference in New Issue