Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-21 | bus: always override message destination field with data from kdbus | Lennart Poettering | |
2013-12-21 | bus: always consider well-known names sender credentials as attached to messages | Lennart Poettering | |
2013-12-20 | bus: wrap KDBUS_CMD_BYEBYE with a high-level call sd_bus_try_close() | Lennart Poettering | |
2013-12-18 | bus: catch up with kdbus changes | Kay Sievers | |
2013-12-18 | bus: reduce calls to KDBUS_CMD_MEMFD_SIZE_SET ioctl | Lennart Poettering | |
Instead of calling it for each buffer append, increase allocation exponentially and set the real value only at the end, when sealing off the memfd. This should drastically reduce the number of times we invoke the ioctl(). | |||
2013-12-18 | bus: sync with kdbus | Daniel Mack | |
Two new things here: a) struct kdbus_notify_name_change now carries two struct kdbus_notify_id_change b) a new KDBUS_CMD_BYEBYE ioctl that has no user yet in systemd | |||
2013-12-17 | bus: sync with kdbus | Daniel Mack | |
kdbus_cmd_{ep,ns,bus}_make are now consolidated, and bloom_size has become an item of the dynamically sized list. | |||
2013-12-17 | bus: sync up with kdbus | Daniel Mack | |
2013-12-15 | bus: update kdbus monitoring interface | Kay Sievers | |
2013-12-13 | update TODO | Lennart Poettering | |
2013-12-12 | bus: update kdbus.h | Kay Sievers | |
2013-12-12 | bus: enforce endianess and marshalling for messages we send | Lennart Poettering | |
2013-12-12 | bus: add SD_BUS_NAME_REPLACE_EXISTING to all activatable services, fix one ↵ | Kay Sievers | |
flags conversion | |||
2013-12-12 | bus: instead of exposing the dbus1 flags when acquiring a name use our own ↵ | Lennart Poettering | |
that are closer to kdbus This turns around DO_NOT_QUEUE into QUEUE which implies a more useful default. (And negative options are awful anyway.) | |||
2013-12-12 | bus: properly generate NameOwnerChanged messages when we take from/give back ↵ | Lennart Poettering | |
to queue/starter | |||
2013-12-11 | bus: kdbus - skip only STARTER and IN_QUEUE names for NameOwnerChanged | Kay Sievers | |
2013-12-10 | bus: generate debug messages when we cannot deliver messages via kdbus | Lennart Poettering | |
2013-12-10 | bus: Add bus_kernel_monitor function | Lukasz Skalski | |
2013-12-10 | Revert "libsystemd-bus: use assert_return" | Lennart Poettering | |
This reverts commit f7e2bd5a8070ba86cba6bcbf7d1c9a8173d846d4. Most of these checks are not programming errors, but happen during normal runtime. For example bus_kernel_pop_memfd() is called all the time on non-kdbus systems and is supposed to quickly fail if kdbus is not available. However, assert_return() makes this failure expensive, and hence has no place here. With the most recent change to assert_return() it will even log a debug message, which should never happen here. | |||
2013-12-09 | libsystemd-bus: use assert_return | Lukasz Skalski | |
2013-12-10 | bus: only accept gvariant native endian messages via kdbus | Lennart Poettering | |
2013-12-09 | bus: demarshal gvariant | Lennart Poettering | |
2013-12-06 | bus: catch up with latest kdbus changes | Kay Sievers | |
2013-12-06 | bus: catch up with latest kdbus changes | Kay Sievers | |
2013-12-06 | bus: update kdbus.h | Kay Sievers | |
2013-12-05 | bus: switch to multiple KDBUS_ITEM_NAME including the flags | Kay Sievers | |
2013-12-03 | bus: internalize a lot of protocol definitions | Lennart Poettering | |
We shouldn export what isn't necessary or useful to clients, so let's add the protocol definitions we only need internally into a private header. | |||
2013-12-03 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
2013-12-02 | bus: add .busname unit type to implement kdbus-style bus activation | Lennart Poettering | |
2013-12-02 | bus: make sure we check for "incompatible" flags negotiated with kernel kdbus | Lennart Poettering | |
2013-12-02 | nspawn: make sure /dev/kdbus in the container is world accessible | Lennart Poettering | |
2013-12-02 | nspawn: make kdbus namespaces actually work | Lennart Poettering | |
2013-11-30 | nspawn: set up a kdbus namespace when starting a container | Lennart Poettering | |
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 | |