Re: [PATCH] Mach's interface for modifying the LDT

2001-12-23 Thread Mark Kettenis
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

[PATCH] Mach's interface for modifying the LDT

2001-12-23 Thread Jeroen Dekkers
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