Hello,

Ive been looking into the module loaders available in XFree86 at the moment 
elfloader, coffloader, aoutloader, and importantly dlloader. What Im trying 
to do is establish a working XFree86 system under PaX which requires noexec 
off the stack, as far as tests seem to go this appears to be suited to the  
dlloader system.

Im basically stuck on the symbol resolution for drivers and modules though ive 
been looking at the elfloader code to try and establish an idea but the  
stuctures for the modules are very different.

If I have say a video driver which relies on the "xaa" module (the list of  
REQUIRED symbols contains symbols from libxaa). How do I find the module that 
those symbols exist in though without either  
A) Specifying : Load "xaa" in XF86Config;
B) Recursively loading every module until the symbol is resolved.

Or does XFree86 automagically load each dependent module and then leave it to 
the programmer to ensure proper listing order of the symbols so that each 
symbol is accessable where needed?

Andrew Bevitt
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to