[Spice-devel] [spice-gtk v1 0/4] polkit code to be on usb-acl-helper
Victor Toso
victortoso at redhat.com
Thu May 16 12:34:34 UTC 2019
On Tue, May 07, 2019 at 08:56:01AM +0000, Victor Toso wrote:
Ping :)
> From: Victor Toso <me at victortoso.com>
>
> Hi,
>
> While looking at channel-usbredir code, seems weird that we are
> ifdef USE_POLKIT on usb-acl-helper function that itself does not link
> with polkit but runs the binary spice-client-glib-usb-acl-helper that
> links to polkit library.
>
> This patchset suggestion is to keep the access control helper to work
> without polkit in order to remove the polkit build logic from
> channel-usbredir. That means always building usb-acl-helper and I don't
> see a strong reason not to.
>
> Tested on Fedora 29 with polkit and without.
>
> Cheers,
> Victor
>
> Gitlab-ci: https://gitlab.freedesktop.org/victortoso/spice-gtk/pipelines/35468
>
> Victor Toso (4):
> usb-acl-helper: move exec of binary to its own function
> usb-acl-helper: always build access control helper
> channel-usbredir: use mutex on polkit code path
> channel-usbredir: move polkit related checks to usb-acl-helper
>
> src/Makefile.am | 13 +----
> src/channel-usbredir.c | 54 ++----------------
> src/meson.build | 7 +--
> src/usb-acl-helper.c | 124 +++++++++++++++++++++++++++--------------
> 4 files changed, 90 insertions(+), 108 deletions(-)
>
> --
> 2.20.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190516/b23c8840/attachment.sig>
More information about the Spice-devel
mailing list