Le vendredi 14 septembre 2007, [EMAIL PROTECTED] a écrit :
> On 9 Sep 2007 at 18:12, Guillaume Castagnino wrote:
> > > # paxctl -v /usr/sbin/apache2
> > > PaX control v0.5
> > > Copyright 2004,2005,2006,2007 PaX Team <[EMAIL PROTECTED]>
> > >
> > > file /usr/sbin/apache2 is not a valid ELF executable (invalid PT_
> > > entry:8)
> >
> > Even with this "error", apache-2.2.6 works very well, but...
> > what exactly does it means ? Really a problem with apache-2.2.6 ?
> > or something that disturbs paxctl ?
>
> that's interesting. paxctl has tons of sanity checks for various
> ELF fields, apparently something isn't right in a certain program
> header entry. can you post readelf -l /usr/sbin/apache2 ?

Here it is :

# readelf -l /usr/sbin/apache2

Elf file type is DYN (Shared object file)
Entry point 0x1cff0
There are 10 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg 
Align
  PHDR           0x000034 0x00000034 0x00000034 0x00140 0x00140 R E 0x4
  INTERP         0x000174 0x00000174 0x00000174 0x00013 0x00013 R   0x1
      [Requesting program interpreter: /lib/ld-linux.so.2]
  LOAD           0x000000 0x00000000 0x00000000 0x5dbd4 0x5dbd4 R E 
0x1000
  LOAD           0x05dd14 0x0005ed14 0x0005ed14 0x02544 0x05380 RW  
0x1000
  DYNAMIC        0x05e888 0x0005f888 0x0005f888 0x00178 0x00178 RW  0x4
  NOTE           0x000188 0x00000188 0x00000188 0x00020 0x00020 R   0x4
  GNU_EH_FRAME   0x05db5c 0x0005db5c 0x0005db5c 0x0001c 0x0001c R   0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4
  GNU_RELRO      0x05dd14 0x0005ed14 0x0005ed14 0x012ec 0x012d4 R   0x1
  PAX_FLAGS      0x000000 0x00000000 0x00000000 0x00000 0x00000     0x4

 Section to Segment mapping:
  Segment Sections...
   00
   01     .interp
   
02     .interp .note.ABI-tag .hash .gnu.hash .dynsym .dynstr .gnu.version 
.gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr 
.eh_frame
   03     .ctors .dtors .jcr .data.rel.ro .dynamic .got .data .bss
   04     .dynamic
   05     .note.ABI-tag
   06     .eh_frame_hdr
   07
   08     .ctors .dtors .jcr .data.rel.ro .dynamic
   09

Regards,
Guillaume

-- 
Guillaume Castagnino
    [EMAIL PROTECTED] / [EMAIL PROTECTED]
GnuPG/PGP key : 
http://wwwkeys.pgp.net:11371/pks/lookup?op=vindex&search=0x8AF468AF
Fingerprint : CD52 FE40 9592 BA1E E89D 5FB6 820E 4742 8AF4 68AF
--
[EMAIL PROTECTED] mailing list

Reply via email to