shared: split out polkit stuff from bus-util.c → bus-polkit.c 78/288078/1
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Jan 2020 10:39:22 +0000 (11:39 +0100)
committerYoungjae Cho <y0.cho@samsung.com>
Fri, 10 Feb 2023 07:48:06 +0000 (16:48 +0900)
commit55a42a4070706e7a032fca5fdbc61114addc950b
tree833613061992de5302c8ee5ef523cd8603dfc3aa
parentf6baf81131f3f3d5d992f6ee2200e0c40a0adb64
shared: split out polkit stuff from bus-util.c → bus-polkit.c

It's enough, complex stuff to warrant its own source file.

No other changes, just splitting out.

(Resolve build error from cherry-pick) In bus-util.c, leave fd-util.h
and proc-cmdline.h for code preprocessed by ENABLE_KDBUS macro.
 +#if ENABLE_KDBUS
 +#include "fd-util.h"
 +#include "proc-cmdline.h"
 +#endif

Origin: upstream, https://github.com/systemd/systemd/commit/269e4d2d6b75329ae39a71ebe2c14500e03cda95
Change-Id: I9cc9f51f614bf5f8059422cc1923aa88a5812560
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
31 files changed:
src/core/dbus-unit.c
src/core/dbus.c
src/hostname/hostnamed.c
src/import/importd.c
src/locale/keymap-util.c
src/locale/localed.c
src/login/logind-dbus.c
src/login/logind-seat-dbus.c
src/login/logind-session-dbus.c
src/login/logind-user-dbus.c
src/login/logind.c
src/machine/image-dbus.c
src/machine/machine-dbus.c
src/machine/machined-dbus.c
src/machine/machined.c
src/network/networkd-link-bus.c
src/network/networkd-manager-bus.c
src/network/networkd-manager.c
src/portable/portabled-bus.c
src/portable/portabled-image-bus.c
src/portable/portabled.c
src/resolve/resolved-bus.c
src/resolve/resolved-dnssd-bus.c
src/resolve/resolved-link-bus.c
src/resolve/resolved-manager.c
src/shared/bus-polkit.c [new file with mode: 0644]
src/shared/bus-polkit.h [new file with mode: 0644]
src/shared/bus-util.c
src/shared/bus-util.h
src/shared/meson.build
src/timedate/timedated.c