How to use dbus as the IPC sync method in different IPC namespace

Marcel Holtmann marcel at holtmann.org
Wed Jan 4 07:42:04 PST 2012


Hi Simon,

> >    I have an App running  in its own IPC name space for isolation purpose,
> >    and now I need to do IPC sync with App(which is known as UX)
> > running in another IPC namespace  for UI display sync.
> 
> If D-Bus still works in this situation, you could argue that this is a serious
> bug in your IPC namespacing :-)
> 
> D-Bus normally uses abstract Unix sockets (on platforms that support them -
> Linux and possibly others), normal path-based Unix sockets (on other Unix
> platforms)

actually it uses path-based Unix sockets for at least the system bus
(even on Linux). Otherwise you have a serious security issue with
ownership permissions of the socket.

Regards

Marcel




More information about the dbus mailing list