Launchd API documentation
site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com Is there *any* documentation for the launchd APIs? Any help would be appreciated, Todd _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... There is a fair amount of documentation regarding the philosophy of Apple's launchd service and how to set up the .plist and where to place them, but I couldn't find a lot of (or any) documentation on when and how we should use the APIs in launch.h. The reason I ask is that I wrote a simple network service written in C ++ that reads in input from cin, writes the information back out cout, and appends the same information in a file. It makes no assumptions about how it is started (i.e., via command line or as a network service). Everything works fine. BUT when I added a getauid() or setauid() to get/set Audit IDs I get very strange results. I need to figure out if I am doing something wrong by *not* calling the launchd APIs, or is there something wrong with the audit APIs. This email sent to site_archiver@lists.apple.com
participants (1)
-
Todd Heberlein