Module Name: src
Committed By: pgoyette
Date: Fri Dec 6 21:45:14 UTC 2019
Modified Files:
src/lib/libc/sys: modctl.2
src/sbin/modstat: modstat.8
Log Message:
Note also that the load address (if provided) is also for the module's
text segment.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/sys/modctl.2
cvs rdiff -u -r1.24 -r1.25 src/sbin/modstat/modstat.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/modctl.2
diff -u src/lib/libc/sys/modctl.2:1.16 src/lib/libc/sys/modctl.2:1.17
--- src/lib/libc/sys/modctl.2:1.16 Wed Dec 4 23:35:36 2019
+++ src/lib/libc/sys/modctl.2 Fri Dec 6 21:45:14 2019
@@ -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.
Index: src/sbin/modstat/modstat.8
diff -u src/sbin/modstat/modstat.8:1.24 src/sbin/modstat/modstat.8:1.25
--- src/sbin/modstat/modstat.8:1.24 Wed Dec 4 23:35:36 2019
+++ src/sbin/modstat/modstat.8 Fri Dec 6 21:45:14 2019
@@ -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