Hi, I am cleaning bugs open in gentoo for mesa and i found one with patch attached to it, which is applicable upstream.
Patch just allows us to to disable writable relocations in gl. It is "must" for users using PaX and others. For more detailed rationale please look onto bug in our bugzilla [1] Jeremy Huddleston created the patch i attach here and it really fixes the problem. So my question is, could you consider applying this for 7.6 7.7 and trunk? Cheers Tomas [1] http://bugs.gentoo.org/show_bug.cgi?id=240956
--- configure.ac.orig 2008-11-17 23:19:38.000000000 +0100
+++ configure.ac 2008-11-17 23:20:17.000000000 +0100
@@ -499,6 +499,20 @@
enable_xcb=no
fi
+
+dnl readonly text segment on x86 hardened platforms
+AC_ARG_ENABLE([glx_rts],
+ [AS_HELP_STRING([--enable-glx-rts],
+ [on x86, use a readonly text segment for libGL @<:@default=disabled@:>@])],
+ [enable_glx_rts="$enableval"],
+ [enable_glx_rts=no])
+if test "x$enable_glx_rts" = xyes; then
+ DEFINES="$DEFINES -DGLX_X86_READONLY_TEXT"
+else
+ enable_glx_rts=no
+fi
+
+
dnl
dnl libGL configuration per driver
dnl
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
