summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-08-04 19:11:56 +0000
committerjulian <julian@FreeBSD.org>2003-08-04 19:11:56 +0000
commitcbe160350057824430b62fc3ae5bff27495319cb (patch)
treecd8e26feaafebaa1b868633281fba8c7ede7cc02 /lib
parentc11e824db2cb5d85e2b6caee93e18e122dc667b7 (diff)
downloadFreeBSD-src-cbe160350057824430b62fc3ae5bff27495319cb.zip
FreeBSD-src-cbe160350057824430b62fc3ae5bff27495319cb.tar.gz
Allow foot shooting as Linux emulation needs it.
Also change "Auto mode" to use a "special" value instead of 0, and define and document it. I had thought libpthread had already been switched to use auto mode but it appears that patch hasn't been committed yet. Discussed with: Davidxu
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/i386/sys/i386_get_ldt.23
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/i386/sys/i386_get_ldt.2 b/lib/libc/i386/sys/i386_get_ldt.2
index bc63578..61448b9 100644
--- a/lib/libc/i386/sys/i386_get_ldt.2
+++ b/lib/libc/i386/sys/i386_get_ldt.2
@@ -76,7 +76,8 @@ as disjoint bit-fields, so care must be taken in constructing them.
.Pp
If
.Fa start_sel
-is 0,
+is
+.Em LDT_AUTO_ALLOC ,
.Fa num_sels
is 1 and the descriptor pointed to by
.Fa descs
OpenPOWER on IntegriCloud