summaryrefslogtreecommitdiff
path: root/lib/libarch/i386/i386_get_ldt.2
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-02-25 08:26:39 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-02-25 08:26:39 +0000
commit4b5c15322a076129905bf6753139b0b8d4e6f324 (patch)
treea8a4b2ca068d2b15f290b05ad48274c64248cc03 /lib/libarch/i386/i386_get_ldt.2
parent1789d28925a1de801286214ec0b73d7f78006412 (diff)
typos;
intro(2): help deraadt@
Diffstat (limited to 'lib/libarch/i386/i386_get_ldt.2')
-rw-r--r--lib/libarch/i386/i386_get_ldt.217
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/libarch/i386/i386_get_ldt.2 b/lib/libarch/i386/i386_get_ldt.2
index 10cb98439ed..25b880d9ef0 100644
--- a/lib/libarch/i386/i386_get_ldt.2
+++ b/lib/libarch/i386/i386_get_ldt.2
@@ -55,17 +55,17 @@ LDT.
will set a list of i386 descriptors for the current process in its
LDT.
Both routines accept a starting selector number
-.Fa start_sel
-, an array of memory that
+.Fa start_sel ,
+an array of memory that
will contain the descriptors to be set or returned
-.Fa descs
-, and the number of entries to set or return
+.Fa descs ,
+and the number of entries to set or return
.Fa num_sels .
.Pp
The argument
.Fa descs
-can be either segment_descriptor or gate_descriptor and are defined in
-.Fd <i386/segments.h> .
+can be either segment_descriptor or gate_descriptor, as defined in
+.Ao Pa i386/segments.h Ac .
These structures are defined by the architecture
as disjoint bit-fields, so care must be taken in constructing them.
.Sh RETURN VALUES
@@ -94,6 +94,9 @@ The caller attempted to use a descriptor that would
circumvent protection or cause a failure.
.El
.Sh REFERENCES
-i386 Microprocessor Programmer's Reference Manual, Intel
+.Rs
+.%A Intel
+.%T i386 Microprocessor Programmer's Reference Manual
+.Re
.Sh WARNING
You can really hose your process using this.