tpot (at) frungy . org
|
Tue, 20 Apr 2004People who write shared libraries for x86 often forget to compile everything in the library with -fPIC. On x86 it seems to not matter, but other architectures, ia64 for example, the library will not link. Scons detects this situation and refuses to build a library containing non-PIC objects. From the manual page: On some platforms building a shared object requires additional compiler options (e.g. -fPIC for gcc) in addition to those needed to build a normal (static) object, but on some platforms there is no differ- ence between a shared object and a normal (static) one. When there is a difference, SCons will only allow shared objects to be linked into a shared library, and will use a different suffix for shared objects. Fix the problem, not the symptom! posted at: 16:19 | path: /software/scons | permanent link to this entry I just locked myself out of a remotely hosted box. Luckily (?) it was running a Linux kernel susceptible to the mremap() vulnerability so we were able to get back in. I must say though the example exploit code didn't compile, and there was no documentation. Typical open source rubbish. posted at: 16:17 | path: /computers/security | permanent link to this entry | ||||||||||||||||