-.\" $OpenBSD: modload.8,v 1.24 2007/11/25 19:21:37 mikeb Exp $
+.\" $OpenBSD: modload.8,v 1.25 2008/08/02 09:17:47 jmc Exp $
.\" $NetBSD: modload.8,v 1.17 2001/11/16 11:57:16 wiz Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\"
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
.\"
-.Dd $Mdocdate: November 25 2007 $
+.Dd $Mdocdate: August 2 2008 $
.Dt MODLOAD 8
.Os
.Sh NAME
Print comments about the loading process.
.El
.Sh FILES
-.Bl -tag -width /usr/include/sys/lkm.h -compact
+.Bl -tag -width "/usr/include/sys/lkm.hXXX" -compact
.It Pa /dev/ksyms
-default file passed to the linker to resolve external
-references in the module
+Default file passed to the linker to resolve external
+references in the module.
.It Pa /usr/include/sys/lkm.h
-file containing definitions of module types
+File containing definitions of module types.
.El
.Sh DIAGNOSTICS
The
.Sh SEE ALSO
.Xr ld 1 ,
.Xr lkm 4 ,
+.Xr securelevel 7 ,
.Xr modstat 8 ,
.Xr modunload 8
.Sh HISTORY
-.\" $OpenBSD: modunload.8,v 1.13 2007/05/31 19:19:45 jmc Exp $
+.\" $OpenBSD: modunload.8,v 1.14 2008/08/02 09:17:47 jmc Exp $
.\" $NetBSD: modunload.8,v 1.3 1995/03/18 14:56:49 cgd Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 2 2008 $
.Dt MODUNLOAD 8
.Os
.Sh NAME
.Ar name .
.It Fl p Ar postunload
Specify the name of a shell script or program that will be executed if the
-module is successfully unloaded. This program is passed no arguments.
+module is successfully unloaded.
+This program is passed no arguments.
.El
.Sh DIAGNOSTICS
The
utility exits 0 on success or with a non-zero status if an error occurred.
.Sh SEE ALSO
.Xr lkm 4 ,
+.Xr securelevel 7 ,
.Xr modload 8 ,
.Xr modstat 8
.Sh HISTORY
-.\" $OpenBSD: lkm.4,v 1.14 2007/05/31 19:19:50 jmc Exp $
+.\" $OpenBSD: lkm.4,v 1.15 2008/08/02 09:17:46 jmc Exp $
.\" $NetBSD: lkm.4,v 1.4 1994/11/30 16:22:22 jtc Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 2 2008 $
.Dt LKM 4
.Os
.Sh NAME
Users should never have to interact with
.Pa /dev/lkm
directly.
-.Sh "MODULE TYPES"
+The loading and unloading of modules is also
+dependent on the system
+.Xr securelevel 7 .
+.Sh MODULE TYPES
.Bl -tag -width indent
.It System Call modules
System calls may be replaced by loading
.Nm LKM .
The major problem with loading
a device driver is that the driver's
-device nodes must be exist for the
+device nodes must exist for the
devices to be accessed.
They are usually created by instructing
.Xr modload 8
when it is loaded and unloaded.
.El
.Sh FILES
-.Bl -tag -width /usr/include/sys/lkm.h -compact
+.Bl -tag -width "/usr/include/sys/lkm.hXXX" -compact
.It Pa /dev/lkm
.Nm
-interface device
+interface device.
.It Pa /usr/include/sys/lkm.h
-file containing definitions of module types
+File containing definitions of module types.
.It Pa /usr/share/lkm
-example source code implementing several of the modules types
+Example source code implementing several of the modules types.
.El
.Sh SEE ALSO
+.Xr securelevel 7 ,
.Xr modload 8 ,
.Xr modstat 8 ,
.Xr modunload 8