site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Reading the launchd Getting Started doc I see: Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEdLMGedHYW7bHtqIRAsa+AJ9oqqUvyH65NNpWezZTxwylvaADlwCgm4oy z6iKf4FxCjuRvraH2cXH91E= =02b9 -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have a tool that loads a non-IOKit kext via executing kextload. For various reasons, using kextload directly from the launchd plist won't work (the tool does some pre and post processing). "The only things that are strictly prohibited, however, are fork()/ exit() combinations (including indirect methods, such as the daemon (3) library call)." I'm not forking a child of the tool, but of course my tool fork/ exec's kextload (and kextunload and possibly kextstat). When this happens, launchd starts spewing errors in system.log and re-spawning my tool. Is there anything I can do to work around this? Or do I just have to live with the spurious errors/respawns? This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand