This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2016年05月02日 14:29 by christian.heimes, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| 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) * (Python committer) | Date: 2016年05月02日 14:29 | |
The socket doesn't expose some constants for getsockopt() and setsockopt(): Get domain and protocol from socket fd SO_DOMAIN SO_PROTOCOL enable/disable passing of credentials SO_PASSCRED get security context (SELinux context) SO_PEERSEC enable/disable passing of security context SO_PASSSEC |
|||
| msg269200 - (view) | Author: Neil Schemenauer (nascheme) * (Python committer) | Date: 2016年06月24日 17:23 | |
Issue #27377 adds these constants. |
|||
| msg269217 - (view) | Author: Martin Panter (martin.panter) * (Python committer) | Date: 2016年06月25日 02:14 | |
SO_PASSCRED was added to Python 3.3 as part of Issue 6560; it is just missing documentation. |
|||
| msg273241 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | 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) * (Python committer) | Date: 2016年08月20日 22:54 | |
Patch looks fine to me. |
|||
| msg273529 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年08月24日 01:12 | |
New changeset ed5f5d490490 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 | |