On 23 Oct 2005 at 21:42, Antoine Martin wrote:
ok, so this is the story of the textrelocs in libmysqlclient:
> open("/usr/lib/libmysqlclient.so.14", O_RDONLY) = 3
> mmap2(NULL, 2061732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0xb7d24000
> mprotect(0xb7d24000, 1073152, PROT_READ|PROT_WRITE) = 0
> mprotect(0xb7d24000, 1073152, PROT_READ|PROT_EXEC) = -1 EACCES
> (Permission denied)
this is either PaX (if you have NOELFRELOCS on) or SELinux,
i think they call it execmem or something like that.
what do 'scanelf -T /usr/lib/libmysqlclient.so.14' or
'eu-findtextrel /usr/lib/libmysqlclient.so.14'
say (it can't be 'nothing' for sure ;-)? eu-findtexrel
is in dev-libs/elfutils.
--
[email protected] mailing list