Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-21 | bus: when filtering by sender take well known names lest from attached creds ↵ | Lennart Poettering | |
into account | |||
2013-12-19 | driverd: implement AddMatch/RemoveMatch logic | Lennart Poettering | |
2013-12-13 | bus: fix parsing of matches against empty strings | Lennart Poettering | |
2013-11-21 | bus: rework message handlers to always take an error argument | Lennart Poettering | |
Message handler callbacks can be simplified drastically if the dispatcher automatically replies to method calls if errors are returned. Thus: add an sd_bus_error argument to all message handlers. When we dispatch a message handler and it returns negative or a set sd_bus_error we send this as message error back to the client. This means errors returned by handlers by default are given back to clients instead of rippling all the way up to the event loop, which is desirable to make things robust. As a side-effect we can now easily turn the SELinux checks into normal function calls, since the method call dispatcher will generate the right error replies automatically now. Also, make sure we always pass the error structure to all property and method handlers as last argument to follow the usual style of passing variables for return values as last argument. | |||
2013-10-30 | bus: fix build | Lennart Poettering | |
2013-10-30 | bus: make sure we can match well-known names | Lennart Poettering | |
2013-10-13 | Never call qsort on potentially NULL arrays | Zbigniew Jędrzejewski-Szmek | |
This extends 62678ded 'efi: never call qsort on potentially NULL arrays' to all other places where qsort is used and it is not obvious that the count is non-zero. | |||
2013-08-22 | remove hasprefix(), use startswith() | Shawn Landden | |
2013-06-20 | Add hasprefix macro to check prefixes of fixed length | Zbigniew Jędrzejewski-Szmek | |
2013-05-20 | bus: calculate bloom filter for match | Lennart Poettering | |
Yay! Filtering using kernel bloom filter matches works now! Yippieh! | |||
2013-05-16 | bus: synthesize timeout message errors instead of returning error codes | Lennart Poettering | |
2013-04-14 | bus: always explicitly rewind read index before passing message to caller or ↵ | Lennart Poettering | |
callback | |||
2013-04-14 | bus: fix counting of argN= matches | Lennart Poettering | |
2013-04-12 | util: add wrapper for realloc to avoid specyfing type | Zbigniew Jędrzejewski-Szmek | |
2013-04-05 | bus: properly detect and handle if a callback is installed/removed from ↵ | Lennart Poettering | |
within a callback | |||
2013-03-31 | bus: s/sd_message_handler_t/sd_bus_message_handler_t/g | 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. |