Re: Does sendmsg only work on AF_UNIX sockets?
Re: Does sendmsg only work on AF_UNIX sockets?
- Subject: Re: Does sendmsg only work on AF_UNIX sockets?
- From: Dave Camp <email@hidden>
- Date: Thu, 13 Nov 2008 01:05:40 -0800
On Nov 12, 2008, at 4:12 PM, james woodyatt wrote:
On Nov 12, 2008, at 15:48, Dave Camp wrote:
Just to confirm, that was the source of my question... I've got two
unrelated processes (not a parent/child relationship), neither can
write to a common part of the file system and I want to pass a file
descriptor from one to the other. My research was showing there
wasn't a way to do it, but I thought I'd ask anyway.
How is it possible that one or both of your processes do not have
rwx permissions on the /tmp directory? Did you do something with
chroot(8) that you're not telling us? If so, then Don't Do That.
Make sure the processes a have a common path to an AF_UNIX socket
where you can pass file descriptors between them.
It's on a iPhone, that's how.
I didn't mention it because it wasn't relevant to the general question
of "is AF_UNIX the only way to pass a file descriptor"... I apologize
if that made your brain hurt.:-)
Thanks,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden