`process_image()` is always called immediately before (almost) every `context_make_online()` or `context_make_offline()`, and the structures it allocates have the same lifetime as `Context`, so we might as well factor them all together to reduce duplication. This will also simplify the following commit, which changes heap allocation of `Context`s, and simplify upcoming changes to factor out `arg_*` handling. The call in `verb_pending_or_reboot()` is safe because it already validates that `arg_image` is `NULL`, hence `process_image()` will bail out early. This introduces no functional changes.
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
