Re: loading kext from a daemon program
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On May 5, 2006, at 2:44 AM, Quinn wrote: = Mike _______________________________________________ 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... At 13:33 -0700 4/5/06, Terry Lambert wrote: Alternately, the fork()/exec()/wait() is encapsulated for you as well, if you use the system() library routine. Although I'm always leery of using "system" from a privileged program, like a daemon. This is mostly relevant when the program is setuid (where a potentially malicious caller can set up a specific environment to cause problems), but I take the overly cautious route and avoid it in any privileged program. I'm with Quinn here. System(3) belongs with gets(3) in that pile of tools that you never, ever use. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith