Module Name: src Committed By: pgoyette Date: Wed Nov 4 04:31:53 UTC 2015
Modified Files: src/lib/libc/sys: modctl.2 Log Message: Document the ms_flags field which is now exported in struct modstat To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/sys/modctl.2 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.11 src/lib/libc/sys/modctl.2:1.12 --- src/lib/libc/sys/modctl.2:1.11 Sat May 9 08:10:01 2015 +++ src/lib/libc/sys/modctl.2 Wed Nov 4 04:31:53 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: modctl.2,v 1.11 2015/05/09 08:10:01 pgoyette Exp $ +.\" $NetBSD: modctl.2,v 1.12 2015/11/04 04:31:53 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 May 9, 2015 +.Dd November 4, 2015 .Dt MODCTL 2 .Os .Sh NAME @@ -182,6 +182,14 @@ The load address within the kernel. Loaded size of the module. .It Fa "u_int ms_refcnt" Current number of live references to this module. +.It Fa "u_int ms_flags" +The module's flags: +.Bl -tag -compact -width "MODFLAG_AUTO_LOADED" +.It Dv MODFLAG_MUST_FORCE +The "force" flag must be specified to reload this module. +.It Dv MODFLAG_AUTO_LOADED +The module was auto-loaded by the operating system. +.El .El .Sh RETURN VALUES Upon successful completion, the value returned is 0.