On Fri, Dec 24, 2010 at 12:45 PM, Mark Kettenis <[email protected]> wrote: ... > Well, changing NLDT to 17 should defenitely be tested, but leaving it > at 17 is a bit odd. I'm actually wondering whether the default LDT is > necessary at all now that LBSDICALLS_SEL is gone. Then NLDT can go > completely.
Yep, the default ldt should be able to go away completely and the ldt register explicitly set to zero except for processes that use the i386_set_ldt() sysarch call. I'm currently separated from my i386 test box, so I won't hazard a diff for this right now, but it deserves a blow torch to clean it out. Philip Guenther
