From 27d62636fbada4fae34a2f0113b778689046a660 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 9 Dec 2019 15:56:49 +0000 Subject: [PATCH] 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. --- lib/libc/sys/modctl.2 | 6 +++--- sbin/modstat/modstat.8 | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/libc/sys/modctl.2 b/lib/libc/sys/modctl.2 index 9889c8de91e7..5d35705a0460 100644 --- a/lib/libc/sys/modctl.2 +++ b/lib/libc/sys/modctl.2 @@ -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. diff --git a/sbin/modstat/modstat.8 b/sbin/modstat/modstat.8 index 850355ec6159..4d65142c54d3 100644 --- a/sbin/modstat/modstat.8 +++ b/sbin/modstat/modstat.8 @@ -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 @@ .\" .\" <> .\" -.Dd September 8, 2018 +.Dd December 4, 2019 .Dt MODSTAT 8 .Os .Sh NAME @@ -76,7 +76,6 @@ In addition to listing the currently loaded modules' name, 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 during system bootstrap. .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