Module Name:    src
Committed By:   martin
Date:           Mon Dec  9 15:56:49 UTC 2019

Modified Files:
        src/lib/libc/sys [netbsd-9]: modctl.2
        src/sbin/modstat [netbsd-9]: modstat.8

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #527):

        sbin/modstat/modstat.8: revision 1.24
        sbin/modstat/modstat.8: revision 1.26
        lib/libc/sys/modctl.2: revision 1.16

Note that the size returned by modctl(2) and displayed by modstat(8) is
only for the module's text section, not for the entire size of the
module.

Addresses PR kern-54737

Remove superfluous Pp.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.15.2.1 src/lib/libc/sys/modctl.2
cvs rdiff -u -r1.23 -r1.23.2.1 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.15 src/lib/libc/sys/modctl.2:1.15.2.1
--- src/lib/libc/sys/modctl.2:1.15	Mon Apr  8 10:47:16 2019
+++ src/lib/libc/sys/modctl.2	Mon Dec  9 15:56:49 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: modctl.2,v 1.15 2019/04/08 10:47:16 pgoyette Exp $
+.\"	$NetBSD: modctl.2,v 1.15.2.1 2019/12/09 15:56:49 martin 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 April 8, 2019
+.Dd December 4, 2019
 .Dt MODCTL 2
 .Os
 .Sh NAME
@@ -184,7 +184,7 @@ Miscellaneous.
 The load address within the kernel.
 (This value is available only for privileged users.)
 .It Fa "u_int ms_size"
-Loaded size of the module.
+Loaded size of the module's text section.
 (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.23 src/sbin/modstat/modstat.8:1.23.2.1
--- src/sbin/modstat/modstat.8:1.23	Sun Jan 27 02:08:36 2019
+++ src/sbin/modstat/modstat.8	Mon Dec  9 15:56:49 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: modstat.8,v 1.23 2019/01/27 02:08:36 pgoyette Exp $
+.\" $NetBSD: modstat.8,v 1.23.2.1 2019/12/09 15:56:49 martin 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 September 8, 2018
+.Dd December 4, 2019
 .Dt MODSTAT 8
 .Os
 .Sh NAME
@@ -76,7 +76,6 @@ In addition to listing the currently loa
 the information reported by
 .Nm
 includes:
-.Pp
 .Bl -tag -width Loadaddr
 .It Li CLASS
 Module class, such as
@@ -90,7 +89,7 @@ indicates that the module was loaded dur
 .Qq Dv filesys
 indicates that the module was loaded from the file system.
 .It Li SIZE
-Size of the module in bytes.
+Size of the module's text section, in bytes.
 .It Li FLAG
 The module flags:
 .Bl -tag -width a -offset indent -compact

Reply via email to