summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/sys
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-06-14 13:38:21 +0000
committeralex <alex@FreeBSD.org>2000-06-14 13:38:21 +0000
commitdf391a5a3680935e613164f8f8114094ada16fb8 (patch)
treed39139f92de423b72bb1bd7511caeeb1ec17572f /lib/libc/i386/sys
parent013be4c7436a478bcd8131713f2c92e2d408f9dd (diff)
downloadFreeBSD-src-df391a5a3680935e613164f8f8114094ada16fb8.zip
FreeBSD-src-df391a5a3680935e613164f8f8114094ada16fb8.tar.gz
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
Diffstat (limited to 'lib/libc/i386/sys')
-rw-r--r--lib/libc/i386/sys/i386_get_ldt.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/i386/sys/i386_get_ldt.2 b/lib/libc/i386/sys/i386_get_ldt.2
index 8db81b3..5aec1bf 100644
--- a/lib/libc/i386/sys/i386_get_ldt.2
+++ b/lib/libc/i386/sys/i386_get_ldt.2
@@ -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
OpenPOWER on IntegriCloud