|author||Eitan Adler <eadler@FreeBSD.org>||2012-03-29 05:02:12 +0000|
|committer||Eitan Adler <eadler@FreeBSD.org>||2012-03-29 05:02:12 +0000|
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
Notes: svn path=/head/; revision=233648
Diffstat (limited to 'share/man/man4/ksyms.4')
1 files changed, 19 insertions, 19 deletions
diff --git a/share/man/man4/ksyms.4 b/share/man/man4/ksyms.4
index 9272eb8bf6c4..b8e4f2684ad4 100644
@@ -42,15 +42,15 @@
-character device provides a read-only interface to a snapshot of the kernel
+character device provides a read-only interface to a snapshot of the kernel
symbol table. The in-kernel symbol manager is designed to be able to handle
-many types of symbols tables, however, only
+many types of symbols tables, however, only
.Xr elf 5
symbol tables are supported by this device. The ELF format image contains two
-sections: a symbol table and a corresponding string table.
+sections: a symbol table and a corresponding string table.
.Bl -tag -width indent -offset indent
.It Dv Symbol Table
-The SYMTAB section contains the symbol table entries present in the current
+The SYMTAB section contains the symbol table entries present in the current
running kernel, including the symbol table entries of any loaded modules. The
symbols are ordered by the kernel module load time starting with kernel file
symbols first, followed by the first loaded module's symbols and so on.
@@ -65,10 +65,10 @@ file represents the state of the kernel at the time when the device is opened.
has no text or data, most of the fields are initialized to NULL.
driver does not block the loading or unloading of modules into the kernel
file is open but may contain stale data.
@@ -87,29 +87,29 @@ This can be used when allocating a buffer to make a copy of
the kernel symbol table.
.It Dv KIOCGADDR (void *)
Returns the address of the kernel symbol table mapped in
-the process memory.
+the process memory.
.Bl -tag -width /dev/ksymsX
.It Pa /dev/ksyms
.Xr open 2
-will fail if:
+will fail if:
.Bl -tag -width Er
.It Bq Er EBUSY
-The device is already open. A process must close
+The device is already open. A process must close
-before it can be opened again.
+before it can be opened again.
.It Bq Er ENOMEM
There is a resource shortage in the kernel.
.It Bq Er ENXIO
The driver was unsuccessful in creating a snapshot of the kernel symbol
table. This may occur if the kernel was in the process of loading or
-unloading a module.
+unloading a module.
.Sh SEE ALSO
.Xr ioctl 2 ,
@@ -128,7 +128,7 @@ The
driver first appeared in
.Xr lockstat 1 .
@@ -137,7 +137,7 @@ driver was written by
.An Stacey Son
.Aq sson@FreeBSD.org .
-Because files can be dynamically linked into the kernel at any time the symbol
+Because files can be dynamically linked into the kernel at any time the symbol
information can vary. When you open the
file, you have access to an ELF image which represents a snapshot of the state of the kernel symbol information at that instant in time. Keeping the device open does not block the loading or unloading of kernel modules. To get a new snapshot you must close and re-open the device.
@@ -147,12 +147,12 @@ A process is only allowed to open the
file once at a time. The process must close the
before it is allowed to open it again.
-driver uses the calling process' memory address space to store the snapshot.
+driver uses the calling process' memory address space to store the snapshot.
.Xr ioctl 2
can be used to get the memory address where the symbol table is stored to
-save kernel memory.
+save kernel memory.
.Xr mmap 2
-may also be used but it will map it to another address.
+may also be used but it will map it to another address.