QmpSlot now stores a back-reference to its QmpClient (mirroring sd_bus_slot) and is exposed as a public refcounted type via qmp_slot_ref/qmp_slot_unref. qmp_client_invoke() gains an optional QmpSlot **ret_slot out-parameter matching sd_bus_call_async(): passing non-NULL hands back a reference whose unref cancels the pending call (the callback is deregistered; a late reply is logged and discarded as unknown-id). Internally slots come in two flavours, following sd_bus's model: floating (owned by the client's pending set, used when ret_slot is NULL) and non-floating (ref held by the caller, slot holds a ref on the client). qmp_slot_disconnect() centralizes the teardown so the reply-dispatched, explicit-cancel, and client-teardown paths all converge on the same idempotent cleanup. qmp_client_call()'s sync slot is now non-floating and observes completion by watching slot->client go NULL instead of set_contains() on an id.
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS, and also repositories with packages built from the latest stable release
