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: paxctl and apache-2.2.6 strangeness
Date: Sun, 9 Sep 2007 18:12:19 +0200
Hi,

Apache is really strange. Just upgraded to 2.2.6 (that works very well
with last grsec/pax patch ;)).
But I see a very strange thing :

> # 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 ?

chpax does not shows this error (but chpax is marked as obsolete...)
and readelf or objdump does not reports any error :
> # readelf -h /usr/sbin/apache2
> ELF Header:
>   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
>   Class:                             ELF32
>   Data:                              2's complement, little endian
>   Version:                           1 (current)
>   OS/ABI:                            UNIX - System V
>   ABI Version:                       0
>   Type:                              DYN (Shared object file)
>   Machine:                           Intel 80386
>   Version:                           0x1
>   Entry point address:               0x1cff0
>   Start of program headers:          52 (bytes into file)
>   Start of section headers:          394028 (bytes into file)
>   Flags:                             0x0
>   Size of this header:               52 (bytes)
>   Size of program headers:           32 (bytes)
>   Number of program headers:         10
>   Size of section headers:           40 (bytes)
>   Number of section headers:         27
>   Section header string table index: 26

Any idea ?

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
Re: paxctl and apache-2.2.6 strangeness
-- magari
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
lots of avcs when running dmesg, is this nomal ?
Next by thread:
Re: paxctl and apache-2.2.6 strangeness
Previous by date:
lots of avcs when running dmesg, is this nomal ?
Next by date:
Re: lots of avcs when running dmesg, is this nomal ?


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.