Thanks, Kyle. Isn't there really a way to do the work in the same process? It seems quite tedious to transfer my existing directory-scanning code into a separate process and set up the communication between the processes...
On Thu, Apr 9, 2009 at 5:59 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote: > On Thu, Apr 9, 2009 at 9:54 AM, Oleg Krupnov <oleg.krup...@gmail.com> wrote: >> Now I am puzzled what do I do next? How do I use this authorization >> reference, how do I pass it to the file manipulation functions? > > You spawn a setuid root process to do the work. See the > BetterAuthorizationSample for more: > http://developer.apple.com/SampleCode/BetterAuthorizationSample/index.html > > --Kyle Sluder > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com