Bug 436560
Summary: | socket module SO_* constants incomplete | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Dennis <jdennis> | ||||
Component: | python | Assignee: | James Antill <james.antill> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | james.antill, katzj | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-2.5.1-23.fc9 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-08 05:26:21 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
John Dennis
2008-03-07 22:03:03 UTC
Created attachment 297256 [details]
patch to export missing SO_* constants
FYI: bug #436564 has a patch showing what has to be done if the SO_PEERCRED constant is not exported. One has to determine all the arch specific values (gathered from the kernel source code), get the arch from uname() and then hardcode the constant based on the arch. Note that I just added these to Fedora, so I can't guarantee that they'll even get in upstream (and they certainly won't be in upstream for a while, at least). But then hasattr() is your friend :). I've tested python and random apps. I use ... and socket.SO_PEERCRED etc. is there. Any bugs, you know where to find me :). Thanks James for the quick response. |