The kdbuswreck
The kdbuswreck
Posted Apr 23, 2015 23:04 UTC (Thu) by jspaleta (subscriber, #50639)In reply to: The kdbuswreck by drag
Parent article: The kdbuswreck
Here's my understanding that right now with the current patches
receiver decided if it needs to have caps info or not
sender decides if it wants to send over caps.
If they agree recv and sender get to talk via the bus. If they don't.. bus doesn't relay mesgs.
If in the future every single receiver and sender on the bus decided they no longer needed to care about caps they can just stop asking for that metadata to be sent over the bus. Right?
Posted Apr 23, 2015 23:23 UTC (Thu)
by dlang (guest, #313)
[Link] (2 responses)
This is one of the big reasons people are unhappy with kdbus, it locks a lot of dbus specific policies into the kernel API
The claim is that the only thing that should talk to it is libdbus, but we've already seen that such a policy doesn't work against the userspace dbus, so why would it work against kdbus?
Posted Apr 23, 2015 23:39 UTC (Thu)
by Cyberax (✭ supporter ✭, #52523)
[Link] (1 responses)
It all seems like a storm in a teacup, the current capabilities are used only for very special actions like rebooting or manipulation of system services. Basically, they are more-or-less a direct replacement of "if (sender_uid == 0)".
Posted Apr 30, 2015 10:17 UTC (Thu)
by metux-its (guest, #102293)
[Link]
Anybody noticed that we already have per-process namespaces ?
Why not just giving things like the shutdown/reboot service their
Anybody had a look at Plan9 ?
The kdbuswreck
The kdbuswreck
The kdbuswreck
Oh, and we've got file permission flags since aeons.
own communication channel (ie. socket), which is only made available
to certain users or processes ? Either via perms or mounts, or by
some key authentication ?
It really could be so simple ...