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.

classification
Title: sendmsg operation for unix sockets
Type: enhancement Stage:
Components: None Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: sendmsg() and recvmsg() for C socket module
View: 1194378
Assigned To: Nosy List: loewis, phr
Priority: normal Keywords:

Created on 2003-09-29 19:58 by phr, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Messages (3)
msg61124 - (view) Author: paul rubin (phr) Date: 2003-09-29 19:58
The socket module doesn't seem to support the sendmsg 
operation for AF_UNIX sockets, at least in Python 2.2.2 
under Linux.  This is needed to send ancillary messages 
to sockets.  Those in turn allow a process to see the 
user id of its peer, allows sending file descriptors to 
other processes (needed for anything like User Mode 
Linux so that non-root processes can open privileged 
ports), and so forth.  
msg61125 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-10-20 21:02
Logged In: YES 
user_id=21627

Would you like to work on a patch?
msg61126 - (view) Author: paul rubin (phr) Date: 2003-11-13 20:42
Logged In: YES 
user_id=72053

I may see about putting a patch together but don't hold your 
breath.  Main purpose of this RFE is to track the item.  It's 
not urgent for me right now.
History
Date User Action Args
2022-04-10 16:11:29adminsetgithub: 39333
2008-05-21 07:30:13georg.brandlsetstatus: open -> closed
resolution: duplicate
superseder: sendmsg() and recvmsg() for C socket module
2003-09-29 19:58:43phrcreate