Re: IPC between daemon -> non root app?
Re: IPC between daemon -> non root app?
- Subject: Re: IPC between daemon -> non root app?
- From: Stephane Sudre <email@hidden>
- Date: Tue, 15 Nov 2005 17:40:32 +0100
On 15 Nov 2005, at 17:29, Philip Lukidis wrote:
Hello, I'm having problems establishing IPC communication between my
test
daemon and a non root app (which for now is a plugin). The means of
communication is CFMessagePort. My app has no problem sending data to
the
daemon, but my daemon cannot open a remote port which the application
created. When I run the daemon under my username (and is thus not run
under
root), the daemon can open the remote port which my app created with no
problems, and send notifications.
Does anyone have any idea what is behind this? Is it a matter of
permissions? How could this be overcome?
It's the usual "we do not share the same context problem".
AFAIK, you can not send a CFMessagePort from a (bootstrap) daemon to a
user land process.
Distributed notifications may be a solution (be sure to allow the
notification to walk through all user sessions), named pipes too or
socket probably.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden