summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-08-02 09:17:48 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-08-02 09:17:48 +0000
commit9045b44aa8e794b7a13cb6e2fe9b1779f34abd03 (patch)
tree2e9a2f61c85207d681267e5ea2f734a3ea4e6dc7 /sbin
parent5b3a5af14f2c6c2a6a3bb06638e618363dc2fc09 (diff)
fixes from Alexander Holupirek, documentation/5899:
- fix a typo in lkm.4 (different fix used) - document securelevel(7) (again, different fix taken) whilst here, some minor repair: - no need to wrap section names in quotes - tidy up FILES a little - new sentence, new line
Diffstat (limited to 'sbin')
-rw-r--r--sbin/modload/modload.813
-rw-r--r--sbin/modunload/modunload.88
2 files changed, 12 insertions, 9 deletions
diff --git a/sbin/modload/modload.8 b/sbin/modload/modload.8
index 7deaf9fd7c3..4e08d5da0bb 100644
--- a/sbin/modload/modload.8
+++ b/sbin/modload/modload.8
@@ -1,4 +1,4 @@
-.\" $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
@@ -33,7 +33,7 @@
.\"
.\" <<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
@@ -104,12 +104,12 @@ Do not load symbols from the kernel module.
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
@@ -119,6 +119,7 @@ and with a nonzero status if an error occurs.
.Sh SEE ALSO
.Xr ld 1 ,
.Xr lkm 4 ,
+.Xr securelevel 7 ,
.Xr modstat 8 ,
.Xr modunload 8
.Sh HISTORY
diff --git a/sbin/modunload/modunload.8 b/sbin/modunload/modunload.8
index 3fcb5c316ce..41087f6ec0a 100644
--- a/sbin/modunload/modunload.8
+++ b/sbin/modunload/modunload.8
@@ -1,4 +1,4 @@
-.\" $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
@@ -26,7 +26,7 @@
.\" (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
@@ -58,7 +58,8 @@ Unload the module with the 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
@@ -66,6 +67,7 @@ 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