Re: IPC between daemon -> non root app?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 15 Nov 2005, at 17:29, Philip Lukidis wrote: 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". _______________________________________________ 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... 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. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre