fprintd/src
Marco Trevisan (Treviño) a681996d1d device: Check Polkit actions asynchronously using skeleton authorize method
GDBus generated interface skeletons support natively an authorization
method that allows to filter calls before we get into the method
callback and that gets called into the call thread, before we go back
to main thread.

As per this, we can move all the polkit and other authorization checks
into this callback so that method handlers are now just assuming they're
the right to perform the requested operation.

As per the fact we'll share some data between another thread and the
callbacks, we will need to introduce some locking mechanism to ensure
safe data access.

This might be reduced by moving the claiming checks back to the method,
but would lead errors to be handled in different ordering, and so the
user to be requested for a password, and then - in case fail.
This can still happen now, but only if there are concurrent requests.
2020-11-10 14:45:59 +01:00
..
device.c device: Check Polkit actions asynchronously using skeleton authorize method 2020-11-10 14:45:59 +01:00
device.xml fprintd: Use GDBus codegen based implementation 2020-11-10 14:45:59 +01:00
file_storage.c file_storage: Handle STATE_DIRECTORY containing multiple paths 2020-03-27 17:05:06 +01:00
file_storage.h main: Use #pragma once 2020-01-23 18:25:18 +01:00
fprintd.h fprintd: Use GDBus codegen based implementation 2020-11-10 14:45:59 +01:00
main.c fprintd: Use GDBus codegen based implementation 2020-11-10 14:45:59 +01:00
manager.c manager: Add GDBus object manager 2020-11-10 14:45:59 +01:00
manager.xml fprintd: Use GDBus codegen based implementation 2020-11-10 14:45:59 +01:00
meson.build manager: Add GDBus object manager 2020-11-10 14:45:59 +01:00
storage.h main: Fix "function declaration isn't a prototype" warning 2020-02-05 15:25:35 +01:00