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.
This commit is contained in:
martin 2019-12-09 15:56:49 +00:00
parent 725f92dd43
commit 27d62636fb
2 changed files with 6 additions and 7 deletions

View File

@ -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.

View File

@ -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 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