You need options USER_LDT in your kernel to use these functions.

PR:		18943
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
Reviewed by:	asmodai
This commit is contained in:
alex 2000-06-14 13:38:21 +00:00
parent d6e2e32b6f
commit 05c540a498

View File

@ -69,6 +69,10 @@ can be either segment_descriptor or gate_descriptor and are defined in
.Fd <i386/segments.h> .
These structures are defined by the architecture
as disjoint bit-fields, so care must be taken in constructing them.
.Pp
Note that you must have
.Dq options USER_LDT
in your kernel configuration file to use these functions.
.Sh RETURN VALUES
Upon successful completion,
.Fn i386_get_ldt