• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debugging a privileged helper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging a privileged helper


  • Subject: Re: Debugging a privileged helper
  • From: John Brownie <email@hidden>
  • Date: Fri, 27 Jan 2017 13:18:27 +0200

Stephane Sudre wrote:
Have you tried removing the Program entry?
That's produced, as far as I can tell, by the SMJobBless process. The file I pass is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.sil.KLMHelper</string>
<key>MachServices</key>
<dict>
<key>org.sil.KLMHelper</key>
<true/>
</dict>
</dict>
</plist>

It's added to the binary with the linker flag -sectcreate __TEXT __launchd_plist (path to the file). The launchd plist is exactly analogous to the tool that is already working, just the identifiers changed.
--
John Brownie
In Finland on furlough from SIL Papua New Guinea
_______________________________________________

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


References: 
 >Debugging a privileged helper (From: John Brownie <email@hidden>)
 >Re: Debugging a privileged helper (From: Damien DeVille <email@hidden>)
 >Re: Debugging a privileged helper (From: John Brownie <email@hidden>)

  • Prev by Date: Re: setFontManagerFactory:
  • Next by Date: Re: setFontManagerFactory:
  • Previous by thread: Re: Debugging a privileged helper
  • Next by thread: setFontManagerFactory:
  • Index(es):
    • Date
    • Thread