Module Name: src Committed By: pgoyette Date: Wed Aug 18 01:56:45 UTC 2010
Modified Files: src/share/man/man9: module.9 Log Message: Note that, for MODULE_CLASS_SECMODEL, the class is not ignored. Rather, we will automatically call secmodel_register() for these modules. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/share/man/man9/module.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/module.9 diff -u src/share/man/man9/module.9:1.16 src/share/man/man9/module.9:1.17 --- src/share/man/man9/module.9:1.16 Tue Aug 17 06:44:25 2010 +++ src/share/man/man9/module.9 Wed Aug 18 01:56:45 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: module.9,v 1.16 2010/08/17 06:44:25 wiz Exp $ +.\" $NetBSD: module.9,v 1.17 2010/08/18 01:56:45 pgoyette Exp $ .\" .\" Copyright (c) 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -229,8 +229,15 @@ must match the requested .Fa class . Except when verifying a module's class when it is being loaded, module -classes are transparent to the module subsystem. +classes other than +.Dv MODULE_CLASS_SECMODEL +are transparent to the module subsystem. They are provided only for the benefit of the subsystem's clients. +Modules with class +.Dv MODULE_CLASS_SECMODEL +are automatically registered with +.Fn secmodel_register +after being successfully loaded. .Pp The .Fn module_load