Page 1 of 1

alternate way to load extensions/videoarfix and other things

Posted: Mon Dec 14, 2009 8:59 pm
by arris69
hi,

so we found a way how to hook functions from shared object files from the content gallery, may its time for the next step?
  • theory say we can use the env variable LD_PRELOAD
  • it is possible to execute a function from a shared object file on loading time if you compile it like -shared -Wl,-init,EngineStart
so if we find the right function in exeDSP we can hook into and we can start our routine too, question is how we can place this into
rc.local? are the wariables MAPLE_* important, can we export them from our "EngineStart" function so than exeDSP honor them?

arris
ps: just a bit brainstorming ;)
some reference if you don't know what i mean
http://www.milw0rm.com/papers/8