sd-bus: introduce API for re-enqueuing incoming messages
When authorizing via PolicyKit we want to process incoming method calls
twice: once to process and figure out that we need PK authentication,
and a second time after we aquired PK authentication to actually execute
the operation. With this new call sd_bus_enqueue_for_read() we have a
way to put an incoming message back into the read queue for this
purpose.
This might have other uses too, for example debugging.
(Resolve build error from cherry-pick) In libsystemd.sym, removed
unnecessary symbols:
LIBSYSTEMD_245 {
global:
sd_bus_enqueue_for_read;
- sd_bus_message_dump;
- sd_bus_message_sensitive;
- sd_event_add_child_pidfd;
- sd_event_source_get_child_pidfd;
- sd_event_source_get_child_pidfd_own;
- sd_event_source_set_child_pidfd_own;
- sd_event_source_get_child_process_own;
- sd_event_source_set_child_process_own;
- sd_event_source_send_child_signal;
- sd_journal_open_namespace;
} LIBSYSTEMD_243;
Origin: upstream, https://github.com/systemd/systemd/commit/
1068447e6954dc6ce52f099ed174c442cb89ed54
Change-Id: Iad04610bf0b50be04bc870c7fc42b1d9c991cfa2
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>