[launchd-dev] How to update tool after using SMJobBless() ?

Thomas Clement thomascl at free.fr
Tue Oct 5 13:26:18 PDT 2010


>> On Oct 5, 2010, at 6:24 AM, Thomas Clement wrote:
>> 
>> Hello,
>> 
>> Once I have installed my privileged helper tool using SMJobBless(), how do I go about updating the tool?
>> Calling SMJobBless() again does not seem to overwrite the launchd plist nor the helper executable.
>> 
>> Thomas,
> 
> ServiceManagement will check the CFBundleVersion of the tool and, if it's the same (and if the code identity of the existing one is valid), will not overwrite it.
> -- 
> Damien Sorresso

Right, it does work as described :)

However I'm getting these logs:
kernel	CODE SIGNING: cs_invalid_page(0x1005cf000): p=1176[launchdadd] clearing CS_VALID
kernel	CODE SIGNING: cs_invalid_page(0x100000000): p=1177[com.myapp] clearing CS_VALID

Am I doing something wrong?


Thomas


More information about the launchd-dev mailing list