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 2012年01月12日 18:16 by goderbauer, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| kext.patch | goderbauer, 2012年01月12日 18:16 | Patch to support KEXT Controls | review | |
| patch2.patch | goderbauer, 2012年02月03日 16:33 | review | ||
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 4145 | python-dev, 2017年11月06日 13:06 | ||
| Messages (6) | |||
|---|---|---|---|
| msg151145 - (view) | Author: Michael Goderbauer (goderbauer) * | Date: 2012年01月12日 18:16 | |
Mac OS X provides a socket-based API to communicate with Kernel Extensions (KEXTs) called "KEXT Controls". For this, Mac OS X defines PF_SYSTEM as a new socket domain which supports the SYSPROTO_CONTROL protocol. Right now the PF_SYSTEM domain and the SYSPROTO_CONTROL protocol are not supported by Python's socket module. I am attaching a patch that introduces support for both. More information on KEXT Controls can be found here: http://developer.apple.com/library/mac/documentation/Darwin/Conceptual/NKEConceptual/control/control.html |
|||
| msg152526 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2012年02月03日 15:52 | |
The patch fails to apply in configure.in. Can you please regenerate it? |
|||
| msg152529 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2012年02月03日 15:58 | |
Also: Can you propose test cases for this socket family? |
|||
| msg152538 - (view) | Author: Michael Goderbauer (goderbauer) * | Date: 2012年02月03日 16:33 | |
Here is the regenerated patch. To write a test case I would need a PF_SYSTEM socket to connect to. As far as I know Mac OS X doesn't provide a demo socket for this. |
|||
| msg152539 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年02月03日 16:45 | |
New changeset aa3680d2c24d by Martin v. Löwis in branch 'default': Issue #13777: Add PF_SYSTEM sockets on OS X. http://hg.python.org/cpython/rev/aa3680d2c24d |
|||
| msg152540 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2012年02月03日 16:46 | |
Thanks for the patch. Committed with an additional fix in refcounting. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:25 | admin | set | github: 57986 |
| 2017年11月06日 13:06:34 | python-dev | set | pull_requests: + pull_request4255 |
| 2012年02月03日 16:46:12 | loewis | set | status: open -> closed resolution: fixed messages: + msg152540 |
| 2012年02月03日 16:45:07 | python-dev | set | nosy:
+ python-dev messages: + msg152539 |
| 2012年02月03日 16:33:24 | goderbauer | set | files:
+ patch2.patch messages: + msg152538 |
| 2012年02月03日 15:58:53 | loewis | set | messages: + msg152529 |
| 2012年02月03日 15:52:08 | loewis | set | nosy:
+ loewis messages: + msg152526 |
| 2012年01月12日 19:11:56 | rosslagerwall | set | nosy:
+ ronaldoussoren, ned.deily |
| 2012年01月12日 18:16:31 | goderbauer | create | |