Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/modstat Note that the size returned by modctl(2) and di...



details:   https://anonhg.NetBSD.org/src/rev/6e39c79a5a6d
branches:  trunk
changeset: 967304:6e39c79a5a6d
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Dec 04 23:35:36 2019 +0000

description:
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

diffstat:

 lib/libc/sys/modctl.2  |  6 +++---
 sbin/modstat/modstat.8 |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 82236aeb3abf -r 6e39c79a5a6d lib/libc/sys/modctl.2
--- a/lib/libc/sys/modctl.2     Wed Dec 04 21:53:20 2019 +0000
+++ b/lib/libc/sys/modctl.2     Wed Dec 04 23:35:36 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: modctl.2,v 1.15 2019/04/08 10:47:16 pgoyette Exp $
+.\"    $NetBSD: modctl.2,v 1.16 2019/12/04 23:35:36 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 April 8, 2019
+.Dd December 4, 2019
 .Dt MODCTL 2
 .Os
 .Sh NAME
@@ -184,7 +184,7 @@
 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 -r 82236aeb3abf -r 6e39c79a5a6d sbin/modstat/modstat.8
--- a/sbin/modstat/modstat.8    Wed Dec 04 21:53:20 2019 +0000
+++ b/sbin/modstat/modstat.8    Wed Dec 04 23:35:36 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: modstat.8,v 1.23 2019/01/27 02:08:36 pgoyette Exp $
+.\" $NetBSD: modstat.8,v 1.24 2019/12/04 23:35:36 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 September 8, 2018
+.Dd December 4, 2019
 .Dt MODSTAT 8
 .Os
 .Sh NAME
@@ -90,7 +90,7 @@
 .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



Home | Main Index | Thread Index | Old Index