Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Bug fixes.#5

Merged
mythi merged 12 commits intoostroproject:masterfrom
ipuustin:bug-fixes
Sep 12, 2017
Merged

Bug fixes.#5
mythi merged 12 commits intoostroproject:masterfrom
ipuustin:bug-fixes

Conversation

@ipuustin
Copy link
Contributor

Fix bugs and change code to match with libsystemd API changes. Also add D-Bus tests and do some cleanups.

Clang static analysis no longer reports any issues.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Nowadays effective UID needs to be indenpendently defined in the query
mask.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Tests now accept a list of supplementary groups as parameters to the
command line. For example, you can call test-bus with a list of group
parameters:

    sudo test-bus org.freedesktop.fwupd.update-hotplug-trusted hotplug wheel

Here the "hotplug" and "wheel" parameters are the supplementary groups
which are added to the process. Sudo is needed so that the groups can be
set (CAP_SETGID would be enough).

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
@mythi mythi merged commit 3a6c336 into ostroproject:master Sep 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants