202
edits
Haftandilian (talk | contribs) (Grammar) |
Haftandilian (talk | contribs) (Added launchctl Info) |
||
| Line 102: | Line 102: | ||
2016 Aug 11 11:25:47 501 2743 plugin-container -1 2 /System/Library/Components/JavaScript.component/Contents/Resources/English.lproj | 2016 Aug 11 11:25:47 501 2743 plugin-container -1 2 /System/Library/Components/JavaScript.component/Contents/Resources/English.lproj | ||
... | ... | ||
</pre> | |||
= Use launchctl(1) To Learn About com.apple.* Daemons = | |||
You can use the launchctl(1) command to learn a bit about daemons and their associated mach services which may appear in the sandbox rules. For example, below we see com.apple.pasteboard.1 is a Mach service from com.apple.pboard. | |||
<pre> | |||
$ launchctl list | |||
PID Status Label | |||
- 0 com.apple.CoreAuthentication.daemon | |||
32729 0 com.apple.quicklook | |||
- 0 com.apple.parentalcontrols.check | |||
295 0 com.apple.Finder | |||
- 0 com.apple.PackageKit.InstallStatus | |||
- 0 com.apple.FontWorker | |||
319 0 com.apple.bird | |||
- 0 com.apple.familycontrols.useragent | |||
- 0 com.apple.aos.migrate | |||
- 0 com.apple.universalaccessAuthWarn | |||
328 0 com.apple.nsurlsessiond | |||
- 0 com.apple.syncservices.uihandler | |||
341 0 com.apple.iconservices.iconservicesagent | |||
- 0 com.apple.ManagedClientAgent.agent | |||
- 0 com.apple.screensharing.agent | |||
- 0 com.apple.TMHelperAgent.SetupOffer | |||
- 0 com.apple.AddressBook.SourceSync | |||
- 0 com.apple.familynotificationd | |||
384 0 com.apple.photolibraryd | |||
- 0 com.apple.cfnetwork.cfnetworkagent | |||
- 0 com.apple.xpc.otherbsd | |||
... | |||
$ launchctl list com.apple.pboard | |||
{ | |||
"EnableTransactions" = true; | |||
"LimitLoadToSessionType" = "Aqua"; | |||
"MachServices" = { | |||
"com.apple.pasteboard.1" = mach-port-object; | |||
}; | |||
"Label" = "com.apple.pboard"; | |||
"TimeOut" = 30; | |||
"OnDemand" = true; | |||
"LastExitStatus" = 0; | |||
"PID" = 299; | |||
"Program" = "/usr/sbin/pboard"; | |||
"ProgramArguments" = ( | |||
"/usr/sbin/pboard"; | |||
); | |||
}; | |||
</pre> | </pre> | ||
edits