Use private dbus connection for synchronous calls. 07/296207/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20230807.014204
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 10 Jul 2023 15:35:15 +0000 (17:35 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 17 Jul 2023 13:35:22 +0000 (15:35 +0200)
commit7de6dfe90fa002ea2703d4adacef9b6fed82a1f3
treef7b505958b9170e8759fd19a533e6a51127dfaa2
parent315e449b94fce6b93114d1cc5c9ce1b228e6c69f
Use private dbus connection for synchronous calls.

This change is related to dotnet-launcher which in the process
preparation, caused the connection to be established, which had a
privileged label and was later used by an unprivileged application

From now the connection is established before the dbus method is called
and closed immediately after that.

Change-Id: Ibc73090c500e0c03551c7733e31cfa1ff560ed93
src/storage-external-dbus.c
src/storage-inhouse.c