Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-hardened
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-hardened@g.o
From: Guillaume Castagnino <casta@...>
Subject: Re: paxctl and apache-2.2.6 strangeness
Date: Sat, 15 Sep 2007 08:54:42 +0200
Le vendredi 14 septembre 2007, pageexec@... 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 <pageexec@...>
> > >
> > > 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
    guilc@... / casta@...
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
--
gentoo-hardened@g.o mailing list


Replies:
Re: paxctl and apache-2.2.6 strangeness
-- pageexec
References:
paxctl and apache-2.2.6 strangeness
-- Guillaume Castagnino
Re: paxctl and apache-2.2.6 strangeness
-- pageexec
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: paxctl and apache-2.2.6 strangeness
Next by thread:
Re: paxctl and apache-2.2.6 strangeness
Previous by date:
Re: paxctl and apache-2.2.6 strangeness
Next by date:
Re: paxctl and apache-2.2.6 strangeness


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.