• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IPC between daemon -> non root app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >IPC between daemon -> non root app? (From: Philip Lukidis <email@hidden>)

  • Prev by Date: IPC between daemon -> non root app?
  • Next by Date: Re: IPC between daemon -> non root app?
  • Previous by thread: IPC between daemon -> non root app?
  • Next by thread: Re: IPC between daemon -> non root app?
  • Index(es):
    • Date
    • Thread