Bug 251637
Summary: | PATCH: fix ctypes requireing an executabel stack | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hans de Goede <hdegoede> | ||||
Component: | python | Assignee: | Dave Malcolm <dmalcolm> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 11 | CC: | christian.joensson, dmalcolm, mebrown | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-11-08 08:21:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Hans de Goede
2007-08-10 08:27:35 UTC
I think I've found the cause, and I believe this only happens on x86_64 (and maybe ppc). I'm currently running a compile with a patch I wrote to see if this patch fixes it. To be continued. Created attachment 161041 [details]
PATCH: fix ctypes requireing an executable stack
I can confirm that the attached patch fixes it, and I'm pretty sure ppc and
ppc64 will have this bug too, I've made the patch so that it should fix them
too.
Indeed -- we had this patch in F7, but upstream had said they included it in 2.5.1. *sigh* Thanks Hans, added and building (In reply to comment #3) > Indeed -- we had this patch in F7, but upstream had said they included it in > 2.5.1. *sigh* Thanks Hans, added and building Well, the nescesarry gnu-stack section was already present in the i386 asm, so maybe upstream only fixed it there. Is it possible that this regressed in current Rawhide? I have BZ# 481453 opened against libsmbios, which I think is caused by ctypes requiring execmem. Libsmbios itself doesnt require execmem. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Sorry about the lack of activity on this bug.
Are you still able to reproduce it?
I don't see it on this machine (albeit 32-bit F11 with a locally-rebuilt rawhide SRPM of python, maybe arch-specific?):
[david@brick show]$ python
Python 2.6.4 (r264:75706, Oct 29 2009, 22:44:06)
[GCC 4.4.1 20090725 (Red Hat 4.4.1-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenGL.GL
>>>
[david@brick show]$ /usr/sbin/getenforce
Enforcing
[david@brick show]$ execstack -q /usr/lib/python2.6/lib-dynload/_ctypes.so
- /usr/lib/python2.6/lib-dynload/_ctypes.so
(i.e. execstack not requested by the DSO)
[hans@localhost anaconda]$ execstack -q /usr/lib64/python2.6/lib-dynload/_ctypes.so F-12 x86_64: - /usr/lib64/python2.6/lib-dynload/_ctypes.so F-11 x86_64: - /usr/lib64/python2.6/lib-dynload/_ctypes.so So this bug is no longer present, closing. |