1 |
On 23 Oct 2005 at 21:42, Antoine Martin wrote: |
2 |
|
3 |
ok, so this is the story of the textrelocs in libmysqlclient: |
4 |
|
5 |
> open("/usr/lib/libmysqlclient.so.14", O_RDONLY) = 3 |
6 |
> mmap2(NULL, 2061732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, |
7 |
> 0) = 0xb7d24000 |
8 |
> mprotect(0xb7d24000, 1073152, PROT_READ|PROT_WRITE) = 0 |
9 |
> mprotect(0xb7d24000, 1073152, PROT_READ|PROT_EXEC) = -1 EACCES |
10 |
> (Permission denied) |
11 |
|
12 |
this is either PaX (if you have NOELFRELOCS on) or SELinux, |
13 |
i think they call it execmem or something like that. |
14 |
|
15 |
what do 'scanelf -T /usr/lib/libmysqlclient.so.14' or |
16 |
'eu-findtextrel /usr/lib/libmysqlclient.so.14' |
17 |
say (it can't be 'nothing' for sure ;-)? eu-findtexrel |
18 |
is in dev-libs/elfutils. |
19 |
|
20 |
-- |
21 |
gentoo-hardened@g.o mailing list |