Gentoo Archives: gentoo-hardened

From: aeriksson@××××××××.fm
To: Alexander Gabert <pappy@g.o>, cpufreqd-devel@×××××××××××××××××.net
Cc: Barry Dunn <lists@×××××××××××.uk>, gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] cpufreqd-1.1.1 segmentation fault with hardened
Date: Mon, 19 Jul 2004 08:43:02
Message-Id: 20040719084127.471523F03@latitude.mynet.no-ip.org
1 > please try chpaxing or paxctling it:
2 >
3 > chpax -pemsrv or paxctl --help
4 >
5 > and then find out which protection needs to be disabled, reenable all
6 > the others and tell us what thing you had to turn on/off to make it work.
7 >
8 > i doubt its the hardened and i assume its some kind of memory access/io
9 > access that leads it to fail.
10 >
11
12 I recently hacked a bit on cpufreqd (unapplied) and discovered that
13 adding elements to the middle of its structures resulted in data
14 corruption. My (limited) investigations suggested that some users of
15 the structs assume a certain layout for memcpy operations. Adding my
16 stuff to the end of the structures fixed it for me.
17
18 I'm clueless about pax and hardening, but maybe some over optimistic
19 parts of the code got trapped by the pax magic?
20
21 /A
22
23
24
25 --
26 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] cpufreqd-1.1.1 segmentation fault with hardened Alexander Gabert <pappy@g.o>