Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-05 | Fix format string mismatch introduced in ab9001a1 | Michael Scherer | |
src/libsystemd-bus/sd-bus.c: In function 'sd_bus_open_user': src/libsystemd-bus/sd-bus.c:1104:25: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'long unsigned int' [-Wformat=] asprintf(&b->address, UNIX_USER_BUS_FMT, (unsigned long) getuid()); | |||
2014-01-05 | bus: open user, not system, bus in bus_open_user_systemd() | Mantas Mikulėnas | |
2014-01-05 | man: document some more bus functions | Zbigniew Jędrzejewski-Szmek | |
2014-01-04 | sd-event: add missing symbol, sd_event_source_set_io_fd | Dave Reisner | |
This appears to have been omitted in 30caf8f3afd29da8 when the the function was added. | |||
2014-01-04 | man: document a batch of bus functions | Zbigniew Jędrzejewski-Szmek | |
2014-01-02 | bus: fix memleak in sd_bus_creds_new_from_pid | Zbigniew Jędrzejewski-Szmek | |
2014-01-02 | Introduce cleanup functions for cap_free | Zbigniew Jędrzejewski-Szmek | |
Unfortunately a different cleanup function is necessary per type, because cap_t** and char** are incompatible with void**. | |||
2014-01-02 | bus: break reference cycle between bus and messages | Zbigniew Jędrzejewski-Szmek | |
Because messages in the read and write queues hold a reference on the bus, and the bus holds a reference on each of them, we would never free the bus if the read or write queues were not empty. Explicitly substract the number of messages in those queue from the bus reference count when deciding whether to free or not. A simple test which creates and unrefs simple objects is added. | |||
2014-01-02 | Move bus path definitions to def.h | Zbigniew Jędrzejewski-Szmek | |
2013-12-31 | build-sys: make test output a bit nicer | Zbigniew Jędrzejewski-Szmek | |
2013-12-27 | bus: fix running tests in parallel | Zbigniew Jędrzejewski-Szmek | |
2013-12-27 | bus: PORTING-DBUS1: fix user bus path | Mantas Mikulėnas | |
2013-12-27 | bus: PORTING-DBUS1 typo fixes | Thomas Hindoe Paaboel Andersen | |
2013-12-27 | bus: PORTING-DBUS1 clarify pool size value | Kay Sievers | |
2013-12-27 | bus: PORTING-DBUS1 update | Kay Sievers | |
2013-12-27 | bus: update PORTING-DBUS1 | Kay Sievers | |
2013-12-27 | bus: actually, the kernel does enforce validity of bus names... | Lennart Poettering | |
2013-12-27 | bus: explain obsoletion of dbus1 .service files | Lennart Poettering | |
2013-12-27 | bus: refuse invalid names from kbus meta data | Lennart Poettering | |
2013-12-27 | bus: add some preliminary docs for porting existing dbus1 client libraries ↵ | Lennart Poettering | |
to kdbus | |||
2013-12-26 | bus: update kdbus.h | Kay Sievers | |
2013-12-26 | bus: always show messages we send | Lennart Poettering | |
2013-12-26 | bus: don't process Peer interface messages in the proxy | Lennart Poettering | |
2013-12-26 | bus: make system bus kdbus node world-accessible | Lennart Poettering | |
2013-12-25 | bus: add a bit of pure/const decorators | Lennart Poettering | |
2013-12-25 | man: document sd_bus_message_get_cookie() | Lennart Poettering | |
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: update kdbus.h | Kay Sievers | |
2013-12-25 | bus: set cookie_reply and update kdbus.h | Kay Sievers | |
2013-12-25 | bus: also write debug logs about messages we send | Lennart Poettering | |
2013-12-25 | bus: be a bit more verbose when debug mode is on | Lennart Poettering | |
2013-12-24 | bus: properly shift cgroup data returned from kdbus by the container's root ↵ | Lennart Poettering | |
before parsing | |||
2013-12-24 | busctl: show service/session a name belongs to in the list of names | Lennart Poettering | |
Also, don't show machine name by default as this might cause timeouts on non-responding peers. | |||
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 | util: unify SO_PEERCRED/SO_PEERSEC invocations | Lennart Poettering | |
Introduce new call getpeercred() which internally just uses SO_PEERCRED but checks if the returned data is actually useful due to namespace quirks. | |||
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-24 | bus: allow peeking signatures recusively inside of containers | Lennart Poettering | |
Previously we invalidated the peeked signature as soon as the caller would recurse into a container, making stack based handling difficult. With this change we will keep the peeked signature around until the user advances to the next field. | |||
2013-12-23 | bus: fix assert when serializing fixed size struct to gvariant | Lennart Poettering | |
2013-12-23 | bus: don't attach KDBUS_ITEM_ID to match ioctl() if we don't need it | Lennart Poettering | |
2013-12-23 | bus: fix sender match creation on kdbus | Lennart Poettering | |
2013-12-23 | sd-event: make sd_event_add_signal() fail with EBUSY if signal is not blocked | Lennart Poettering | |
2013-12-23 | sd-event: fix return code of sd_event_run() | Lennart Poettering | |
2013-12-23 | bus: update kdbus.h | Kay Sievers | |
2013-12-23 | bus: when getting a kdbus connection into a container wait first for child, ↵ | Lennart Poettering | |
then read message There's no EOF generated for AF_UNIX/SOCK_DGRAM sockets, hence let's wait for the child first to see if it succeeded, only then read the socket. | |||
2013-12-23 | bus: when we are connected to a bus, then do not assume peer creds are ↵ | Lennart Poettering | |
useful as message creds | |||
2013-12-23 | bus: make sure sd_bus_emit_properties_changed_strv() doesn't return ENOENT ↵ | Lennart Poettering | |
if no properties with a change flag are in the interface | |||
2013-12-23 | bus: write debug message when we get a method call we cannot handle | Lennart Poettering | |