Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-03 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
2013-12-02 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
2013-12-02 | busctl: add command to dump creds of a peer or pid | Lennart Poettering | |
(also, rename _SD_BUS_CREDS_MAX to _SD_BUX_CRED_ALL, since "MAX" so far was used to indicate one higher than the highest valid value, and this is not correct here.) | |||
2013-12-02 | bus: be nice to LLVM and don't embedd a VLA in a union | Lennart Poettering | |
2013-12-01 | bus: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2013-11-30 | bus: catch up with kdbus | Kay Sievers | |
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-29 | libsystemd-bus: sd_bus_request_name: use kdbus_translate_request_name_flags() | Daniel Mack | |
2013-11-29 | libsystemd-bus: add kdbus support for sd_bus_get_owner() | Daniel Mack | |
2013-11-29 | libsystemd-bus: factor out DBus bits out of sd_bus_get_owner() | Daniel Mack | |
Just a preparation for upcoming kdbus support. | |||
2013-11-29 | bus: fix size calculation for match data | Kay Sievers | |
2013-11-29 | kdbus: synthesize NameOwnerChange signals from kernel messages and support ↵ | Lennart Poettering | |
matches against NameOwnerChange | |||
2013-11-29 | libsystemd-bus: clean up bus-control.c file | Lukasz Skalski | |
2013-11-29 | libsystemd-bus: sd_bus_request_name: fix return value for kdbus | Daniel Mack | |
kdbus returns -EALREADY if the requesting connection is already the owner of a name, and -EEXIST if the name already exists and the connection is not able to take it over. Also, n->flags needs a translation as well to match the SD_BUS_* enum values. | |||
2013-11-29 | libsystemd-bus: make sd_bus_list_names return all connections, including ↵ | Daniel Mack | |
unique names | |||
2013-11-29 | libsystemd-bus: add kdbus support for sd_bus_list_names() | Daniel Mack | |
kdbus will tell us the minimum buffer size it needs in case the default 8kb buffer doesn't suffice. | |||
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-28 | bus: merge sd_bus_get_owner() and sd_bus_get_owner_creds() into one call | Lennart Poettering | |
Since the backing ioctl for this on kdbus is the same we retain atomicity this way. | |||
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-12 | bus: set no_auto_start flag for GetMachineId calls, so that we don't ↵ | Lennart Poettering | |
auto-start if we want to know the machine of a bus service | |||
2013-11-06 | bus: export libsystemd-bus as a public library | Zbigniew Jędrzejewski-Szmek | |
Old static libsystemd-bus.la becomes libsystemd-bus-internal.la. memfd functions are also exported in the same library. (Best viewed with --color-words -U0). | |||
2013-10-16 | timedated: use libsystemd-bus instead of libdbus for bus communication | Lennart Poettering | |
Among other things this also adds a few things necessary for the change: - Considerably more powerful error returning APIs in libsystemd-bus - Adapter for connecting an sd_bus to an sd_event - As I reworked the PolicyKit logic to the new library I also made it asynchronous, so that PolicyKit requests of one user cannot block out another user anymore. - We always use the macro names for common bus error. That way it is harder to mistype them since the compiler will notice | |||
2013-05-24 | bus: update kdbus.h from upstream | Kay Sievers | |
2013-05-20 | bus: add test for bloom filter prefix match | Lennart Poettering | |
2013-05-20 | bus: add a more comprehensive test for the bloom filter logic | 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: return ECHILD as soon as people try to reuse a bus connection across a ↵ | Lennart Poettering | |
fork() | |||
2013-04-23 | bus: add cal to determine machine id of an owner of a service | Lennart Poettering | |
2013-04-14 | util: introduce alloca0() and use it at a number of places | Lennart Poettering | |
2013-04-14 | kdbus: make name acquirement ioctls valgrind clean | Lennart Poettering | |
2013-04-13 | kdbus: update to newest kdbus API | Lennart Poettering | |
2013-04-12 | bus: implement basic name registration with kdbus | Lennart Poettering | |
2013-04-05 | bus: convert a couple of calls over to new convenience functions | Lennart Poettering | |
2013-03-31 | bus: parse matches locally and allow registration of callbacks for them | Lennart Poettering | |
This includes code to parse and split up match strings which will also be useful to calculate bloom filter masks when the time comes. | |||
2013-03-22 | bus: also finish connection before returning from sd_bus_get_unique_name() | Lennart Poettering | |
2013-03-21 | bus: implement full method call timeout logic | Lennart Poettering | |
2013-03-20 | bus: hook up client with socket communication | Lennart Poettering | |
2013-03-20 | bus: add basic implementation of a native bus client library | Lennart Poettering | |