Re: Authorization Question (Possibly a simple POSIX question?)
Re: Authorization Question (Possibly a simple POSIX question?)
- Subject: Re: Authorization Question (Possibly a simple POSIX question?)
- From: "Stephen J. Butler" <email@hidden>
- Date: Fri, 21 Aug 2009 02:27:45 -0500
On Fri, Aug 21, 2009 at 1:56 AM, Dave Keck<email@hidden> 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@hidden)
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:
This email sent to email@hidden