Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5710          
     
           Summary: DRI libs relocation problems on hardened systems
           Product: DRI
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libGL
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


On hardened systems (Such as Hardened Linux From Scratch) the Pax kernel patches
provide an option CONFIG_PAX_NOELFRELOCS, which does what it says on the tin,
and you can't relocate elf executables. The DRI faile under X-6.9.0 with (from
memory)

"Error loading shared library /usr/X11R6/lib/libGL.so.1
Error opening shared library for relocation: Permission denied"

I am attaching a check of the X libraries. I went to some trouble to try a
precompiled libGL.so (from common-20051220-linux-i386/) and a correctly compiled
version from Xorg-6.9.0 I checked, and got these relocations

TEXTREL in exe /usr/X11R6/lib/dri-old.libGL.so.1.2
TEXTREL in exe /usr/X11R6/lib/libGL.so.1.2
TEXTREL library /usr/local/lib/libGL.so.1 exec /usr/X11R6/lib/libGLU.so.1.3
TEXTREL in exe /usr/X11R6/lib/libOSMesa.so.4.0
TEXTREL library /usr/local/lib/libGL.so.1 exec /usr/X11R6/lib/libOSMesa.so.4.0

On my system,dri-old.libGL.so.1.2 is the precompiled one from common-20051220,
and the other is from Xorg-6.9.0. Precompiled stuff will never work on hardened
systems, BTW. They really need no compile their own software. 
The other dri archive in the frame is radeon-20051220          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to