utils: Fix race in verify accepting unrelated signals

Signals like VerifyResult may be received from unrelated Verify
operations. To avoid races, we need to ignore any VerifyResult that
happenes before the DBus method returns.

The only way to do this race-free is to use the async version of the
VerifyStart method.
This commit is contained in:
Benjamin Berg
2020-12-04 15:14:16 +01:00
parent a4b06c2219
commit eb73e024e1
2 changed files with 51 additions and 9 deletions

View File

@ -62,6 +62,7 @@ common_cflags = cc.get_supported_arguments([
add_project_arguments(common_cflags, language: 'c')
host_system = host_machine.system()
# NOTE: Bump gdbus-codegen min version once we can depend on 2.64!
glib_min_version = '2.56'
libfprint_min_version = '1.90.1'