Hello, I just installed the exec-shield kernel patch on my computer, and it turns out that XFree86 on Debian refuses to work without some fixes.Attached are 5 patches - 4 of them shamelessly extracted from Redhat rawhide source package - against XFree4.3 in experimental (snapshot from http://necrotic.deadbeast.net/xfree86/branches-4.3.0-sid-debian-2003.10.22.tar.gz)
fixing various issues:
* 912_elfloader_linux_non_exec_stack_v2.diff : This patch comes from the Redhat rawhide 4.3.0.40 source package(Redhat patch 9105). Original description : patch ELF loader to allow X to work on kernels with a non executable stack.
* 913_patch_compile_kernel_26.diff :Simple patch to allow compilation with 2.6 kernel includes (found at http://www.mail-archive.com/xfree86@xfree86.org/msg08195.html).
* 914_redhat_libgl_opt_v2.diff, 915_redhat_libgl_tls_buildfix.diff, 916_redhat_libgl_exec_shield_fixes_v2.diff : Patches from Redhat (number 10009, 10010 and 10012) to fix libGL withexec-shield. I was interested only in the last one but it looks like it depends at least from the first one...
Please note that patches 914 and 916 require backing out 062_make_libGL_PIC_compliant.diff and that I have not tested them,except for the fact that they apply and compile fine (I'm not using any GL app).
Patches 912 & 913 were compile and run-time tested by me. Both look fairly simple and unintrusive (in contrary to 914 and 916). Thus I'd like to know if it would be possible to have at least patches 912 and 913 applied to the packages in experimental ? With best regards, Vincent
912_elfloader_linux_non_exec_stack_v2.diff.bz2
Description: Binary data
913_patch_compile_kernel_26.diff.bz2
Description: Binary data
914_redhat_libgl_opt_v2.diff.bz2
Description: Binary data
915_redhat_libgl_tls_buildfix.diff.bz2
Description: Binary data
916_redhat_libgl_exec_shield_fixes_v2.diff.bz2
Description: Binary data