Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: The old task_for_pid question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The old task_for_pid question



On Feb 11, 2008, at 4:24 AM, Rainer Brockerhoff wrote:
A complementary question. F-Script Anywhere and a few other apps I found use, in their .plist, SecTaskAccess = allowed and ask the user to trust the included certificate.

The documentation for taskgated says:
Allow signed applications marked as "safe" to have free access to task ports, without having to pass an authorization check. Note that such callers must be marked both allowed and safe.

The SecTaskAllowed key seems to be a string. How can I set it to "both allowed and safe"? "allowed,safe", "allowed+safe" and "allowed/ safe" didn't work. Neither did changing it to an array of strings...

The proper idiom (in general) is an <array> of <string>s. However, as of Leopard GM, the "safe" marker requires an Apple signature, and is thus not available to third party developers. (In other words, Apple reserves the prompt-less version to itself. Yes, I realize the manpage doesn't say so; that decision was made a bit late.)


Cheers
-- perry
---------------------------------------------------------------------------
Perry The Cynic email@hidden
To a blind optimist, an optimistic realist must seem like an Accursed Cynic.
---------------------------------------------------------------------------




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >The old task_for_pid question (From: Rainer Brockerhoff <email@hidden>)
 >Re: The old task_for_pid question (From: Jens Alfke <email@hidden>)
 >Re: The old task_for_pid question (From: Rainer Brockerhoff <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.