public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] Xorg testing desired
@ 2005-06-03  0:18 Ned Ludd
  2005-06-03 11:10 ` Kevin F. Quinn
  2005-06-03 14:07 ` Markus Dittrich
  0 siblings, 2 replies; 3+ messages in thread
From: Ned Ludd @ 2005-06-03  0:18 UTC (permalink / raw
  To: gentoo-hardened; +Cc: kevquinn

On monday May 30th the PaX Team sent me a testing patch for Xorg to make
it fully pic compliant/text relocation free. 
I have been successfully using this patch for a few days now with my
hardware. We would appreciate it if we could get a little more testing
with this before passing it along to our Xorg maintainers and upstream.

http://dev.gentoo.org/~solar/patches/xorg-x11-pic-notextrel.patch

I tested with.
x11-base/xorg-x11-6.8.2-r1  
  +3dfx -3dnow +bitmap-fonts -cjk -debug +dlloader -dmx -doc 
  -font-server +hardened -insecure-drivers -ipv6 +minimal
  +mmx -nls +opengl -pam -sdk +sse -static +truetype-fonts 
  +type1-fonts (-uclibc) +xprint +xv


You can use this command to confirm that it's free of text relocations.
scanelf -tq $(epm -q -l xorg-x11)

# scanelf comes from app-misc/pax-utils
# epm comes from app-portage/epm

Make sure it runs like normal.
Try glxgears before and after if your not using the +minimal USE flag 
and have GL support.

thanks.

-- 
Ned Ludd <solar@gentoo.org>

-- 
gentoo-hardened@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-hardened] Xorg testing desired
  2005-06-03  0:18 [gentoo-hardened] Xorg testing desired Ned Ludd
@ 2005-06-03 11:10 ` Kevin F. Quinn
  2005-06-03 14:07 ` Markus Dittrich
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin F. Quinn @ 2005-06-03 11:10 UTC (permalink / raw
  To: gentoo-hardened

On 3/6/2005 2:18:15, Ned Ludd (solar@gentoo.org) wrote:
> On monday May 30th the PaX Team sent me a testing patch for Xorg to make
> it fully pic compliant/text relocation free. 
> I have been successfully using this patch for a few days now with my
> hardware. We would appreciate it if we could get a little more testing
> with this before passing it along to our Xorg maintainers and upstream.

Works so far for me, no textrels, with a radeon. Built with:

System uname: 2.6.11-hardened-r13 i686 Mobile Intel(R) Pentium(R) III CPU - M  1200MHz

-3dfx -3dnow -bitmap-fonts -cjk -debug +dlloader -dmx +doc +font-server +hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv


For info, the modules with textrels currently in 6.8.2-r1 are:

/usr/lib/libOSMesa.so.4.0
/usr/lib/modules/dri/sis_dri.so
/usr/lib/modules/dri/radeon_dri.so
/usr/lib/modules/dri/tdfx_dri.so
/usr/lib/modules/dri/i810_dri.so
/usr/lib/modules/dri/r128_dri.so
/usr/lib/modules/dri/i915_dri.so
/usr/lib/modules/dri/mga_dri.so
/usr/lib/modules/dri/r200_dri.so
/usr/lib/modules/dri/gamma_dri.so
/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2

so in order to perform a useful test, make sure DRI is enabled (which means no xinerama, although with radeons you can have mergedfb - check the Xorg.0.log to see DRI being started ok).  Although the source of textrels is the same for all the dri modules (I think), it'll be useful to have reports for more than one of the DRI modules.

Kev.



-- 
gentoo-hardened@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-hardened] Xorg testing desired
  2005-06-03  0:18 [gentoo-hardened] Xorg testing desired Ned Ludd
  2005-06-03 11:10 ` Kevin F. Quinn
@ 2005-06-03 14:07 ` Markus Dittrich
  1 sibling, 0 replies; 3+ messages in thread
From: Markus Dittrich @ 2005-06-03 14:07 UTC (permalink / raw
  To: gentoo-hardened

On 6/2/05, Ned Ludd <solar@gentoo.org> wrote:
> On monday May 30th the PaX Team sent me a testing patch for Xorg to make
> it fully pic compliant/text relocation free.
> I have been successfully using this patch for a few days now with my
> hardware. We would appreciate it if we could get a little more testing
> with this before passing it along to our Xorg maintainers and upstream.

Hi Ned,

Works fine here on a Thinkpad T30 with Mobility Radeon 7500

[ebuild   R   ] x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow +bitmap-fonts
-cjk -debug +dlloader -dmx -doc -font-server +hardened
-insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse
-static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv

DRI is enabled and works just fine. All textrels are gone !

Thanks much,
Markus

-- 
gentoo-hardened@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-03 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-03  0:18 [gentoo-hardened] Xorg testing desired Ned Ludd
2005-06-03 11:10 ` Kevin F. Quinn
2005-06-03 14:07 ` Markus Dittrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox