DBus in the kernel?
Kimmo Hämäläinen
kimmo.hamalainen at nokia.com
Tue Jan 5 05:56:49 PST 2010
On Tue, 2010-01-05 at 14:44 +0100, ext Lennart Poettering wrote:
...
> All-userspace shm implementatins are immensly hard to get right in a
> safe way: if you use SHM a rogue participant can always truncate the
> memory segment triggering a SIGBUS on the other side when it acesses
> the region. SIGBUS could be handled but you really dont want to do
> that from a library.
>
> I don't think it would be worth doing userspace zero-copy. I did it
> for the PulseAudio transport, and I can say it is a nightmare and only
> is safe as long as you can trust both sides.
Ok, I forgot about this one, since Nokia hasn't been interested on
multi-user cell phones :)
I guess it's good to try kernel D-Bus out, the kernel is evolving thing
anyway.
-Kimmo
More information about the dbus
mailing list