Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-25 | bus: rename message "serial" to "cookie" | Lennart Poettering | |
Even if the lower-leveld dbus1 protocol calls it "serial", let's expose the word "cookie" for this instead, as this is what kdbus uses and since it doesn't imply monotonicity the same way "serial" does. | |||
2013-12-25 | bus: conditionally set cookie_reply/timeout and update kdbus.h | Kay Sievers | |
2013-12-25 | bus: set cookie_reply and update kdbus.h | Kay Sievers | |
2013-12-24 | bus: properly shift cgroup data returned from kdbus by the container's root ↵ | Lennart Poettering | |
before parsing | |||
2013-12-24 | bus: only accept kdbus creds if they are valid | Lennart Poettering | |
This allows userspace to fake kdbus creds via struct ucred in the proxy, without making the recieving side choke on the missing fields of the kdbus struct, more precisel pid_starttime and tid | |||
2013-12-24 | bus: fix hello ioctl buffer size calculation | Lennart Poettering | |
2013-12-24 | bus: make gcc shut up | Lennart Poettering | |
2013-12-24 | bus: fake client side creds in the proxy to the caller's creds | Lennart Poettering | |
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. |