Integration of asynchronous security checks
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Thu, 27 Nov 2014 17:11:05 +0000 (18:11 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 19 Feb 2016 10:52:58 +0000 (11:52 +0100)
commit04f201e0fc3d81113113fff490e279d5d7eec5c5
tree00ff9ef35c22f861d9d6e2a10a6400e0ff5acd02
parent0022c3d8e0310a63e8eb84668ba9eccef3e833ab
Integration of asynchronous security checks

This commit introduces basic framework for asynchronous policy
checks and Cynara integration code. Functions for checking security
policy can now return third value - BUS_RESULT_LATER denoting check
result unavailability. Whenever policy checker cannot decide on the
result of the check it is supposed to allocate DeferredMessage structure
that will be passed to the upper layers which can decide what should be
done in such situation.
Proper handling of such case will be implemented in subsequent commits.
Currently such return value results in message denial.

Change-Id: I324b6ab68442e493853d8fe219c7a37fbd831872
14 files changed:
bus/Makefile.am
bus/bus.c
bus/bus.h
bus/check.c [new file with mode: 0644]
bus/check.h [new file with mode: 0644]
bus/connection.c
bus/connection.h
bus/cynara.c [new file with mode: 0644]
bus/cynara.h [new file with mode: 0644]
bus/dispatch.c
bus/policy.c
bus/policy.h
configure.ac
packaging/dbus.spec