On Fri, Aug 21, 2009 at 1:56 AM, Dave Keck<[email protected]> wrote: > File descriptors can be passed between processes using the sendmsg() API. > > If you have further questions about that, I'd suggest taking this > question to darwin-dev.
Also, the MoreIsBetter samples include MoreSecurity which helps you write helper tools (I think it depends on MoreUNIX and MoreCFQ). In this mode, you pass commands and data back and forth using CFDictionary. And one of the supported keys let's you pass... file descriptors! I don't know, however, if this works around the bug Dave Keck linked to (but it shouldn't be too hard to modify the code). <http://developer.apple.com/samplecode/MoreIsBetter/listing196.html> _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
