shared/bus-util: drop trusted annotation from bus_open_system_watch_bind_with_descrip...
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 27 Aug 2019 17:00:34 +0000 (19:00 +0200)
committerAdrian Bunk <bunk@debian.org>
Thu, 29 Jun 2023 13:57:02 +0000 (14:57 +0100)
commite998c2467b85dc6c68684f8bb492322730d6d9da
treed13e84355a30d0e84ea0a9e92423048a65201286
parent0c06c1b608e4caebcb1427da19e2f7f921218fe3
shared/bus-util: drop trusted annotation from bus_open_system_watch_bind_with_description()

https://bugzilla.redhat.com/show_bug.cgi?id=1746057

This only affects systemd-resolved. bus_open_system_watch_bind_with_description()
is also used in timesyncd, but it has no methods, only read-only properties, and
in networkd, but it annotates all methods with SD_BUS_VTABLE_UNPRIVILEGED and does
polkit checks.

(cherry picked from commit 35e528018f315798d3bffcb592b32a0d8f5162bd)

Gbp-Pq: Name shared-bus-util-drop-trusted-annotation-from-bus_open_sys.patch
src/shared/bus-util.c