Unix domain sockets / IPC - how to get remote process/user id?

Paul Rubin http
Mon Feb 9 21:08:01 EST 2004


Jeff Epler <jepler at unpythonic.net> writes:

> On Mon, Feb 09, 2004 at 03:39:34PM -0800, Fossie wrote:
> > So, for my question: What are my options? I cannot believe I am the
> > first with this problem. Preferable, only standard python packages
> > should be used.
> 
> My Linux manpage for unix(7) indicates that SCM_RIGHTS is not portable.
> (I am not 100% sure this is what you're talking about, because it's
> nothing I've ever done before) In any case, I looked but didn't find an
> implementation of the needed sendmsg(2) .. I found only this:
> 	https://sourceforge.net/tracker/?func=detail&atid=355470&aid=814689&group_id=5470

Yes, that is the right way to do it, with a patch as suggested in that
bug report.



More information about the Python-list mailing list