This repository was archived by the owner on Aug 10, 2021. It is now read-only.
Tags: systemd/linux
Tags
kdbus updates for Greg * Drop unused features. This includes KDBUS_MSG_MAX_ITEMS, required attach flags on buses and filtering oneself on broadcasts. Those were all unused and I haven't seen any code using them now. As there is no need for them, drop support for them. We do _not_ break ABI, so old code still works. But we lack support for those features now. If anything turns up, we might have to revert these. But I really doubt that. * Namespaces are now pinned on kdbus_conn. This was triggered by a discussion with Eric regarding UDS on LKML: http://www.spinics.net/lists/netdev/msg329322.html We now follow the suggestion of Eric and pin namespaces. See the commit message of c2bc012 for details. * Full rewrite of the message importer (parsing user-passed message and prep'ing it before copying into the target pool). This was done to reduce the number of calls into shmem, as those showed up a lot on benchmarks. This rewrite makes up most of this PR and reduces overhead of message transactions by roughly 40%. More optimizations are underway. * We now support MATCH rules on the destination ID. This is supported by dbus1 but we never really needed it. But as it turns out, the bus-proxy now needs it to support unicast-signal-compatibility with dbus1. * We now extended the metadata retrieval to support the discussed /proc-style access restrictions. This basically makes sure that we only transmit metadata that was explicitly allowed by the sender, or which the receiver has _actual_ access to via procfs of its own pid-namespace. * Miscellaneous fixes and cleanups (from mailing-list and myself).
PreviousNext