diff options
author | Mike Yuan <me@yhndnzj.com> | 2023-05-11 18:55:43 +0800 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-05-12 16:21:44 +0800 |
commit | 2b680534c9667341551b39f4cc9735cd6e8c014e (patch) | |
tree | bd4724bb2b4ec082532b65885b175ccc4c0d5fc8 /src/core/manager.h | |
parent | bee6e755bb8e53a7a436e221b015ce0232ed87c0 (diff) | |
download | systemd-2b680534c9667341551b39f4cc9735cd6e8c014e.tar.gz |
Revert "core/manager: export manager_dbus_is_running" and partially "core: refuse dbus activation if dbus is not running"
This reverts commit e8863150653931ae2ffc91757623f179ce763628
and partially 53964fd26b4a01191609ffc064aa8ccccd28e377.
Specifically, changes to signal_activation_request()
is not desired.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/manager.h b/src/core/manager.h index 951d46222e..486eda11b6 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -504,11 +504,6 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free); int manager_startup(Manager *m, FILE *serialization, FDSet *fds, const char *root); -bool manager_dbus_is_running_full(Manager *m, bool deserialized); -static inline bool manager_dbus_is_running(Manager *m) { - return manager_dbus_is_running_full(m, false); -} - Job *manager_get_job(Manager *m, uint32_t id); Unit *manager_get_unit(Manager *m, const char *name); |