Re: loading kext from a daemon program
Re: loading kext from a daemon program
- Subject: Re: loading kext from a daemon program
- From: Michael Smith <email@hidden>
- Date: Fri, 5 May 2006 11:54:48 -0700
On May 5, 2006, at 2:44 AM, Quinn wrote:
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.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden