Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 New sentence, new line; standardize AUTHORS s...
details: https://anonhg.NetBSD.org/src/rev/08c4f22043e7
branches: trunk
changeset: 571030:08c4f22043e7
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Nov 09 12:09:58 2004 +0000
description:
New sentence, new line; standardize AUTHORS section content markup.
diffstat:
share/man/man4/lkm.4 | 46 +++++++++++++++++++++++++---------------------
1 files changed, 25 insertions(+), 21 deletions(-)
diffs (114 lines):
diff -r 3275808ed842 -r 08c4f22043e7 share/man/man4/lkm.4
--- a/share/man/man4/lkm.4 Tue Nov 09 11:12:54 2004 +0000
+++ b/share/man/man4/lkm.4 Tue Nov 09 12:09:58 2004 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: lkm.4,v 1.20 2004/11/09 04:57:31 rumble Exp $
+.\" $NetBSD: lkm.4,v 1.21 2004/11/09 12:09:58 wiz Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
@@ -49,9 +49,9 @@
.Pp
Various types of modules can be loaded into the system.
There are several defined module types, listed below, which can
-be added to the system in a predefined way. In addition, there
-is a generic type, for which the module itself handles loading and
-unloading.
+be added to the system in a predefined way.
+In addition, there is a generic type, for which the module itself
+handles loading and unloading.
.Pp
The
.Nm
@@ -59,13 +59,15 @@
.Xr ioctl 2
calls on the
.Pa /dev/lkm
-device. Normally all operations involving
+device.
+Normally all operations involving
Loadable Kernel Modules are handled by the
.Xr modload 8 ,
.Xr modunload 8 ,
and
.Xr modstat 8
-programs. Users should never have to interact with
+programs.
+Users should never have to interact with
.Pa /dev/lkm
directly.
.Sh MODULE TYPES
@@ -73,9 +75,9 @@
System calls may be replaced by loading
new ones via the
.Nm
-interface. All system calls may be
-replaced, but special care should
-be taken with the
+interface.
+All system calls may be replaced, but special care should be taken
+with the
.Xr ioctl 2
system call, as it is used to load and
unload modules.
@@ -94,8 +96,8 @@
drivers may be loaded into the system with
.Li "options LKM" .
A problem with loading a device driver is that the driver's device
-nodes must exist for the devices to be accessed. They are
-usually created by instructing
+nodes must exist for the devices to be accessed.
+They are usually created by instructing
.Xr modload 8
to run an appropriate program when the driver has been successfully loaded.
.Ss Emulation modules
@@ -103,7 +105,8 @@
operating systems.
.Ss Execution Interpreters
Execution Interpreters allow to load support for execution of new type
-of binaries, not normally supported by kernel. This also allows to load
+of binaries, not normally supported by kernel.
+This also allows to load
support for executing foreign system binaries.
Execution Interpreters normally depend on
Emulation modules, in that appropriate Emulation module has to
@@ -120,22 +123,24 @@
an appropriately layered console driver.
.Sh NOTES
.Ss Security considerations
-Loaded kernel modules can do anything with kernel structures. There is
-no memory protection between modules and the rest of the kernel. Hence,
-a potential attacker controlling
+Loaded kernel modules can do anything with kernel structures.
+There is no memory protection between modules and the rest of the kernel.
+Hence, a potential attacker controlling
.Pa /dev/lkm
can do anything they want with the system.
.Pp
-To avoid associated security risks, new LKMs cannot be loaded when
+To avoid associated security risks, new LKMs cannot be loaded when
.Pa securelevel
is higher than zero.
.Ss Module might crash system
Loading and using a buggy module is likely to crash operating system -
since the module becomes part of kernel, a code error is much more
-fatal than for userland programs. If you are doing kernel development,
+fatal than for userland programs.
+If you are doing kernel development,
this would hopefully end up happening
less frequently than changing, recompiling, installing, and
-rebooting would normally occur. This should speed development
+rebooting would normally occur.
+This should speed development
considerably for a lot of the in-kernel work that is currently
taking place.
.Sh FILES
@@ -162,6 +167,5 @@
to the loadable kernel modules facility provided by
.Tn "SunOS 4.1.3" .
.Sh AUTHORS
-.Bl -tag
-Terrence R. Lambert, terry%cs.weber.edu@localhost
-.El
+.An Terrence R. Lambert
+.Aq terry%cs.weber.edu@localhost
Home |
Main Index |
Thread Index |
Old Index