Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-30 | bus: include unique and well known names in credentials object | Lennart Poettering | |
2013-11-30 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
The name list and query functions now work differently in kdbus, as the result is stored in the connection's pool, rather than being copied back through the ioctl buffer. That also safes us some logic, as we don't have to resize the communication buffer in a loop with growing buffer sizes. Due to this, KDBUS_CMD_MSG_RELEASE was renamed to KDBUS_CMD_FREE, as it is now used outside the message logic as well. | |||
2013-11-30 | core: allocate a kdbus bus for each systemd instance, if we can | Lennart Poettering | |
2013-11-30 | bus: synthesize local error reply when we cannot deliver a message to kdbus ↵ | Lennart Poettering | |
because the destination is unavailable | |||
2013-11-30 | bus: don't generate NameAcquired/NameLost messages in the library | Lennart Poettering | |
The signals appear entirely redundant due to NameOwnerChange, hence don't do them in the new library, instead leave them for the compatibility bridge only. Also, set the serial number for synthesized messages to (uint32_t) -1. | |||
2013-11-29 | bus: synthesize NameLost/NameAcquired from kernel messages on top if ↵ | Lennart Poettering | |
NameOwnerChange | |||
2013-11-29 | bus: fix callback index when dispatching kernel messages | Lennart Poettering | |
2013-11-29 | bus: add the ability for backends to queue to input messages at the same time | Lennart Poettering | |
We need this so that one incoming kernel message can result in two high-level bus messages, for the case where we synthesize NameAcquired and NameOwnerChanged in the same instance. | |||
2013-11-29 | libsystemd-bus: rename sd_bus_kernel_translate_request_name_flags | Daniel Mack | |
... to keep the namespace clean. | |||
2013-11-29 | libsystemd-bus: add sd_bus_translate_attach_flags() | Daniel Mack | |
Factor out code from sd_bus_negotiate_attach_creds() to a generic translate function, so it can be used from other places. | |||
2013-11-29 | kdbus: synthesize NameOwnerChange signals from kernel messages and support ↵ | Lennart Poettering | |
matches against NameOwnerChange | |||
2013-11-29 | libsystemd-bus: follow kdbus renames | Daniel Mack | |
kdbus now has more generic names for the items it passes around. That allows for usage from other contexts. | |||
2013-11-29 | libsystemd-bus: copy over kdbus provided 128-bit bus id | Daniel Mack | |
kdbus now copies the bus unique id back to userspace in the hello ioctl(). Use these bytes to set the server id of the sd_bus. | |||
2013-11-29 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
kdbus_cmd_hello now has a new uint64_t flags field for the requested attachments. Follow that change in libsystemd-bus. | |||
2013-11-29 | libsystemd-bus: kernel: add sd_bus_kernel_translate_request_name_flags | Daniel Mack | |
Flags used to request a name from kdbus are not identical to what DBus and sd_bus use internally. Introduce a simple function to do the translation for us. It's factored out to a separate function so the dbus-driver instance can make use of it as well. | |||
2013-11-29 | libsystemd-bus: bring definitions in sync with kdbus | Daniel Mack | |
In particular, KDBUS_ITEM_NEXT is now called KDBUS_PART_NEXT, and KDBUS_ITEM_FOREACH was renamed to KDBUS_PART_FOREACH and takes one more argument to make it more flexible. | |||
2013-11-29 | bus: Add KDBUS_MSG_SRC_NAMES to bus_kernel_make_message() function | Lukasz Skalski | |
2013-11-28 | bus: add new sd_bus_creds object to encapsulate process credentials | Lennart Poettering | |
This way we can unify handling of credentials that are attached to messages, or can be queried for bus name owners or connection peers. This also adds the ability to extend incomplete credential information with data from /proc, Also, provide a convenience call that will automatically determine the most appropriate credential object for an incoming message, by using the the attached information if possible, the sending name information if available and otherwise the peer's credentials. | |||
2013-11-21 | bus: let's simplify things by getting rid of unnecessary bus parameters | Lennart Poettering | |
2013-07-22 | bus: update for kdbus changes | Kay Sievers | |
2013-06-04 | bus: unmap memfd retrieved from the memfd cache | Kay Sievers | |
2013-05-30 | bus: update for kdbus changes | Kay Sievers | |
2013-05-29 | bus: when adding memfds to cache and we shorten them, make sure to unmap the ↵ | Lennart Poettering | |
remainder | |||
2013-05-22 | bus: add benchmark tool to determine the right threshold for copying vs. memfd | Lennart Poettering | |
2013-05-20 | bus: add test for bloom filter prefix match | Lennart Poettering | |
2013-05-20 | bus: calculate bloom filter for match | Lennart Poettering | |
Yay! Filtering using kernel bloom filter matches works now! Yippieh! | |||
2013-05-17 | bus: do not pass a pointer but a uint64_t address in RECV | Kay Sievers | |
2013-05-17 | bus: add APIs for negotiating what is attached to messages | Lennart Poettering | |
2013-05-17 | bus: add minimal locking around the memfd cache | Lennart Poettering | |
We want to allow clients to process an sd_bus_message on a different thread than it was received on. Since unreffing a bus message might readd some of its memfds to the memfd cache add some minimal locking around the cache. | |||
2013-05-17 | bus: actually unmap kdbus pool after use | Lennart Poettering | |
2013-05-16 | bus: send memfds as payload only on directed messages and for large parts | Lennart Poettering | |
2013-05-16 | bus: implement receiving side of memfd hookup | Lennart Poettering | |
2013-05-16 | bus: put together messages with memfd payload correctly | Lennart Poettering | |
2013-05-15 | bus: add support for adding memfds into message payload | Lennart Poettering | |
2013-05-15 | bus: rework message struct to keep header with fields in same malloc() block | Lennart Poettering | |
This allows us to guarantee that the first payload_vec we pass to the kernel for each message is guaranteed to include the full header and all its field. | |||
2013-05-15 | bus: add macro for iterating through body parts of a message | Lennart Poettering | |
2013-05-14 | bus: fix allocation of body parts from memfd | Lennart Poettering | |
2013-05-14 | bus: properly handle message bodies that are a chain of memory areas rather ↵ | Lennart Poettering | |
than a single one | |||
2013-05-14 | bus: add and use UINT64_TO_PTR() | Kay Sievers | |
2013-05-12 | bus: remove KDBUS_MAKE_ACCESS_WORLD, remove (n_payload > 2) check | Kay Sievers | |
KDBUS_MAKE_ACCESS_WORLD is no longer needed, the kernel creates the kdbus device node with the uid/gid of the caller now. | |||
2013-05-10 | bus: fix test-bus-memfd | Kay Sievers | |
2013-05-10 | bus: catch up with latest kdbus | Lennart Poettering | |
2013-05-02 | kdbus: update kdbus.h from upstream | Kay Sievers | |
2013-05-02 | kdbus: update kdbus.h from upstream | Kay Sievers | |
2013-04-30 | kdbus: update kdbus.h from upstream | Kay Sievers | |
2013-04-25 | bus: avoid gcc warning about casting a pointer to int of different size | Zbigniew Jędrzejewski-Szmek | |
2013-04-23 | bus: parse capability kdbus meta data of messages | Lennart Poettering | |
2013-04-22 | bus: parse audit metadata from kdbus messages | Lennart Poettering | |
2013-04-21 | bus: implement client logic for fd passing | Lennart Poettering | |
2013-04-18 | bus: catch up with kernel changes | Kay Sievers | |