Gentoo Archives: gentoo-hardened

From: Petre Rodan <kaiowas@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] SELinux problem -> avc: denied {execmem}
Date: Sun, 21 May 2006 18:35:35
Message-Id: 20060521183128.GB28927@peter.sunspire.org
In Reply to: Re: [gentoo-hardened] SELinux problem -> avc: denied {execmem} by Jan Meier
1 On Sun, May 21, 2006 at 07:46:01PM +0200, Jan Meier wrote:
2 > Petre Rodan wrote:
3 > >your binares might lack the GNU_STACK header, i.e. they were built with an old
4 > >toolchain.
5 > >use readelf --headers to find out if it's the case.
6 > Executing: readelf -headers /bin/mount | grep GNU_STACK shows "GNU_STACK 0x000000
7 > 0x00000000 0x00000000 0x00000 0x00000 RW 0x4"
8
9 how about /sbin/runscript, /sbin/init, /bin/bash?
10
11 > >you might want to upgrade to the latest stable gcc and recompile all binaries with
12 > >that header missing.
13 > My gcc is version 3.4.5
14
15 I presume that 'gcc-config -l' also shows that you're actually using it?
16
17 cheers,
18 peter
19
20 --
21 petre rodan
22 <kaiowas@g.o>
23 Developer,
24 Hardened Gentoo Linux

Replies

Subject Author
Re: [gentoo-hardened] SELinux problem -> avc: denied {execmem} Jan Meier <jan@×××××××××.org>