task_for_pid() and code signing
task_for_pid() and code signing
- Subject: task_for_pid() and code signing
- From: Mark Feldman <email@hidden>
- Date: Fri, 16 Nov 2007 05:19:28 -0800 (PST)
Hi all,
I'm trying to use task_for_pid() in darwin 9.0 (using
leopard) I found that taskgated controls the access to
this call and currently it allows the old security
mechanism (belonging to the "procmod" group) to work.
The new security mechanism is to to create the
SecTaskAccess key in Info.plist and sign my code.
The problem I'm hoping someone can help me with is how
to produce a signed command line tool (no Info.plist)
that can call task_for_pid (of course without using
the old security mechanism). Is there a way to embed
the SecTaskAccess key, normally in Info.plist in the
executable itself?
Many thanks!
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden