]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: allow unset pidref in manager_log_caller 41236/head
authorMichael Vogt <michael@amutable.com>
Sat, 21 Mar 2026 21:36:20 +0000 (22:36 +0100)
committerMichael Vogt <michael@amutable.com>
Sat, 21 Mar 2026 21:40:52 +0000 (22:40 +0100)
commit114c89cc9437bf9793295cf0beee92148844c845
treec4dded34ff20073d4444caa9c58f798fcdecb5ab
parent955115546c2bd23cb5ae19ca04ebc4b4bfa235ec
core: allow unset pidref in manager_log_caller

This commit allows unset pidref when calling manager_log_caller().
With that we can log manager calls even if we cannot resolve the
caller. Currently when we cannot resolve the caller we are just
not logging anything. With this commit we at least log the call
(even though we don't know what caller it was).

Thanks to keszybz for the suggestion.
src/core/manager.c
src/core/varlink-manager.c