Gentoo Archives: gentoo-hardened

From: Jan Meier <jan@×××××××××.org>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] SELinux problem -> avc: denied {execmem}
Date: Sun, 21 May 2006 20:44:59
Message-Id: 200605212240.15496.jan@codejunky.org
In Reply to: Re: [gentoo-hardened] SELinux problem -> avc: denied {execmem} by Petre Rodan
1 Am Sonntag 21 Mai 2006 20:31 schrieb Petre Rodan:
2 > On Sun, May 21, 2006 at 07:46:01PM +0200, Jan Meier wrote:
3 > > Petre Rodan wrote:
4 > > >your binares might lack the GNU_STACK header, i.e. they were built with
5 > > > an old toolchain.
6 > > >use readelf --headers to find out if it's the case.
7 > >
8 > > Executing: readelf -headers /bin/mount | grep GNU_STACK shows "GNU_STACK
9 > > 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4"
10 >
11 > how about /sbin/runscript, /sbin/init, /bin/bash?
12 Same result, GNU_STACK is in the header.
13
14 > > >you might want to upgrade to the latest stable gcc and recompile all
15 > > > binaries with that header missing.
16 > >
17 > > My gcc is version 3.4.5
18 >
19 > I presume that 'gcc-config -l' also shows that you're actually using it?
20 gcc-config shows that I am using 3.4.5 :)
21
22 regards
23 Jan
24
25 > cheers,
26 > peter
27
28 --
29 GPG-Key-ID: BC3D36E0
30 --
31 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] SELinux problem -> avc: denied {execmem} Petre Rodan <kaiowas@g.o>