Re: Kernel NKE projects user space daemon.
Re: Kernel NKE projects user space daemon.
- Subject: Re: Kernel NKE projects user space daemon.
- From: Stephane <email@hidden>
- Date: Wed, 4 Jan 2006 18:34:15 +0100
On Jan 4, 2006, at 5:58 PM, Mike Smith wrote:
On Jan 4, 2006, at 2:58 AM, Stephane Sudre wrote:
ps can still be wrong, but it is more likely to both be right and
to be maintained in such a fashion that it prints reasonable output.
I would say that ps is _always_ wrong when the process has been
launched using a relative path since a relative path can match
multiple absolute paths.
In this case, ps is no more wrong than anything else.
The KAuth API would give an absolute path AFAIK.
As for the suid thing, why not just used a StartupItem or a
launchd thing? Bootstrap context is usually the nirvana for daemon
needing to communicate with a kernel extension.
As Matt clearly pointed out, he needs to present UI to the user;
this can't be done legitimately from the bootstrap session. And it
doesn't help solve this problem.
This can be done from a bootstrap session. You just have to launch a
helper tool for the UI.
If the UI does not need to be really complex, you can also use a
CFUserNotification dialog.
_______________________________________________
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