Summary: | executable code in data areas must be marked executable | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | John Dennis <jdennis> | ||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED DUPLICATE | QA Contact: | |||||
Severity: | blocker | ||||||
Priority: | high | CC: | mharris, tseng | ||||
Version: | git | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 213 | ||||||
Attachments: |
|
Description
John Dennis
2004-04-01 13:00:18 UTC
Created attachment 171 [details] [review] mark data areas as executable in various places Just a note for whoever investigates this, that the changes to: xc/programs/Xserver/hw/xfree86/loader/elfloader.c are also part of: http://freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=395 I would lop that off of this patch, as the rest of this patch is specifically Mesa related, whereas that portion is part of the ELF loader, and covered by the other bug report. We'd like to see the Mesa patch come in through the Mesa project; please submit that part of this patch to them if you haven't already. The elfloader.c changes are already present in bug #395, so I'm marking this as a duplicate of that bug. *** This bug has been marked as a duplicate of 395 *** I agree that the Mesa portion needs to be merged upstream, and it is probably a good idea to get it merged there first, so that it doesn't have to be carried forward. John submitted it upstream to Mesa/DRI folks recently whom indicated that they are going to merge it into Mesa soon, which is a good sign. ;o) It would still be a good idea to get John's patch merged into X.org though, if not right away, then perhaps at least once it is confirmed to be in the Mesa tree. Otherwise there will probably be an increase of users reporting DRI and/or X server crashing bugs when running on systems that disable stack/heap execution by default. Currently that includes Fedora Core 1, Fedora Core 2 testX, and I believe also Gentoo, and possibly other Linux distributions are also starting to use the new exec-shield functionality or similar. OpenBSD aparently has similar. Just a heads up that there might be an increase of bugs reported without this or similar patches in the Xorg tree. ;oP |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.