summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-05-29 15:36:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-05-29 15:36:24 +0000
commit4f46bcfdf7afda31f83bcebae5b199a9b048b883 (patch)
tree0dd7a232c4d07f179139e2b68c4d4067abd68d89 /lib
parentedeb7534b5730ae78f11d9836d71b01663c9a28f (diff)
mention that this has to be enabled via sysctl before use
Diffstat (limited to 'lib')
-rw-r--r--lib/libarch/i386/i386_get_ldt.27
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libarch/i386/i386_get_ldt.2 b/lib/libarch/i386/i386_get_ldt.2
index 5cbb61ccdff..d68fb78670d 100644
--- a/lib/libarch/i386/i386_get_ldt.2
+++ b/lib/libarch/i386/i386_get_ldt.2
@@ -1,3 +1,5 @@
+.\" $OpenBSD: i386_get_ldt.2,v 1.11 2003/05/29 15:36:23 mickey Exp $
+.\"
.\" Copyright (c) 1980, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -69,6 +71,11 @@ can be either segment_descriptor or gate_descriptor, as defined in
These structures are defined by the architecture
as disjoint bit-fields, so care must be taken in constructing them.
.Pp
+Before this API can be used the functionality has to be enabled
+using a machdep.userldt
+.Xr sysctl 8
+variable.
+.Pp
.Sy Note:
Code using the
.Fn i386_get_ldt