fprintd/src
Benjamin Berg 1e2f360ade device: Fix possible race condition when checking claimed state
We already check the claimed state in advance during authorization. This
makes sense, as we can avoid authorization if the API has been used
incorrectly. However, as the mainloop is running and handling other
request the claimed state might change at any point until the method
handler is actually running.

As such, check the claimed state again in each method. Doing so fixes
the possible race condition.
2020-11-10 14:45:59 +01:00
..
device.c device: Fix possible race condition when checking claimed state 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 manager: Use GEnum to register DBus errors from FprintError 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: Use GEnum to register DBus errors from FprintError 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 device: Use meson to generate fprint device permission flags 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