[issue13777] socket: communicating with Mac OS X KEXT controls

2012-01-12 Thread Michael Goderbauer

New submission from Michael Goderbauer :

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

--
components: Extension Modules
files: kext.patch
keywords: patch
messages: 151145
nosy: goderbauer
priority: normal
severity: normal
status: open
title: socket: communicating with Mac OS X KEXT controls
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file24220/kext.patch

___
Python tracker 
<http://bugs.python.org/issue13777>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13777] socket: communicating with Mac OS X KEXT controls

2012-02-03 Thread Michael Goderbauer

Michael Goderbauer  added the comment:

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.

--
Added file: http://bugs.python.org/file24410/patch2.patch

___
Python tracker 
<http://bugs.python.org/issue13777>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com