3.16 merge window, part 2
3.16 merge window, part 2
Posted Jun 28, 2014 10:12 UTC (Sat) by eru (subscriber, #2753)In reply to: 3.16 merge window, part 2 by khim
Parent article: 3.16 merge window, part 2
Thanks, khim. I guess I was too dense to include "ldt" in my queries. The manpage is not too informative, though. It does not say if I can extend the LDT with the call, and a quick test on my home x86_64 machine just returned 0 as the size, when reading the LDT (maybe this works only in 32-bit processes?). I would like to be able to allocate at least about ten LDT entries, in order to partially simulate a legacy system, where code, data and stack are all in different segments, and memory allocation calls return fresh segments with their own LDT entries.
Oh well, I probably have to read relevant bit of the kernel source for further investigations.
