Please be aware that the Mach LDT code still contains serious bugs.
Setting the segment registers to something else than thier defaults is
very likely to crash the kernel. I've tried to hunt down the bug, but
didn't succeed.
Mark
___
Bug-hurd mailin
I'm hacking pthreads to allow placing stacks anywhere in memory. For the
thread specific data I'm using a segment register as suggest some months
ago on this list. The mach functions i386_get_ldt() and i386_set_ldt()
are used to modify the LDT. Should those i386-specific functions go into
libmachu