Gentoo Archives: gentoo-hardened

From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Error setting up Xorg 7.3 on Gentoo Hardened (PaX + grsecurity)
Date: Thu, 17 Apr 2008 15:09:18
Message-Id: 87y77c4iz9.fsf@chateau.d.lf
In Reply to: Re: [gentoo-hardened] Error setting up Xorg 7.3 on Gentoo Hardened (PaX + grsecurity) by pageexec@freemail.hu
1 >>>>> pageexec writes:
2 pageexec> On 17 Apr 2008 at 5:35, Gordon Malm wrote:
3
4 >> I suspect you are having the same problem I just ran into last night on x86.
5 >>
6 >> scanelf -a /usr/lib64/xorg/modules/drivers/i810_drv.so will show that
7 >> i810_drv.so is linked bind NOW rather than LAZY.
8 >>
9 >> I think an eclass or the ebuild itself should be taking care of this, but I
10 >> haven't looked into it/filed a bug yet. Will soon. For now you can work
11 >> around it like this:
12 >>
13 >> LDFLAGS="-Wl,-z,lazy" emerge xf86-video-i810
14
15 pageexec> BIND_NOW behaviour has always been an issue with the module loader of X
16 pageexec> and i have faint memories of discussions with ajax that the eventual
17 pageexec> goal would be to fix the ELF loader (or add explicit LoadSubModule calls
18 pageexec> where needed). so you may want to ask the X guys about this issue before
19 pageexec> jumping to the workaround.
20
21
22 Just to confirm, is LAZY loading means delay loading of all
23 dependencies (shared objects) unless they're required (i.e. function
24 present in one of the dependencies being invoked), right ?
25
26 Thanks in advance,
27 --
28 Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
29 ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

Replies