Implement a mechanism for permissible file repair
authorFilip Skrzeczkowski <f.skrzeczkow@samsung.com>
Thu, 28 Sep 2023 11:19:50 +0000 (13:19 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 29 Nov 2023 10:07:29 +0000 (11:07 +0100)
commit4888eb34d37b6d0b2a1730c5ea5affd7dcfbb09b
tree1383498e0c1ce80c2a714f9a6881ab3f04145938
parentb0af7f7ec35cf04eebbb768d3852fe4a81048761
Implement a mechanism for permissible file repair

Permissible files that have been marked as invalid due to their hash
not matching can now be repaired by fetching the relevant data directly
form PrivilegeDb. This works for both the service and the client library.
As the client lacks the privileges to do it on their own, in that case
a request is sent to the Security Manager daemon.

Change-Id: I43fee3d39c015a7fbba0e674c29c904ac26e91bf
src/client/client-label-monitor.cpp
src/common/include/permissible-set.h
src/common/include/protocols.h
src/common/include/service_impl.h
src/common/permissible-set.cpp
src/common/protocols.cpp
src/common/service_impl.cpp
src/server/service/include/service.h
src/server/service/service.cpp