Re: Possible to do the equivalent of dlopen with an executable
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: Possible to do the equivalent of dlopen with an executable




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Possible to do the equivalent of dlopen with an executable  
Paul Pluzhnikov


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-06 06:20 PM

Alan Coopersmith <alanc@alum.calberkeley.org> writes:

> Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> writes in comp.unix.solaris:
...
> |All you have to do is "pretend" that your executable is the dynamic
> |linker (/lib/ld.so.1) and load (mmap) the executable yourself...
...
> XFree86 did this for the driver modules.

Interesting. I never looked at that code.

Did it actually implement complete ld.so equivalent, or did it
"cheat" by resolving all references at driver load time (equivalent
of LD_BIND_NOW)? Were the modules in ELF, or some other more
convenient and simpler format?

Thanks,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:07 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register