
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2016-05-02 14:29 bychristian.heimes, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| Add-SO_-socket-constants.patch | christian.heimes,2016-08-20 19:06 | review | ||
| Messages (6) | |||
|---|---|---|---|
| msg264649 -(view) | Author: Christian Heimes (christian.heimes)*![]() | Date: 2016-05-02 14:29 | |
The socket doesn't expose some constants for getsockopt() and setsockopt():Get domain and protocol from socket fdSO_DOMAINSO_PROTOCOLenable/disable passing of credentialsSO_PASSCREDget security context (SELinux context)SO_PEERSECenable/disable passing of security contextSO_PASSSEC | |||
| msg269200 -(view) | Author: Neil Schemenauer (nascheme)*![]() | Date: 2016-06-24 17:23 | |
Issue#27377 adds these constants. | |||
| msg269217 -(view) | Author: Martin Panter (martin.panter)*![]() | Date: 2016-06-25 02:14 | |
SO_PASSCRED was added to Python 3.3 as part ofIssue 6560; it is just missing documentation. | |||
| msg273241 -(view) | Author: Christian Heimes (christian.heimes)*![]() | Date: 2016-08-20 19:06 | |
The attached patch adds SO_DOMAIN, SO_PROTOCOL, SO_PEERSEC and SO_PASSSEC. I'd like to get the constants into the stdlib in case Neil's patch won't make it into 3.6. | |||
| msg273251 -(view) | Author: Martin Panter (martin.panter)*![]() | Date: 2016-08-20 22:54 | |
Patch looks fine to me. | |||
| msg273529 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2016-08-24 01:12 | |
New changeseted5f5d490490 by R David Murray in branch 'default':#26907: add some missing getsockopt constants.https://hg.python.org/cpython/rev/ed5f5d490490 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:30 | admin | set | github: 71094 |
| 2016-08-24 01:13:23 | r.david.murray | set | status: open -> closed resolution: fixed stage: commit review -> resolved |
| 2016-08-24 01:12:54 | python-dev | set | nosy: +python-dev messages: +msg273529 |
| 2016-08-20 22:54:26 | martin.panter | set | messages: +msg273251 stage: commit review |
| 2016-08-20 19:06:28 | christian.heimes | set | files: +Add-SO_-socket-constants.patch keywords: +patch messages: +msg273241 |
| 2016-06-25 02:14:02 | martin.panter | set | nosy: +martin.panter messages: +msg269217 |
| 2016-06-24 17:23:20 | nascheme | set | nosy: +nascheme messages: +msg269200 |
| 2016-06-12 11:22:07 | christian.heimes | set | assignee:christian.heimes -> |
| 2016-05-02 14:29:23 | christian.heimes | create | |